diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/PendingDeductionService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/PendingDeductionService.cs index 553b4a14..ac5f9930 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/PendingDeductionService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/PendingDeductionService.cs @@ -56,8 +56,6 @@ public class PendingDeductionService : ApplicationService, ITransientDependency, // property.Where(p => p.Name == "CurrentUserEmail").FirstOrDefault().Value; var list = billList.Split(","); var projectList = _dbcontext.Set().Where(p => p.Project == "库位"); - - if (type == "JisBBAC" || type == "ZhiGongJianBBAC" || type == "MaiDanJianBBAC" || type == "BeiJian") { var jisdetail = _dbcontext.Set().Where(p => list.Contains(p.BillNum) && p.BusinessType == EnumBusinessType.JisBBAC);//jis @@ -76,7 +74,6 @@ public class PendingDeductionService : ApplicationService, ITransientDependency, } Sync(jisdetail.ToList(), EnumDeliverBjBmpBillType.JIS件, email, isout == "out" ? true : false); } - // var mdetail = _dbcontext.Set().Where(p => list.Contains(p.BillNum) && p.BusinessType == EnumBusinessType.MaiDanJianBBAC);//买单件 if (mdetail != null && mdetail.Count() > 0) { @@ -300,7 +297,7 @@ public class PendingDeductionService : ApplicationService, ITransientDependency, } } - if (issucess = false) + if (issucess ==false) { var billList = p_ls.Select(p => p.BillNum).Distinct().ToList();