|
@@ -275,9 +275,20 @@ public class BiSnapshotController : BaseController
|
|
|
[HttpGet("re_transact-statistics")]
|
|
|
public async Task<ReTransactStatisticsOutDto> GetReTransactStatisticsAsync([FromQuery] ReTransactStatisticsInDto dto)
|
|
|
{
|
|
|
+ var headers = _systemDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.InstaShotSpecialReason).Adapt<IList<SystemDicDataOutDto>>();
|
|
|
+ headers.Add(new SystemDicDataOutDto
|
|
|
+ {
|
|
|
+ DicDataName = "OrgName",
|
|
|
+ DicDataValue = "OrgName",
|
|
|
+ });
|
|
|
+ headers.Add(new SystemDicDataOutDto
|
|
|
+ {
|
|
|
+ DicDataValue = "OrgCode",
|
|
|
+ DicDataName = "OrgCode"
|
|
|
+ });
|
|
|
return new ReTransactStatisticsOutDto
|
|
|
{
|
|
|
- Headers = _systemDicDataCacheManager.GetSysDicDataCache(SysDicTypeConsts.InstaShotSpecialReason).Adapt<IList<SystemDicDataOutDto>>(),
|
|
|
+ Headers = headers,
|
|
|
Data = _biSnapshotApplication.GetReTransactStatistics(dto)
|
|
|
};
|
|
|
}
|