Commit 5818424a9e09aaa874328bdab32126a99ced3f6f

Authored by liquanyu
1 parent efeee3ec9c

产检管理

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/AntExRecordWorker.java View file @ 5818424
... ... @@ -127,7 +127,7 @@
127 127 //初诊的次数
128 128 cdichi = 0;
129 129 //等于初诊的时候才减
130   - if (e.getType() == 1) {
  130 + if (e.getType() == 2) {
131 131 cdichi = recordService.count(antExRecordQuery1);
132 132 }
133 133 antExRecordQuery1.setType(null);
... ... @@ -135,7 +135,7 @@
135 135 tcount = recordService.count(antExRecordQuery1);
136 136 antExRecordQuery1.setType(1);
137 137 tallcount = 0;
138   - if (e.getType() == 1) {
  138 + if (e.getType() == 2) {
139 139 tallcount = recordService.count(antExRecordQuery1);
140 140 }
141 141 }