k94314517
2024-07-30 d37bf55e27b7edb61037bccde6cabeda1ddec6b7
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);
        }
    }