fix: 计算是否是用户根节点时,排除虚拟包,因为虚拟包的创建人基本上不是bom的创建人
This commit is contained in:
parent
b0c88ccb24
commit
50977bded2
|
|
@ -271,7 +271,10 @@
|
|||
) b
|
||||
on a.material_no=b.material_no and a.created_by=b.created_by
|
||||
set a.user_root_is=1
|
||||
where a.`status` < 4 and b.row_id is null and a.last_version_is=1 ;
|
||||
where a.`status` < 4
|
||||
and b.row_id is null
|
||||
and a.last_version_is = 1
|
||||
AND a.virtual_package_is = 0;
|
||||
|
||||
</update>
|
||||
<!--更新-待复核根节点-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue