Commit 2e748d64 authored by 耿迪迪's avatar 耿迪迪

作业申请单问题修改 gengdidi

parent 00be4bb8
......@@ -181,12 +181,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
t_work_permit permit
LEFT JOIN t_special_work_permit special ON permit.work_permit_id = special.work_permit_id
LEFT JOIN t_special_work_permit_sign sign ON special.special_work_permit_id = sign.permit_id
WHERE (
<where>
(
permit.link_man = #{currentLoginUser}
OR sign.sign_id = #{currentLoginUser}
)
<where>
<if test="applyDept != null and applyDept != ''"> and apply_dept = #{applyDept}</if>
)
<if test="applyDept != null and applyDept != ''">and apply_dept like concat('%', #{applyDept}, '%')</if>
<if test="linkMan != null and linkMan != ''"> and link_man = #{linkMan}</if>
<if test="linkPhone != null and linkPhone != ''"> and link_phone = #{linkPhone}</if>
<if test="workBound != null and workBound != ''"> and work_bound = #{workBound}</if>
......
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