完善软件逻辑
This commit is contained in:
@ -2337,7 +2337,7 @@ namespace WCS.BLL.HardWare
|
||||
{
|
||||
//获取当前板所有库位
|
||||
var storeInfos = DbHelp.db.Queryable<StoreInfo>()
|
||||
.Where(t => t.BoardId == boardId)
|
||||
.Where(t => t.BoardId == boardId && t.ShelfId == ShelfId)
|
||||
.ToList();
|
||||
//当前设置的板库位数
|
||||
var boardStoreNumber = storeInfos.Count();
|
||||
|
@ -24,6 +24,11 @@ namespace WCS.BLL.Services.Service
|
||||
{
|
||||
public class SingleLightService : ISingleLightService
|
||||
{
|
||||
/// <summary>
|
||||
/// 单灯 一个库位对应一个硬件
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<ResponseCommon<object>> SingleLightControl(SingleLightControlRequest request)
|
||||
{
|
||||
try
|
||||
|
Reference in New Issue
Block a user