Commit f4fd626a90c226ea520b0e1568cd775f0eb4dfa6
1 parent
18e4e434de
Exists in
master
and in
6 other branches
服务同步服务开通人Bug修复
Showing 2 changed files with 6 additions and 2 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/dal/impl/MatdeliverFollowModelDaoImpl.java
View file @
f4fd626
... | ... | @@ -47,8 +47,8 @@ |
47 | 47 | } |
48 | 48 | |
49 | 49 | public List<MatdeliverFollowModel> queryByPidsGoup(List pids) { |
50 | - AggregationOperation match = Aggregation.match(Criteria.where("patientId").in(pids)); | |
51 | - AggregationOperation group = Aggregation.group("patientId").max("updateDate").as("updateDate"); | |
50 | + AggregationOperation match = Aggregation.match(Criteria.where("parentid").in(pids)); | |
51 | + AggregationOperation group = Aggregation.group("parentid").max("updateDate").as("updateDate"); | |
52 | 52 | Aggregation aggregation = Aggregation.newAggregation(match, group); |
53 | 53 | AggregationResults<MatdeliverFollowModel> result = this.mongoTemplate.aggregate(aggregation, "lyms_matdeliver_follow", MatdeliverFollowModel.class); |
54 | 54 | return result.getMappedResults(); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceSysFacade.java
View file @
f4fd626
... | ... | @@ -62,6 +62,10 @@ |
62 | 62 | List<PatientService> patientServices = patientServiceService.queryPatientService(patientQuery); |
63 | 63 | if (CollectionUtils.isNotEmpty(patientServices)) {//修改 |
64 | 64 | PatientService ps = patientServices.get(0); |
65 | + //开通医生修改为小程序开通 | |
66 | + ps.setCreateUser(null); | |
67 | + //操作员修改为小程序开通 | |
68 | + ps.setUpdateUser(null); | |
65 | 69 | ps.setSerStatus(patientService.getSerStatus()); |
66 | 70 | ps.setSerCode(patientService.getSerCode()); |
67 | 71 | ps.setOrderId(patientService.getOrderId()); |