浏览代码

Merge branch 'develop' of http://git.ycjcjy.com/marketing/services into develop

傅行帆 3 年前
父节点
当前提交
afbf812d0d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/main/resources/mapper/TaRecommendCustomerMapper.xml

+ 2
- 2
src/main/resources/mapper/TaRecommendCustomerMapper.xml 查看文件

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