工位搜索

workplace
wangwei 11 months ago
parent 0a28aa21f6
commit b2983b6c77

@ -15,8 +15,13 @@
AND bcu.workplaceCode = #{workplaceId}
</if>
<if test="userKey != null and userKey != ''">
AND (bcp.name like concat('%', #{userKey}, '%')
or bcp.code like concat('%', #{userKey}, '%')
AND (au.employeeName like concat('%', #{userKey}, '%')
or au.userName like concat('%', #{userKey}, '%')
)
</if>
<if test="workKey != null and workKey != ''">
AND (sw.workplaceName like concat('%', #{workKey}, '%')
or sw.workplaceId like concat('%', #{workKey}, '%')
)
</if>
</where>

Loading…
Cancel
Save