28 lines
613 B
Java
28 lines
613 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);
|
|
|
|
List<MapDto> findVacations(@Param("year") int year, @Param("month") int month);
|
|
|
|
List<MapDto> getUsedVacations(@Param("userId") Long userId);
|
|
|
|
List<MapDto> getReceivedVacations(@Param("userId") Long userId);
|
|
|
|
List<MapDto> getEmployeeRemainingVacation();
|
|
|
|
List<MapDto> getCommonCodeNames();
|
|
}
|
|
|
|
|
|
|