修改实务认知得分和智能评分规则

master
xiaoCJ 9 months ago
parent 12fc933b10
commit da38044a71

@ -329,7 +329,16 @@ public class TopicServiceImpl implements TopicService {
@Override
public List<TopicRecord> getTopicRecord(String flowId, String module) {
TopicRecordExample example = new TopicRecordExample();
example.createCriteria().andModuleEqualTo(module).andFlowIdEqualTo(flowId);
TopicRecordExample.Criteria criteria = example.createCriteria();
criteria.andFlowIdEqualTo(flowId);
if (module.equals("IPO")){
List<String>list =new ArrayList<>();
list.add(Constant.IPOBK);
list.add(Constant.IPOTJ);
criteria.andModuleIn(list);
}else {
criteria.andModuleEqualTo(module);
}
example.setOrderByClause("id");
List<TopicRecord> list = topicRecordMapper.selectByExample(example);
return list;

Loading…
Cancel
Save