package cn.stylefeng.guns.modular.dq.materialTraceability.mapper; import cn.stylefeng.guns.modular.dq.materialTraceability.entity.MaterialTraceability; import cn.stylefeng.guns.modular.dq.materialTraceability.model.params.MaterialTraceabilityParam; import cn.stylefeng.guns.modular.dq.materialTraceability.model.result.MaterialTraceabilityResult; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; /** *

* 物料追溯 Mapper 接口 *

* * @author cl * @since 2022-10-29 */ public interface MaterialTraceabilityMapper extends BaseMapper { /** * 获取列表 * * @author cl * @Date 2022-10-29 */ List customList(@Param("paramCondition") MaterialTraceabilityParam paramCondition); /** * 获取map列表 * * @author cl * @Date 2022-10-29 */ List> customMapList(@Param("paramCondition") MaterialTraceabilityParam paramCondition); /** * 获取分页实体列表 * * @author cl * @Date 2022-10-29 */ Page customPageList(@Param("page") Page page, @Param("paramCondition") MaterialTraceabilityParam paramCondition); /** * 获取分页map列表 * * @author cl * @Date 2022-10-29 */ Page> customPageMapList(@Param("page") Page page, @Param("paramCondition") MaterialTraceabilityParam paramCondition); /** * 根据分总成编码更新为总成编码 */ int updateSFC(@Param("sfcCode") String sfcCode, @Param("childSfcCode") String childSfcCode); }