You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
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;
|
|
|
|
|
|
/// <summary>
|
|
/// 任务分配相关接口
|
|
/// </summary>
|
|
public class TaskAllocationController : ApiController
|
|
{
|
|
private readonly ITaskManageService taskManageService;
|
|
|
|
|
|
public TaskAllocationController(ITaskManageService taskManageService)
|
|
{
|
|
this.taskManageService = taskManageService;
|
|
}
|
|
/// <summary>
|
|
/// 获取未设置分配的任务类型列表
|
|
/// </summary>
|
|
[HttpGet("GetUnSetTaskTypeList")]
|
|
public async Task<DataResult> GetUnSetTaskTypeList([FromQuery] long[] taskIds, [FromBody] List<RecvUserInfo> userInfo)
|
|
{
|
|
//await taskManageService.SetTaskOwner(taskIds, userInfo);
|
|
//return DataResult.SuccessedWithDesc(nameof(MultiLanguageConst.OperationSuccess));
|
|
return default;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 任务分配设置保存
|
|
/// </summary>
|
|
[HttpPost("Save")]
|
|
public async Task<DataResult> Save()
|
|
{
|
|
//await taskManageService.SetTaskOwner(taskIds, userInfo);
|
|
//return DataResult.SuccessedWithDesc(nameof(MultiLanguageConst.OperationSuccess));
|
|
return default;
|
|
}
|
|
} |