|
@@ -242,6 +242,7 @@ public class itemgroup extends Controller {
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "查询商品列表");
|
|
|
sqlFactory.addParameter_in("itemids", ids);
|
|
|
sqlFactory.addParameter("siteid", siteid);
|
|
|
+ sqlFactory.addParameter("sys_enterpriseid", sys_enterpriseid);
|
|
|
Rows itemrows = dbConnect.runSqlQuery(sqlFactory.getSQL());
|
|
|
for (Row row : itemrows) {
|
|
|
ItemPrice itemPrice = ItemPrice.getItemPrice(this, sys_enterpriseid, row.getLong("itemid"));
|
|
@@ -936,6 +937,7 @@ public class itemgroup extends Controller {
|
|
|
sqlFactory.addParameter_SQL("where", "t2.itemno='" + itemno + "' ");
|
|
|
sqlFactory.addParameter("itemno", itemno);
|
|
|
sqlFactory.addParameter("siteid", siteid);
|
|
|
+ sqlFactory.addParameter("sys_enterpriseid", sys_enterpriseid);
|
|
|
Rows itemrows = dbConnect.runSqlQuery(sqlFactory.getSQL());
|
|
|
for (Row row : itemrows) {
|
|
|
ItemPrice itemPrice = ItemPrice.getItemPrice(this, sys_enterpriseid, row.getLong("itemid"));
|