hutongqing
2024-12-10 8d341db9d2d5699d527c88c935f0c4ce255a57a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_IApprovalService;
using WIDESEA_Model.Models;
 
namespace WIDESEA_WMSServer.Controllers.Approval
{
    [Route("api/[controller]")]
    [ApiController]
    public class ApprovalTaskController : ApiBaseController<IApprovalTaskService, Dt_ApprovalTask>
    {
        public ApprovalTaskController(IApprovalTaskService service) : base(service)
        {
        }
 
        [HttpGet, HttpPost, Route("AuditAgree")]
        public WebResponseContent AuditAgree(int sourceKey)
        {
            return Service.AuditAgree(sourceKey);
        }
 
        [HttpGet, HttpPost, Route("AuditReject")]
        public WebResponseContent AuditReject(int sourceKey)
        {
            return Service.AuditReject(sourceKey);
        }
    }
}