|
|
@@ -112,7 +112,7 @@ public class DeadlineTask {
|
|
|
/**
|
|
|
* 每天晚上十一点半对未操作的过期单据,发送消息提醒
|
|
|
*/
|
|
|
-// @Scheduled(cron = "0 30 23 ? * *")
|
|
|
+ @Scheduled(cron = "0 30 23 ? * *")
|
|
|
public void execute() {
|
|
|
List<PublicInquiryItem> d = purcInquiryItemDao.findendDate();
|
|
|
for (PublicInquiryItem param : d) {
|
|
|
@@ -181,7 +181,7 @@ public class DeadlineTask {
|
|
|
/**
|
|
|
* 每早9点、14点、17点发送询价通知短信
|
|
|
*/
|
|
|
-// @Scheduled(cron = "0 0 9,14,17 * * ?")
|
|
|
+ @Scheduled(cron = "0 0 9,14,17 * * ?")
|
|
|
private void sendMessageTiming() throws Exception {
|
|
|
Calendar now = Calendar.getInstance();
|
|
|
Integer hour = now.get(Calendar.HOUR_OF_DAY);
|