|
|
|
@ -311,10 +311,10 @@
|
|
|
|
|
-- Where
|
|
|
|
|
<!-- <if test="bomCode != null and bomCode != ''"> and bom_code = #{bomCode}</if>-->
|
|
|
|
|
-- bbc.product_code = right(bpc1.product_code,11)
|
|
|
|
|
select distinct bbc.bom_code,bpc1.product_desc_zh,right(bpc1.product_code,11) as pc,bbc.product_code
|
|
|
|
|
from base_bom_component bbc,base_product_copy1 bpc1
|
|
|
|
|
select distinct bbc.bom_code,bp.product_desc_zh,right(bp.product_code,11) as pc,bbc.product_code
|
|
|
|
|
from base_bom_component bbc,base_product bp
|
|
|
|
|
Where
|
|
|
|
|
bbc.product_code = right(bpc1.product_code,11)
|
|
|
|
|
bbc.product_code = right(bp.product_code,11)
|
|
|
|
|
<if test="bomCode != null and bomCode != ''"> and bom_code = #{bomCode}</if>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|