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