Commit 52db84f2381cf8d33bd354068d0ebba13ef8e2f6
1 parent
a1eaae86ba
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 15 additions and 3 deletions
platform-dal/src/main/java/com/lyms/platform/pojo/PreEugenicsBaseModel.java
View file @
52db84f
| ... | ... | @@ -8,6 +8,7 @@ |
| 8 | 8 | import org.springframework.data.mongodb.core.mapping.Document; |
| 9 | 9 | |
| 10 | 10 | import java.util.Date; |
| 11 | +import java.util.List; | |
| 11 | 12 | import java.util.Map; |
| 12 | 13 | |
| 13 | 14 | /** |
| ... | ... | @@ -438,6 +439,17 @@ |
| 438 | 439 | |
| 439 | 440 | //隆化- 是否全部模块上传省平台成功。0:失败。1:成功(有一个模块上传失败也是0) |
| 440 | 441 | private Integer isUploadingProvince; |
| 442 | + | |
| 443 | + //接收List<String> ids | |
| 444 | + private List<String> ids; | |
| 445 | + | |
| 446 | + public List<String> getIds() { | |
| 447 | + return ids; | |
| 448 | + } | |
| 449 | + | |
| 450 | + public void setIds(List<String> ids) { | |
| 451 | + this.ids = ids; | |
| 452 | + } | |
| 441 | 453 | |
| 442 | 454 | public Integer getIsUploadingProvince() { |
| 443 | 455 | return isUploadingProvince; |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PreEugenicsBaseController.java
View file @
52db84f
| ... | ... | @@ -298,13 +298,13 @@ |
| 298 | 298 | } |
| 299 | 299 | /** |
| 300 | 300 | * 河北省孕前上传数据 |
| 301 | - * @param ids | |
| 301 | + * @param baseModel | |
| 302 | 302 | */ |
| 303 | 303 | @ResponseBody |
| 304 | 304 | @TokenRequired |
| 305 | 305 | @RequestMapping(value = "/uploadingProvince", method = RequestMethod.POST) |
| 306 | - public BaseResponse uploadingProvince(List<String> ids) { | |
| 307 | - lhxfyService.uploadingProvince(ids); | |
| 306 | + public BaseResponse uploadingProvince(PreEugenicsBaseModel baseModel) { | |
| 307 | + lhxfyService.uploadingProvince(baseModel.getIds()); | |
| 308 | 308 | return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
| 309 | 309 | } |
| 310 | 310 |