From da38044a719ffcb7baff44d1b09b91c26460960d Mon Sep 17 00:00:00 2001 From: xiaoCJ <406612557@qq.com> Date: Mon, 24 Jun 2024 17:21:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9E=E5=8A=A1=E8=AE=A4?= =?UTF-8?q?=E7=9F=A5=E5=BE=97=E5=88=86=E5=92=8C=E6=99=BA=E8=83=BD=E8=AF=84?= =?UTF-8?q?=E5=88=86=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/serviceImpl/TopicServiceImpl.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/TopicServiceImpl.java b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/TopicServiceImpl.java index 35abd80..0f301e3 100644 --- a/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/TopicServiceImpl.java +++ b/src/main/java/com/sztzjy/fund_investment/service/serviceImpl/TopicServiceImpl.java @@ -329,7 +329,16 @@ public class TopicServiceImpl implements TopicService { @Override public List 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")){ + Listlist =new ArrayList<>(); + list.add(Constant.IPOBK); + list.add(Constant.IPOTJ); + criteria.andModuleIn(list); + }else { + criteria.andModuleEqualTo(module); + } example.setOrderByClause("id"); List list = topicRecordMapper.selectByExample(example); return list;