料架功能修改,亮灯看板功能修改

This commit is contained in:
2025-02-06 09:09:53 +08:00
parent 9efae261f4
commit 0f403387ed
8 changed files with 219 additions and 33 deletions

View File

@@ -17,8 +17,15 @@ public class BigScreenController : BaseController
{
this._BigScreenService = _BigScreenService;
}
//TODO 综合查询料架情况
[HttpGet("SearchBigScreenInformation")]
public IActionResult SearchBigScreenInformation()
{
var response = _BigScreenService.SearchBigScreenInformation();
return SUCCESS(response);
}
//TODO 查询料架灯 亮和灭 情况
[HttpGet("searchShelfLightInfomation")]
public IActionResult SearchShelfLightInfomation()

View File

@@ -113,5 +113,43 @@ namespace DOAN.Admin.WebApi.Controllers.PBL
return ToResponse(_StoragelocationService.Delete(idArr));
}
/// <summary>
/// 获取料架下拉数据
/// </summary>
/// <returns></returns>
[HttpGet("GetRackCodeOptions")]
[AllowAnonymous]
public IActionResult GetRackCodeOptions()
{
var response = _StoragelocationService.GetRackCodeOptions();
return SUCCESS(response);
}
/// <summary>
/// 获取BOM中的零件号下拉
/// </summary>
/// <returns></returns>
[HttpGet("GetPartNumberOptions")]
[AllowAnonymous]
public IActionResult GetPartNumberOptions()
{
var response = _StoragelocationService.GetPartNumberOptions();
return SUCCESS(response);
}
/// <summary>
/// 修改料架的零件号
/// </summary>
/// <returns></returns>
[HttpGet("UpdateRackPartNumber")]
[AllowAnonymous]
public IActionResult UpdateRackPartNumber(string rackCode, int layerNum, string partnumber)
{
var response = _StoragelocationService.UpdateRackPartNumber(rackCode,layerNum,partnumber);
return SUCCESS(response);
}
}
}