Commit c490e66e5033227d961cd99cd4981815fbffb594

Authored by wangbo
1 parent 0c7aaf2cd8

辖区修改字段添加

Showing 1 changed file with 4 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/OrganizationController.java View file @ c490e66
... ... @@ -118,7 +118,9 @@
118 118 @RequestParam(value = "streetId", required = false) String streetId,
119 119 @RequestParam(value = "address", required = false) String address,
120 120 @RequestParam(value = "description", required = false) String description,
121   - @RequestParam(value = "shortCode", required = false) String shortCode) {
  121 + @RequestParam(value = "shortCode", required = false) String shortCode,
  122 + @RequestParam(value = "townOrgId", required = false) String townOrgId
  123 + ) {
122 124  
123 125  
124 126 if (type == null || StringUtils.isBlank(name)) {
... ... @@ -156,6 +158,7 @@
156 158 organization.setDescription(description);
157 159 organization.setModified(new Date());
158 160 organization.setShortCode(shortCode);
  161 + organization.setTownOrgId(townOrgId);
159 162  
160 163 Organization before = organizationService.getOrganization(id);
161 164