焊接修改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user