Commit 4ded6e0c authored by 赵啸非's avatar 赵啸非

添加已经部署脚本

parent 3ecbf9bf
...@@ -564,7 +564,13 @@ public class SiteController extends BaseCRUDJsonBodyMappingController<SiteServic ...@@ -564,7 +564,13 @@ public class SiteController extends BaseCRUDJsonBodyMappingController<SiteServic
siteEntity.setAreaName(areaEntity.getName()); siteEntity.setAreaName(areaEntity.getName());
siteEntity.setAreaLevel(areaEntity.getAreaLevel()); siteEntity.setAreaLevel(areaEntity.getAreaLevel());
} }
SiteEntity save = this.service.save(siteEntity, getContext());
SiteEntity save = null;
if (!ObjectUtils.isEmpty(siteEntity.getId())) {
save = this.service.update(siteEntity, getContext());
} else {
save = this.service.save(siteEntity, getContext());
}
//todo 更新相关表中的站点名称,站点编码,站点ID //todo 更新相关表中的站点名称,站点编码,站点ID
this.service.updateSiteInfo(siteEntity, getContext()); this.service.updateSiteInfo(siteEntity, getContext());
......
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