|
|
@ -1963,19 +1963,27 @@ SELECT @ps_BillNo as N'billno'";
|
|
|
|
|
|
|
|
|
|
|
|
DS6Data.t_op_seae.AddOrUpdate(updrec);
|
|
|
|
DS6Data.t_op_seae.AddOrUpdate(updrec);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//logger.Debug($"费用封账保存:{JsonConvert.SerializeObject(updrec)}");
|
|
|
|
|
|
|
|
|
|
|
|
#region AMS信息
|
|
|
|
#region AMS信息
|
|
|
|
//DS6Data = new DS6DataContext();
|
|
|
|
//DS6Data = new DS6DataContext();
|
|
|
|
var amslist = DS6Data.t_op_ams.Where(x => x.编号 == headid).ToList();
|
|
|
|
var amslist = DS6Data.t_op_ams.Where(x => x.编号 == headid).ToList();
|
|
|
|
DS6Data.t_op_ams.RemoveRange(amslist);
|
|
|
|
DS6Data.t_op_ams.RemoveRange(amslist);
|
|
|
|
var newamslist = head.GetAmsList(newhead);
|
|
|
|
var newamslist = head.GetAmsList(updrec);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//logger.Debug($"费用封账保存_AMSLIST:{JsonConvert.SerializeObject(newamslist)}");
|
|
|
|
|
|
|
|
|
|
|
|
DS6Data.t_op_ams.AddRange(newamslist);
|
|
|
|
DS6Data.t_op_ams.AddRange(newamslist);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mark = 1.12m;
|
|
|
|
mark = 1.12m;
|
|
|
|
DS6Data.SaveChanges();
|
|
|
|
DS6Data.SaveChanges();
|
|
|
|
//logger.Debug($"更新提单信息:{head.Id}");
|
|
|
|
//logger.Debug($"更新提单信息:{head.Id}");
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DS6Data.SaveChanges();
|
|
|
|
DS6Data.SaveChanges();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -2206,8 +2214,6 @@ SELECT @ps_BillNo as N'billno'";
|
|
|
|
logger.Debug($"完成处理(更新):{newhead.主提单号};{newhead.DJYID}");
|
|
|
|
logger.Debug($"完成处理(更新):{newhead.主提单号};{newhead.DJYID}");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|