|
|
@@ -39,10 +39,6 @@ public class ViolationsAutoFinish {
|
|
|
@Scheduled(cron = "0 */1 * * * ?")
|
|
|
public void execute() {
|
|
|
try {
|
|
|
- Date startTime = new Date();
|
|
|
- SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
- logger.info(String.format("%s 店铺违规处置自动完成任务开始", dateFormat.format(startTime)));
|
|
|
-
|
|
|
violationsService.autoFinishViolationsWhenDisposeTimeIsInvalid();
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|