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;
|
|
/**
|
* <p>
|
* 物料追溯 Mapper 接口
|
* </p>
|
*
|
* @author cl
|
* @since 2022-10-29
|
*/
|
public interface MaterialTraceabilityMapper extends BaseMapper<MaterialTraceability> {
|
|
/**
|
* 获取列表
|
*
|
* @author cl
|
* @Date 2022-10-29
|
*/
|
List<MaterialTraceabilityResult> customList(@Param("paramCondition") MaterialTraceabilityParam paramCondition);
|
|
/**
|
* 获取map列表
|
*
|
* @author cl
|
* @Date 2022-10-29
|
*/
|
List<Map<String, Object>> customMapList(@Param("paramCondition") MaterialTraceabilityParam paramCondition);
|
|
/**
|
* 获取分页实体列表
|
*
|
* @author cl
|
* @Date 2022-10-29
|
*/
|
Page<MaterialTraceabilityResult> customPageList(@Param("page") Page page, @Param("paramCondition") MaterialTraceabilityParam paramCondition);
|
|
/**
|
* 获取分页map列表
|
*
|
* @author cl
|
* @Date 2022-10-29
|
*/
|
Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") MaterialTraceabilityParam paramCondition);
|
|
/**
|
* 根据分总成编码更新为总成编码
|
*/
|
int updateSFC(@Param("sfcCode") String sfcCode, @Param("childSfcCode") String childSfcCode);
|
}
|