@Test
  // @Rollback(false)
  public void testApplyCharge() throws Exception {
    PayOrderModel model = new PayOrderModel();
    model.setMemberId(1);
    model.setCashAccId(3);
    model.setTitle("充值");
    model.setAmount(new BigDecimal(200));
    model.setAlipayTradeNum("2012394759037459023");

    service.chargeApply(model);
  }
 @Test
 public void testFind() {
   ListResult<PayOrderModel> lr = service.findByAcc(3, 0, 100);
   lr = service.findByAcc(3, OrderStatus.DONE, 0, 100);
   Assert.assertEquals(1, lr.getResultCount());
 }
  @Test
  // @Rollback(false)
  public void testUpdateStatus() throws CashAccNotExistsException {

    service.updateStatus(2, OrderStatus.DONE, "OK");
  }