|
@@ -12,7 +12,16 @@ select t1.siteid,
|
|
t1.contact,
|
|
t1.contact,
|
|
t1.enterprisename,
|
|
t1.enterprisename,
|
|
t1.taxno,
|
|
t1.taxno,
|
|
- t1.abbreviation
|
|
|
|
|
|
+ t1.limitreturnday,
|
|
|
|
+ t1.freefreightamount,
|
|
|
|
+ t1.latitude,
|
|
|
|
+ t1.longitude,
|
|
|
|
+ t1.invoicingpoint,
|
|
|
|
+ t1.saleclassauth,
|
|
|
|
+ t1.grade,
|
|
|
|
+ t1.isorder,
|
|
|
|
+ t9.erpagentnum
|
|
from sys_enterprise t1
|
|
from sys_enterprise t1
|
|
|
|
+ LEFT JOIN sys_dataextend t9 ON t1.sys_enterpriseid = t9.ownerid and ownertable='sys_enterprise' and t1.siteid = t9.siteid
|
|
where t1.siteid = $siteid$
|
|
where t1.siteid = $siteid$
|
|
and t1.sys_enterpriseid = $sys_enterpriseid$
|
|
and t1.sys_enterpriseid = $sys_enterpriseid$
|