|
|
@@ -2,6 +2,7 @@ package com.jpsoft.employment.modules.sys.dao;
|
|
|
|
|
|
import com.jpsoft.employment.modules.common.dto.Sort;
|
|
|
import com.jpsoft.employment.modules.sys.entity.User;
|
|
|
+import com.jpsoft.employment.modules.sys.entity.UserVO;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
@@ -20,4 +21,6 @@ public interface UserDAO {
|
|
|
User findByUserName(@Param("userName") String userName);
|
|
|
long hasRole(@Param("userId") String userId, @Param("roleName") String roleName);
|
|
|
User findByOpenId(String openId);
|
|
|
+
|
|
|
+ UserVO getUser(String id);
|
|
|
}
|