|
@@ -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">
|