taskService, vltnService 삭제

main
이범준 9 months ago
parent 78a961cea3
commit 3b1161232f

@ -1,72 +0,0 @@
package cokr.xit.fims.mngt.service;
import java.util.List;
import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.mngt.Task;
import cokr.xit.foundation.data.DataObject;
/** .
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-24 JoJH
* ================================
* </pre>
*/
public interface TaskService {
/** .
* @param req
* @return
*/
List<DataObject> getTaskList(CmmnQuery req);
/** .
* @param req
* @return
*/
List<DataObject> getTasks(CmmnQuery req);
/** .
* @param sndngDtlId ID
* @return
*/
DataObject getTaskInfo(CmmnQuery req);
/** .
* @param sndngDtlId ID
* @return
*/
DataObject getAdvntceYmdInfo(CmmnQuery req);
/** .
* @param task
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean create(Task task);
/** .
* @param task
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean update(Task task);
/** .
* @param task
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean remove(Task task);
}

@ -1,60 +0,0 @@
package cokr.xit.fims.mngt.service;
import java.util.List;
import cokr.xit.fims.mngt.Vltn;
import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.foundation.data.DataObject;
/** .
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-16 JoJH
* ================================
* </pre>
*/
public interface VltnService {
/** .
* @param req
* @return
*/
List<DataObject> getVltnList(VltnQuery req);
/** .
* @param req
* @return
*/
List<DataObject> getVltns(VltnQuery req);
/** .
* @param vltn
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean create(Vltn vltn);
/** .
* @param vltn
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean update(Vltn vltn);
/** .
* @param vltn
* @return
* <ul><li> true</li>
* <li> false</li>
* </ul>
*/
boolean remove(Vltn vltn);
}

@ -1,67 +0,0 @@
package cokr.xit.fims.mngt.service.bean;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import cokr.xit.fims.cmmn.CmmnQuery;
import cokr.xit.fims.mngt.Task;
import cokr.xit.fims.mngt.service.TaskService;
import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject;
/** .
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-24 JoJH
* ================================
* </pre>
*/
@Service("taskService")
public class TaskServiceBean extends AbstractServiceBean implements TaskService {
/** 업무 정보 정보 Bean */
@Resource(name = "taskBean")
private TaskBean taskBean;
@Override
public List<DataObject> getTaskList(CmmnQuery req) {
return taskBean.getTaskList(req);
}
@Override
public List<DataObject> getTasks(CmmnQuery req) {
return taskBean.getTasks(req);
}
@Override
public DataObject getTaskInfo(CmmnQuery req) {
return taskBean.getTaskInfo(req);
}
@Override
public DataObject getAdvntceYmdInfo(CmmnQuery req) {
return taskBean.getAdvntceYmdInfo(req);
}
@Override
public boolean create(Task task) {
return taskBean.create(task);
}
@Override
public boolean update(Task task) {
return taskBean.update(task);
}
@Override
public boolean remove(Task task) {
return taskBean.remove(task);
}
}

@ -1,57 +0,0 @@
package cokr.xit.fims.mngt.service.bean;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import cokr.xit.fims.mngt.Vltn;
import cokr.xit.fims.mngt.VltnQuery;
import cokr.xit.fims.mngt.service.VltnService;
import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject;
/** .
*
* <p> :
*
* <pre>
* ============ ============
* 2023-10-16 JoJH
* ================================
* </pre>
*/
@Service("vltnService")
public class VltnServiceBean extends AbstractServiceBean implements VltnService {
/** 위반 정보 정보 Bean */
@Resource(name = "vltnBean")
private VltnBean vltnBean;
@Override
public List<DataObject> getVltnList(VltnQuery req) {
return vltnBean.getVltnList(req);
}
@Override
public List<DataObject> getVltns(VltnQuery req) {
return vltnBean.getVltns(req);
}
@Override
public boolean create(Vltn vltn) {
return vltnBean.create(vltn);
}
@Override
public boolean update(Vltn vltn) {
return vltnBean.update(vltn);
}
@Override
public boolean remove(Vltn vltn) {
return vltnBean.remove(vltn);
}
}
Loading…
Cancel
Save