zhangherong
2025-05-15 8fb8d37784ce6c466f7142275e1eace2cb012e44
lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/mapper/ProcessStreamMapper.java
@@ -3,5 +3,23 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
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);
}