| | |
| | | try { |
| | | // AllocationResp allocationResp = AllocationExample.create(allocationReq); |
| | | Map<String, Object> fenzhang = FenZhangUtil.fenzhang(req_seq_id, seq_date, String.valueOf(sum), "1"); |
| | | String resp_code = fenzhang.get("resp_code").toString(); |
| | | if(!"00000000".equals(resp_code)){ |
| | | continue; |
| | | } |
| | | System.out.println(company.getId() + "::" + company.getName() + "-----分账状态" + fenzhang.toString() + "--------------"); |
| | | if (!"S".equals(fenzhang.get("trans_stat").toString())) { |
| | | List<Income> collect = state.stream().filter(e -> e.getUserType() == 1 && company.getId().equals(e.getObjectId())).collect(Collectors.toList()); |
| | |
| | | Map<String, Object> fenzhang = FenZhangUtil.fenzhang(req_seq_id, seq_date, String.valueOf(sum), "1"); |
| | | // AllocationResp allocationResp = AllocationExample.create(allocationReq); |
| | | System.out.println(tDriver.getId() + "::" + tDriver.getName() + "-----分账状态" + fenzhang.toString() + "--------------"); |
| | | String resp_code = fenzhang.get("resp_code").toString(); |
| | | if(!"00000000".equals(resp_code)){ |
| | | continue; |
| | | } |
| | | if (!"S".equals(fenzhang.get("trans_stat").toString())) { |
| | | List<Income> collect1 = state.stream().filter(e -> e.getUserType() == 2 && tDriver.getId().equals(e.getObjectId())).collect(Collectors.toList()); |
| | | collect1.stream().forEach(e -> { |