瀏覽代碼

bug修复

hu 5 天之前
父節點
當前提交
3e1b91b2c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/custom/restcontroller/webmanage/sale/stockbill/stockbillitems.java

+ 1 - 1
src/custom/restcontroller/webmanage/sale/stockbill/stockbillitems.java

@@ -275,7 +275,7 @@ public class stockbillitems extends Controller {
         querySQL.setPage(pageSize, pageNumber);
         Rows rows = querySQL.query();
 
-        Rows stockbillskuRows = dbConnect.runSqlQuery("select t1.sku,t1.st_stockbill_itemsid from  st_stockbill_items_sku t1 left join sa_itemsku t2 on t1.sku=t2.sku  where t1.st_stockbillid=t1.st_stockbill_itemsid and t1.st_stockbillid="+st_stockbillid);
+        Rows stockbillskuRows = dbConnect.runSqlQuery("select t1.sku,t1.st_stockbill_itemsid from  st_stockbill_items_sku t1 left join sa_itemsku t2 on t1.sku=t2.sku  where t1.st_stockbillid!=t1.st_stockbill_itemsid and t1.st_stockbillid="+st_stockbillid);
         RowsMap stockbillskuRowsMap = stockbillskuRows.toRowsMap("st_stockbill_itemsid");
         for(Row row :rows){
             if(stockbillskuRowsMap.containsKey(row.getString("st_stockbill_itemsid"))){