jiangping
2024-07-09 ddbb93dae803ea73b06bad25fb12eaa322768d18
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);
        }
    }