Commit fa635deb authored by 赵啸非's avatar 赵啸非

动态字段调整排序逻辑

parent 53f72021
......@@ -38,7 +38,14 @@
</trim>
order by
fieldType IN('top','date') DESC ,fieldValue DESC
IF
( `fieldType` = 'top', '0', '1' ),
`fieldValue` DESC,
IF
( `fieldType` = 'date', '0', '1' ),
`fieldValue` DESC;
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment