feat 餐补余额导入
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Dlhis.Canteen.MealSupplementRecord.Request;
|
||||
using Dlhis.Canteen.MealSupplementRecord.Response;
|
||||
using Dlhis.Canteen.MealSupplementRecord.Services;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||
using Kurisu.Core.DataAccess.Dto;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -44,4 +45,14 @@ public class MealSupplementsRecordController
|
||||
{
|
||||
return await _mealSupplementRecordService.GetMyMealSupplementRecords(request);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 期初餐补余额导入
|
||||
/// </summary>
|
||||
[HttpPost("init/import")]
|
||||
[Transactional]
|
||||
public async Task InitImportAsync(List<MealSupplementInitImportRequest> requests)
|
||||
{
|
||||
await _mealSupplementRecordService.InitImportAsync(requests);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user