|
@@ -115,7 +115,7 @@ func CompanyList(sysUser *system.Admin, req statisticModels.IncrementalCompanyLi
|
|
|
sortStr = " ORDER BY b.status "
|
|
|
} else if sortParam == "serviceYears" {
|
|
|
sortStr = " ORDER BY d.first_date"
|
|
|
- } else if sortParam == "LatestServiceRecord" {
|
|
|
+ } else if sortParam == "latestServiceRecord" {
|
|
|
sortStr = " ORDER BY c.latest_service_record "
|
|
|
}else {
|
|
|
errMsg = "排序字段传入数据异常:" + sortParam
|