Forráskód Böngészése

1、团组未审核数据 --> 增加搜索条件(团组名称)

LEIYI 7 hónapja%!(EXTRA string=óta)
szülő
commit
b82aabc85e

+ 2 - 1
OASystem/OASystem.Api/Controllers/FinancialController.cs

@@ -5856,7 +5856,7 @@ Group by PriceType ", dto.diId);
         /// <param name="endDt"></param>
         /// <returns></returns>
         [HttpGet]
-        public async Task<IActionResult> GroupUnAuditFeeList(string beginDt,string endDt)
+        public async Task<IActionResult> GroupUnAuditFeeList(string beginDt,string endDt,string teamName)
         {
             var jw = JsonView(false);
 
@@ -5874,6 +5874,7 @@ Group by PriceType ", dto.diId);
                                                 x.VisitDate >= _beginDt &&
                                                 x.VisitDate <= _endDt
                                              )
+                                       .WhereIF(!string.IsNullOrEmpty(teamName), x => x.TeamName.Equals(teamName))
                                        .ToList();
             var _groupIds = _groupDatas.Select(x => x.Id).ToList();
             if (_groupIds.Count < 1)