Beispiel #1
0
 @Transactional(readOnly = true)
 public List<User> selectAll() {
   // TODO Auto-generated method stub
   return userMapper.selectAll();
 }
Beispiel #2
0
 @Transactional
 public void insert(User u) {
   // TODO Auto-generated method stub
   userMapper.insert(u);
 }