Beispiel #1
0
 public void deleteUser(int id) {
   // TODO Auto-generated method stub
   userMapper.deleteById(id);
 }
Beispiel #2
0
 public void updateUser(User user) {
   // TODO Auto-generated method stub
   userMapper.update(user);
 }
Beispiel #3
0
 public void insertUser(User user) {
   // TODO Auto-generated method stub
   userMapper.insert(user);
 }
Beispiel #4
0
 public User getUserByLogin(Map<String, String> pram) {
   // TODO Auto-generated method stub
   return userMapper.getByLogin(pram);
 }
Beispiel #5
0
 public User getUserById(int id) {
   // TODO Auto-generated method stub
   return userMapper.getById(id);
 }
Beispiel #6
0
 public List<User> getAllUser() {
   // TODO Auto-generated method stub
   return userMapper.getAll();
 }