文件名从 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/OrderDetailsController.cs 修改 |
| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_DTO.BasicInfo; |
| | | using WIDESEAWCS_DTO.TaskInfo; |
| | | using WIDESEAWCS_IBasicInfoService; |
| | | using WIDESEAWCS_ISystemServices; |
| | | using WIDESEAWCS_ITaskInfoService; |
| | | using WIDESEAWCS_Model.Models; |
| | | using WIDESEAWCS_Model.Models.System; |
| | | |
| | | namespace WIDESEAWCS_WCSServer.Controllers.System |
| | | namespace WIDESEAWCS_Server.Controllers.BasicInfo |
| | | { |
| | | [Route("api/OrderDetails")] |
| | | [ApiController] |
| | |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | |
| | | [HttpPost,Route("ToMesBarc"), AllowAnonymous] |
| | | [HttpPost, Route("ToMesBarc"), AllowAnonymous] |
| | | public ToMesBarcRes ToMesBarc(int Barcodes) |
| | | { |
| | | return Service.ToMesBarc(Barcodes); |
| | | ToMesBarcRes? toMes = Service.ToMesBarc(Barcodes); |
| | | return toMes != null ? toMes : new ToMesBarcRes() { code = -1, type = false }; |
| | | } |
| | | } |
| | | } |