diff --git a/src/main/java/cokr/xit/fims/mngt/Dept.java b/src/main/java/cokr/xit/fims/mngt/FineIntegrationDepartment.java
similarity index 94%
rename from src/main/java/cokr/xit/fims/mngt/Dept.java
rename to src/main/java/cokr/xit/fims/mngt/FineIntegrationDepartment.java
index 802b2075..3a17c0aa 100644
--- a/src/main/java/cokr/xit/fims/mngt/Dept.java
+++ b/src/main/java/cokr/xit/fims/mngt/FineIntegrationDepartment.java
@@ -1,6 +1,6 @@
package cokr.xit.fims.mngt;
-import cokr.xit.foundation.AbstractEntity;
+import cokr.xit.base.user.Department;
import lombok.Getter;
import lombok.Setter;
@@ -10,7 +10,7 @@ import lombok.Setter;
*/
@Getter
@Setter
-public class Dept extends AbstractEntity {
+public class FineIntegrationDepartment extends Department {
/**
* 부서 코드
*/
diff --git a/src/main/java/cokr/xit/fims/mngt/dao/DeptMapper.java b/src/main/java/cokr/xit/fims/mngt/dao/DeptMapper.java
index b1af9bc4..dc43dcf5 100644
--- a/src/main/java/cokr/xit/fims/mngt/dao/DeptMapper.java
+++ b/src/main/java/cokr/xit/fims/mngt/dao/DeptMapper.java
@@ -6,7 +6,7 @@ import java.util.Map;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Dept;
+import cokr.xit.fims.mngt.FineIntegrationDepartment;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject;
@@ -70,7 +70,7 @@ public interface DeptMapper extends AbstractMapper {
*
그렇지 않으면 false
*
*/
- default boolean insert(Dept dept) {
+ default boolean insert(FineIntegrationDepartment dept) {
return dept != null && insertDept(params().set("dept", dept)) == 1;
}
@@ -90,7 +90,7 @@ public interface DeptMapper extends AbstractMapper {
* 그렇지 않으면 false
*
*/
- default boolean update(Dept dept) {
+ default boolean update(FineIntegrationDepartment dept) {
return dept != null && updateDept(params().set("dept", dept)) == 1;
}
@@ -110,7 +110,7 @@ public interface DeptMapper extends AbstractMapper {
* 그렇지 않으면 false
*
*/
- default boolean delete(Dept dept) {
+ default boolean delete(FineIntegrationDepartment dept) {
return dept != null && deleteDept(params().set("dept", dept)) == 1;
}
diff --git a/src/main/java/cokr/xit/fims/mngt/service/DeptService.java b/src/main/java/cokr/xit/fims/mngt/service/DeptService.java
index 1679e85e..c0b5744a 100644
--- a/src/main/java/cokr/xit/fims/mngt/service/DeptService.java
+++ b/src/main/java/cokr/xit/fims/mngt/service/DeptService.java
@@ -3,7 +3,7 @@ package cokr.xit.fims.mngt.service;
import java.util.List;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Dept;
+import cokr.xit.fims.mngt.FineIntegrationDepartment;
import cokr.xit.foundation.data.DataObject;
/**부서 정보 관리 서비스 인터페이스.
@@ -43,7 +43,7 @@ public interface DeptService {
* 그렇지 않으면 false
*
*/
- boolean create(Dept dept);
+ boolean create(FineIntegrationDepartment dept);
/**부서 정보를 수정한다.
* @param dept 부서
@@ -52,7 +52,7 @@ public interface DeptService {
* 그렇지 않으면 false
*
*/
- boolean update(Dept dept);
+ boolean update(FineIntegrationDepartment dept);
/**부서 정보를 삭제한다.
* @param dept 부서
@@ -61,6 +61,6 @@ public interface DeptService {
* 그렇지 않으면 false
*
*/
- boolean remove(Dept dept);
+ boolean remove(FineIntegrationDepartment dept);
}
diff --git a/src/main/java/cokr/xit/fims/mngt/service/bean/DeptBean.java b/src/main/java/cokr/xit/fims/mngt/service/bean/DeptBean.java
index 18883c50..6a2b289c 100644
--- a/src/main/java/cokr/xit/fims/mngt/service/bean/DeptBean.java
+++ b/src/main/java/cokr/xit/fims/mngt/service/bean/DeptBean.java
@@ -7,7 +7,7 @@ import javax.annotation.Resource;
import org.springframework.stereotype.Component;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Dept;
+import cokr.xit.fims.mngt.FineIntegrationDepartment;
import cokr.xit.fims.mngt.dao.DeptMapper;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.data.DataObject;
@@ -60,7 +60,7 @@ public class DeptBean extends AbstractComponent {
* 그렇지 않으면 false
*
*/
- public boolean create(Dept dept) {
+ public boolean create(FineIntegrationDepartment dept) {
return deptMapper.insert(dept);
}
@@ -71,7 +71,7 @@ public class DeptBean extends AbstractComponent {
* 그렇지 않으면 false
*
*/
- public boolean update(Dept dept) {
+ public boolean update(FineIntegrationDepartment dept) {
return deptMapper.update(dept);
}
@@ -82,7 +82,7 @@ public class DeptBean extends AbstractComponent {
* 그렇지 않으면 false
*
*/
- public boolean remove(Dept dept) {
+ public boolean remove(FineIntegrationDepartment dept) {
return deptMapper.delete(dept);
}
diff --git a/src/main/java/cokr/xit/fims/mngt/service/bean/DeptServiceBean.java b/src/main/java/cokr/xit/fims/mngt/service/bean/DeptServiceBean.java
index d2f3b3eb..9a44e0b5 100644
--- a/src/main/java/cokr/xit/fims/mngt/service/bean/DeptServiceBean.java
+++ b/src/main/java/cokr/xit/fims/mngt/service/bean/DeptServiceBean.java
@@ -7,7 +7,7 @@ import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import cokr.xit.fims.cmmn.CmmnQuery;
-import cokr.xit.fims.mngt.Dept;
+import cokr.xit.fims.mngt.FineIntegrationDepartment;
import cokr.xit.fims.mngt.service.DeptService;
import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject;
@@ -45,17 +45,17 @@ public class DeptServiceBean extends AbstractServiceBean implements DeptService
}
@Override
- public boolean create(Dept dept) {
+ public boolean create(FineIntegrationDepartment dept) {
return deptBean.create(dept);
}
@Override
- public boolean update(Dept dept) {
+ public boolean update(FineIntegrationDepartment dept) {
return deptBean.update(dept);
}
@Override
- public boolean remove(Dept dept) {
+ public boolean remove(FineIntegrationDepartment dept) {
return deptBean.remove(dept);
}
}
diff --git a/src/main/resources/sql/mapper/fims/mngt/dept-mapper.xml b/src/main/resources/sql/mapper/fims/mngt/dept-mapper.xml
index 300af171..0ea08033 100644
--- a/src/main/resources/sql/mapper/fims/mngt/dept-mapper.xml
+++ b/src/main/resources/sql/mapper/fims/mngt/dept-mapper.xml
@@ -7,7 +7,7 @@
2023-12-12 JoJH 최초 작성
============================ -->
-
+