| | |
| | | .stream().filter(sysUserLevelInsurance -> !((sysUserLevelInsurance.getEndDate() != null && sysUserLevelInsurance.getEndDate().before(enterProjectTime)) || sysUserLevelInsurance.getStartDate().after(exitProjectTime))) |
| | | .collect(Collectors.toList()); |
| | | |
| | | // 判断是否有用户级别工资 |
| | | if(sysUserLevelWages.size() <= 0){ |
| | | throw new BadRequestException("此用户暂无级别工资"); |
| | | } |
| | | // 判断是否有用户级别保险 |
| | | if(sysUserLevelInsurances.size() <= 0){ |
| | | throw new BadRequestException("此用户暂无级别保险"); |
| | | } |
| | | // // 判断是否有用户级别工资 |
| | | // if(sysUserLevelWages.size() <= 0){ |
| | | // throw new BadRequestException("此用户暂无级别工资"); |
| | | // } |
| | | // // 判断是否有用户级别保险 |
| | | // if(sysUserLevelInsurances.size() <= 0){ |
| | | // throw new BadRequestException("此用户暂无级别保险"); |
| | | // } |
| | | |
| | | Map<Long, Double> sysUserLevelWageHoursMap = new HashMap<Long, Double>(); |
| | | for (SysUserLevelWage sysUserLevelWage : sysUserLevelWages) { |