| | |
| | | package com.taoke.autopay; |
| | | |
| | | import com.taoke.autopay.dao.KeyOrderMapper; |
| | | import com.taoke.autopay.dto.DYOrderDto; |
| | | import com.taoke.autopay.entity.KeyOrder; |
| | | import com.taoke.autopay.entity.SystemConfigKeyEnum; |
| | |
| | | DYOrderDto dto = keyOrderService.verifyKey(tradeInfo.getGoodsTitle(), orderStatus, tradeInfo.getItemRealAmount()); |
| | | }catch(KeyVerifyException ee){ |
| | | throw ee; |
| | | } |
| | | catch(Exception e){ |
| | | } catch (Exception e) { |
| | | throw new KeyVerifyException(KeyVerifyException.CODE_COMMON, e.getMessage()); |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | @Test |
| | | public void statisticAgentId() { |
| | | KeyOrderMapper.DaoQuery query=new KeyOrderMapper.DaoQuery(); |
| | | query.hasAgentId=true; |
| | | query.hasPayTime = true; |
| | | query.state =2; |
| | | query.count = 100; |
| | | |
| | | List<Long> list = keyOrderService.listAgentId(query); |
| | | System.out.println(list); |
| | | } |
| | | |
| | | } |