|
|
@ -18,6 +18,9 @@
|
|
|
|
<if test="documentTypeCode != '' and documentTypeCode != null">
|
|
|
|
<if test="documentTypeCode != '' and documentTypeCode != null">
|
|
|
|
AND documentTypeCode = #{documentTypeCode}
|
|
|
|
AND documentTypeCode = #{documentTypeCode}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="isPopular != '' and isPopular != null">
|
|
|
|
|
|
|
|
AND isPopular = #{isPopular}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="busKey != null and busKey != ''">
|
|
|
|
<if test="busKey != null and busKey != ''">
|
|
|
|
AND (sys_workplace_document.documentTypeCode like concat('%', #{busKey}, '%')
|
|
|
|
AND (sys_workplace_document.documentTypeCode like concat('%', #{busKey}, '%')
|
|
|
|
or sys_workplace_document.busName like concat('%', #{busKey}, '%')
|
|
|
|
or sys_workplace_document.busName like concat('%', #{busKey}, '%')
|
|
|
|