| | |
| | | public void getPercount() { |
| | | int[] tc = new int[]{1000, 500, 400, 300, 200, 100}; |
| | | for (int t : tc) { |
| | | System.out.println(t + "=>" + userSettingService.getLimitCountByTotalCount(1, t, OrderChannelEnum.bps)); |
| | | System.out.println("============================"); |
| | | System.out.println(t + "=>" + userSettingService.getLimitCountByTotalCount(Constant.ORDER_TYPE_KS, t, OrderChannelEnum.bps)); |
| | | } |
| | | } |
| | | |
| | | @Resource |
| | | private WxUserOrderCountService wxUserOrderCountService; |
| | | |
| | |
| | | |
| | | @Test |
| | | public void testAdd() throws WxOrderCountException { |
| | | |
| | | long uid = 2L; |
| | | String day="20240926"; |
| | | OrderChannelEnum orderChannel= OrderChannelEnum.bps; |