diff --git a/src/main/resources/mapper/quotation/QuotationInformationMapper.xml b/src/main/resources/mapper/quotation/QuotationInformationMapper.xml index a522380c..e81458cb 100644 --- a/src/main/resources/mapper/quotation/QuotationInformationMapper.xml +++ b/src/main/resources/mapper/quotation/QuotationInformationMapper.xml @@ -121,8 +121,8 @@ on vpp.site = a.site and vpp.test_part_no = a.test_part_no and vpp.project_id = a.project_id left join BU b on vpp.bu_no = b.bu_no and a.site = b.site - a.site = #{query.site} and - vpp.bu_no in ( select bu_No from dbo.Get_Now_BU_chooseAble (a.site,#{query.createBy})) + a.site = #{query.site} + and vpp.bu_no in (select bu_No from dbo.Get_Now_BU_chooseAble(a.site, #{query.createBy})) AND a.quotation_no = #{query.quotationNo}