AbstractComponent -> AbstractBean

master
mjkhan21 6 months ago
parent 43e04de295
commit 462833699d

@ -9,7 +9,7 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.user.Department; import cokr.xit.base.user.Department;
import cokr.xit.base.user.DepartmentQuery; import cokr.xit.base.user.DepartmentQuery;
import cokr.xit.base.user.dao.DepartmentMapper; import cokr.xit.base.user.dao.DepartmentMapper;
import cokr.xit.foundation.AbstractComponent; import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
/** Bean /** Bean
@ -23,7 +23,7 @@ import cokr.xit.foundation.data.DataObject;
* </pre> * </pre>
*/ */
@Component("departmentBean") @Component("departmentBean")
public class DepartmentBean extends AbstractComponent { public class DepartmentBean extends AbstractBean {
/** 부서 정보 정보 DAO */ /** 부서 정보 정보 DAO */
@Resource(name = "departmentMapper") @Resource(name = "departmentMapper")
private DepartmentMapper departmentMapper; private DepartmentMapper departmentMapper;

@ -9,7 +9,7 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.user.Sigungu; import cokr.xit.base.user.Sigungu;
import cokr.xit.base.user.SigunguQuery; import cokr.xit.base.user.SigunguQuery;
import cokr.xit.base.user.dao.SigunguMapper; import cokr.xit.base.user.dao.SigunguMapper;
import cokr.xit.foundation.AbstractComponent; import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
/** Bean /** Bean
@ -23,7 +23,7 @@ import cokr.xit.foundation.data.DataObject;
* </pre> * </pre>
*/ */
@Component("sigunguBean") @Component("sigunguBean")
public class SigunguBean extends AbstractComponent { public class SigunguBean extends AbstractBean {
/** 시군구 정보 DAO */ /** 시군구 정보 DAO */
@Resource(name = "sigunguMapper") @Resource(name = "sigunguMapper")
private SigunguMapper sigunguMapper; private SigunguMapper sigunguMapper;

@ -8,15 +8,15 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.user.UserQuery; import cokr.xit.base.user.UserQuery;
import cokr.xit.base.user.dao.UserMapper; import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.User; import cokr.xit.foundation.User;
import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
import cokr.xit.foundation.util.CharsEncoder; import cokr.xit.foundation.util.CharsEncoder;
/** Bean /** Bean
*/ */
@Component("userBean") @Component("userBean")
public class UserBean extends AbstractComponent { public class UserBean extends AbstractBean {
@Resource(name = "userMapper") @Resource(name = "userMapper")
private UserMapper userMapper; private UserMapper userMapper;
/** 사용자 비밀번호 인코더 */ /** 사용자 비밀번호 인코더 */

Loading…
Cancel
Save