From deb4575b72443cf906946a9fb28a557c16556fb9 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期五, 01 十一月 2024 09:30:50 +0800 Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/yunyibao into 2.0.1 --- 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