|
|
@@ -7,6 +7,7 @@ import common.Controller;
|
|
|
import common.YosException;
|
|
|
import common.annotation.API;
|
|
|
import common.annotation.CACHEING;
|
|
|
+import common.annotation.CACHEING_CLEAN;
|
|
|
import common.data.*;
|
|
|
import org.apache.poi.hssf.record.DVALRecord;
|
|
|
import restcontroller.R;
|
|
|
@@ -52,6 +53,7 @@ public class dbstockbilldetailsku extends Controller {
|
|
|
}
|
|
|
|
|
|
@API(title = "判断序列号是否符合条件", apiversion = R.ID2025061915095203.v1.class)
|
|
|
+ @CACHEING_CLEAN(apiClass = {dbstockbill.class, dbstockbilldetail.class, dbstockbilldetailsku.class})
|
|
|
public String judgesku() throws YosException {
|
|
|
long st_dbstockbillid = content.getLong("st_dbstockbillid");
|
|
|
long st_dbstockbilldetailid = content.getLong("st_dbstockbilldetailid");
|
|
|
@@ -145,6 +147,7 @@ public class dbstockbilldetailsku extends Controller {
|
|
|
}
|
|
|
|
|
|
@API(title = "删除明细", apiversion = R.ID2025061915095803.v1.class)
|
|
|
+ @CACHEING_CLEAN(apiClass = {dbstockbill.class, dbstockbilldetail.class, dbstockbilldetailsku.class})
|
|
|
public String deletemxsku() throws YosException {
|
|
|
JSONArray st_dbstockbilldetailskuids = content.getJSONArray("st_dbstockbilldetailskuids");
|
|
|
BatchDeleteErr batchDeleteErr = BatchDeleteErr.create(this, st_dbstockbilldetailskuids.size());
|