24 lines
736 B
Java
24 lines
736 B
Java
|
|
package com.klp.aps.mapper;
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||
|
|
import com.klp.aps.domain.entity.ApsCalendarShiftEntity;
|
||
|
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
|
||
|
|
import java.time.LocalDate;
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 日历班次配置Mapper接口
|
||
|
|
*/
|
||
|
|
public interface ApsCalendarShiftMapper extends BaseMapper<ApsCalendarShiftEntity> {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 根据日期、产线和班次查询
|
||
|
|
*/
|
||
|
|
ApsCalendarShiftEntity selectByDateLineAndShift(@Param("calendarDate") LocalDate calendarDate,
|
||
|
|
@Param("lineId") Long lineId,
|
||
|
|
@Param("shiftId") Long shiftId);
|
||
|
|
|
||
|
|
List<Long> selectDistinctLineIds();
|
||
|
|
}
|