|
|
|
@ -1963,19 +1963,27 @@ SELECT @ps_BillNo as N'billno'";
|
|
|
|
|
|
|
|
|
|
DS6Data.t_op_seae.AddOrUpdate(updrec);
|
|
|
|
|
|
|
|
|
|
//logger.Debug($"费用封账保存:{JsonConvert.SerializeObject(updrec)}");
|
|
|
|
|
|
|
|
|
|
#region AMS信息
|
|
|
|
|
//DS6Data = new DS6DataContext();
|
|
|
|
|
var amslist = DS6Data.t_op_ams.Where(x => x.编号 == headid).ToList();
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mark = 1.12m;
|
|
|
|
|
DS6Data.SaveChanges();
|
|
|
|
|
//logger.Debug($"更新提单信息:{head.Id}");
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DS6Data.SaveChanges();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2207,8 +2215,6 @@ SELECT @ps_BillNo as N'billno'";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|