记得上下班打卡 | git大法好,push需谨慎

Commit b903c6ac authored by 张国柄's avatar 张国柄

~opt;

parent 86761b54
......@@ -61,12 +61,18 @@ public class GoblinUserDigitalArtworkTaskController {
if (!CollectionUtils.isEmpty(list)) {
int numSucc = platformGoblinNftTransferOrderService.processForTransferExpire(list);
log.info("藏品转赠过期处理[单次处理:{},list.size:{},list.numSucc:{}]", lastLimitSql, list.size(), numSucc);
if (numSucc == 0) {
return ResponseDto.failure(String.format("藏品转赠过期处理警告:Mysql与Redis数据不一致,请核实[expiredTime=%s]", expiredTime));
}
pl += numSucc;
queryWrapper.clear();
expiredTime = LocalDateTime.now().minusSeconds(expiredSecondsIntVal);
queryWrapper.eq(GoblinNftTransferOrder::getState, 0).le(GoblinNftTransferOrder::getCreatedAt, expiredTime);
queryWrapper.select(GoblinNftTransferOrder::getMid, GoblinNftTransferOrder::getArtworkId);
queryWrapper.orderByAsc(GoblinNftTransferOrder::getMid);
} else {
remainCount = -1;
}
......@@ -75,6 +81,6 @@ public class GoblinUserDigitalArtworkTaskController {
if (totalCount > 0) {
log.info("藏品转赠过期初始查询总数:{},最终成功处理总数:{} >>> END END END", totalCount, pl);
}
return ResponseDto.success();
return ResponseDto.success(String.format("藏品转赠过期初始查询总数:%s,最终成功处理总数:%s", totalCount, pl));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment