Commit bc5a254bcb679679df350034d10dcdecdac43b91
1 parent
d63833b230
Exists in
master
and in
6 other branches
全部孕妇管理增加按照排序
Showing 1 changed file with 5 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/AntExRecordWorker.java
View file @
bc5a254
... | ... | @@ -128,7 +128,11 @@ |
128 | 128 | |
129 | 129 | antExRecordQuery1.setType(1); |
130 | 130 | //初诊的次数 |
131 | - int cdichi = recordService.count(antExRecordQuery1); | |
131 | + int cdichi =0; | |
132 | + //等于初诊的时候才减 | |
133 | + if(e.getType()==1){ | |
134 | + cdichi=recordService.count(antExRecordQuery1); | |
135 | + } | |
132 | 136 | |
133 | 137 | antExRecordQuery1.setHospitalId(null); |
134 | 138 |