|
@@ -137,7 +137,7 @@ func CompanyList(sysUser *system.Admin, req statisticModels.IncrementalCompanyLi
|
|
|
} else {
|
|
|
//2、客户列表选择“全部”时,支持按照“创建时间”对“全部”分类下所有客户列表进行升降序排列;选择“正式”时按照“转正时间”、选择“冻结”时按照“冻结时间”、选择“流失”时按照“流失时间”、选择“永续”时按照“创建时间”;
|
|
|
if status == "全部" || status == "永续" {
|
|
|
- sortStr = " ORDER BY a.created_time "
|
|
|
+ sortStr = " ORDER BY c.latest_service_record DESC "
|
|
|
} else if status == "正式" {
|
|
|
sortStr = " ORDER BY b.formal_time "
|
|
|
} else if status == "冻结" {
|