|
@@ -343,7 +343,7 @@ public class GoodsController {
|
|
@ApiOperation(value = "资产维护检测定时任务", notes = "资产维护检测定时任务")
|
|
@ApiOperation(value = "资产维护检测定时任务", notes = "资产维护检测定时任务")
|
|
@RequestMapping("/goodsMaintainChecking")
|
|
@RequestMapping("/goodsMaintainChecking")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- @Scheduled(cron = "0 0 23 * * ?")//配置时间点触发(每日23点)
|
|
|
|
|
|
+// @Scheduled(cron = "0 0 23 * * ?")//配置时间点触发(每日23点)
|
|
public HttpRespMsg goodsMaintainChecking(Goods goods,HttpServletResponse response) {
|
|
public HttpRespMsg goodsMaintainChecking(Goods goods,HttpServletResponse response) {
|
|
HttpRespMsg msg = goodsService.goodsMaintainChecking(goods,response);
|
|
HttpRespMsg msg = goodsService.goodsMaintainChecking(goods,response);
|
|
return msg;
|
|
return msg;
|