Commit 969b5b33985377760e8a20bc55b77705f9e5fc5c

Authored by jiangjiazhi
1 parent 6e082a309e

孕妇分娩后 变成产妇

Showing 2 changed files with 5 additions and 5 deletions

platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java View file @ 969b5b3
... ... @@ -147,13 +147,13 @@
147 147  
148 148 private String hcertificateNum;
149 149  
150   - private String buildType;
  150 + private Integer buildType= -1;
151 151  
152   - public String getBuildType() {
  152 + public Integer getBuildType() {
153 153 return buildType;
154 154 }
155 155  
156   - public void setBuildType(String buildType) {
  156 + public void setBuildType(Integer buildType) {
157 157 this.buildType = buildType;
158 158 }
159 159  
... ... @@ -409,7 +409,7 @@
409 409 MongoCondition con = MongoCondition.newInstance("areaPostRestId", areaIdOrRestId, MongoOper.IS);
410 410 condition = condition.orCondition(new MongoCondition[]{con1, con});
411 411 }
412   - if(null!=buildType){
  412 + if( buildType!=-1){
413 413 condition=condition.and("buildType",buildType,MongoOper.NE);
414 414 }
415 415 if (visitstatus != -1) {
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ 969b5b3
... ... @@ -209,7 +209,7 @@
209 209 patientsQuery.setIsHighRisk(isHighRisk);
210 210 patientsQuery.setServiceStatus(riskPatientsQueryRequest.getServiceStatus());
211 211 patientsQuery.setYn(YnEnums.YES.getId());
212   - patientsQuery.setBuildType("1");
  212 + patientsQuery.setBuildType(1);
213 213 //查询符合条件的孕妇
214 214 List<Patients> patientses = patientsService.queryPatient(patientsQuery);
215 215 List data = new ArrayList<>();