|
@@ -23,11 +23,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectTJscSqlList" parameterType="TJscSql" resultMap="TJscSqlResult">
|
|
|
<include refid="selectTJscSqlVo"/>
|
|
|
- <where>
|
|
|
- <if test="jscType != null and jscType != ''"> and jsc_type > #{jscType} </if>
|
|
|
+ <where>
|
|
|
+ <if test="jscName != null and jscName != ''"> and jsc_name like concat('%', #{jscName}, '%')</if>
|
|
|
+ <if test="jscType != null and jscType != ''"> and jsc_type like concat('%', #{jscType}, '%')</if>
|
|
|
<if test="jscView != null and jscView != ''"> and jsc_view = #{jscView}</if>
|
|
|
<if test="jscSql != null and jscSql != ''"> and jsc_sql = #{jscSql}</if>
|
|
|
</where>
|
|
|
+ order by create_time desc
|
|
|
</select>
|
|
|
|
|
|
<select id="selectTJscSqlById" parameterType="String" resultMap="TJscSqlResult">
|