代码模板关键字
This commit is contained in:
parent
36ee5ef13d
commit
dfd3466b46
@ -171,11 +171,11 @@
|
||||
WHERE
|
||||
t1.is_delete = 0
|
||||
<if test="keywords != null and keywords != ''">
|
||||
<!-- 这里添加检索关键字 -->
|
||||
AND (
|
||||
t1.id LIKE CONCAT('%', #{keywords}, '%')
|
||||
t1.id LIKE CONCAT('%', ${r"#{keywords}"}, '%')
|
||||
OR
|
||||
t1.${underLineTableName}_id LIKE CONCAT('%', #{keywords}, '%')
|
||||
t1.${underLineTableName}_id LIKE CONCAT('%', ${r"#{keywords}"}, '%')
|
||||
<!-- 这里添加其他条件 -->
|
||||
)
|
||||
</if>
|
||||
<if test="startTime != null and startTime != ''">
|
||||
|
Loading…
Reference in New Issue
Block a user