|
|
@ -49,6 +49,20 @@ |
|
|
|
<if test="req.title != null and req.title != ''"> |
|
|
|
<if test="req.title != null and req.title != ''"> |
|
|
|
and title LIKE CONCAT('%',#{req.title},'%') |
|
|
|
and title LIKE CONCAT('%',#{req.title},'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="req.founder != null and req.founder != ''"> |
|
|
|
|
|
|
|
AND ( SELECT u.username FROM sys_user u WHERE u.id = c.founder_id ) LIKE |
|
|
|
|
|
|
|
CONCAT('%',#{req.founder},'%') |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if test="req.editor != null and req.editor != ''"> |
|
|
|
|
|
|
|
AND ( SELECT u.username FROM sys_user u WHERE u.id = c.editor_id ) LIKE CONCAT('%',#{req.editor},'%') |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if test="req.column != null and req.column != ''"> |
|
|
|
|
|
|
|
AND ( SELECT sys_column.column_name FROM sys_column WHERE sys_column.id = c.column_id ) LIKE |
|
|
|
|
|
|
|
CONCAT('%',#{req.column},'%') |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
ORDER BY c.create_time desc |
|
|
|
ORDER BY c.create_time desc |
|
|
|
|
|
|
|
|
|
|
|