| | |
| | | throw new BusinessException(ResponseStatus.DATA_EMPTY.getCode(),"未查询到主方案数据!"); |
| | | } |
| | | solutions.setInsuranceId(solutionsBase.getInsuranceId()); |
| | | solutions.setCanAdd(solutionsBase.getCanAdd()); |
| | | solutions.setCanReduce(solutionsBase.getCanReduce()); |
| | | solutions.setCanChangeUnit(solutionsBase.getCanChangeUnit()); |
| | | // solutions.setCanAdd(solutionsBase.getCanAdd()); |
| | | // solutions.setCanReduce(solutionsBase.getCanReduce()); |
| | | // solutions.setCanChangeUnit(solutionsBase.getCanChangeUnit()); |
| | | // solutions.setDelOnlyReplace(solutionsBase.getDelOnlyReplace()); |
| | | solutions.setAddValidDays(solutionsBase.getAddValidDays()); |
| | | solutions.setDelValidDays(solutionsBase.getDelValidDays()); |
| | | solutions.setMinAge(solutionsBase.getMinAge()); |
| | |
| | | solutions.setDataType(Constants.ZERO); |
| | | solutions.setStatus(Constants.ZERO); |
| | | solutions.setCorrectWarnTime(solutionsBase.getCorrectWarnTime()); |
| | | solutions.setDelOnlyReplace(solutionsBase.getDelOnlyReplace()); |
| | | //2024年6月17日15:56:18 仅支持替换模式下,批增日期 等于 批减日期 |
| | | if(Constants.equalsInteger(solutions.getDelOnlyReplace(),Constants.ONE)){ |
| | | solutions.setAddValidDays(solutions.getDelValidDays()); |
| | |
| | | ||Objects.isNull(solutions.getType()) |
| | | ||Objects.isNull(solutions.getRetrial()) |
| | | ||Objects.isNull(solutions.getFanganFile()) |
| | | || Objects.isNull(solutions.getCanAdd()) |
| | | || Objects.isNull(solutions.getCanReduce()) |
| | | || Objects.isNull(solutions.getCanChangeUnit()) |
| | | || Objects.isNull(solutions.getDelOnlyReplace()) |
| | | // ||Constants.formatIntegerNum(solutions.getPriceCycleUnit()) < 0 |
| | | ||Constants.formatIntegerNum(solutions.getInsureCycle()) < 0 |
| | | ||Constants.formatIntegerNum(solutions.getInsureCycleUnit()) < 0 |
| | |
| | | .eq(Multifile::getIsdeleted,Constants.ZERO) |
| | | .eq(Multifile::getObjType,Constants.MultiFile.SOLUTIONS_CONFIRMATION_LATTER.getKey())); |
| | | Multifile file = solutions.getFanganFile(); |
| | | file.setId(null); |
| | | file.setIsdeleted(Constants.ZERO); |
| | | file.setCreateDate(solutions.getEditDate()); |
| | | file.setCreator(solutions.getEditor()); |
| | |
| | | file.setObjType(Constants.MultiFile.SOLUTIONS_CONFIRMATION_LATTER.getKey()); |
| | | file.setType(Constants.formatIntegerNum(file.getType())); |
| | | multifileMapper.insert(file); |
| | | file.setId(null); |
| | | file.setObjId(newModel.getId()); |
| | | multifileMapper.insert(file); |
| | | |