From 02fddcdbaea8fdbbcee1dcfa9277b765aedf24c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Mon, 18 Sep 2023 14:46:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/BQ/PUB_CAN_SA_SERVICE.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_CAN_SA_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_CAN_SA_SERVICE.cs index 1b072d74..4a319121 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_CAN_SA_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_CAN_SA_SERVICE.cs @@ -107,7 +107,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ { var groupNumList = entitys.Select(p => p.GroupNum).Distinct().ToList(); entitys= entitys.OrderBy(p => p.IndexNum).ToList(); - var dto1s = ObjectMapper.Map, List>(entitys); var q = from d in dto1s join p in priceList on d.LU equals p.LU @@ -133,14 +132,12 @@ namespace Win.Sfs.SettleAccount.Entities.BQ EndDate = p.EndTime, PartCode = d.PartCode,//客户零件号 LineCode=d.IndexNum - }; var dtos = q.ToList(); if (dtos != null && dtos.Count > 0) { if (billnum.Substring(0, 1) == "C")//一次开票 { - var notQuery = await _notRepository.Where(p => p.SettleBillNum == main.SettleBillNum).ToListAsync(); var notlist = notQuery.Select(p => new TEMP_NOT_SA_DETAIL { @@ -161,9 +158,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ PartCode = p.PartCode }).ToList();//不能结算 - - - await FirstInvoice(entitys, new List(), dtos, notlist, main.Version, main.InvGroupNum, string.Empty, main.BusinessType); } else//二次开票