Commit 15ad056aac23f0c299976dd1729c7cd52fe05cdc

Authored by liquanyu
1 parent 4140720238

产筛

Showing 2 changed files with 20 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ApplyOrderFacade.java View file @ 15ad056
... ... @@ -360,6 +360,15 @@
360 360 */
361 361 public BaseResponse addOneSieveApplyOrder(SieveApplyOrderAddRequest sieveApplyOrderAddRequest, Integer userId) {
362 362 SieveApplyOrderModel sieveApplyOrderModel = sieveApplyOrderAddRequest.convertToDataModel();
  363 +
  364 + //修改
  365 + if (StringUtils.isNotEmpty(sieveApplyOrderAddRequest.getId()))
  366 + {
  367 + sieveApplyOrderModel.setId(sieveApplyOrderAddRequest.getId());
  368 + applyOrderService.updateSieve(sieveApplyOrderModel);
  369 + return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("修改成功");
  370 + }
  371 +
363 372 String hospitalId = autoMatchFacade.getHospitalId(userId);
364 373  
365 374 //表示区域的
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/SieveApplyOrderAddRequest.java View file @ 15ad056
... ... @@ -18,6 +18,9 @@
18 18 */
19 19 @Form
20 20 public class SieveApplyOrderAddRequest implements IBasicRequestConvert<SieveApplyOrderModel> {
  21 +
  22 + private String id;
  23 +
21 24 @FormParam
22 25 private String parentId;
23 26 @FormParam
... ... @@ -108,6 +111,14 @@
108 111 return sieveApplyOrderModel;
109 112 }
110 113  
  114 +
  115 + public String getId() {
  116 + return id;
  117 + }
  118 +
  119 + public void setId(String id) {
  120 + this.id = id;
  121 + }
111 122  
112 123 public String getSendDoctor() {
113 124 return sendDoctor;