Commit 35688f10509fe303baf28fab95edc3eaa199ab4a

Authored by jiangjiazhi
1 parent a4c5db20ce

修改产检删除

Showing 1 changed file with 5 additions and 1 deletions

platform-dal/src/main/java/com/lyms/platform/query/AntExRecordQuery.java View file @ 35688f1
... ... @@ -168,7 +168,11 @@
168 168 }
169 169  
170 170 if (null != dueDateStart) {
171   - c = Criteria.where("dueDate").gte(dueDateStart);
  171 + if (null != c) {
  172 + c = c.and("dueDate").gte(dueDateStart);
  173 + } else {
  174 + c = Criteria.where("dueDate").gte(dueDateStart);
  175 + }
172 176 }
173 177  
174 178 if (null != dueDateEnd) {