|
|
@@ -988,6 +988,8 @@
|
|
|
'供应商' as "objTypeName",
|
|
|
1 as "objType",
|
|
|
tms.flg_valid as "flgValid"
|
|
|
+ null as "phone",
|
|
|
+ null as "addressFull"
|
|
|
from dkic_b.t_mst_supplier tms
|
|
|
<where>
|
|
|
<if test="flgValid">
|
|
|
@@ -1034,10 +1036,8 @@
|
|
|
'供应商' as "objTypeName",
|
|
|
1 as "objType",
|
|
|
tms.flg_valid as "flgValid",
|
|
|
- tms.contact_phone as "phone"
|
|
|
- null as "customerPhone" ,
|
|
|
- tms.contact_name as "contactName" ,
|
|
|
- tms.contact_phone as "contactPhones"
|
|
|
+ null as "phone",
|
|
|
+ null as "addressFull"
|
|
|
from dkic_b.t_mst_supplier tms
|
|
|
<where >
|
|
|
<if test="flgValid">
|
|
|
@@ -1059,6 +1059,7 @@
|
|
|
cus.flg_valid as "flgValid",
|
|
|
cus.cus_phone as "phone",
|
|
|
cus.address_full as "addressFull"
|
|
|
+ from dkic_b.t_mst_customer cus
|
|
|
<where>
|
|
|
<if test="flgValid">
|
|
|
AND cus.flgValid
|
|
|
@@ -1086,7 +1087,9 @@
|
|
|
tms.sup_name as "objName",
|
|
|
'供应商' as "objTypeName",
|
|
|
1 as "objType",
|
|
|
- tms.flg_valid as "flgValid"
|
|
|
+ tms.flg_valid as "flgValid",
|
|
|
+ null as "phone",
|
|
|
+ null as "addressFull"
|
|
|
from dkic_b.t_mst_supplier tms
|
|
|
<where>
|
|
|
<if test="flgValid">
|
|
|
@@ -1108,7 +1111,7 @@
|
|
|
cus.flg_valid as "flgValid",
|
|
|
cus.cus_phone as "phone",
|
|
|
cus.address_full as "addressFull"
|
|
|
- from dkic_b.t_csm_customer cus
|
|
|
+ from dkic_b.t_mst_customer cus
|
|
|
<where>
|
|
|
<if test="flgValid">
|
|
|
AND cus.flgValid
|