| | |
| | | )>Constants.ZERO){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"保险方案名称已存在"); |
| | | } |
| | | |
| | | solutions.setCanAdd(Constants.formatIntegerNum(solutions.getCanAdd())); |
| | | solutions.setCanReduce(Constants.formatIntegerNum(solutions.getCanReduce())); |
| | | solutions.setCanChangeUnit(Constants.formatIntegerNum(solutions.getCanChangeUnit())); |
| | | solutions.setAddValidDays(Constants.formatIntegerNum(solutions.getAddValidDays())); |
| | | solutions.setDelValidDays(Constants.formatIntegerNum(solutions.getDelValidDays())); |
| | | solutions.setIsdeleted(Constants.ZERO); |
| | | solutions.setCreator(user.getId()); |
| | | solutions.setCreateDate(new Date()); |