|
@@ -41,7 +41,7 @@ public class dispatch extends Controller {
|
|
|
|
|
|
|
|
|
|
|
|
|
@API(title = "发货单新增更新", apiversion = R.ID20221114135203.v1.class)
|
|
@API(title = "发货单新增更新", apiversion = R.ID20221114135203.v1.class)
|
|
|
- @CACHEING_CLEAN(apiversions = {R.ID20221114135303.v1.class, R.ID20221114135403.v1.class})
|
|
|
|
|
|
|
+ @CACHEING_CLEAN(apiversions = {R.ID20221114135303.v1.class, R.ID20221114135403.v1.class, R.ID20230320160203.v1.class})
|
|
|
public String insertormodify_dispatch() throws YosException {
|
|
public String insertormodify_dispatch() throws YosException {
|
|
|
ArrayList<String> sqlList = new ArrayList<>();
|
|
ArrayList<String> sqlList = new ArrayList<>();
|
|
|
// 表名
|
|
// 表名
|
|
@@ -234,7 +234,7 @@ public class dispatch extends Controller {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@API(title = "删除", apiversion = R.ID20221114135503.v1.class)
|
|
@API(title = "删除", apiversion = R.ID20221114135503.v1.class)
|
|
|
- @CACHEING_CLEAN(apiversions = {R.ID20221114135303.v1.class, R.ID20221114135403.v1.class})
|
|
|
|
|
|
|
+ @CACHEING_CLEAN(apiversions = {R.ID20221114135303.v1.class, R.ID20221114135403.v1.class, R.ID20230320160203.v1.class})
|
|
|
public String delete() throws YosException {
|
|
public String delete() throws YosException {
|
|
|
|
|
|
|
|
JSONArray sa_dispatchids = content.getJSONArray("sa_dispatchids");
|
|
JSONArray sa_dispatchids = content.getJSONArray("sa_dispatchids");
|
|
@@ -267,7 +267,7 @@ public class dispatch extends Controller {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@API(title = "审核", apiversion = R.ID20221114135603.v1.class)
|
|
@API(title = "审核", apiversion = R.ID20221114135603.v1.class)
|
|
|
- @CACHEING_CLEAN(apiClass = {Order.class, OrderItems.class, restcontroller.sale.order.Order.class, dispatch.class, dispatchItems.class})
|
|
|
|
|
|
|
+ @CACHEING_CLEAN(apiClass = {Order.class, OrderItems.class, restcontroller.sale.order.Order.class, dispatch.class, dispatchItems.class, R.ID20230320160203.v1.class})
|
|
|
public String check() throws YosException {
|
|
public String check() throws YosException {
|
|
|
Long sa_dispatchid = content.getLong("sa_dispatchid");
|
|
Long sa_dispatchid = content.getLong("sa_dispatchid");
|
|
|
Long sa_orderid = 0L;
|
|
Long sa_orderid = 0L;
|
|
@@ -325,7 +325,7 @@ public class dispatch extends Controller {
|
|
|
|
|
|
|
|
|
|
|
|
|
@API(title = "反审核", apiversion = R.ID20221114135703.v1.class)
|
|
@API(title = "反审核", apiversion = R.ID20221114135703.v1.class)
|
|
|
- @CACHEING_CLEAN(apiClass = {Order.class, OrderItems.class, restcontroller.sale.order.Order.class, dispatch.class, dispatchItems.class})
|
|
|
|
|
|
|
+ @CACHEING_CLEAN(apiClass = {Order.class, OrderItems.class, restcontroller.sale.order.Order.class, dispatch.class, dispatchItems.class, R.ID20230320160203.v1.class})
|
|
|
public String uncheck() throws YosException {
|
|
public String uncheck() throws YosException {
|
|
|
Long sa_dispatchid = content.getLong("sa_dispatchid");
|
|
Long sa_dispatchid = content.getLong("sa_dispatchid");
|
|
|
Long sa_orderid = 0L;
|
|
Long sa_orderid = 0L;
|
|
@@ -372,7 +372,7 @@ public class dispatch extends Controller {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@API(title = "复核反复核", apiversion = R.ID20221114135803.v1.class)
|
|
@API(title = "复核反复核", apiversion = R.ID20221114135803.v1.class)
|
|
|
- @CACHEING_CLEAN(apiversions = {R.ID20221114135303.v1.class, R.ID20221114135403.v1.class})
|
|
|
|
|
|
|
+ @CACHEING_CLEAN(apiversions = {R.ID20221114135303.v1.class, R.ID20221114135403.v1.class, R.ID20230320160203.v1.class})
|
|
|
public String recheck() throws YosException {
|
|
public String recheck() throws YosException {
|
|
|
Long sa_dispatchid = content.getLong("sa_dispatchid");
|
|
Long sa_dispatchid = content.getLong("sa_dispatchid");
|
|
|
boolean isrecheck = content.getBooleanValue("isrecheck");
|
|
boolean isrecheck = content.getBooleanValue("isrecheck");
|
|
@@ -423,7 +423,7 @@ public class dispatch extends Controller {
|
|
|
|
|
|
|
|
|
|
|
|
|
@API(title = "一键生成发货单", apiversion = R.ID20230220100604.v1.class)
|
|
@API(title = "一键生成发货单", apiversion = R.ID20230220100604.v1.class)
|
|
|
- @CACHEING_CLEAN(apiversions = {R.ID20221114135303.v1.class, R.ID20221114135403.v1.class})
|
|
|
|
|
|
|
+ @CACHEING_CLEAN(apiversions = {R.ID20221114135303.v1.class, R.ID20221114135403.v1.class, R.ID20230320160203.v1.class})
|
|
|
public String generatedispatch() throws YosException {
|
|
public String generatedispatch() throws YosException {
|
|
|
Long sa_orderid = content.getLong("sa_orderid");
|
|
Long sa_orderid = content.getLong("sa_orderid");
|
|
|
JSONArray sa_orderitemsids = content.getJSONArray("sa_orderitemsids");
|
|
JSONArray sa_orderitemsids = content.getJSONArray("sa_orderitemsids");
|