Commit 7a9e58d4e8597e53495ce0410aaebd100ee19e55
1 parent
1b3c061d54
Exists in
master
and in
7 other branches
修改产检删除
Showing 1 changed file with 15 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java
View file @
7a9e58d
... | ... | @@ -229,12 +229,23 @@ |
229 | 229 | antExQuery.setPid(e.getPid()); |
230 | 230 | antExQuery.setYn(YnEnums.YES.getId()); |
231 | 231 | antExQuery.setHospitalId(null); |
232 | + antExQuery.setStart(e.getCheckTime()); | |
232 | 233 | antExChuQuery.setPid(e.getPid()); |
233 | 234 | antExChuQuery.setYn(YnEnums.YES.getId()); |
234 | 235 | antExChuQuery.setHospitalId(null); |
236 | + antExChuQuery.setStart(e.getCheckTime()); | |
235 | 237 | |
236 | 238 | |
237 | - int i = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); | |
239 | + | |
240 | + AntExRecordQuery antExRecordQuery1=new AntExRecordQuery(); | |
241 | + antExRecordQuery1.setCheckTimeStart(e.getCheckTime()); | |
242 | + antExRecordQuery1.setPid(e.getPid()); | |
243 | + antExRecordQuery1.setHospitalId(hospital); | |
244 | + | |
245 | + //本院低次 | |
246 | + int dichi =recordService.count(antExRecordQuery1); | |
247 | + antExRecordQuery1.setHospitalId(null); | |
248 | + /* int i = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); | |
238 | 249 | antExChuQuery.setHospitalId(null); |
239 | 250 | int b = antExService.queryAntExChuCount(antExChuQuery.convertToQuery()); |
240 | 251 | antExQuery.setHospitalId(hospital); |
... | ... | @@ -242,9 +253,9 @@ |
242 | 253 | int chi = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); |
243 | 254 | antExChuQuery.setHospitalId(hospital); |
244 | 255 | //本院的初诊记录 |
245 | - int chb = antExService.queryAntExChuCount(antExChuQuery.convertToQuery()); | |
246 | - antExManagerResult.settTimes(i + b); | |
247 | - antExManagerResult.setChTimes(chi + chb); | |
256 | + int chb = antExService.queryAntExChuCount(antExChuQuery.convertToQuery());*/ | |
257 | + antExManagerResult.settTimes(recordService.count(antExRecordQuery1)); | |
258 | + antExManagerResult.setChTimes(dichi); | |
248 | 259 | //高危因素 |
249 | 260 | antExManagerResult.setrLevel(commonService.findRiskLevel(e.gethLevel())); |
250 | 261 | antExManagerResult.setRiskFactor(commonService.resloveFactor(e.gethRisk())); |