Commit 82eb270da0e579fe426857cc795b008ce9bdce4e
1 parent
7bc364565f
Exists in
master
and in
6 other branches
威海产后观察
Showing 2 changed files with 7 additions and 7 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostpartumRecordsFacade.java
View file @
82eb270
... | ... | @@ -463,7 +463,7 @@ |
463 | 463 | if(StringUtils.isNotEmpty(rd.getId())){ |
464 | 464 | //更新详情数据 |
465 | 465 | records = rd.convertToDataModel(); |
466 | - records.setPostId(rd.getId()); | |
466 | + records.setPostId(pRecords.getId()); | |
467 | 467 | records.setIsDelete("1"); |
468 | 468 | RecordsQuery recordsQuery = new RecordsQuery(); |
469 | 469 | recordsQuery.setId(rd.getId()); |
... | ... | @@ -478,7 +478,7 @@ |
478 | 478 | }else{ |
479 | 479 | //新增详情数据 |
480 | 480 | records = rd.convertToDataModel(); |
481 | - records.setPostId(rd.getId()); | |
481 | + records.setPostId(pRecords.getId()); | |
482 | 482 | records.setIsDelete("1"); |
483 | 483 | records.setCreated(DateUtil.getyyyy_MM_dd_hms(new Date())); |
484 | 484 | records.setModified(DateUtil.getyyyy_MM_dd_hms(new Date())); |
... | ... | @@ -497,7 +497,7 @@ |
497 | 497 | for(PostpartumRecordsAddRequest.Records r : rdsList){ |
498 | 498 | Records records = new Records(); |
499 | 499 | records = r.convertToDataModel(); |
500 | - records.setPostId(r.getId()); | |
500 | + records.setPostId(pRecords.getId()); | |
501 | 501 | records.setIsDelete("1"); |
502 | 502 | records.setCreated(DateUtil.getyyyy_MM_dd_hms(new Date())); |
503 | 503 | records.setModified(DateUtil.getyyyy_MM_dd_hms(new Date())); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PostpartumRecordsAddRequest.java
View file @
82eb270
... | ... | @@ -59,7 +59,7 @@ |
59 | 59 | |
60 | 60 | private String id; |
61 | 61 | private String parentId;//孕妇ID |
62 | - private String MaternalDeliverId;//分娩ID | |
62 | + private String maternalDeliverId;//分娩ID | |
63 | 63 | private String oneCxl; |
64 | 64 | private String twoCxl; |
65 | 65 | private List<Records> records; |
66 | 66 | |
... | ... | @@ -70,11 +70,11 @@ |
70 | 70 | private String queryNo;//查询号 |
71 | 71 | |
72 | 72 | public String getMaternalDeliverId() { |
73 | - return MaternalDeliverId; | |
73 | + return maternalDeliverId; | |
74 | 74 | } |
75 | 75 | |
76 | 76 | public void setMaternalDeliverId(String maternalDeliverId) { |
77 | - MaternalDeliverId = maternalDeliverId; | |
77 | + this.maternalDeliverId = maternalDeliverId; | |
78 | 78 | } |
79 | 79 | |
80 | 80 | public String getGcStatus() { |
... | ... | @@ -159,7 +159,7 @@ |
159 | 159 | |
160 | 160 | |
161 | 161 | |
162 | - public class Records implements IBasicRequestConvert<com.lyms.platform.pojo.Records> { | |
162 | + public static class Records implements IBasicRequestConvert<com.lyms.platform.pojo.Records> { | |
163 | 163 | |
164 | 164 | private String id; |
165 | 165 | private String date;//时间 |