zhangchuanxing 5 luni în urmă
părinte
comite
848ef8c4ec
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      models/industrial_management.go

+ 1 - 1
models/industrial_management.go

@@ -140,7 +140,7 @@ func GetIndustrialManagementAll(uid int, condition, orderSrt string, startSize,
 			AND art.is_class = 1 ` + condition + `
 			GROUP BY
 			man.industry_name 
-			ORDER BY  follow_type DESC ,  ` + orderSrt + ` LIMIT ?,?`
+			ORDER BY  follow_type_order DESC ,  ` + orderSrt + ` LIMIT ?,?`
 	_, err = o.Raw(sql, uid, startSize, pageSize).QueryRows(&items)
 	return
 }