Commit f07327e8 by 吴迪

【新增】修改法律法规排序问题

parent e5a1f880
......@@ -128,8 +128,8 @@ public class PolicyController extends AbstractController {
policyEntityQueryWrapper.eq("class","法律法规");
policyEntityQueryWrapper.gt("levels","0");
policyEntityQueryWrapper.gt("status ","0");
policyEntityQueryWrapper.orderByDesc("id");
policyEntityQueryWrapper.orderByDesc("releasedate ");
policyEntityQueryWrapper.orderByDesc("levels");
policyEntityQueryWrapper.orderByDesc("releasedate");
return R.ok().put("data",policyService.list(policyEntityQueryWrapper));
} catch (Exception e) {
log.error("get4PartyTopNews error: {}", e);
......
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