Commit f08035e2caa9ac856f0c5333dc1aa4f04a8797f7

Authored by zhangchao
1 parent c07cc8da05
Exists in dev

#fix:优化通知公告,只发孕期的

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/CourseFacade.java View file @ f08035e
... ... @@ -1190,6 +1190,7 @@
1190 1190 PatientsQuery patientsQuery=new PatientsQuery();
1191 1191 patientsQuery.setYn(1);
1192 1192 patientsQuery.setHospitalId(hospitalId);
  1193 + patientsQuery.setType(1);
1193 1194 List <Patients> patientses =null;
1194 1195 if (crowd==null){
1195 1196 patientses= patientsService.queryPatient(patientsQuery);
... ... @@ -1311,7 +1312,6 @@
1311 1312 List<MsgModelRecord> msgModelRecords=new ArrayList<>();
1312 1313 for (Patients patients:patientses){
1313 1314 MsgModelRecord msgModelRecord=getRecord(model);
1314   - System.out.println(patients.getId());
1315 1315 msgModelRecord.setPatientId(patients.getId());
1316 1316 msgModelRecords.add(msgModelRecord);
1317 1317 }