Commit 904e6b74 authored by cq990612's avatar cq990612

优化代码结构

parent fc1d86d8
......@@ -166,6 +166,12 @@
#{deptId}
</foreach>
</if>
<if test="null != key and key!=''">
AND (
p.project_name like concat('%',#{key},'%') OR
lu.manager_name like concat('%',#{key},'%')
)
</if>
</if>
<if test="null != userId">
......@@ -182,14 +188,15 @@
#{deptId}
</foreach>
</if>
<if test="null != key and key!=''">
AND (
p.project_name like concat('%',#{key},'%') OR
lu.manager_name like concat('%',#{key},'%')
)
</if>
)
</if>
<if test="null != key and key!=''">
AND (
p.project_name like concat('%',#{key},'%') OR
lu.manager_name like concat('%',#{key},'%')
)
</if>
</where>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment