¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.dnc.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import io.lettuce.core.dynamic.annotation.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.jeecg.modules.dnc.entity.ProcessStream; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface ProcessStreamMapper extends BaseMapper<ProcessStream> { |
| | | /** |
| | | * æ¥è¯¢å·¥åºä¿¡æ¯ |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<ProcessStream> getByUserPerms(String userId); |
| | | |
| | | /** |
| | | * æ ¹æ®ä¸ç»é¨ä»¶åé¶ä»¶æ¥æ¾å·¥åº |
| | | * @param productId |
| | | * @param componentIds |
| | | * @param partsIds |
| | | * @return |
| | | */ |
| | | List<ProcessStream> findByPartsAndComponents(String productId, List<String> componentIds, List<String> partsIds); |
| | | |
| | | @Select("SELECT * FROM nc_process_stream WHERE process_id = #{processId}") |
| | | ProcessStream selectById(@Param("processId") String processId); |
| | | } |