package com.rongwei.bscommon.sys.dao;

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

import java.util.List;

/**
 * @Entity com.rongwei.training.domain.ApsProductionOrder
 */
public interface ApsProductionMergeOrderDao extends BaseMapper<ApsProductionMergeOrderDo> {
    //根据 mainid 获取ApsProductionMergeOrderDo信息
    @Select("SELECT * FROM aps_production_merge_order WHERE DELETED = 0 AND MAINID = #{mainId}")
    List<ApsProductionMergeOrderDo> selectApsProductionMergeOrderDoByMainId(@Param("mainId") String mainId);


}




