和川ds6同步大简云,修正一个bug

dev
dengyu 4 months ago
parent dd1c17d442
commit fb04bce25e

@ -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();
}
@ -2206,8 +2214,6 @@ SELECT @ps_BillNo as N'billno'";
logger.Debug($"完成处理(更新){newhead.主提单号};{newhead.DJYID}");
}
}
else

Loading…
Cancel
Save