|
|
@@ -141,6 +141,9 @@ public class itemgroup extends Controller {
|
|
|
if (whereObject.containsKey("isonsale") && !"".equals(whereObject.getString("isonsale"))) {
|
|
|
where = where + " and (t1.isonsale ='" + whereObject.getString("isonsale") + "') ";
|
|
|
}
|
|
|
+ if (whereObject.containsKey("iteminfo") && !"".equals(whereObject.getString("iteminfo"))) {
|
|
|
+ where=where+" and t1.sa_itemgroupid in(select t1.sa_itemgroupid from sa_itemgroupmx t1 left join plm_item t2 on t1.itemid=t2.itemid and t1.siteid=t2.siteid where (t2.itemno like '%"+whereObject.getString("iteminfo")+"%' or t2.itemname like '%"+whereObject.getString("iteminfo")+"%')) ";
|
|
|
+ }
|
|
|
}
|
|
|
/*
|
|
|
SQL查询参数设置并查询
|