UserExample ue= new UserExample();
String classLevel = "1";
ue.createCriteria().andUserIdEqualTo(classLevel);
//ts为时间戳
ue.setOrderByClause("ts desc");
List<User> uList = userMapper.selectByExample(ne);
01-25
9612
UserExample ue= new UserExample();
String classLevel = "1";
ue.createCriteria().andUserIdEqualTo(classLevel);
//ts为时间戳
ue.setOrderByClause("ts desc");
List<User> uList = userMapper.selectByExample(ne);