using DS.Module.Core; using DS.Module.Core.Attributes; using DS.Module.DjyServiceStatus; using DS.WMS.Core.TaskPlat.Dtos; using DS.WMS.Core.TaskPlat.Interface; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; namespace DS.WMS.TaskApi.Controllers; /// /// 任务分配相关接口 /// public class TaskAllocationController : ApiController { private readonly ITaskManageService taskManageService; public TaskAllocationController(ITaskManageService taskManageService) { this.taskManageService = taskManageService; } /// /// 获取未设置分配的任务类型列表 /// [HttpGet("GetUnSetTaskTypeList")] public async Task GetUnSetTaskTypeList([FromQuery] long[] taskIds, [FromBody] List userInfo) { //await taskManageService.SetTaskOwner(taskIds, userInfo); //return DataResult.SuccessedWithDesc(nameof(MultiLanguageConst.OperationSuccess)); return default; } /// /// 任务分配设置保存 /// [HttpPost("Save")] public async Task Save() { //await taskManageService.SetTaskOwner(taskIds, userInfo); //return DataResult.SuccessedWithDesc(nameof(MultiLanguageConst.OperationSuccess)); return default; } }