|
@ -63,7 +63,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
[Route("Make")] |
|
|
[Route("Make")] |
|
|
[UnitOfWork(false)] |
|
|
[UnitOfWork(false)] |
|
|
public async Task<string> ReportMake(string version,DateTime accountDate) |
|
|
public async Task<string> ReportMake(string version) |
|
|
{ |
|
|
{ |
|
|
var _ls= _dapper.GetWmsSumExtendList(version);//报表
|
|
|
var _ls= _dapper.GetWmsSumExtendList(version);//报表
|
|
|
|
|
|
|
|
@ -106,7 +106,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
String.Empty, |
|
|
String.Empty, |
|
|
0, |
|
|
0, |
|
|
version, |
|
|
version, |
|
|
accountDate |
|
|
DateTime.MaxValue |
|
|
)); |
|
|
)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -167,9 +167,9 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
var _entity = entities.FirstOrDefault(); |
|
|
var _entity = entities.FirstOrDefault(); |
|
|
if (_entity != null) |
|
|
if (_entity != null) |
|
|
{ |
|
|
{ |
|
|
var _version = _entity.Version; |
|
|
var _version = input.Version; |
|
|
var _accountDate = _entity.AccountDate; |
|
|
var _accountDate = input.AccountDate; |
|
|
_erpDapper.InsertWmsSum(_ls, _version, _accountDate); |
|
|
_erpDapper.InsertWmsSum(entities, _version, _accountDate); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
return true; |
|
|
return true; |
|
|