示例#1
0
 @Override
 public int countDisplayMessage() {
   MessageExample messageExample = new MessageExample();
   messageExample.createCriteria().andDisplayEqualTo(true);
   return messageMapper.countByExample(messageExample);
 }
示例#2
0
 public int queryMessageCount() {
   return messageMapper.countByExample(null);
 }