/************************************************************ * * @packageName : io.company.localhost.commoncodService * @fileName : commoncodService.java * @author : 공현지 * @date : 25.01.07 * @description : * * =========================================================== * DATE AUTHOR NOTE * ----------------------------------------------------------- * 24.12.06 공현지 최초 생성 * *************************************************************/ package io.company.localhost.service; import java.util.List; import org.springframework.stereotype.Service; import io.company.localhost.common.dto.MapDto; import io.company.localhost.mapper.commoncodMapper; import lombok.RequiredArgsConstructor; @Service @RequiredArgsConstructor public class commoncodService { private final commoncodMapper commoncodmapper; public List getWordCategory() { return commoncodmapper.getWordCategory(); } public Long insertCategory(MapDto map) { return commoncodmapper.insertCategory(map); } public List getColorList() { return commoncodmapper.getColorList(); } public List getMbtiList() { return commoncodmapper.getMbtiList(); } }