|
|
@@ -193,7 +193,7 @@ public class TsbGoodsController extends TscBaseController {
|
|
|
@GetMapping("/summary/create")
|
|
|
@ResponseBody
|
|
|
public String createSummary() throws Exception {
|
|
|
- goodsSummaryJob.run("cron.goods.summary.create");
|
|
|
+ goodsSummaryJob.runById("cron.goods.summary.create");
|
|
|
return "OK";
|
|
|
}
|
|
|
|
|
|
@@ -342,7 +342,7 @@ public class TsbGoodsController extends TscBaseController {
|
|
|
@GetMapping("/shop/stock/receive")
|
|
|
@ResponseBody
|
|
|
public String receiveShopGoodsStock() throws Exception {
|
|
|
- tsbShopGoodsStockJob.run("cron.goods.shop.stock.receive");
|
|
|
+ tsbShopGoodsStockJob.runById("cron.goods.shop.stock.receive");
|
|
|
return "OK";
|
|
|
}
|
|
|
|