package incheon.ags.pss.edit.service.impl;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

import incheon.ags.pss.edit.mapper.SketchMapper;
import incheon.ags.pss.edit.service.SketchService;
import incheon.ags.pss.edit.vo.SketchVO;

@Service("sketchService")
public class SketchServiceImpl implements SketchService {
    
    @Resource(name = "sketchMapper")
    private SketchMapper mapper;

    @Override
    public List<SketchVO> selectSketchList(Long bizNo) throws Exception {
        return mapper.selectSketchList(bizNo);
    }
    
    @Override
    public void insertSketch(SketchVO vo) throws Exception {
        mapper.insertSketch(vo);
    }

    @Override
    public void updateSketch(SketchVO vo) throws Exception {
        mapper.updateSketch(vo);
    }

    @Override
    public void deleteSketch(Long sketchNo) throws Exception {
        mapper.deleteSketch(sketchNo);
    }
}