From 64ffe49eddb602898a0b90e1238351fe96573d6f Mon Sep 17 00:00:00 2001 From: whb <17803890193@163.com> Date: Wed, 26 Jun 2024 15:38:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=95=E8=B5=84=E6=84=8F?= =?UTF-8?q?=E5=90=91=E4=B9=A6=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/ContractInvestmentController.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/sztzjy/fund_investment/controller/ContractInvestmentController.java b/src/main/java/com/sztzjy/fund_investment/controller/ContractInvestmentController.java index b8793d1..a5d2ee6 100644 --- a/src/main/java/com/sztzjy/fund_investment/controller/ContractInvestmentController.java +++ b/src/main/java/com/sztzjy/fund_investment/controller/ContractInvestmentController.java @@ -107,9 +107,9 @@ public class ContractInvestmentController { public ResultEntity totalInvestAmount(@ApiParam("流程ID") @RequestParam String flowId, @ApiParam("总投资额度") @RequestParam Double totalInvest) { //金额不低于100万 - if (1000000 > totalInvest) { - return new ResultEntity(HttpStatus.BAD_REQUEST, "金额不能低于100万"); - } +// if (1000000 > totalInvest) { +// return new ResultEntity(HttpStatus.BAD_REQUEST, "金额不能低于100万"); +// } //查询估值 FoundProjectExample foundProjectExample = new FoundProjectExample(); @@ -136,9 +136,9 @@ public class ContractInvestmentController { // 金额不低于100万,持股比例自动显示,为总投资额/估值,持股比例不低于5% double proportion = (totalInvest / v)*100; - if (0.05 > proportion) { - return new ResultEntity(HttpStatus.BAD_REQUEST, "持股比例不低于5%"); - } +// if (0.05 > proportion) { +// return new ResultEntity(HttpStatus.BAD_REQUEST, "持股比例不低于5%"); +// } ProfitManagementExample profitManagementExample = new ProfitManagementExample(); profitManagementExample.createCriteria().andFlowIdEqualTo(flowId);