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