|
|
@@ -168,8 +168,8 @@ public class SyncUserDataScheduledService {
|
|
|
* 定义一个按一定频率执行的定时任务 每天三点半执行一次 更新微信客户
|
|
|
* 本地生活
|
|
|
*/
|
|
|
-// @Scheduled(cron = "0 30 3 * * ?")
|
|
|
- @PostConstruct
|
|
|
+ @Scheduled(cron = "0 30 3 * * ?")
|
|
|
+// @PostConstruct
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void syncCustomerUserDataScheduled() {
|
|
|
try {
|
|
|
@@ -180,7 +180,7 @@ public class SyncUserDataScheduledService {
|
|
|
}
|
|
|
log.info("同步本地生活微信用户 start ==================================");
|
|
|
LocalAppUserDto localAppUserDto = new LocalAppUserDto();
|
|
|
-// this.setDate(localAppUserDto);
|
|
|
+ this.setDate(localAppUserDto);
|
|
|
// 查询本地生活 所有的用户 条件 普通用户 创建时间
|
|
|
localAppUserDto.setIsWx(1);
|
|
|
List<LocalAppUserVo> localAppUserList = localAppUserService.selectUserList(localAppUserDto);
|