Kaynağa Gözat

[定时任务][修改]修改执行时间为9点

release_toaliyun_real
jinguo24@163.com 7 yıl önce
ebeveyn
işleme
718b56f6e3
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      mallinkAdmin/src/main/java/com/simple/schedule/WxAppVisitSchedule.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxCUserMapper.xml

+ 1
- 1
mallinkAdmin/src/main/java/com/simple/schedule/WxAppVisitSchedule.java Dosyayı Görüntüle

@@ -46,7 +46,7 @@ public class WxAppVisitSchedule {
// @Scheduled(cron = "0 */1 * * * *?") // @Scheduled(cron = "0 */1 * * * *?")
@Scheduled(cron = "0 0 6 * * ? ")
@Scheduled(cron = "0 0 9 * * ? ")
public void start() { public void start() {
try { try {
Calendar c =Calendar.getInstance(); Calendar c =Calendar.getInstance();


+ 1
- 1
mallinkService/src/main/resources/mapper/WxCUserMapper.xml Dosyayı Görüntüle

@@ -193,7 +193,7 @@
and create_date >= #{startTime} and create_date >= #{startTime}
</if> </if>
<if test=" null != endTime"> <if test=" null != endTime">
and create_date &lt;= #{endTime}
and create_date &lt; #{endTime}
</if> </if>
<if test="null != tenantId"> <if test="null != tenantId">
and tenant_id =#{tenantId} and tenant_id =#{tenantId}


Yükleniyor…
İptal
Kaydet