package com.rongwei.bscommon.sys.dao;

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

import java.util.List;

/**
 * @Entity com.rongwei.training.domain.ApsProcessOperationOutMater
 */
public interface ApsProcessOperationEquDao extends BaseMapper<ApsProcessOperationEquDo> {

    @Select("SELECT * FROM aps_process_operation_equ WHERE DELETED = 0 AND MAINID = #{mainid}")
    List<ApsProcessOperationEquDo> getProcessOperationEquByMainId(@Param("mainid") String mainid);

}




