| | |
| | | |
| | | import cn.hutool.core.date.DateUnit; |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.xcong.excoin.modules.coin.parameter.dto.CoinInListDto; |
| | | import com.xcong.excoin.modules.coin.service.CoinService; |
| | | import com.xcong.excoin.modules.yunding.dao.YdOrderDao; |
| | | import com.xcong.excoin.modules.yunding.entity.YdOrderEntity; |
| | | import com.xcong.excoin.modules.yunding.service.XchProfitService; |
| | |
| | | |
| | | @Test |
| | | public void orderUsdtProfitTest() { |
| | | xchProfitService.usdtProfitDistributorByOrderId(7L); |
| | | xchProfitService.usdtProfitDistributorByOrderId(17L); |
| | | } |
| | | // |
| | | // @Autowired |
| | |
| | | public void xchProfitTest() { |
| | | xchProfitService.xchProfitDistributor(BigDecimal.valueOf(1)); |
| | | } |
| | | |
| | | @Autowired |
| | | private CoinService coinService; |
| | | |
| | | @Test |
| | | public void coinTest() { |
| | | CoinInListDto coin = new CoinInListDto(); |
| | | coin.setType(4); |
| | | coin.setPageNum(1); |
| | | coin.setPageSize(10); |
| | | coinService.coinInList(coin); |
| | | } |
| | | } |