|
|
|
@ -887,13 +887,13 @@ left join ecss_CoDelNotifyHeader noHeader on a.site=noHeader.site and a.delNo=no |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getCustomerList" resultType="java.util.Map"> |
|
|
|
select * from view_custdev_mes_cmc_customer where buse='是' |
|
|
|
select * from ecss_custdev_mes_cmc_customer where buse='是' |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getCustomerInfo" resultType="java.util.Map"> |
|
|
|
select DISTINCT vcus.ccusname,vcusp.ccontactname,vcusp.cnative |
|
|
|
from view_custdev_mes_cmc_customer vcus |
|
|
|
LEFT JOIN view_custdev_mes_cmc_customer_person vcusp on vcus.ccuscode=vcusp.ccuscode |
|
|
|
from ecss_custdev_mes_cmc_customer vcus |
|
|
|
LEFT JOIN ecss_custdev_mes_cmc_customer_person vcusp on vcus.ccuscode=vcusp.ccuscode |
|
|
|
<where> |
|
|
|
<if test="ccusname != null and ccusname != ''"> |
|
|
|
and vcus.ccusname=#{ccusname} |
|
|
|
@ -906,8 +906,8 @@ left join ecss_CoDelNotifyHeader noHeader on a.site=noHeader.site and a.delNo=no |
|
|
|
|
|
|
|
<select id="getCustomerAdd" resultType="java.util.Map"> |
|
|
|
select DISTINCT vcus.ccusname,vcusa.cDeliverAdd |
|
|
|
from view_custdev_mes_cmc_customer vcus |
|
|
|
left join view_custdev_mes_cmc_customer_addr vcusa on vcus.ccuscode=vcusa.ccuscode |
|
|
|
from ecss_custdev_mes_cmc_customer vcus |
|
|
|
left join ecss_custdev_mes_cmc_customer_addr vcusa on vcus.ccuscode=vcusa.ccuscode |
|
|
|
where vcus.ccusname=#{ccusname} |
|
|
|
</select> |
|
|
|
|
|
|
|
|