jiangping
2024-10-22 2d528d024b179b6b06d1d2702e72f6caa5f67149
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);
        }
    }