基于条码查询

master
erzhongxmu 2020-04-25 10:24:07 +08:00
parent 4b7168e5c2
commit 5b685f36fb
4 changed files with 6 additions and 4 deletions

View File

@ -853,9 +853,10 @@ public class WvStockController extends BaseController {
} else { } else {
insearch = "goodsId = '" + s + "'"; insearch = "goodsId = '" + s + "'";
} }
hql = hql + " and (" + insearch + ")";
} }
hql = hql + " and ( " + insearch + ") ";
} }
// hql=hql+" and goodsId in (:alist)"; // hql=hql+" and goodsId in (:alist)";

View File

@ -370,9 +370,10 @@ public class WvGiController extends BaseController {
} else { } else {
insearch = "goodsId = '" + s + "'"; insearch = "goodsId = '" + s + "'";
} }
hql = hql + " and (" + insearch + ")";
} }
hql = hql + " and (" + insearch + ")";
} }
} }

View File

@ -372,9 +372,9 @@ public class WvGiNoticeController extends BaseController {
} else { } else {
insearch = "goodsId = '" + s + "'"; insearch = "goodsId = '" + s + "'";
} }
hql = hql + " and (" + insearch + ")";
} }
hql = hql + " and (" + insearch + ")";
} }

View File

@ -357,9 +357,9 @@ public class WvNoticeController extends BaseController {
} else { } else {
insearch = "goodsCode = '" + s + "'"; insearch = "goodsCode = '" + s + "'";
} }
hql = hql + " and (" + insearch + ")";
} }
hql = hql + " and (" + insearch + ")";
} }
// hql=hql+" and goodsCode in (:alist)"; // hql=hql+" and goodsCode in (:alist)";