|
@ -187,6 +187,12 @@ namespace Win.Sfs.SettleAccount.Bases |
|
|
var first = p_list.FirstOrDefault(); |
|
|
var first = p_list.FirstOrDefault(); |
|
|
var inv = _invRepository.Where(p => p.InvbillNum == first.InvBillNum).FirstOrDefault(); |
|
|
var inv = _invRepository.Where(p => p.InvbillNum == first.InvBillNum).FirstOrDefault(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (inv == null) |
|
|
|
|
|
{ |
|
|
|
|
|
throw new UserFriendlyException("请检查导入发票号是否原发票号一致", "400"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (first != null) |
|
|
if (first != null) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|