修复因row_id=null导致批量填写项目类别报404错误的问题
This commit is contained in:
parent
9f8f216a43
commit
ef5d53a66e
|
|
@ -104,7 +104,7 @@
|
||||||
<select id="getChildForMaterialNoSeach" resultType="com.nflg.product.bomnew.pojo.vo.BomNewEbomParentVO">
|
<select id="getChildForMaterialNoSeach" resultType="com.nflg.product.bomnew.pojo.vo.BomNewEbomParentVO">
|
||||||
select if(c.status=4,99,c.status) as status ,c.current_version , c.created_by as bomCreatedBy
|
select if(c.status=4,99,c.status) as status ,c.current_version , c.created_by as bomCreatedBy
|
||||||
,c.devise_name,c.devise_user_code,c.dept_name ,
|
,c.devise_name,c.devise_user_code,c.dept_name ,
|
||||||
c.source, c.row_id as bomRowId, c.row_id as childBomRowId, b.*
|
c.source, if(c.row_id is null,0,c.row_id) as bomRowId, c.row_id as childBomRowId, b.*
|
||||||
from t_bom_new_ebom_parent a
|
from t_bom_new_ebom_parent a
|
||||||
join t_bom_new_ebom_child b on a.row_id =b.parent_row_id
|
join t_bom_new_ebom_child b on a.row_id =b.parent_row_id
|
||||||
left join t_bom_new_ebom_parent c on b.material_no=c.material_no and c.last_version_is=1
|
left join t_bom_new_ebom_parent c on b.material_no=c.material_no and c.last_version_is=1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue