瀏覽代碼

数据过滤不生效修复

hu 2 年之前
父節點
當前提交
b94b39ee43
共有 3 個文件被更改,包括 1 次插入1 次删除
  1. 二進制
      lib/yos.core-2.0.1-sources.jar
  2. 二進制
      lib/yos.core-2.0.1.jar
  3. 1 1
      src/custom/restcontroller/webmanage/lsak3/stockbill/stockbill.java

二進制
lib/yos.core-2.0.1-sources.jar


二進制
lib/yos.core-2.0.1.jar


+ 1 - 1
src/custom/restcontroller/webmanage/lsak3/stockbill/stockbill.java

@@ -276,7 +276,7 @@ public class stockbill extends Controller {
             }else{
             }else{
                 for (Row row :stockbilldetailrows) {
                 for (Row row :stockbilldetailrows) {
                     sqldispatchitems.add("update sa_dispatch_items set outwarehousedate=CURRENT_TIME,outwarehouseqty=outwarehouseqty-"+row.getBigDecimal("qty")+" where siteid='lsa1986' and sa_dispatch_itemsid="+row.getLong("sa_dispatch_itemsid"));
                     sqldispatchitems.add("update sa_dispatch_items set outwarehousedate=CURRENT_TIME,outwarehouseqty=outwarehouseqty-"+row.getBigDecimal("qty")+" where siteid='lsa1986' and sa_dispatch_itemsid="+row.getLong("sa_dispatch_itemsid"));
-                    sqldispatchitems.add("update sa_dispatch set closedate=null,closeby='',status='复核' where siteid='lsa1986' and sa_dispatchid="+row.getLong("sa_dispatch_itemsid"));
+                    sqldispatchitems.add("update sa_dispatch set closedate=null,closeby='',status='复核' where siteid='lsa1986' and sa_dispatchid="+row.getLong("sa_dispatchid"));
                 }
                 }
             }
             }
         }
         }