1212
This commit is contained in:
@@ -14,11 +14,13 @@ namespace FineUIPro.Web.WeldingProcess.TestPackageManage
|
||||
{
|
||||
private string rowId=string.Empty;
|
||||
private string jointcode=string.Empty;
|
||||
private string ptpId=string.Empty;
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
this.rowId = Request.Params["rowId"];
|
||||
this.jointcode = Request.Params["jointcode"];
|
||||
this.ptpId = Request.Params["ptpId"];
|
||||
if (string.IsNullOrEmpty(this.rowId))
|
||||
{
|
||||
ShowNotify("请先选择某条管线信息!", MessageBoxIcon.Warning);
|
||||
@@ -76,7 +78,7 @@ namespace FineUIPro.Web.WeldingProcess.TestPackageManage
|
||||
}
|
||||
var query = Funs.DB.Pipeline_WeldJoint.Where(t => t.PipelineId == PipelineID)
|
||||
.OrderBy(t => t.WeldJointCode).AsQueryable();
|
||||
if (listData.Count>0)
|
||||
if (listData.Count>0 && string.IsNullOrEmpty(this.ptpId))
|
||||
{
|
||||
query = query.Where(t => !listData.Contains(t.WeldJointCode));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user