|
@@ -1,4 +1,5 @@
|
|
|
using Hotline.Orders;
|
|
|
+using Hotline.Share.Attributes;
|
|
|
using Hotline.Share.Dtos;
|
|
|
using Hotline.Share.Dtos.Snapshot;
|
|
|
using Hotline.Share.Enums.Order;
|
|
@@ -207,7 +208,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
|
|
|
/// </summary>
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
- [Description("市民红包审批")]
|
|
|
+ [ExportExcel("市民红包审批")]
|
|
|
public ISugarQueryable<SnapshotOrderAuditItemsOutDto> GetRedPackAuditItems(SnapshotOrderAuditItemsInDto dto)
|
|
|
{
|
|
|
ERedPackAuditStatus? status = null;
|
|
@@ -285,7 +286,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
|
|
|
/// </summary>
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
- [Description("网格员红包审批")]
|
|
|
+ [ExportExcel("网格员红包审批")]
|
|
|
public ISugarQueryable<SnapshotOrderGuiderAuditItemsOutDto> GetRedPackGuiderAuditItems(SnapshotOrderGuiderAuditItemsInDto dto)
|
|
|
{
|
|
|
var areaCode = _sessionContext.OrgAreaCode;
|
|
@@ -434,7 +435,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
|
|
|
/// </summary>
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
- [Description("市民红包发放记录")]
|
|
|
+ [ExportExcel("市民红包发放记录")]
|
|
|
public ISugarQueryable<SnapshotRedPackRecordItemsOutDto> GetRedPackRecordItems(SnapshotRedPackRecordItemsInDto dto)
|
|
|
{
|
|
|
var query = _redPackRecordRepository.Queryable()
|
|
@@ -471,7 +472,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
|
|
|
return order;
|
|
|
}
|
|
|
|
|
|
- [Description("网格员红包发放记录")]
|
|
|
+ [ExportExcel("网格员红包发放记录")]
|
|
|
public ISugarQueryable<SnapshotRedPackRecordItemsGuiderOutDto> GetRedPackRecordGuiderItems(SnapshotRedPackRecordItemsGuiderInDto dto)
|
|
|
{
|
|
|
var query = _redPackRecordRepository.Queryable()
|
|
@@ -492,7 +493,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
|
|
|
return query;
|
|
|
}
|
|
|
|
|
|
- [Description("红包发放明细")]
|
|
|
+ [ExportExcel("红包发放明细")]
|
|
|
public ISugarQueryable<SnapshotRedPackRecordSendOutDto> GetRedPackRecordDetail(SnapshotRedPackRecordSendInDto dto)
|
|
|
{
|
|
|
var query = _redPackRecordRepository.Queryable()
|
|
@@ -524,7 +525,7 @@ public class RedPackApplication : IRedPackApplication, IScopeDependency
|
|
|
/// </summary>
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
- [Description("补充发放")]
|
|
|
+ [ExportExcel("补充发放")]
|
|
|
public ISugarQueryable<SnapshotRedPackRecordSupplementItemsOutDto> GetRedPackRecordSupplementItems(SnapshotRedPackRecordSupplementItemsInDto dto)
|
|
|
{
|
|
|
var query = _supplementRecordRepository.Queryable()
|