瀏覽代碼

Merge branch 'cygx_14.0' of http://8.136.199.33:3000/hongze/hongze_clpt into debug

zhangchuanxing 3 月之前
父節點
當前提交
3b337422e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 }