| | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 控制器 |
| | |
| | | |
| | | } |
| | | String reqSeqId = RequestSeqUtil.extractPrefix("TX"); |
| | | JSONObject result = douGongWithdrawBiz.encashment(reqSeqId, BigDecimal.valueOf(withdrawalReq.getAmount()), companyId.get(0).getHuifuId(), companyId.get(0).getTokenNo(), 1); |
| | | if (!result.get("resp_code").equals("00000000") || !result.getBoolean("success")) { |
| | | Map<String,Object> result = douGongWithdrawBiz.encashment(reqSeqId, BigDecimal.valueOf(withdrawalReq.getAmount()), companyId.get(0).getHuifuId(), companyId.get(0).getTokenNo(), 1); |
| | | if (!result.get("resp_code").equals("00000000")) { |
| | | return new ErrorTip(500, "操作失败,异常原因:"+result.get("resp_desc")); |
| | | } |
| | | tCompanyWithdraw.setReqSeqId(reqSeqId); |