package com.rongwei.bscommon.sys.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rongwei.bsentity.domain.ApsOrderAlloyCompositionDo;
import com.rongwei.bsentity.domain.ApsProductDetailDo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ApsOrderAlloyCompositionDao extends BaseMapper<ApsOrderAlloyCompositionDo> {

    @Select("SELECT * FROM aps_order_alloy_composition WHERE  DELETED = 0 AND PRODUCTIONORDERID = #{productionorderId}")
    List<ApsOrderAlloyCompositionDo> getAlloyCompositionByProductionorderId(@Param("productionorderId") String productionorderId);
}
