修正错误
This commit is contained in:
@@ -149,10 +149,10 @@ FROM MaterialAppVouch a
|
||||
{
|
||||
|
||||
var strSql = @"update MaterialAppVouchs set dDueDate=@DueDate,cDefine22='是',cDefine23=@SN,cDefine24=@WorkCenter";
|
||||
if (provide.Detail1.Count() != 0)
|
||||
if (provide.Detail.Count() != 0)
|
||||
{
|
||||
var mappDetails = this.GetDetailByMoCode(provide.OrderCode, provide.OrderDetailId).ToDictionary(m => m.AllocateId);
|
||||
foreach (var item in provide.Detail1)
|
||||
foreach (var item in provide.Detail)
|
||||
{
|
||||
if (mappDetails.TryGetValue(item.AllocateId, out var _mappDetails))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user