Commit c194a25e authored by tianyiming's avatar tianyiming

修改

parent b54e9885
...@@ -386,27 +386,27 @@ public class TzBaseEnterpriseInfoServiceImpl ...@@ -386,27 +386,27 @@ public class TzBaseEnterpriseInfoServiceImpl
tzBaseEnterpriseInfo.setAddress(map1.get("address")); tzBaseEnterpriseInfo.setAddress(map1.get("address"));
tzBaseEnterpriseInfo.setLongitude(ObjectUtils.isEmpty(map1.get("longitude")) ? map1.get("longitude") : null); tzBaseEnterpriseInfo.setLongitude(ObjectUtils.isEmpty(map1.get("longitude")) ? map1.get("longitude") : null);
tzBaseEnterpriseInfo.setLatitude(ObjectUtils.isEmpty(map1.get("latitude")) ? map1.get("latitude") : null); tzBaseEnterpriseInfo.setLatitude(ObjectUtils.isEmpty(map1.get("latitude")) ? map1.get("latitude") : null);
tzBaseEnterpriseInfo.setUseContact(map.get("useContact").toString()); tzBaseEnterpriseInfo.setUseContact(String.valueOf(map.get("useContact")));
tzBaseEnterpriseInfo.setContactPhone(map.get("contactPhone").toString()); tzBaseEnterpriseInfo.setContactPhone(String.valueOf(map.get("contactPhone")));
tzBaseEnterpriseInfo.setUnitBusinessLicense(JSON.toJSONString(map.get("unitBusinessLicense"))); tzBaseEnterpriseInfo.setUnitBusinessLicense(JSON.toJSONString(map.get("unitBusinessLicense")));
tzBaseEnterpriseInfo.setUnitExequatur(JSON.toJSONString(map.get("unitExequatur"))); tzBaseEnterpriseInfo.setUnitExequatur(JSON.toJSONString(map.get("unitExequatur")));
tzBaseEnterpriseInfo.setSafetyOne(map.get("safetyOne").toString()); tzBaseEnterpriseInfo.setSafetyOne(String.valueOf(map.get("safetyOne")));
tzBaseEnterpriseInfo.setSafetyOneId(map.get("safetyOneId").toString()); tzBaseEnterpriseInfo.setSafetyOneId(String.valueOf(map.get("safetyOneId")));
tzBaseEnterpriseInfo.setSafetyOnePhone(map.get("safetyOnePhone").toString()); tzBaseEnterpriseInfo.setSafetyOnePhone(String.valueOf(map.get("safetyOnePhone")));
tzBaseEnterpriseInfo.setSafetyOnePhoto(JSON.toJSONString(map.get("safetyOnePhoto"))); tzBaseEnterpriseInfo.setSafetyOnePhoto(JSON.toJSONString(map.get("safetyOnePhoto")));
tzBaseEnterpriseInfo.setSafetyTwo(map.get("safetyTwo").toString()); tzBaseEnterpriseInfo.setSafetyTwo(String.valueOf(map.get("safetyTwo")));
tzBaseEnterpriseInfo.setSafetyTwoId(map.get("safetyTwoId").toString()); tzBaseEnterpriseInfo.setSafetyTwoId(String.valueOf(map.get("safetyTwoId")));
tzBaseEnterpriseInfo.setSafetyTwoPhone(map.get("safetyTwoPhone").toString()); tzBaseEnterpriseInfo.setSafetyTwoPhone(String.valueOf(map.get("safetyTwoPhone")));
tzBaseEnterpriseInfo.setSafetyTwoPhoto(JSON.toJSONString(map.get("safetyTwoPhoto"))); tzBaseEnterpriseInfo.setSafetyTwoPhoto(JSON.toJSONString(map.get("safetyTwoPhoto")));
tzBaseEnterpriseInfo.setMaintenPerson(map.get("maintenPerson").toString()); tzBaseEnterpriseInfo.setMaintenPerson(String.valueOf(map.get("maintenPerson")));
tzBaseEnterpriseInfo.setMaintenTelephone(map.get("maintenTelephone").toString()); tzBaseEnterpriseInfo.setMaintenTelephone(String.valueOf(map.get("maintenTelephone")));
tzBaseEnterpriseInfo.setQualityPerson(map.get("qualityPerson").toString()); tzBaseEnterpriseInfo.setQualityPerson(String.valueOf(map.get("qualityPerson")));
tzBaseEnterpriseInfo.setQualityTelephone(map.get("qualityTelephone").toString()); tzBaseEnterpriseInfo.setQualityTelephone(String.valueOf(map.get("qualityTelephone")));
tzBaseEnterpriseInfo.setSqa(map.get("sqa").toString()); tzBaseEnterpriseInfo.setSqa(String.valueOf(map.get("sqa")));
tzBaseEnterpriseInfo.setSqaPhone(map.get("sqaPhone").toString()); tzBaseEnterpriseInfo.setSqaPhone(String.valueOf(map.get("sqaPhone")));
tzBaseEnterpriseInfo.setTechnicalPerson(map.get("technicalPerson").toString()); tzBaseEnterpriseInfo.setTechnicalPerson(String.valueOf(map.get("technicalPerson")));
boolean b = tzBaseEnterpriseInfoService.updateById(tzBaseEnterpriseInfo); boolean b = tzBaseEnterpriseInfoService.updateById(tzBaseEnterpriseInfo);
if (b) { if (b) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment