Compare commits

...

2 Commits

Author SHA1 Message Date
jackchenyang 925244edb3 11221 2024-05-24 22:20:28 +08:00
jackchenyang 68a1b882ce 1111 2024-05-24 22:20:18 +08:00
2 changed files with 10 additions and 0 deletions

Binary file not shown.

View File

@ -314,6 +314,11 @@ namespace BLL
}
return isoRate;
}
/// <summary>
/// 获取基础焊口数量
/// </summary>
/// <param name="pipelineId"></param>
/// <returns></returns>
public static int countBaseWeldJointCode(string pipelineId)
{
string sql = "select count(1) from Pipeline_WeldJoint where PipelineId=@PipelineId";
@ -323,6 +328,11 @@ namespace BLL
int count = SQLHelper.getIntValue(sql, parameters);
return count;
}
/// <summary>
/// 获取试压包明细表焊口数量
/// </summary>
/// <param name="pipelineId"></param>
/// <returns></returns>
public static int countWeldJointCode(string pipelineId)
{
string sql = @"select WeldJointCode=(stuff((select ','+ WeldJonintCode from PTP_PipelineList where PipelineId=@PipelineId and isALL=0 for xml path('')),1,1,''))";