| | |
| | | @FieldInfo(name = "contractPeriod", type = "tinyint", explain = "合同期限(年)") |
| | | @TableField("contractPeriod") |
| | | @ExcelField(value = "合同期限(年)") |
| | | private Integer contractPeriod = 0; |
| | | private Float contractPeriod = Float.valueOf(0); |
| | | |
| | | @FieldInfo(name = "contractStatusName", type = "varchar", explain = "合同状态") |
| | | @TableField(exist = false) |
| | |
| | | contractInfo.setEndDate(DateUtil.parseDate(list.get(7).toString())); |
| | | } |
| | | if (StringUtils.isNotBlank(list.get(8).toString())) { |
| | | contractInfo.setContractPeriod(Integer.valueOf(list.get(8).toString())); |
| | | contractInfo.setContractPeriod(Float.valueOf(list.get(8).toString())); |
| | | } |
| | | //合同 |
| | | DicItem dicItem =dicItems.parallelStream().filter(j->StrUtil.equalsIgnoreCase(j.getDicCode(),"contractStatus")&&StrUtil.equals(j.getDicItemName(),list.get(9).toString())).findFirst().orElse(null); |