调整权益使用记录同步逻辑
This commit is contained in:
@@ -62,9 +62,9 @@ public class SyncBenefitUseRecord implements Job {
|
||||
List<ConfigCodeDTO> configCodeServiceRes2 = configCodeService.list(configCodeQueryDTO).getContent();
|
||||
if (CollUtil.isEmpty(configCodeServiceRes2)) {
|
||||
log.info("首次同步,上次同步时间置为1年前");
|
||||
startTime = (System.currentTimeMillis() - 365L * 24 * 60 * 60 * 1000) / 1000;
|
||||
startTime = (System.currentTimeMillis() - 30L * 24 * 60 * 60 * 1000) / 1000;
|
||||
} else {
|
||||
startTime = Long.parseLong(configCodeServiceRes2.get(0).getCodeLabel());
|
||||
startTime = Long.parseLong(configCodeServiceRes2.get(0).getCodeLabel()) + 1;
|
||||
}
|
||||
long endTime = System.currentTimeMillis() / 1000;
|
||||
InterfaceExecuteDTO interfaceExecuteDTO = new InterfaceExecuteDTO();
|
||||
|
||||
Reference in New Issue
Block a user