|
@@ -65,7 +65,7 @@
|
|
|
<if test="templateName != null and templateName != ''">
|
|
|
and t.name like concat('%',#{templateName},'%')
|
|
|
</if>
|
|
|
- <if test="status != null and status !=''">
|
|
|
+ <if test="status != null">
|
|
|
and mapping.status=#{status}
|
|
|
</if>
|
|
|
limit #{offset},#{pageSize}
|
|
@@ -87,7 +87,7 @@
|
|
|
<if test="templateName != null and templateName != ''">
|
|
|
and t.name like concat('%',#{templateName},'%')
|
|
|
</if>
|
|
|
- <if test="status != null and status !=''">
|
|
|
+ <if test="status != null">
|
|
|
and mapping.status=#{status}
|
|
|
</if>
|
|
|
</select>
|