|
|
@@ -5,6 +5,7 @@ import com.github.pagehelper.PageHelper;
|
|
|
import com.jpsoft.employment.modules.common.dto.Sort;
|
|
|
import com.jpsoft.employment.modules.sys.dao.UserDAO;
|
|
|
import com.jpsoft.employment.modules.sys.entity.User;
|
|
|
+import com.jpsoft.employment.modules.sys.entity.UserVO;
|
|
|
import com.jpsoft.employment.modules.sys.service.UserService;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
@@ -84,4 +85,9 @@ public class UserServiceImpl implements UserService {
|
|
|
public User findByOpenId(String openId) {
|
|
|
return userDAO.findByOpenId(openId);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public UserVO getUser(String id) {
|
|
|
+ return userDAO.getUser(id);
|
|
|
+ }
|
|
|
}
|