@ -19,6 +19,8 @@ public class WorkBindBusTypeRequest extends ListPageRequest {
private String busKey;
private String workKey;
private String documentTypeCode;
private Integer isPopular;
}
@ -18,6 +18,9 @@
<if test="documentTypeCode != '' and documentTypeCode != null">
AND documentTypeCode = #{documentTypeCode}
</if>
<if test="isPopular != '' and isPopular != null">
AND isPopular = #{isPopular}
<if test="busKey != null and busKey != ''">
AND (sys_workplace_document.documentTypeCode like concat('%', #{busKey}, '%')
or sys_workplace_document.busName like concat('%', #{busKey}, '%')