Compare commits
No commits in common. "8d392939a902870cc232c6cb43782e0c93289bc6" and "113c565d1b0dd7b0282393126ad465b464ab5407" have entirely different histories.
8d392939a9
...
113c565d1b
|
|
@ -53,11 +53,6 @@ public class CuBonusVertexStatisServiceImpl extends ServiceImpl<CuBonusVertexSta
|
|||
return dates;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean delStatis(String startDate, String endDate, List<Integer> pkVertexList) {
|
||||
return baseMapper.delStatis(startDate, endDate, pkVertexList);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void anewStatisHistoryBonus(String startDate, String endDate) {
|
||||
|
|
@ -131,6 +126,11 @@ public class CuBonusVertexStatisServiceImpl extends ServiceImpl<CuBonusVertexSta
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean delStatis(String startDate, String endDate, List<Integer> pkVertexList) {
|
||||
return baseMapper.delStatis(startDate, endDate, pkVertexList);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CuBonusVertexStatisVO> queryCuBonusStatis(CuBonusVertexStatisVO cuBonusVertexStatisVO) {
|
||||
return baseMapper.queryCuBonusStatis(cuBonusVertexStatisVO);
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ public class MemberJob {
|
|||
date = DateUtils.beforeDate(1, ChronoUnit.DAYS, date);
|
||||
String payTimeStr = (DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, date));
|
||||
R<Boolean> statis = iCuBonusVertexStatisServiceApi.anewStatisHistoryBonus(payTimeStr, payTimeStr);
|
||||
if (!statis.isSuccess()) {
|
||||
if (!statis.getData()) {
|
||||
log.info("{}-定时统计奖金拨统计失败", DateUtils.currentDate());
|
||||
}
|
||||
}
|
||||
|
|
@ -91,10 +91,10 @@ public class MemberJob {
|
|||
String startDateStr = (DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, endDate));
|
||||
//删除前6天的数据
|
||||
R<Boolean> delstatis = iCuBonusVertexStatisServiceApi.delStatis(startDateStr, endDateStr);
|
||||
if (delstatis.isSuccess()) {
|
||||
if (delstatis.getData()) {
|
||||
//重算前6天的数据
|
||||
R<Boolean> statis = iCuBonusVertexStatisServiceApi.anewStatisHistoryBonus(startDateStr, endDateStr);
|
||||
if (!statis.isSuccess()) {
|
||||
if (!statis.getData()) {
|
||||
log.info("{}-重算7天定时统计顶点奖金拨统计失败", DateUtils.currentDate());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue