| | |
| | | } |
| | | |
| | | PageData<UnionApply> pageData = PageData.from(unionApplyJoinMapper.selectJoinPage(page,UnionApply.class, queryWrapper)); |
| | | if(pageData!=null && pageData.getRecords()!=null){ |
| | | for(UnionApply model : pageData.getRecords()){ |
| | | initStatusInfo(model); |
| | | } |
| | | } |
| | | return pageData; |
| | | } |
| | | |
| | | private void initStatusInfo(UnionApply model) { |
| | | model.setStatusInfo(Constants.UnionApplyStatus.getName(Constants.formatIntegerNum(model.getStatus()))); |
| | | } |
| | | |
| | | @Override |
| | |
| | | unionApply.setServiceDays(DateUtil.daysBetweenDates(new Date(),unionApply.getStartTime())+1); |
| | | } |
| | | } |
| | | initStatusInfo(unionApply); |
| | | return unionApply; |
| | | } |
| | | |
| | |
| | | multifile.setName(unionApplyBXDDTO.getFileName()); |
| | | multifileMapper.insert(multifile); |
| | | } |
| | | } |
| | | |
| | | |
| | | Constants.ApplyLogType applyLogType = Constants.ApplyLogType.IA_HBD_UPLOAD_TBD; |
| | | ApplyLog log = new ApplyLog(unionApply,applyLogType.getName(), null |
| | | ,unionApply.getId(),applyLogType.getKey(),null, JSONObject.toJSONString(unionApply)); |
| | | applyLogMapper.insert(log); |
| | | |
| | | } |
| | | |
| | | |
| | | } |