添加询价发行完成时间

master
wanghb 1 year ago
parent 6ce77a293d
commit 3a9719d7fd

@ -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);

@ -419,6 +419,11 @@ public class ContractInvestmentServiceImpl implements ContractInvestmentService
//询价结果查询及发行参数录入2分
performanceScoreService.calculateScoreByModule("pricingIssuanceEnteringScore", 2, issuanceParameterInput.getFlowId());
PerformanceScore performanceScore = performanceScoreService.getByFlowId(issuanceParameterInput.getFlowId());
//询价发行完成时间
performanceScore.setPricingIssuanceTime(new Date());
performanceScoreMapper.updateByPrimaryKey(performanceScore);
return new ResultEntity<>(HttpStatus.OK,s,"添加成功");
}
//第一次录入和估值做计算

Loading…
Cancel
Save