数据权限修改
This commit is contained in:
parent
b09896cc03
commit
f0b1668a71
|
|
@ -222,7 +222,7 @@
|
|||
)
|
||||
</if>
|
||||
<if test="companyId!=null">
|
||||
and sai.company_id = #{companyId}
|
||||
and mt.company_id = #{companyId}
|
||||
</if>
|
||||
ORDER BY
|
||||
sai.end_time
|
||||
|
|
|
|||
|
|
@ -1465,7 +1465,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bm_project bmp
|
||||
LEFT JOIN sys_dept sd ON sd.dept_id = bmp.imp_unit
|
||||
LEFT JOIN bm_agreement_info bai ON bai.project_id = bmp.pro_id
|
||||
AND bai.`status` = '1' and bai.is_slt = '0'
|
||||
LEFT JOIN slt_agreement_info sai ON bai.agreement_id = sai.agreement_id
|
||||
AND bai.`status` = '1' and sai.is_slt = '0'
|
||||
LEFT JOIN bm_unit bu ON bu.unit_id = bai.unit_id
|
||||
AND bu.del_flag = '0'
|
||||
WHERE
|
||||
|
|
@ -1491,7 +1492,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
sys_dept sd
|
||||
LEFT JOIN bm_project bmp ON sd.dept_id = bmp.imp_unit
|
||||
LEFT JOIN bm_agreement_info bai ON bai.project_id = bmp.pro_id
|
||||
AND bai.`status` = '1' and bai.is_slt = '0'
|
||||
LEFT JOIN slt_agreement_info sai ON bai.agreement_id = sai.agreement_id
|
||||
AND bai.`status` = '1' and sai.is_slt = '0'
|
||||
LEFT JOIN bm_unit bu ON bu.unit_id = bai.unit_id
|
||||
WHERE
|
||||
bmp.pro_id IS NOT NULL
|
||||
|
|
|
|||
|
|
@ -457,7 +457,7 @@
|
|||
user_id as userId,
|
||||
user_name as userName
|
||||
from sys_user
|
||||
where user_id = #{userId}
|
||||
where user_id in(1549,57)
|
||||
</select>
|
||||
|
||||
<select id="getList" resultType="com.bonus.material.lossAssessment.domain.LossAssignInfo">
|
||||
|
|
|
|||
Loading…
Reference in New Issue