|
|
|
@ -67,6 +67,8 @@ |
|
|
|
qd.site) as currencyDesc1, |
|
|
|
qd.exchange_rate1, |
|
|
|
qd.currency2, |
|
|
|
dbo.plm_get_dictDataLabel('plm_customer_information_customer_customer_currency', qd.currency2, |
|
|
|
qd.site) as currencyDesc2, |
|
|
|
qd.exchange_rate2, |
|
|
|
qd.moq, |
|
|
|
qd.currency_total_cost1, |
|
|
|
@ -101,7 +103,7 @@ |
|
|
|
<if test="versionNo != null and versionNo != ''"> |
|
|
|
and qd.version_no = #{versionNo} |
|
|
|
</if> |
|
|
|
<if test="quoteGroupDetailId != null "> |
|
|
|
<if test="quoteGroupDetailId != null"> |
|
|
|
and qd.quote_group_detail_id = #{quoteGroupDetailId} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
@ -280,6 +282,8 @@ |
|
|
|
qd.site) as currencyDesc1, |
|
|
|
qd.exchange_rate1, |
|
|
|
qd.currency2, |
|
|
|
dbo.plm_get_dictDataLabel('plm_customer_information_customer_customer_currency', qd.currency2, |
|
|
|
qd.site) as currencyDesc2, |
|
|
|
qd.exchange_rate2, |
|
|
|
qd.moq, |
|
|
|
qd.currency_total_cost1, |
|
|
|
@ -294,8 +298,8 @@ |
|
|
|
qd.adjust_test_cost, |
|
|
|
qd.else_cost, |
|
|
|
qd.adjust_else_cost |
|
|
|
from plm_quote_detail qd |
|
|
|
left join plm_quote q on qd.quote_id = q.id |
|
|
|
from plm_quote q |
|
|
|
left join plm_quote_detail qd on qd.quote_id = q.id |
|
|
|
left join view_Project_Part pp |
|
|
|
on q.project_no = pp.project_id and qd.part_no = pp.test_part_no and qd.site = pp.site |
|
|
|
<where> |
|
|
|
@ -311,6 +315,7 @@ |
|
|
|
<if test="partNo != null and partNo != ''"> |
|
|
|
and qd.part_no = #{partNo} |
|
|
|
</if> |
|
|
|
order by qd.part_no |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
</mapper> |