|
@@ -59,11 +59,14 @@
|
|
|
<if test="@rx.Ognl@isNotEmpty(params.titles)">
|
|
|
TITLES LIKE '%' || #{params.titles} || '%'
|
|
|
</if>
|
|
|
+ <if test="@rx.Ognl@isNotEmpty(params.categoryId)">
|
|
|
+ CATEGORY_ID = #{params.categoryId}
|
|
|
+ </if>
|
|
|
<if test="@rx.Ognl@isNotEmpty(params.type)">
|
|
|
and TYPE = #{params.type}
|
|
|
</if>
|
|
|
<if test="@rx.Ognl@isNotEmpty(params.author)">
|
|
|
- and AUTHOR = #{params.author}
|
|
|
+ and AUTHOR LIKE '%' || #{params.author} || '%'
|
|
|
</if>
|
|
|
<if test="@rx.Ognl@isNotEmpty(params.beginTime)">
|
|
|
and CREATE_TIME_ >= TO_DATE(#{params.beginTime}, 'YYYY-MM-DD')
|