Commit c63c613dfbfea635c310fb008cf374306954515c

Authored by yangfei
1 parent bff38e8279

追访

Showing 1 changed file with 3 additions and 0 deletions

platform-dal/src/main/java/com/lyms/platform/query/AntExRecordQuery.java View file @ c63c613
... ... @@ -496,6 +496,9 @@
496 496 if (null != id) {
497 497 condition = condition.and("id", id, MongoOper.IS);
498 498 }
  499 + if (null != barCode) {
  500 + condition = condition.and("barCode", barCode, MongoOper.IS);
  501 + }
499 502  
500 503 if (null != ids && ids.size() > 0) {
501 504 condition = condition.and("id", ids, MongoOper.IN);