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