From 6cc2df2fd4eb4b7297f5a65b5adda103c6eadc56 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期一, 16 六月 2025 15:47:43 +0800 Subject: [PATCH] 提交一把订单 --- server/service/src/main/java/com/doumee/service/business/impl/SolutionsServiceImpl.java | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 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 fc9f3f2..1991698 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 @@ -79,9 +79,10 @@ throw new BusinessException(ResponseStatus.DATA_EMPTY.getCode(),"鏈煡璇㈠埌涓绘柟妗堟暟鎹�!"); } solutions.setInsuranceId(solutionsBase.getInsuranceId()); - solutions.setCanAdd(solutionsBase.getCanAdd()); - solutions.setCanReduce(solutionsBase.getCanReduce()); - solutions.setCanChangeUnit(solutionsBase.getCanChangeUnit()); +// solutions.setCanAdd(solutionsBase.getCanAdd()); +// solutions.setCanReduce(solutionsBase.getCanReduce()); +// solutions.setCanChangeUnit(solutionsBase.getCanChangeUnit()); +// solutions.setDelOnlyReplace(solutionsBase.getDelOnlyReplace()); solutions.setAddValidDays(solutionsBase.getAddValidDays()); solutions.setDelValidDays(solutionsBase.getDelValidDays()); solutions.setMinAge(solutionsBase.getMinAge()); @@ -98,7 +99,6 @@ solutions.setDataType(Constants.ZERO); solutions.setStatus(Constants.ZERO); solutions.setCorrectWarnTime(solutionsBase.getCorrectWarnTime()); - solutions.setDelOnlyReplace(solutionsBase.getDelOnlyReplace()); //2024骞�6鏈�17鏃�15:56:18 浠呮敮鎸佹浛鎹㈡ā寮忎笅锛屾壒澧炴棩鏈� 绛変簬 鎵瑰噺鏃ユ湡 if(Constants.equalsInteger(solutions.getDelOnlyReplace(),Constants.ONE)){ solutions.setAddValidDays(solutions.getDelValidDays()); @@ -211,6 +211,10 @@ ||Objects.isNull(solutions.getType()) ||Objects.isNull(solutions.getRetrial()) ||Objects.isNull(solutions.getFanganFile()) + || Objects.isNull(solutions.getCanAdd()) + || Objects.isNull(solutions.getCanReduce()) + || Objects.isNull(solutions.getCanChangeUnit()) + || Objects.isNull(solutions.getDelOnlyReplace()) // ||Constants.formatIntegerNum(solutions.getPriceCycleUnit()) < 0 ||Constants.formatIntegerNum(solutions.getInsureCycle()) < 0 ||Constants.formatIntegerNum(solutions.getInsureCycleUnit()) < 0 -- Gitblit v1.9.3