修改百分号问题

master
wanghb
parent 16c4c29328
commit b24b31c9db

@ -176,7 +176,7 @@ public class ContractInvestmentController {
//加分该处填写完成得4分 //加分该处填写完成得4分
performanceScoreService.calculateScoreByModule("investmentSigningInvestScore", 4, flowId); performanceScoreService.calculateScoreByModule("investmentSigningInvestScore", 4, flowId);
return new ResultEntity<>(HttpStatus.OK, proportion); return new ResultEntity<>(HttpStatus.OK, proportion*100);
} else { } else {
return new ResultEntity(HttpStatus.BAD_REQUEST, "查询不到立项项目"); return new ResultEntity(HttpStatus.BAD_REQUEST, "查询不到立项项目");
} }

@ -261,7 +261,9 @@ public class ContractInvestmentServiceImpl implements ContractInvestmentService
//第三条新公司持有的股份 //第三条新公司持有的股份
investmentAgreementDto.setSharesHeld(String.valueOf(investmentAmount)); investmentAgreementDto.setSharesHeld(String.valueOf(investmentAmount));
//第三条占新公司总股本百分比 //第三条占新公司总股本百分比
investmentAgreementDto.setOwnShare(profitManagement.getShareRatio().toString()); Double aDouble20 = Convert.toDouble(profitManagement.getShareRatio());
Double aDouble205 = aDouble20*100;
investmentAgreementDto.setOwnShare(aDouble205.toString());
//第三条4.0进入新公司股本金额 //第三条4.0进入新公司股本金额
investmentAgreementDto.setAmountMoney(String.valueOf(investmentAmount)); investmentAgreementDto.setAmountMoney(String.valueOf(investmentAmount));

Loading…
Cancel
Save