28 lines
913 B
Java
28 lines
913 B
Java
package com.klp.aps.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.klp.aps.domain.entity.ApsCalendarEntity;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.time.LocalDate;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 工厂日历Mapper接口
|
|
*/
|
|
public interface ApsCalendarMapper extends BaseMapper<ApsCalendarEntity> {
|
|
|
|
/**
|
|
* 查询工厂日历列表
|
|
*/
|
|
List<ApsCalendarEntity> selectCalendarList(@Param("calendarDate") LocalDate calendarDate,
|
|
@Param("calendarType") Integer calendarType,
|
|
@Param("factoryCode") String factoryCode);
|
|
|
|
/**
|
|
* 根据日期和工厂编码查询
|
|
*/
|
|
ApsCalendarEntity selectByDateAndFactory(@Param("calendarDate") LocalDate calendarDate,
|
|
@Param("factoryCode") String factoryCode);
|
|
}
|