|
|
|
@ -62,6 +62,29 @@ public class BookingGoodsStatusConfigController : ApiController
|
|
|
|
|
var res = _invokeService.GetBookingGoodsStatusConfigInfo(id);
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 批量删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="req">主表Ids</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost]
|
|
|
|
|
[Route("BatchDelBookingStatusConfig")]
|
|
|
|
|
public DataResult BatchDelBookingStatusConfig([FromBody] IdModel req)
|
|
|
|
|
{
|
|
|
|
|
var res = _invokeService.BatchDelBookingStatusConfig(req);
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 按Excel导入订舱货物状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="file">Excel文件</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost]
|
|
|
|
|
[Route("ImportBookingStatusConfigByExcel")]
|
|
|
|
|
public async Task<DataResult<string>> ImportBookingStatusConfigByExcel(IFormFile file)
|
|
|
|
|
{
|
|
|
|
|
var res = await _invokeService.ImportBookingStatusConfigByExcel(file);
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|