Commit 4766fe2b3c0c21f8fcf526a7f3532377c0a180be

Authored by rui.zhang
1 parent d287c09d17

platform permission

add return pageinfo

Showing 2 changed files with 2 additions and 10 deletions

platform-biz-service/src/main/java/com/lyms/platform/permission/model/Organization.java View file @ 4766fe2
... ... @@ -261,14 +261,6 @@
261 261  
262 262 }
263 263  
264   - public String getShortcode() {
265   - return shortCode;
266   - }
267 264  
268   -
269   - public void setShortcode(String shortCode) {
270   - this.shortCode = shortCode;
271   -
272   - }
273 265 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/OrganizationController.java View file @ 4766fe2
... ... @@ -128,8 +128,8 @@
128 128 organization.setStreetId(streetId);
129 129 organization.setAddress(address);
130 130 organization.setDescription(description);
131   - organization.setShortcode(shortCode);
132 131 organization.setModified(new Date());
  132 + organization.setShortCode(shortCode);
133 133 organizationService.updateOrganization(organization);
134 134  
135 135 ResultUtils.buildSuccessResultAndWrite(response);
... ... @@ -184,7 +184,7 @@
184 184 organization.setStreetId(streetId);
185 185 organization.setAddress(address);
186 186 organization.setDescription(description);
187   - organization.setShortcode(shortCode);
  187 + organization.setShortCode(shortCode);
188 188 organization.setYn(YnEnums.YES.getId());
189 189 organization.setCreated(new Date());
190 190 organization.setModified(new Date());