正在显示
4 个修改的文件
包含
6 行增加
和
4 行删除
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | </parent> | 10 | </parent> |
| 11 | <groupId>com.sunyo.wlpt.message.bus.service</groupId> | 11 | <groupId>com.sunyo.wlpt.message.bus.service</groupId> |
| 12 | <artifactId>message_bus_service</artifactId> | 12 | <artifactId>message_bus_service</artifactId> |
| 13 | - <version>1.1.2-kafka</version> | 13 | + <version>1.1.3-kafka</version> |
| 14 | <name>message_bus_service</name> | 14 | <name>message_bus_service</name> |
| 15 | <description>消息总线服务</description> | 15 | <description>消息总线服务</description> |
| 16 | 16 |
| @@ -261,7 +261,7 @@ public class ElasticSearchInfoServiceImpl implements ElasticSearchInfoService { | @@ -261,7 +261,7 @@ public class ElasticSearchInfoServiceImpl implements ElasticSearchInfoService { | ||
| 261 | 261 | ||
| 262 | //返回分页实体 | 262 | //返回分页实体 |
| 263 | Page<T> ResponsePage =new PageImpl<T>(res,page,total); | 263 | Page<T> ResponsePage =new PageImpl<T>(res,page,total); |
| 264 | - log.info("查询到{}条记录,分别是s:{}",hits.length,s); | 264 | + //log.info("查询到{}条记录,分别是s:{}",hits.length,s); |
| 265 | return ResponsePage; | 265 | return ResponsePage; |
| 266 | } catch (Exception e) { | 266 | } catch (Exception e) { |
| 267 | throw new RuntimeException(e); | 267 | throw new RuntimeException(e); |
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | from message_router_reciver_filter | 33 | from message_router_reciver_filter |
| 34 | <where> | 34 | <where> |
| 35 | <if test="filter!=null and filter!=''"> | 35 | <if test="filter!=null and filter!=''"> |
| 36 | - AND filter = #{filter,jdbcType=VARCHAR} | 36 | + AND filter like concat('%',#{filter,jdbcType=VARCHAR},'%') |
| 37 | </if> | 37 | </if> |
| 38 | </where> | 38 | </where> |
| 39 | </select> | 39 | </select> |
| @@ -44,7 +44,6 @@ | @@ -44,7 +44,6 @@ | ||
| 44 | <include refid="Base_Column_List" /> | 44 | <include refid="Base_Column_List" /> |
| 45 | from message_type | 45 | from message_type |
| 46 | <where> | 46 | <where> |
| 47 | - parent_id = 0 | ||
| 48 | <if test="id != null and id != ''"> | 47 | <if test="id != null and id != ''"> |
| 49 | and ID = #{id,jdbcType=VARCHAR} | 48 | and ID = #{id,jdbcType=VARCHAR} |
| 50 | </if> | 49 | </if> |
| @@ -54,6 +53,9 @@ | @@ -54,6 +53,9 @@ | ||
| 54 | <if test="type !=null and type > 0"> | 53 | <if test="type !=null and type > 0"> |
| 55 | and type = #{type,jdbcType=INTEGER} | 54 | and type = #{type,jdbcType=INTEGER} |
| 56 | </if> | 55 | </if> |
| 56 | + <if test="des != null and des != ''"> | ||
| 57 | + and des like concat('%',#{des,jdbcType=VARCHAR},'%') | ||
| 58 | + </if> | ||
| 57 | </where> | 59 | </where> |
| 58 | </select> | 60 | </select> |
| 59 | <delete id="deleteByPrimaryKey" parameterType="java.lang.String" > | 61 | <delete id="deleteByPrimaryKey" parameterType="java.lang.String" > |
-
请 注册 或 登录 后发表评论