Commit fcc0bf12 by rongkailun

Merge remote-tracking branch 'origin/master'

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