傅行帆 3 years ago
parent
commit
f705ee512d
1 changed files with 3 additions and 5 deletions
  1. 3
    5
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 3
- 5
src/main/resources/mapper/TaRecommendCustomerMapper.xml View File

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