| | |
| | | import cc.mrbird.febs.mall.entity.AgentInfo; |
| | | import cc.mrbird.febs.mall.entity.DataDictionaryCustom; |
| | | import cc.mrbird.febs.mall.mapper.DataDictionaryCustomMapper; |
| | | import cc.mrbird.febs.mall.quartz.ProfitJob; |
| | | import cc.mrbird.febs.mall.service.IAgentService; |
| | | import cc.mrbird.febs.rabbit.producter.AgentProducer; |
| | | import com.alibaba.fastjson.JSONObject; |
| | |
| | | @Test |
| | | public void autoLevelUp() { |
| | | // agentService.autoUpAgentLevel(3L); |
| | | agentProducer.sendAutoLevelUpMsg(5L); |
| | | // agentProducer.sendAutoLevelUpMsg(5L); |
| | | |
| | | // agentProducer.sendReturnMoneyMsg(24L); |
| | | agentProducer.sendReturnMoneyMsg(2L); |
| | | } |
| | | |
| | | @Test |
| | |
| | | System.out.println(aa.setScale(2, RoundingMode.DOWN)); |
| | | System.out.println(aa.setScale(2, RoundingMode.UP)); |
| | | } |
| | | |
| | | @Autowired |
| | | private ProfitJob profitJob; |
| | | |
| | | @Test |
| | | public void profitJobTest() { |
| | | profitJob.profitJob(); |
| | | } |
| | | } |