|
|
@ -97,7 +97,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
var _list = _ls.Where(p => p.ParentSapMaterialCode != p.SapMaterialCode && !string.IsNullOrEmpty(p.ParentSapMaterialCode)).Where(p => !p.ParentSapMaterialCode.Contains(",")).GroupBy(p => new { p.ParentSapMaterialCode, p.ChassisNumber, p.KENNCode }) |
|
|
|
.Select(p => p.FirstOrDefault()).ToList(); |
|
|
|
|
|
|
|
var _compareLs=_list.Where(p => p.DiffQty == 0 ).Select(p=> new { p.ChassisNumber,p.KENNCode,p.ParentSapMaterialCode }); |
|
|
|
var _compareLs=_list.Where(p => p.DiffQty == 0).Select(p=> new { p.ChassisNumber,p.KENNCode,p.ParentSapMaterialCode }); |
|
|
|
|
|
|
|
|
|
|
|
var rangeList = _erpdapperRepository.GetSapList<UnSettleDiff>(_list, version, false); |
|
|
@ -329,6 +329,9 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
//var cp7end = p_list.Where(p => p.Name == "CP7End").FirstOrDefault().Value;
|
|
|
|
var _list = _dapper1.GetDiffReport1(DateTime.Now.Year.ToString(), begin, end, string.Empty, version, materialCode, materialGroup, sapCode); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//foreach (var itm in _list)
|
|
|
|
//{
|
|
|
|
// if (itm.UnSettleQty > 0)
|
|
|
|