|
@@ -125,6 +125,18 @@ public class RedPackController : BaseController
|
|
|
public async Task UpdateRedPackRecordAsync([FromBody] UpdateRedPackRecordInDto dto)
|
|
|
=> await _redPackApplication.UpdateRedPackRecordAsync(dto);
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 补充发放集合基础信息
|
|
|
+ /// </summary>
|
|
|
+ [HttpGet("record/supplement/basedata")]
|
|
|
+ public async Task<Dictionary<string, object>> GetRedPackRecordSupplementBaseDataAsync()
|
|
|
+ {
|
|
|
+ return new Dictionary<string, object>()
|
|
|
+ {
|
|
|
+ { "industry", await _industryRepository.GetDataBaseAsync() }
|
|
|
+ };
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 补充发放集合
|
|
|
/// </summary>
|
|
@@ -156,9 +168,7 @@ public class RedPackController : BaseController
|
|
|
[HttpGet("audit/basedata")]
|
|
|
public async Task<Dictionary<string, object>> GetAuditBaseDataAsync()
|
|
|
{
|
|
|
- var industry = await _industryRepository.Queryable()
|
|
|
- .Select(m => new { m.Id, m.Name })
|
|
|
- .ToListAsync();
|
|
|
+ var industry = await _industryRepository.GetDataBaseAsync();
|
|
|
|
|
|
var configAmount = await _industryRepository.Queryable()
|
|
|
.Select(m => m.CitizenReadPackAmount)
|