Commit ab006d845781d7f4ee1d34eabc0d3b3f317818d9

Authored by yangfei
1 parent 784d6728e3

自动生成追访信息

Showing 1 changed file with 2 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TrackDownServiceImpl.java View file @ ab006d8
... ... @@ -134,19 +134,18 @@
134 134 } else if (archiveModel.getVcCardNo() != null) {
135 135 patientsQuery.setVcCardNo(archiveModel.getVcCardNo());
136 136 }
  137 + //有效
  138 + patientsQuery.setYn(1);
137 139 patientsQuery.setTypeList(Arrays.asList(1, 3));
138 140 //怀孕建档
139 141 List<Patients> patientsList = patientsService.queryPatient(patientsQuery);
140 142 if (CollectionUtils.isNotEmpty(patientsList)) {
141 143 temp.put("check", checkNum > 0 ? 1 : 2); // 婚检 1=勾勾 2=叉叉
142   -
143 144 Patients patients = patientsList.get(0);
144 145 temp.put("bookbuild", 1); // 孕期建档 1=勾勾 2=叉叉
145 146 temp.put("bookbuildDate", DateUtil.getyyyy_MM_dd(patients.getBookbuildingDate()));
146   -
147 147 //完善分娩方式
148 148 patientFmType(temp,patients);
149   -
150 149 //孕检次数
151 150 temp.put("yjcount", getChuzhenCount(patients.getId()));
152 151 if (patients.getType() == 3) {