Commit d734a8c7 authored by hezhen's avatar hezhen

修改热门商家

parent 431caeb5
......@@ -89,6 +89,7 @@ public class BranchCompanyBiz extends BaseBiz<BranchCompanyMapper, BranchCompany
public ObjectRestResponse getHotCompany(Integer page,Integer limit){
Example example = new Example(BranchCompany.class);
example.createCriteria().andEqualTo("state",1).andEqualTo("isDel",0);
example.orderBy("browseNum").asc();
PageDataVO<BranchCompany> pageDataVO = PageDataVO.pageInfo(page, limit, () -> mapper.selectByExample(example));
return ObjectRestResponse.succ(pageDataVO);
......
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