修改预制组件二维码导入

This commit is contained in:
2024-11-26 11:20:39 +08:00
parent cc22d0e0ae
commit 73a869c851
3 changed files with 4 additions and 3 deletions
@@ -237,11 +237,12 @@ namespace BLL
/// <summary>
/// 根据管线code获取管线信息
/// </summary>
/// <param name="projectId"></param>
/// <param name="pipelineCode"></param>
/// <returns></returns>
public static Model.HJGL_Pipeline GetPipelineByPipelineCode(string pipelineCode)
public static Model.HJGL_Pipeline GetPipelineByPipelineCode(string projectId, string pipelineCode)
{
return Funs.DB.HJGL_Pipeline.FirstOrDefault(e => e.PipelineCode == pipelineCode);
return Funs.DB.HJGL_Pipeline.FirstOrDefault(e => e.PipelineCode == pipelineCode&&e.ProjectId==projectId );
}
/// <summary>
/// 根据管线信息筛选管线