This commit is contained in:
@ -375,7 +375,7 @@ namespace Epost.BLL
|
||||
|
||||
comBLL.RemoveBoxMessage_M(show);
|
||||
// data.Parameter = scanStr;
|
||||
Hangup_SKU(scanStr, data.Block, data.Area);
|
||||
Hangup_SKU(scanStr, data.Block, data.Area,matchid);
|
||||
//删除sku对应缓存
|
||||
List<ResultMessageModel> sdown = downCacheDAL.GetPlanJobDownList().FindAll(p => p.Parameter == scanStr && p.Parameter == qdt.Rows[0]["sku"].ToString()&&p.Block == data.Block&&p.Area ==data.Area);
|
||||
downCacheDAL.UpdateJobDownModelList(sdown, EdownCommend.Execute);
|
||||
@ -505,11 +505,17 @@ namespace Epost.BLL
|
||||
#endregion
|
||||
|
||||
#region SKU挂起/缺货
|
||||
public void Hangup_SKU(string sku, string block, string area, ResultMessageModel data = null)
|
||||
public void Hangup_SKU(string sku, string block, string area,string matchid, ResultMessageModel data = null)
|
||||
{
|
||||
List<LabelParamModel> list = new List<LabelParamModel>();
|
||||
//查询当前通道sku是否有任务
|
||||
DataTable dt = orderbll.getOrderListBysku(block, sku,area);
|
||||
DataTable dt = orderbll.getOrderListBysku(block, sku,area, matchid);
|
||||
if (dt == null || dt.Rows.Count == 0)
|
||||
{
|
||||
dt = orderbll.getOrderHisListBysku(block, sku, area, matchid);
|
||||
//回显挂起
|
||||
}
|
||||
|
||||
if (dt != null && dt.Rows.Count > 0)
|
||||
{
|
||||
// 将当前通道所有sku正在亮的设备熄灭
|
||||
|
Reference in New Issue
Block a user