Commit 81b0d9c8 authored by 赵啸非's avatar 赵啸非

更新事项,异步更新关联

parent 0946927a
......@@ -36,20 +36,14 @@
<include refid="_second_condition_"/>
</trim>
</trim>
order by
IF
( `fieldCode` = 'top', '0', '1' ),
`fieldValue` DESC,
IF
( `fieldType` = 'date', '0', '1' ),
`fieldValue` DESC,
IF
( `fieldCode` = 'sort', '0', '1' ),
`fieldValue` ASC;
CASE
WHEN `fieldCode` = 'top' THEN 0
WHEN `fieldCode` = 'sort' THEN 1
WHEN `fieldCode` = 'date' THEN 2
ELSE 3
END,
fieldValue ;
</select>
......
......@@ -57,6 +57,7 @@ Content-Type: application/json
{
"appId": 54,
"fieldCode": "title",
"page": 1,
"size": 10
......
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