|
|
@ -55,12 +55,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectGenTableList" parameterType="GenTable" resultMap="GenTableResult">
|
|
|
|
<select id="selectGenTableList" parameterType="GenTable" resultMap="GenTableResult">
|
|
|
|
<include refid="selectGenTableVo"/>
|
|
|
|
<include refid="selectGenTableVo"/>
|
|
|
|
<if test="tableName != null and tableName != ''">
|
|
|
|
<where>
|
|
|
|
AND table_name like concat('%', #{tableName}, '%')
|
|
|
|
<if test="tableName != null and tableName != ''">
|
|
|
|
</if>
|
|
|
|
AND table_name like concat('%', #{tableName}, '%')
|
|
|
|
<if test="tableComment != null and tableComment != ''">
|
|
|
|
</if>
|
|
|
|
AND table_comment like concat('%', #{tableComment}, '%')
|
|
|
|
<if test="tableComment != null and tableComment != ''">
|
|
|
|
</if>
|
|
|
|
AND table_comment like concat('%', #{tableComment}, '%')
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectDbTableList" parameterType="GenTable" resultMap="GenTableResult">
|
|
|
|
<select id="selectDbTableList" parameterType="GenTable" resultMap="GenTableResult">
|
|
|
|