1
0

2 کامیت‌ها 466f09f283 ... 60ccaaf0ec

نویسنده SHA1 پیام تاریخ
  郭齐峰 60ccaaf0ec Merge branch 'develop' into develop2 11 ماه پیش
  郭齐峰 81a2a969c0 调价单导入 11 ماه پیش
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/custom/restcontroller/webmanage/sale/itempriceadjust/ItempriceadjustItemprice.java

+ 2 - 2
src/custom/restcontroller/webmanage/sale/itempriceadjust/ItempriceadjustItemprice.java

@@ -232,7 +232,7 @@ public class ItempriceadjustItemprice extends Controller {
     @API(title = "导入商品调价单", apiversion = R.ID20221026142804.v1.class)
     @CACHEING_CLEAN(apiversions = {R.ID20221024163504.v1.class, R.ID20221025160904.v1.class})
     public String importItempriceadjust() throws YosException {
-        ArrayList<String> sqlList = new ArrayList<>();
+
         Long sa_itempriceadjustid = createTableID("sa_itempriceadjust");
         String billno = createBillCode("itempriceadjust");
         SQLFactory sqlFactory = new SQLFactory(this, "商品价格调整单新增");
@@ -383,7 +383,7 @@ public class ItempriceadjustItemprice extends Controller {
             }
             if (!sqllist.isEmpty()) {
                 String sql = DataContrlLog.createLog(this, "sa_itempriceadjust", sa_itempriceadjustid, "新增", "商品调价单导入:" + sa_itempriceadjustid).getSQL();
-                sqlList.add(sql);
+                sqllist.add(sql);
                 dbConnect.runSqlUpdate(sqllist);
             } else {
                 dbConnect.runSqlUpdate("delete from sa_itempriceadjust where sa_itempriceadjustid=" + sa_itempriceadjustid);