using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_Core.BaseController;
|
using WIDESEAWCS_DTO.TaskInfo;
|
using WIDESEAWCS_ITaskInfoService;
|
using WIDESEAWCS_Model.Models;
|
|
|
namespace WIDESEAWCS_Server.Controllers.Task
|
{
|
[Route("api/TaskExecuteDetail")]
|
[ApiController]
|
public class TaskExecuteDetailController : ApiBaseController<ITaskExecuteDetailService, Dt_TaskExecuteDetail>
|
{
|
public TaskExecuteDetailController(ITaskExecuteDetailService service) : base(service)
|
{
|
}
|
|
[HttpPost, HttpGet, Route("GetDetailInfo")]
|
public WebResponseContent GetDetailInfo(int taskNum)
|
{
|
return Service.GetDetailInfo(taskNum);
|
}
|
|
[HttpPost, HttpGet, Route("GetDetailDatas")]
|
public WebResponseContent GetDetailDatas(int taskNum)
|
{
|
return Service.GetDetailDatas(taskNum);
|
}
|
}
|
}
|