package com.njzscloud.dispose.mfg.craft.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njzscloud.dispose.mfg.bom.pojo.result.SearchBomDetailResult;
import com.njzscloud.dispose.mfg.bom.pojo.result.SearchBomResult;
import com.njzscloud.dispose.mfg.craft.pojo.entity.CraftWayEntity;
import com.njzscloud.dispose.mfg.craft.pojo.result.SearchCraftOperationResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 工艺路线
 */
@Mapper
public interface CraftWayMapper extends BaseMapper<CraftWayEntity> {
    List<SearchCraftOperationResult> listOperations(@Param("ew") QueryWrapper<Object> ew);

    List<SearchBomResult> listBom(@Param("ew") QueryWrapper<Object> ew);

    List<SearchBomDetailResult> listBomDetail(@Param("ew") QueryWrapper<Object> ew);
}
