Commit 5f319e3b authored by unset's avatar unset

添加通知信息

parent db8de1e4
......@@ -55,7 +55,7 @@ public class CommonInfoBiz extends BaseBiz<CommonInfoMapper,CommonInfo> {
*/
public List<CommonInfo> getByType(Integer type) {
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");
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