From 09da100729793848bc01b51f7b05ca3f1e7ec64f Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期四, 20 六月 2024 14:05:35 +0800 Subject: [PATCH] 提交一把 --- server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java b/server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java index a3f3571..03f2ada 100644 --- a/server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java +++ b/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); } } -- Gitblit v1.9.3