30 lines
736 B
Java
30 lines
736 B
Java
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);
|
|
}
|
|
|
|
|
|
|