|
|
@ -25,14 +25,14 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
public UnsettledDetailReportService( |
|
|
|
UnSettledDetailDapperRepository dapper, |
|
|
|
OutputService outputService, |
|
|
|
ErpPartDapperRepository erpDapper, |
|
|
|
ISettleAccountBranchEfCoreRepository<ErrorBill, Guid> errorListRepository |
|
|
|
ErpPartDapperRepository erpDapper |
|
|
|
|
|
|
|
) |
|
|
|
{ |
|
|
|
_dapper = dapper; |
|
|
|
_outputService = outputService; |
|
|
|
_erpDapper = erpDapper; |
|
|
|
_errorListRepository = errorListRepository; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -57,7 +57,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
|
|
|
|
var _list = _dapper.GetDiffReport(DateTime.Now.Year.ToString(), begin, end, customerCode, version,materailCode,materialGroup,sapcode); |
|
|
|
|
|
|
|
var _checkList = _errorListRepository.ToList(); |
|
|
|
var _checkList = _erpDapper.GetErrorBillList(); |
|
|
|
|
|
|
|
var query = from itm in _list |
|
|
|
join itm1 in _checkList on new { ChassisNumber = itm.ChassisNumber, MaterialCode = itm.MaterialCode, WmsBillNum = itm.WmsBillNum } |
|
|
|