|
|
@ -590,13 +590,15 @@ update_by,update_date,priority,site,id,project_desc,customer_remark,remark,need_ |
|
|
pci.turnover_of_year, |
|
|
pci.turnover_of_year, |
|
|
pci.potential_revenue_of_year, |
|
|
pci.potential_revenue_of_year, |
|
|
pci.customer_status, |
|
|
pci.customer_status, |
|
|
|
|
|
pci.customer_type, |
|
|
|
|
|
dbo.plm_get_dictDataLabel('plm_customer_information_customer_industry', pci.customer_industry, |
|
|
|
|
|
pci.site) as customer_industry, |
|
|
case |
|
|
case |
|
|
when pci.customer_status = 'Y' then '启用' |
|
|
when pci.customer_status = 'Y' then '启用' |
|
|
when pci.customer_status = 'N' then '停用' |
|
|
when pci.customer_status = 'N' then '停用' |
|
|
else '' end as customerStatusDesc, |
|
|
else '' end as customerStatusDesc, |
|
|
pci.customer_description, |
|
|
pci.customer_description, |
|
|
dbo.plm_get_dictDataLabel('plm_customer_information_important_customer', pci.important_customer, ppi.site) as important_customer, |
|
|
dbo.plm_get_dictDataLabel('plm_customer_information_important_customer', pci.important_customer, ppi.site) as important_customer, |
|
|
pci.customer_industry, |
|
|
|
|
|
pci.customer_group |
|
|
pci.customer_group |
|
|
from plm_project_info ppi |
|
|
from plm_project_info ppi |
|
|
left join dbo.plm_customer_information pci on ppi.customer_id = pci.customer_no |
|
|
left join dbo.plm_customer_information pci on ppi.customer_id = pci.customer_no |
|
|
|