using DS.Module.Core; using DS.Module.Core.Data; using DS.WMS.Core.Code.Dtos; using DS.WMS.Core.Code.Interface; using DS.WMS.Core.Sea.Dtos; using DS.WMS.Core.Sea.Interface; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.OpApi.Controllers; /// /// 海运出口提单信息服务 /// public class SeaExportBillManageController : ApiController { private readonly ISeaExportBillManageService _invokeService; /// /// 构造函数 /// /// public SeaExportBillManageController(ISeaExportBillManageService invokeService) { _invokeService = invokeService; } /// /// 列表 /// /// /// [HttpPost] [Route("GetSeaExportBillManageList")] public DataResult> GetSeaExportBillManageList([FromBody] PageRequest request) { var res = _invokeService.GetListByPage(request); return res; } /// /// 编辑 /// /// /// [HttpPost] [Route("EditSeaExportBillManage")] public DataResult EditSeaExportBillManage([FromBody] SeaExportBillManageReq model) { var res = _invokeService.EditSeaExportBillManage(model); return res; } /// /// 详情 /// /// /// [HttpGet] [Route("GetSeaExportBillManageInfo")] public DataResult GetSeaExportBillManageInfo([FromQuery] string id) { var res = _invokeService.GetSeaExportBillManageInfo(id); return res; } }