package com.jwipc.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.MoldSettings;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.sys.entity.MoldSettings;
import com.jwipc.sys.model.po.MoldSettingsPO;
import com.jwipc.sys.model.query.MoldSettingsQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author AL
 * @since 2024-02-01
 */
public interface MoldSettingsMapper extends BaseMapper<MoldSettings> {

    List<MoldSettingsPO> findPageByQuery(@Param("query") MoldSettingsQuery query);

    List<MoldSettingsPO> findPageByQuery(Page<MoldSettings> dbPage,@Param("query") MoldSettingsQuery query);

    MoldSettingsPO getDataById(@Param("id") Long id);
}
