Browse Source

更新版本

master
zhaoxinyu 11 months ago
parent
commit
a5d46a1174
  1. 6
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs

6
code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs

@ -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)
{ {

Loading…
Cancel
Save