Commit 333660e4a710af7be492c80e46f0d2a7fe58ae6b
1 parent
e90596fb65
Exists in
master
and in
6 other branches
儿童小程序服务同步
Showing 2 changed files with 1 additions and 16 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java
View file @
333660e
| 1 | 1 | package com.lyms.platform.operate.web; |
| 2 | 2 | |
| 3 | -import com.lyms.platform.common.enums.YnEnums; | |
| 4 | 3 | import com.lyms.platform.pojo.BasicConfig; |
| 5 | -import com.lyms.platform.query.BabyModelQuery; | |
| 6 | 4 | import net.sourceforge.pinyin4j.PinyinHelper; |
| 7 | 5 | import org.apache.log4j.Logger; |
| 8 | 6 | |
| 9 | -import java.util.ArrayList; | |
| 10 | 7 | import java.util.Comparator; |
| 11 | 8 | import java.util.List; |
| 12 | 9 | import java.util.Map; |
| ... | ... | @@ -20,18 +17,6 @@ |
| 20 | 17 | |
| 21 | 18 | public static void main(String[] args) throws Exception { |
| 22 | 19 | |
| 23 | - BabyModelQuery babyQuery = new BabyModelQuery(); | |
| 24 | - List list = new ArrayList(); | |
| 25 | - list.add("1");//转诊,建档已接受 | |
| 26 | - list.add("2");//隐藏建档 | |
| 27 | - babyQuery.setEnableListNot(list); | |
| 28 | - List buildType = new ArrayList(); | |
| 29 | - buildType.add(1);//儿童直接建档 | |
| 30 | - buildType.add(2);//产妇分娩建档 | |
| 31 | - babyQuery.setBuildTypeList(buildType); | |
| 32 | - babyQuery.setYn(YnEnums.YES.getId()); | |
| 33 | - babyQuery.setNeed("need"); | |
| 34 | - System.out.println(babyQuery.convertToQuery().convertToMongoQuery()); | |
| 35 | 20 | |
| 36 | 21 | |
| 37 | 22 | /* Mongo mongo = new Mongo("119.90.57.26", 10001); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientServiceSysFacade.java
View file @
333660e
| ... | ... | @@ -116,7 +116,7 @@ |
| 116 | 116 | if (patientService.getPerType() != null && patientService.getPerType() == 2) {//儿童建档服务数据处理 |
| 117 | 117 | BabyBookbuildingAddRequest babyBookbuildingAddRequest = new BabyBookbuildingAddRequest(); |
| 118 | 118 | babyBookbuildingAddRequest.setId(patientService.getParentid()); |
| 119 | - if (PatientSerEnums.SerTypeEnums.babyjzzz.getId() == patientService.getSerType()) { | |
| 119 | + if (PatientSerEnums.SerTypeEnums.babyjzzz.getId().intValue() == patientService.getSerType().intValue()) { | |
| 120 | 120 | babyBookbuildingAddRequest.setServiceType(ServiceTypeEnums.ADD_SERVICE.getId()); |
| 121 | 121 | if (patientService.getSerStatus() == PatientSerEnums.SerStatusEnums.kt.getId()) { |
| 122 | 122 | babyBookbuildingAddRequest.setServiceStatus(ServiceStatusEnums.ADD_OPEN.getId()); |