|
|
@ -211,7 +211,6 @@ public class TopicServiceImpl implements TopicService {
|
|
|
|
topicRecord.setTopicType(topicType);
|
|
|
|
topicRecord.setTopicType(topicType);
|
|
|
|
topicRecordMapper.insert(topicRecord);
|
|
|
|
topicRecordMapper.insert(topicRecord);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
PerformanceScore performanceScore = performanceScoreService.getByFlowId(flowId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//IPO模块总分十分,其余5分 板块3分,条件3分,流程4分(固定的题目,单独接口)
|
|
|
|
//IPO模块总分十分,其余5分 板块3分,条件3分,流程4分(固定的题目,单独接口)
|
|
|
|
if (/*!(module.equals(Constant.IPOBK) || module.equals(Constant.IPOTJ)) &&*/ score >= 5) {
|
|
|
|
if (/*!(module.equals(Constant.IPOBK) || module.equals(Constant.IPOTJ)) &&*/ score >= 5) {
|
|
|
@ -219,10 +218,11 @@ public class TopicServiceImpl implements TopicService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 调用计分方法
|
|
|
|
// 调用计分方法
|
|
|
|
if (module.equals(Constant.ZSCETK)) {
|
|
|
|
if (module.equals(Constant.ZSCETK)) {
|
|
|
|
//标记完成时间
|
|
|
|
|
|
|
|
performanceScore.setKnowledgeAssessmentTime(new Date());
|
|
|
|
|
|
|
|
performanceScoreMapper.updateByPrimaryKey(performanceScore);
|
|
|
|
|
|
|
|
performanceScoreService.calculateScoreByModule("knowledgeAssessmentScore", score, flowId);
|
|
|
|
performanceScoreService.calculateScoreByModule("knowledgeAssessmentScore", score, flowId);
|
|
|
|
|
|
|
|
//标记完成时间
|
|
|
|
|
|
|
|
PerformanceScore byFlowId = performanceScoreService.getByFlowId(flowId);
|
|
|
|
|
|
|
|
byFlowId.setKnowledgeAssessmentTime(new Date());
|
|
|
|
|
|
|
|
performanceScoreMapper.updateByPrimaryKey(byFlowId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (module.equals(Constant.XMJDTK)) {
|
|
|
|
if (module.equals(Constant.XMJDTK)) {
|
|
|
|
performanceScoreService.calculateScoreByModule("projectDueDiligenceScore", score, flowId);
|
|
|
|
performanceScoreService.calculateScoreByModule("projectDueDiligenceScore", score, flowId);
|
|
|
@ -231,14 +231,16 @@ public class TopicServiceImpl implements TopicService {
|
|
|
|
performanceScoreService.calculateScoreByModule("projectValuationScore", score, flowId);
|
|
|
|
performanceScoreService.calculateScoreByModule("projectValuationScore", score, flowId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (module.equals(Constant.IPOBK)) {
|
|
|
|
if (module.equals(Constant.IPOBK)) {
|
|
|
|
performanceScore.setIpoTime(new Date());
|
|
|
|
|
|
|
|
performanceScoreMapper.updateByPrimaryKey(performanceScore);
|
|
|
|
|
|
|
|
performanceScoreService.calculateScoreByModule("ipoListedSectorScore", score, flowId);
|
|
|
|
performanceScoreService.calculateScoreByModule("ipoListedSectorScore", score, flowId);
|
|
|
|
|
|
|
|
PerformanceScore byFlowId = performanceScoreService.getByFlowId(flowId);
|
|
|
|
|
|
|
|
byFlowId.setIpoTime(new Date());
|
|
|
|
|
|
|
|
performanceScoreMapper.updateByPrimaryKey(byFlowId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (module.equals(Constant.IPOTJ)) {
|
|
|
|
if (module.equals(Constant.IPOTJ)) {
|
|
|
|
performanceScore.setIpoTime(new Date());
|
|
|
|
|
|
|
|
performanceScoreMapper.updateByPrimaryKey(performanceScore);
|
|
|
|
|
|
|
|
performanceScoreService.calculateScoreByModule("ipoListedConditionScore", score, flowId);
|
|
|
|
performanceScoreService.calculateScoreByModule("ipoListedConditionScore", score, flowId);
|
|
|
|
|
|
|
|
PerformanceScore byFlowId = performanceScoreService.getByFlowId(flowId);
|
|
|
|
|
|
|
|
byFlowId.setIpoTime(new Date());
|
|
|
|
|
|
|
|
performanceScoreMapper.updateByPrimaryKey(byFlowId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"提交成功!");
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"提交成功!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|