焊接修改
This commit is contained in:
@@ -870,8 +870,8 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
|
||||
newWeldJoint.WeldingDailyCode = this.txtWeldingDailyCode.Text.Trim();
|
||||
newWeldJoint.CoverWelderId = coverWelderId;
|
||||
newWeldJoint.BackingWelderId = backingWelderId;
|
||||
newWeldJoint.CoverWelderTeamGroupId = SitePerson_PersonService.GetSitePersonById(coverWelderId).TeamGroupId;
|
||||
newWeldJoint.BackingWelderTeamGroupId = SitePerson_PersonService.GetSitePersonById(backingWelderId).TeamGroupId;
|
||||
newWeldJoint.CoverWelderTeamGroupId = SitePerson_PersonService.GetSitePersonByProjectIdPersonId(this.CurrUser.LoginProjectId,coverWelderId).TeamGroupId;
|
||||
newWeldJoint.BackingWelderTeamGroupId = SitePerson_PersonService.GetSitePersonByProjectIdPersonId(this.CurrUser.LoginProjectId, backingWelderId).TeamGroupId;
|
||||
//if (item.WeldingLocationId != Const._Null)
|
||||
//{
|
||||
// newWeldJoint.WeldingLocationId = item.WeldingLocationId;
|
||||
|
||||
@@ -480,7 +480,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
{
|
||||
if (!string.IsNullOrEmpty(node.NodeID))
|
||||
{
|
||||
var jotList = from x in Funs.DB.HJGL_WeldJoint where x.PipelineId == tvControlItem.SelectedNodeID && x.JointAttribute == drpJointAttribute.SelectedValue select x;
|
||||
var jotList = from x in Funs.DB.HJGL_WeldJoint where x.PipelineId == node.NodeID && x.JointAttribute == drpJointAttribute.SelectedValue select x;
|
||||
if (jotList.Count() > 0)
|
||||
{
|
||||
foreach (var jot in jotList)
|
||||
|
||||
Reference in New Issue
Block a user