Browse Source

删除无用代码并新增团组费用类型

删除 FinancialController.cs 中无用的 GetPagePriceTypeData 调用。
在 DailyFeePaymentRepository.cs 中,typeIds 列表新增值 104,表示团组费用。
LEIYI 2 months ago
parent
commit
768fa03d2e

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

@@ -89,7 +89,6 @@ namespace OASystem.API.Controllers
             var currUserInfo = JwtHelper.SerializeJwt(HttpContext.Request.Headers.Authorization);
             if (currUserInfo == null) return Ok(JsonView(false, "请传入token!"));
 
-
             var result = await _daiRep.GetPagePriceTypeData(dto,currUserInfo.UserId);
 
             if (result == null || result.Code != 0)

+ 1 - 0
OASystem/OASystem.Infrastructure/Repositories/Financial/DailyFeePaymentRepository.cs

@@ -58,6 +58,7 @@ namespace OASystem.Infrastructure.Repositories.Financial
                 51, //其他费用
                 55, //大运会
                 90, //各部门基础固定费用明细
+                104, //团组费用
             };
             var priceTypeData = setTypeData.Where(s => typeIds.Contains(s.Id)).ToList();
             var priceSubTypeData = setData.Where(s => typeIds.Contains(s.STid)).ToList();