k94314517
2024-06-27 17f3de037c0e60898ff8cfee09d071be6348c5e1
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);
        }
    }