MrShi
2024-11-16 7a15a07d8e612d3dcf6860fc3ac0da2dce55da55
server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java
@@ -169,9 +169,8 @@
        ){
            throw new BusinessException(ResponseStatus.BAD_REQUEST);
        }
        if(!(Constants.equalsInteger(solutions.getTimeUnit(),Constants.TWO)
                &&(Constants.equalsInteger(solutions.getInsureCycleUnit(),Constants.TWO)
                    ||Constants.equalsInteger(solutions.getInsureCycleUnit(),Constants.TWO)))){
        if(!(Constants.equalsInteger(solutions.getInsureCycleUnit(),Constants.ZERO)
                ||Constants.equalsInteger(solutions.getInsureCycleUnit(),solutions.getInsureCycleUnit()))){
            solutions.setDelOnlyReplace(Constants.ZERO);
        }
    }