Commit dfa663b8b0c18d3ba4a9708d0720eb324c38544b
1 parent
1895f5fad4
Exists in
master
and in
1 other branch
更新数据
Showing 2 changed files with 19 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PregnantBuildController.java
View file @
dfa663b
| ... | ... | @@ -600,5 +600,19 @@ |
| 600 | 600 | |
| 601 | 601 | } |
| 602 | 602 | |
| 603 | + /** | |
| 604 | + * 更新mysql 机构表的townOrgId | |
| 605 | + * @param request | |
| 606 | + * @return | |
| 607 | + */ | |
| 608 | + @RequestMapping(value="/batchUpdateOrg",method=RequestMethod.GET) | |
| 609 | + @ResponseBody | |
| 610 | + public BaseResponse batchUpdateOrg(HttpServletRequest request) { | |
| 611 | + | |
| 612 | + return bookbuildingFacade.batchUpdateOrg(request); | |
| 613 | + | |
| 614 | + } | |
| 615 | + | |
| 616 | + | |
| 603 | 617 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
dfa663b
| ... | ... | @@ -52,6 +52,7 @@ |
| 52 | 52 | import org.springframework.web.client.RestTemplate; |
| 53 | 53 | import org.springframework.web.multipart.MultipartFile; |
| 54 | 54 | |
| 55 | +import javax.servlet.http.HttpServletRequest; | |
| 55 | 56 | import javax.servlet.http.HttpServletResponse; |
| 56 | 57 | import java.io.File; |
| 57 | 58 | import java.io.IOException; |
| ... | ... | @@ -2391,6 +2392,10 @@ |
| 2391 | 2392 | } |
| 2392 | 2393 | |
| 2393 | 2394 | return connection; |
| 2395 | + } | |
| 2396 | + | |
| 2397 | + public BaseResponse batchUpdateOrg(HttpServletRequest request) { | |
| 2398 | + return null; | |
| 2394 | 2399 | } |
| 2395 | 2400 | } |