1、BUG-88
This commit is contained in:
parent
a0947bb48c
commit
01d8429df9
|
|
@ -136,7 +136,11 @@
|
|||
|
||||
<!--BOM-正式工作表-->
|
||||
<select id="formalWorksheet" resultType="com.nflg.product.bomnew.pojo.vo.BomNewEbomParentVO">
|
||||
select * , row_id as bomRowId from t_bom_new_ebom_parent where status=4 and last_version_is=1
|
||||
select * , row_id as bomRowId from t_bom_new_ebom_parent a
|
||||
join (select material_no, max(current_version) current_version from t_bom_new_ebom_parent
|
||||
where status=4 <include refid="whr"/>
|
||||
group by material_no) b on a.material_no=b.material_no and a.current_version=b.current_version
|
||||
where a.status=4
|
||||
<include refid="whr"/>
|
||||
</select>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue