Commit 07cf9b2640ddfc4189a3c4a3de420a2c277dba48

Authored by jiangjiazhi
1 parent 541d2fec33
Exists in master and in 2 other branches 0116, dev

分娩作废产检劵

Showing 1 changed file with 5 additions and 5 deletions

platform-dal/src/main/java/com/lyms/platform/query/AntExRecordQuery.java View file @ 07cf9b2
... ... @@ -355,17 +355,17 @@
355 355 if (null != parentId) {
356 356 condition = condition.and("parentId", parentId, MongoOper.IS);
357 357 }
358   - if (null != cardNo) {
  358 + if (StringUtils.isNotEmpty( cardNo)) {
359 359 condition = condition.and("cardNo", cardNo, MongoOper.IS);
360 360 }
361   - if (null != phone) {
  361 + if (StringUtils.isNotEmpty(phone)) {
362 362 condition = condition.and("phone", phone, MongoOper.IS);
363 363 }
364 364 if (null != id) {
365 365 condition = condition.and("id", id, MongoOper.IS);
366 366 }
367 367  
368   - if (null != name) {
  368 + if (StringUtils.isNotEmpty(name) ) {
369 369 condition = condition.and("name", name, MongoOper.IS);
370 370 }
371 371 if (null != NeNullCheckDoctor) {
372 372  
... ... @@ -381,10 +381,10 @@
381 381 if (null != status) {
382 382 condition = condition.and("status", status, MongoOper.IS);
383 383 }
384   - if (null != cId) {
  384 + if (StringUtils.isNotEmpty(cId)) {
385 385 condition = condition.and("checkDoctor", cId, MongoOper.IS);
386 386 }
387   - if (null != fId) {
  387 + if (StringUtils.isNotEmpty( fId)) {
388 388 condition = condition.and("fId", fId, MongoOper.IS);
389 389 }
390 390