44 lines
1.2 KiB
Java
44 lines
1.2 KiB
Java
/************************************************************
|
|
*
|
|
* @packageName : io.company.localhost.mapper
|
|
* @fileName : localvacaMapper.java
|
|
* @author : 서지희
|
|
* @date : 25.02.06
|
|
* @description :
|
|
*
|
|
* ===========================================================
|
|
* DATE AUTHOR NOTE
|
|
* -----------------------------------------------------------
|
|
* 25.02.06 서지희 최초 생성
|
|
*
|
|
*************************************************************/
|
|
package io.company.localhost.mapper;
|
|
|
|
import java.util.List;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import io.company.localhost.common.dto.MapDto;
|
|
|
|
|
|
@Mapper
|
|
public interface localvacaMapper {
|
|
void insertVacation(MapDto map);
|
|
|
|
void deleteVacation(Long vacationId);
|
|
|
|
List<MapDto> selectVacations(@Param("year") int year, @Param("month") int month);
|
|
|
|
List<MapDto> selectUsedVacations(@Param("userId") Long userId, @Param("year") int year);
|
|
|
|
List<MapDto> selectReceivedVacations(@Param("userId") Long userId, @Param("year") int year);
|
|
|
|
List<MapDto> selectEmployeeRemainingVacation();
|
|
|
|
List<MapDto> selectSentVacationCount(MapDto map);
|
|
}
|
|
|
|
|
|
|