焊接修改

This commit is contained in:
2024-11-06 09:36:10 +08:00
parent 5a52c54522
commit bfdffc4ccf
11 changed files with 192 additions and 145 deletions
@@ -76,14 +76,24 @@ namespace BLL
}
}
public static void GetComponentConfirmArrival(string PipelineComponentId,string PersonId)
public static void GetComponentConfirmArrival(string PipelineComponentId,string PersonId,string message)
{
var q = BLL.HJGL_PipelineComponentService.GetPipelineComponentById(PipelineComponentId);
if (q != null)
{
q.State = HJGL_PipelineComponentService.state_1;
if (!string.IsNullOrEmpty(message))
{
q.State = HJGL_PipelineComponentService.state_Msg;
q.Remark=message;
}
else
{
q.State = HJGL_PipelineComponentService.state_1;
}
q.ReceiveMan = PersonId;
q.ReceiveDate = DateTime.Now;
HJGL_PipelineComponentService.UpdatePipelineComponent(q);
}
}