| | |
| | | // 小于 1 个月,按天计算 |
| | | ageUnit = "天"; |
| | | age = (int) totalDays; |
| | | if (age != null) age = age + 1; |
| | | ageMap.put("age", age != null ? age.toString() : null); |
| | | ageMap.put("ageUnit", ageUnit); |
| | | ageMap.put("age2", null); |
| | |
| | | age = (int) totalMonths; |
| | | ageUnit2 = "天"; |
| | | age2 = days; |
| | | if (age2 != null) age2 = age2 + 1; |
| | | ageMap.put("age", age != null ? age.toString() : null); |
| | | ageMap.put("ageUnit", ageUnit); |
| | | ageMap.put("age2", age2 != null ? age2.toString() : null); |
| | |
| | | List<Map<String, Object>> list = new ArrayList<>(); |
| | | List<Map<String, Object>> annexfilesList = new ArrayList<>(); |
| | | for (ServiceFunddetailShared serviceFunddetailShared : serviceFunddetailSharedList) { |
| | | //附件处理 |
| | | String annexfiles = serviceFunddetailShared.getAnnexfiles(); |
| | | String invoicefiles = serviceFunddetailShared.getInvoicefiles(); |
| | | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("序号1", serviceFunddetailShared.getOrderno()); |
| | | map.put("费用项目", serviceFunddetailShared.getItemname()); |
| | |
| | | map.put("税后金额", serviceFunddetailShared.getTaxedamount()); |
| | | map.put("作废最终金额", null); |
| | | Long fpuuid = COUNTER.incrementAndGet(); |
| | | map.put("发票附件", ""); |
| | | if (StringUtils.isNotEmpty(invoicefiles)) { |
| | | map.put("发票附件", fpuuid); |
| | | } |
| | | map.put("发票识别", null); |
| | | map.put("识别人", null); |
| | | map.put("税额", serviceFunddetailShared.getTaxamount()); |
| | | long qtuuid = COUNTER.incrementAndGet(); |
| | | map.put("其他附件", ""); |
| | | if (StringUtils.isNotEmpty(annexfiles)) { |
| | | map.put("其他附件", qtuuid); |
| | | } |
| | | map.put("项目编码", serviceFunddetailShared.getItemcode()); |
| | | map.put("预算项目", null); |
| | | map.put("贷方科目", null); |
| | |
| | | map.put("费用说明", null); |
| | | list.add(map); |
| | | |
| | | //附件处理 |
| | | String annexfiles = serviceFunddetailShared.getAnnexfiles(); |
| | | String invoicefiles = serviceFunddetailShared.getInvoicefiles(); |
| | | |
| | | int i = 0; |
| | | if (StringUtils.isNotEmpty(annexfiles)) { |