|
|
|
@ -135,7 +135,7 @@ public class ContractInvestmentController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 金额不低于100万,持股比例自动显示,为总投资额/估值,持股比例不低于5%
|
|
|
|
|
double proportion = totalInvest / v;
|
|
|
|
|
double proportion = (totalInvest / v)*100;
|
|
|
|
|
if (0.05 > proportion) {
|
|
|
|
|
return new ResultEntity(HttpStatus.BAD_REQUEST, "持股比例不低于5%");
|
|
|
|
|
}
|
|
|
|
@ -176,7 +176,7 @@ public class ContractInvestmentController {
|
|
|
|
|
//加分该处填写完成得4分
|
|
|
|
|
performanceScoreService.calculateScoreByModule("investmentSigningInvestScore", 4, flowId);
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK, proportion*100);
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK, proportion);
|
|
|
|
|
} else {
|
|
|
|
|
return new ResultEntity(HttpStatus.BAD_REQUEST, "查询不到立项项目");
|
|
|
|
|
}
|
|
|
|
|