切换导航条
此项目
正在载入...
登录
message_bus
/
message_bus_service
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
朱兆平
3 years ago
提交
e67be036e4a75f4a29b293336a103a62ef796a40
1 个父辈
6bf4474a
查询搜索优化
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
6 行增加
和
4 行删除
pom.xml
src/main/java/com/sunyo/wlpt/message/bus/service/service/impl/ElasticSearchInfoServiceImpl.java
src/main/resources/mapper/MessageRouterReciverFilterMapper.xml
src/main/resources/mapper/MessageTypeMapper.xml
pom.xml
查看文件 @
e67be03
...
...
@@ -10,7 +10,7 @@
</parent>
<groupId>
com.sunyo.wlpt.message.bus.service
</groupId>
<artifactId>
message_bus_service
</artifactId>
<version>
1.1.
2
-kafka
</version>
<version>
1.1.
3
-kafka
</version>
<name>
message_bus_service
</name>
<description>
消息总线服务
</description>
...
...
src/main/java/com/sunyo/wlpt/message/bus/service/service/impl/ElasticSearchInfoServiceImpl.java
查看文件 @
e67be03
...
...
@@ -261,7 +261,7 @@ public class ElasticSearchInfoServiceImpl implements ElasticSearchInfoService {
//返回分页实体
Page
<
T
>
ResponsePage
=
new
PageImpl
<
T
>(
res
,
page
,
total
);
log
.
info
(
"查询到{}条记录,分别是s:{}"
,
hits
.
length
,
s
);
//
log.info("查询到{}条记录,分别是s:{}",hits.length,s);
return
ResponsePage
;
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
...
...
src/main/resources/mapper/MessageRouterReciverFilterMapper.xml
查看文件 @
e67be03
...
...
@@ -33,7 +33,7 @@
from message_router_reciver_filter
<where>
<if
test=
"filter!=null and filter!=''"
>
AND filter
= #{filter,jdbcType=VARCHAR}
AND filter
like concat('%',#{filter,jdbcType=VARCHAR},'%')
</if>
</where>
</select>
...
...
src/main/resources/mapper/MessageTypeMapper.xml
查看文件 @
e67be03
...
...
@@ -44,7 +44,6 @@
<include
refid=
"Base_Column_List"
/>
from message_type
<where>
parent_id = 0
<if
test=
"id != null and id != ''"
>
and ID = #{id,jdbcType=VARCHAR}
</if>
...
...
@@ -54,6 +53,9 @@
<if
test=
"type !=null and type > 0"
>
and type = #{type,jdbcType=INTEGER}
</if>
<if
test=
"des != null and des != ''"
>
and des like concat('%',#{des,jdbcType=VARCHAR},'%')
</if>
</where>
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
...
...
请
注册
或
登录
后发表评论