|
@ -123,7 +123,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
return false; |
|
|
return false; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
return false; |
|
|
// return false;
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -1180,6 +1180,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
realAmt: readAmt |
|
|
realAmt: readAmt |
|
|
); |
|
|
); |
|
|
invbill.ClientCode = clientCode; |
|
|
invbill.ClientCode = clientCode; |
|
|
|
|
|
invbill.CreationTime = DateTime.MinValue; |
|
|
invbill.Site = dtos.FirstOrDefault().Site; |
|
|
invbill.Site = dtos.FirstOrDefault().Site; |
|
|
invlist.Add(invbill); |
|
|
invlist.Add(invbill); |
|
|
} |
|
|
} |
|
@ -1481,7 +1482,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
} |
|
|
} |
|
|
invbill.ClientCode = clientCode; |
|
|
invbill.ClientCode = clientCode; |
|
|
invbill.Site = dtos.FirstOrDefault().Site; |
|
|
invbill.Site = dtos.FirstOrDefault().Site; |
|
|
invbill.CreationTime = DateTime.Now; |
|
|
invbill.CreationTime =DateTime.MinValue; |
|
|
invlist.Add(invbill); |
|
|
invlist.Add(invbill); |
|
|
i++; |
|
|
i++; |
|
|
} |
|
|
} |
|
@ -1828,7 +1829,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
realAmt: realAmt |
|
|
realAmt: realAmt |
|
|
); |
|
|
); |
|
|
invbill.Site = dtos.FirstOrDefault().Site; |
|
|
invbill.Site = dtos.FirstOrDefault().Site; |
|
|
invbill.CreationTime = DateTime.Now; |
|
|
invbill.CreationTime = DateTime.MinValue; |
|
|
invlist.Add(invbill); |
|
|
invlist.Add(invbill); |
|
|
} |
|
|
} |
|
|
await _repository.DbContext.BulkInsertAsync(invlist).ConfigureAwait(false); |
|
|
await _repository.DbContext.BulkInsertAsync(invlist).ConfigureAwait(false); |
|
@ -2045,7 +2046,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
); |
|
|
); |
|
|
invbill.Site = dtos.FirstOrDefault().Site; |
|
|
invbill.Site = dtos.FirstOrDefault().Site; |
|
|
invbill.ClientCode = clientCode; |
|
|
invbill.ClientCode = clientCode; |
|
|
invbill.CreationTime = DateTime.Now; |
|
|
invbill.CreationTime = DateTime.MinValue; |
|
|
invlist.Add(invbill); |
|
|
invlist.Add(invbill); |
|
|
} |
|
|
} |
|
|
await _repository.DbContext.BulkInsertAsync(invlist).ConfigureAwait(false); |
|
|
await _repository.DbContext.BulkInsertAsync(invlist).ConfigureAwait(false); |
|
@ -2371,7 +2372,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
realAmt: realAmt |
|
|
realAmt: realAmt |
|
|
); |
|
|
); |
|
|
invbill.Site = "1049"; |
|
|
invbill.Site = "1049"; |
|
|
invbill.CreationTime = DateTime.Now; |
|
|
invbill.CreationTime = DateTime.MinValue; |
|
|
invbill.ClientCode = "C001"; |
|
|
invbill.ClientCode = "C001"; |
|
|
invlist.Add(invbill); |
|
|
invlist.Add(invbill); |
|
|
} |
|
|
} |
|
|