|
@@ -870,8 +870,7 @@ FROM
|
870
|
870
|
a.sex,
|
871
|
871
|
"customer" AS type,
|
872
|
872
|
a.building_id AS buildingId,
|
873
|
|
- a.create_date,
|
874
|
|
- a.building_id,
|
|
873
|
+ a.create_date as createDate,
|
875
|
874
|
a.realty_consultant AS consultant,
|
876
|
875
|
a.STATUS AS customerStatus,
|
877
|
876
|
NULL AS channelStatus,
|
|
@@ -898,10 +897,9 @@ FROM
|
898
|
897
|
a.phone,
|
899
|
898
|
a.picture,
|
900
|
899
|
a.sex,
|
901
|
|
- a.building_id,
|
|
900
|
+ a.building_id as buildingId,
|
902
|
901
|
"report" AS type,
|
903
|
|
- NULL AS buildingId,
|
904
|
|
- a.create_date,
|
|
902
|
+ a.create_date as createDate,
|
905
|
903
|
NULL AS consultant,
|
906
|
904
|
"1" AS customerStatus,
|
907
|
905
|
a.STATUS AS channelStatus,
|