|
|
|
@ -10,10 +10,7 @@ import com.sztzjy.fund_investment.entity.*;
|
|
|
|
|
import com.sztzjy.fund_investment.entity.dto.InvestIntentionDetailedDto;
|
|
|
|
|
import com.sztzjy.fund_investment.entity.dto.InvestmentAgreementDto;
|
|
|
|
|
import com.sztzjy.fund_investment.entity.dto.ReportUploadDto;
|
|
|
|
|
import com.sztzjy.fund_investment.mapper.FoundProjectMapper;
|
|
|
|
|
import com.sztzjy.fund_investment.mapper.IssuanceInfoMapper;
|
|
|
|
|
import com.sztzjy.fund_investment.mapper.ProfitManagementMapper;
|
|
|
|
|
import com.sztzjy.fund_investment.mapper.ProjectPoolMapper;
|
|
|
|
|
import com.sztzjy.fund_investment.mapper.*;
|
|
|
|
|
import com.sztzjy.fund_investment.service.ContractInvestmentService;
|
|
|
|
|
import com.sztzjy.fund_investment.service.ISysProjectDueDiligenceService;
|
|
|
|
|
import com.sztzjy.fund_investment.service.PerformanceScoreService;
|
|
|
|
@ -42,9 +39,11 @@ import java.math.RoundingMode;
|
|
|
|
|
import java.nio.file.Files;
|
|
|
|
|
import java.nio.file.Paths;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Random;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author 17803
|
|
|
|
|
* @date 2023-12-05 8:40
|
|
|
|
@ -85,6 +84,9 @@ public class ContractInvestmentController {
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private PerformanceScoreService performanceScoreService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private PerformanceScoreMapper performanceScoreMapper;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 上传尽调报告
|
|
|
|
@ -325,6 +327,11 @@ public class ContractInvestmentController {
|
|
|
|
|
//返回公章并加分
|
|
|
|
|
performanceScoreService.calculateScoreByModule("investmentSigningScore", 2, flowId);
|
|
|
|
|
|
|
|
|
|
//完成操作
|
|
|
|
|
PerformanceScore performanceScore = performanceScoreService.getByFlowId(flowId);
|
|
|
|
|
performanceScore.setInvestmentSigningTime(new Date());
|
|
|
|
|
performanceScoreMapper.updateByPrimaryKey(performanceScore);
|
|
|
|
|
|
|
|
|
|
// 构建HTTP响应,设置Content-Type为image/png
|
|
|
|
|
return ResponseEntity.ok()
|
|
|
|
|
.contentType(MediaType.IMAGE_PNG)
|
|
|
|
@ -412,7 +419,7 @@ public class ContractInvestmentController {
|
|
|
|
|
|
|
|
|
|
@AnonymousAccess
|
|
|
|
|
@GetMapping("/preliminaryOffline")
|
|
|
|
|
@ApiOperation("网下初步配售发行价格发行总量")
|
|
|
|
|
@ApiOperation("网下初步配售发行价格和发行总量")
|
|
|
|
|
public ResultEntity<preliminaryOfflineDto> preliminaryOffline(@ApiParam("流程ID") @RequestParam String flowId) {
|
|
|
|
|
|
|
|
|
|
preliminaryOfflineDto info = contractInvestmentService.preliminaryOffline(flowId);
|
|
|
|
|