工艺人员可以看到自己创建的待复核数据(极端情况,在设计人员身份创建了数据,而后又被赋予了工艺人员身份)
This commit is contained in:
parent
f814d447d7
commit
3ae8fa4316
|
|
@ -86,7 +86,7 @@
|
|||
order by created_time desc
|
||||
</if>
|
||||
<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"/>
|
||||
order by created_time desc
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue