工艺人员可以看到自己创建的待复核数据(极端情况,在设计人员身份创建了数据,而后又被赋予了工艺人员身份)

This commit is contained in:
曹鹏飞 2024-03-13 16:44:29 +08:00
parent f814d447d7
commit 3ae8fa4316
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@
order by created_time desc order by created_time desc
</if> </if>
<if test="job==1"> <if test="job==1">
select * ,row_id as bomRowId from t_bom_new_ebom_parent where ( (user_root_is= 1 and created_by=#{createdBy} ) or root_is=1) and status=2 select * ,row_id as bomRowId from t_bom_new_ebom_parent where ((((user_root_is=1 and created_by=#{createdBy}) or root_is=1) and status=2) or (created_by=#{createdBy} and user_root_is=1 and (status=1 or status=3)))
<include refid="whr"/> <include refid="whr"/>
order by created_time desc order by created_time desc
</if> </if>