Commit b4b34be4 authored by chenhao's avatar chenhao

提交bug 修改

parent 76735089
...@@ -231,7 +231,14 @@ public class FireTeamServiceImpl extends BaseService<FireTeamDto, FireTeam, Fire ...@@ -231,7 +231,14 @@ public class FireTeamServiceImpl extends BaseService<FireTeamDto, FireTeam, Fire
} }
public FireTeam saveFireTeam(FireTeam fireTeam) { public FireTeam saveFireTeam(FireTeam fireTeam) {
/*修改bug 4547 名称在前端没有完成修改的问题 by 陈浩 on 2022-01-26 start */
if(fireTeam.getContactUserId() !=null) {
OrgUsr org =orgUsrService.getById(fireTeam.getContactUserId());
if(org!=null) {
fireTeam.setContactUser(org.getBizOrgName());
}
}
/*修改bug 4547 名称在前端没有完成修改的问题 by 陈浩 on 2022-01-26 end */
if (fireTeam.getAddress() != null) { if (fireTeam.getAddress() != null) {
JSONObject address = WaterResourceServiceImpl.getLongLatFromAddress(fireTeam.getAddress()); JSONObject address = WaterResourceServiceImpl.getLongLatFromAddress(fireTeam.getAddress());
fireTeam.setAddress(address.getString(BizConstant.ADDRESS)); fireTeam.setAddress(address.getString(BizConstant.ADDRESS));
......
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