|
|
@@ -422,9 +422,9 @@ public class itemgroup extends Controller {
|
|
|
factory.addParameter_SQL("where", where);
|
|
|
}
|
|
|
rows = dbConnect.runSqlQuery(factory.getSQL());
|
|
|
-
|
|
|
+ String itemno="";
|
|
|
if(!rows.isEmpty()){
|
|
|
- content.put("itemno",rows.get(0).getString("itemno"));
|
|
|
+ itemno=rows.get(0).getString("itemno");
|
|
|
for (Row row : rows) {
|
|
|
if(listParmBlank!=null && !listParmBlank.isEmpty()){
|
|
|
for (String value:listParmBlank) {
|
|
|
@@ -446,7 +446,6 @@ public class itemgroup extends Controller {
|
|
|
/**
|
|
|
* 查询商品明细
|
|
|
*/
|
|
|
- String itemno = content.getString("itemno");
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "查询商品详情", pageSize, pageNumber, pageSorting);
|
|
|
sqlFactory.addParameter_SQL("where", "t2.itemno='" + itemno + "' ");
|
|
|
sqlFactory.addParameter("itemno", itemno);
|