## 添加测试结算日志;
This commit is contained in:
parent
0854376e90
commit
3f6ae948da
|
@ -1833,10 +1833,12 @@ public class BonusSettleRangeHandle extends BonusSettleHandle {
|
|||
if (EEnv.TEST.getValue().equals(BdConfig.getEnv())) {
|
||||
// 测试环境,只查昨天订单
|
||||
Date endDate = DateUtils.afterDate(1, ChronoUnit.DAYS, settleDate);
|
||||
log.info("测试环境,月结日期: {}", endDate);
|
||||
List<SaOrder> currentMonthOrderList = iBonusOrderService.listSaOrderByTime(settleDate, endDate, orderType);
|
||||
totalMonthOrderList.addAll(currentMonthOrderList);
|
||||
// 测试环境奖衔取当前结算期
|
||||
rangeTableName = TableNameConstants.CU_MEMBER_RETAIL_RANGE + period;
|
||||
log.info("测试环境,月结期间: {}", rangeTableName);
|
||||
} else {
|
||||
// 非测试环境
|
||||
while (!DateUtils.compareDateEqual(currentMonthFirstDate, nextMonthFirstDate)) {
|
||||
|
|
Loading…
Reference in New Issue