Commit ecfaf84b authored by 周健威's avatar 周健威

Merge remote-tracking branch 'origin/dev' into dev

parents 1a31f907 cb4974c5
...@@ -55,7 +55,7 @@ public class CommonInfoBiz extends BaseBiz<CommonInfoMapper,CommonInfo> { ...@@ -55,7 +55,7 @@ public class CommonInfoBiz extends BaseBiz<CommonInfoMapper,CommonInfo> {
*/ */
public List<CommonInfo> getByType(Integer type) { public List<CommonInfo> getByType(Integer type) {
Example example = new Example(CommonInfo.class); Example example = new Example(CommonInfo.class);
example.createCriteria().andEqualTo("type", type).andEqualTo("isDel", 0); example.createCriteria().andEqualTo("type", type).andEqualTo("isDel", 0).andEqualTo("status", 1);
example.orderBy("rank"); example.orderBy("rank");
return mapper.selectByExample(example); return mapper.selectByExample(example);
} }
......
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