nbs0105 / BOOT_CMS star
문성진 문성진 2023-05-09
파일 수정
@1c8ca467f977692a9edb42e3ec64eb5da7bd7c4d
base/src/main/java/egovframework/com/cop/com/service/impl/LytSourcServiceImpl.java
--- base/src/main/java/egovframework/com/cop/com/service/impl/LytSourcServiceImpl.java
+++ base/src/main/java/egovframework/com/cop/com/service/impl/LytSourcServiceImpl.java
@@ -1,96 +1,4 @@
 package egovframework.com.cop.com.service.impl;
 
-import java.util.List;
-
-import javax.annotation.Resource;
-
-import org.springframework.stereotype.Service;
-
-import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
-import egovframework.rte.fdl.idgnr.EgovIdGnrService;
-import egovframework.rte.fdl.property.EgovPropertyService;
-import egovframework.com.cmm.service.Globals;
-import egovframework.com.cop.com.service.LytSourcHistoryService;
-import egovframework.com.cop.com.service.LytSourcService;
-import egovframework.com.cop.com.service.LytSourcVO;
-import egovframework.com.utl.fcc.service.EgovFormBasedFileUtil;
-
-
-@Service("lytSourcService")
-public class LytSourcServiceImpl extends EgovAbstractServiceImpl implements LytSourcService {
-
-    @Resource(name="lytSourcMapper")
-    private LytSourcMapper lytSourcMapper;
-    
-    /** ID Generation */
-    @Resource(name="lytSourcIdGnrService")    
-    private EgovIdGnrService egovIdGnrService;
-    
-    @Resource(name="lytSourcHistoryService")
-    private LytSourcHistoryService lytSourcHistoryService;
-    
-    @Resource(name = "propertiesService")
-	protected EgovPropertyService propertyService;
-
-	//COMTNLYTSOURC을 등록한다.
-    public String insertLytSourc(LytSourcVO vo) throws Exception {
-    	vo.setLytSourcId(egovIdGnrService.getNextStringId());
-    	lytSourcMapper.insertLytSourc(vo);
-    	
-    	lytSourcHistoryService.insertLytSourcHistory(vo);
-    	
-    	this.publishCreate(vo);
-    	
-        return null;
-    }
-
-    //COMTNLYTSOURC을 수정한다.
-    public void updateLytSourc(LytSourcVO vo) throws Exception {
-    	lytSourcMapper.updateLytSourc(vo);
-        
-    	lytSourcHistoryService.insertLytSourcHistory(vo);
-        
-        this.publishCreate(vo);
-    }
-
-    //COMTNLYTSOURC을 삭제한다.
-    public void deleteLytSourc(LytSourcVO vo) throws Exception {
-    	lytSourcMapper.deleteLytSourc(vo);
-        
-        this.publishDelete(vo);        
-    }
-
-    //COMTNLYTSOURC을 조회한다.
-    public LytSourcVO selectLytSourc(LytSourcVO vo) throws Exception {
-    	LytSourcVO resultVO = lytSourcMapper.selectLytSourc(vo);
-        
-        return resultVO;
-    }
-
-    //COMTNLYTSOURC 목록을 조회한다.
-    public List<LytSourcVO> selectLytSourcList(LytSourcVO searchVO) throws Exception {
-        return lytSourcMapper.selectLytSourcList(searchVO);
-    }
-
-    //COMTNLYTSOURC 총 갯수를 조회한다.
-    public int selectLytSourcListCnt(LytSourcVO searchVO) {
-		return lytSourcMapper.selectLytSourcListCnt(searchVO);
-	}
-    
-    public void publishCreate(LytSourcVO vo) throws Exception {
-    	EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.lyt.fileStorePathByJspFile") + "/" + vo.getSourcSeCode() + "/" + vo.getLytSourcId() + "/" + "sourcHead.jsp", vo.getUpendSourc());
-   		EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.lyt.fileStorePathByJspFile") + "/" + vo.getSourcSeCode() + "/" + vo.getLytSourcId() + "/" + "sourcBottom.jsp", vo.getLptSourc());
-   		
-   		EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.lyt.fileStorePathByJspFile") + "/" + vo.getSourcSeCode() + "/" + vo.getLytSourcId() + "/" + "sourcHead"+Globals.PUBLISH_MOBILE_APPEND_FREFIX+".jsp", vo.getMobileUpendSourc());
-   		EgovFormBasedFileUtil.saveFile(this.propertyService.getString("publish.sourc.lyt.fileStorePathByJspFile") + "/" + vo.getSourcSeCode() + "/" + vo.getLytSourcId() + "/" + "sourcBottom"+Globals.PUBLISH_MOBILE_APPEND_FREFIX+".jsp", vo.getMobileLptSourc());
-    }
-    
-    public void publishDelete(LytSourcVO vo) throws Exception {
-		 EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.lyt.fileStorePathByJspFile") + "/" + vo.getSourcSeCode() + "/" + vo.getLytSourcId() + "/" + "sourcHead.jsp");
-		 EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.lyt.fileStorePathByJspFile") + "/" + vo.getSourcSeCode() + "/" + vo.getLytSourcId() + "/" + "sourcBottom.jsp");
-		 
-		 EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.lyt.fileStorePathByJspFile") + "/" + vo.getSourcSeCode() + "/" + vo.getLytSourcId() + "/" + "sourcHead"+Globals.PUBLISH_MOBILE_APPEND_FREFIX+".jsp");
-		 EgovFormBasedFileUtil.deleteFile(this.propertyService.getString("publish.sourc.lyt.fileStorePathByJspFile") + "/" + vo.getSourcSeCode() + "/" + vo.getLytSourcId() + "/" + "sourcBottom"+Globals.PUBLISH_MOBILE_APPEND_FREFIX+".jsp");
-    }
-    
+public class LytSourcServiceImpl {
 }
Add a comment
List