日期格式化,新增test文件
This commit is contained in:
parent
fb745f89fc
commit
b5b9fd4e04
@ -80,7 +80,7 @@ public class WeekStarHistoryTop1QueryExe {
|
|||||||
historyVO.setUserId(weekStarGiftCount.getUserId());
|
historyVO.setUserId(weekStarGiftCount.getUserId());
|
||||||
historyVO.setUserSex(userProfile.getUserSex());
|
historyVO.setUserSex(userProfile.getUserSex());
|
||||||
historyVO.setRank(weekStarGiftCount.getRank());
|
historyVO.setRank(weekStarGiftCount.getRank());
|
||||||
historyVO.setGroup(weekStarGiftCount.getGroup());
|
historyVO.setGroup(weekStarGiftCount.getGroup().replaceAll("(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3"));
|
||||||
historyVO.setQuantity(weekStarGiftCount.getQuantity());
|
historyVO.setQuantity(weekStarGiftCount.getQuantity());
|
||||||
|
|
||||||
// 转换时间类型
|
// 转换时间类型
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
import com.red.circle.OtherServiceApplication;
|
import com.red.circle.OtherServiceApplication;
|
||||||
|
import com.red.circle.common.business.core.enums.SysOriginPlatformEnum;
|
||||||
import com.red.circle.other.app.listener.team.TeamBillSettleListener;
|
import com.red.circle.other.app.listener.team.TeamBillSettleListener;
|
||||||
|
import com.red.circle.other.app.manager.activity.award.WeeklyRewardsSentManager;
|
||||||
import com.red.circle.other.app.scheduler.TeamBillTask;
|
import com.red.circle.other.app.scheduler.TeamBillTask;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
@ -18,6 +20,8 @@ public class TeamMonthBillTest {
|
|||||||
private TeamBillTask teamBillTask;
|
private TeamBillTask teamBillTask;
|
||||||
@Autowired
|
@Autowired
|
||||||
private TeamBillSettleListener teamBillSettleListener;
|
private TeamBillSettleListener teamBillSettleListener;
|
||||||
|
@Autowired
|
||||||
|
private WeeklyRewardsSentManager weeklyRewardsSentManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新账单 然很发布消息
|
* 更新账单 然很发布消息
|
||||||
@ -36,4 +40,9 @@ public class TeamMonthBillTest {
|
|||||||
teamBillSettleListener.processBillTest(teamId);
|
teamBillSettleListener.processBillTest(teamId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void weeklyRewardsSent() {
|
||||||
|
weeklyRewardsSentManager.sendLastWeekStarV1(SysOriginPlatformEnum.LIKEI);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user