|
@@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectTTableVo"/>
|
|
|
<where>
|
|
|
<if test="tableName != null and tableName != ''"> and table_name like concat('%', #{tableName}, '%')</if>
|
|
|
- <if test="tableDescribe != null and tableDescribe != ''"> and table_describe = #{tableDescribe}</if>
|
|
|
+ <if test="tableDescribe != null and tableDescribe != ''"> and table_describe like concat('%', #{tableDescribe}, '%')</if>
|
|
|
<if test="tableType != null "> and table_type = #{tableType}</if>
|
|
|
<if test="isExist != null "> and is_exist = #{isExist}</if>
|
|
|
<if test="deleteTime != null "> and delete_time = #{deleteTime}</if>
|
|
@@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="deleteUserId != null and deleteUserId != ''"> and delete_user_id = #{deleteUserId}</if>
|
|
|
<if test="version != null and version != ''"> and version = #{version}</if>
|
|
|
</where>
|
|
|
+ order by table_name
|
|
|
</select>
|
|
|
|
|
|
<select id="selectTTableById" parameterType="String" resultMap="TTableResult">
|