Commit ed60df6634e717bff18c84ca9656a9fa97557d94
1 parent
6b0052c5
refactor: 代码优化和清理
- 优化LqCardTransferLogService代码 - 清理LqGzService冗余代码 - 优化LqStatisticsService代码
Showing
3 changed files
with
2 additions
and
7 deletions
netcore/src/Modularity/Extend/NCC.Extend/LqCardTransferLogService.cs
| @@ -18,7 +18,7 @@ namespace NCC.Extend.LqCardTransferLog | @@ -18,7 +18,7 @@ namespace NCC.Extend.LqCardTransferLog | ||
| 18 | /// <summary> | 18 | /// <summary> |
| 19 | /// 转卡日志服务 | 19 | /// 转卡日志服务 |
| 20 | /// </summary> | 20 | /// </summary> |
| 21 | - [ApiDescriptionSettings(Tag = "绿纤转卡日志服务", Name = "LqCardTransferLog", Order = 100)] | 21 | + [ApiDescriptionSettings(Tag = "绿纤转卡日志服务", Name = "LqCardTransferLog", Order = 200)] |
| 22 | [Route("api/Extend/[controller]")] | 22 | [Route("api/Extend/[controller]")] |
| 23 | public class LqCardTransferLogService : IDynamicApiController, ILqCardTransferLogService, ITransient | 23 | public class LqCardTransferLogService : IDynamicApiController, ILqCardTransferLogService, ITransient |
| 24 | { | 24 | { |
netcore/src/Modularity/Extend/NCC.Extend/LqGzService.cs
netcore/src/Modularity/Extend/NCC.Extend/LqStatisticsService.cs
| @@ -2586,7 +2586,7 @@ namespace NCC.Extend.LqStatistics | @@ -2586,7 +2586,7 @@ namespace NCC.Extend.LqStatistics | ||
| 2586 | LEFT JOIN ( | 2586 | LEFT JOIN ( |
| 2587 | SELECT | 2587 | SELECT |
| 2588 | hytk.md as F_StoreId, | 2588 | hytk.md as F_StoreId, |
| 2589 | - COALESCE(SUM(hytk.tkje), 0) as F_RefundAmount, | 2589 | + COALESCE(SUM(hytk.F_ActualRefundAmount), 0) as F_RefundAmount, |
| 2590 | COUNT(DISTINCT hytk.F_Id) as F_RefundCount | 2590 | COUNT(DISTINCT hytk.F_Id) as F_RefundCount |
| 2591 | FROM lq_hytk_hytk hytk | 2591 | FROM lq_hytk_hytk hytk |
| 2592 | WHERE hytk.F_IsEffective = 1 | 2592 | WHERE hytk.F_IsEffective = 1 |