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

更新事项,异步更新关联

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