Your Name 3 years ago
parent
commit
f01be1e04d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

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

868
         a.phone,
868
         a.phone,
869
         a.picture,
869
         a.picture,
870
         a.sex,
870
         a.sex,
871
-        "customer" AS type,
872
         a.building_id AS buildingId,
871
         a.building_id AS buildingId,
872
+        "customer" AS type,
873
         a.create_date as createDate,
873
         a.create_date as createDate,
874
         a.realty_consultant AS consultant,
874
         a.realty_consultant AS consultant,
875
         a.STATUS AS customerStatus,
875
         a.STATUS AS customerStatus,
922
                 #{personBuilding.buildingId}
922
                 #{personBuilding.buildingId}
923
             </foreach>
923
             </foreach>
924
         </if>
924
         </if>
925
-        ORDER BY create_date
925
+        ORDER BY createDate DESC
926
     </select>
926
     </select>
927
 
927
 
928
     <select id="getCustomerListOfConsultant" resultType="com.yunzhi.marketing.entity.TaRecommendCustomer">
928
     <select id="getCustomerListOfConsultant" resultType="com.yunzhi.marketing.entity.TaRecommendCustomer">