|
|
@@ -40,7 +40,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
@Component
|
|
|
-@RestController
|
|
|
+//@RestController
|
|
|
public class OrderDunTask {
|
|
|
@Autowired
|
|
|
private OrderNewService orderNewService;
|
|
|
@@ -72,7 +72,7 @@ public class OrderDunTask {
|
|
|
*/
|
|
|
// @ResponseBody
|
|
|
@Scheduled(cron = "0 0 3 * * ?")
|
|
|
- @RequestMapping(value = "/open/test", method = RequestMethod.GET)
|
|
|
+// @RequestMapping(value = "/open/test", method = RequestMethod.GET)
|
|
|
// @Scheduled(cron = "0 47 11 * * ?")
|
|
|
@Transactional(rollbackFor=Exception.class)
|
|
|
public void startTask() throws InterruptedException {
|