Browse Source

Merge remote-tracking branch 'origin/master'

java8
yuejiayang 1 year ago
parent
commit
5732e82f3b
  1. 4
      src/main/java/com/xujie/sys/modules/quote/entity/QuoteDetailRouting.java
  2. 6
      src/main/resources/mapper/quote/QuoteDetailBomTreeMapper.xml

4
src/main/java/com/xujie/sys/modules/quote/entity/QuoteDetailRouting.java

@ -54,9 +54,9 @@ public class QuoteDetailRouting {
private BigDecimal laborSetupTime; private BigDecimal laborSetupTime;
private Integer crewSize;
private BigDecimal crewSize;
private Integer setupCrewSize;
private BigDecimal setupCrewSize;
private String outsideOpItem; private String outsideOpItem;

6
src/main/resources/mapper/quote/QuoteDetailBomTreeMapper.xml

@ -39,6 +39,7 @@
where bd.site = #{site} where bd.site = #{site}
and bd.part_no = #{partNo} and bd.part_no = #{partNo}
and bd.bu_no = #{buNo} and bd.bu_no = #{buNo}
and bd.status != 'Tentative'
<if test="engChgLevel == null"> <if test="engChgLevel == null">
and bh.eff_phase_out_date is null and bh.eff_phase_out_date is null
</if> </if>
@ -116,14 +117,15 @@
bom.alternative_no, bom.alternative_no,
p.part_desc p.part_desc
from plm_bom_detail bom from plm_bom_detail bom
left join part p on bom.part_no = p.part_no and bom.site = p.site
left join part p on bom.part_no = p.part_no and bom.site = p.site
where bom.site = #{site} where bom.site = #{site}
and bom.part_no = #{partNo} and bom.part_no = #{partNo}
and bom.bu_no = #{buNo} and bom.bu_no = #{buNo}
and bom.status != 'Tentative'
<if test="bomType != null and bomType != ''"> <if test="bomType != null and bomType != ''">
and bom.bom_type = #{bomType} and bom.bom_type = #{bomType}
</if> </if>
and bom.eng_chg_level = #{engChgLevel}
and bom.eng_chg_level = #{engChgLevel}
order by bom.alternative_no order by bom.alternative_no
</select> </select>

Loading…
Cancel
Save