This commit is contained in:
@ -940,17 +940,20 @@ namespace Epost.BLL
|
||||
return dal.IsFinishWorkByCar(endcount, matchid, block);
|
||||
}
|
||||
|
||||
public bool UpdateStateByCar(string matchid, string area,string block = "", string sku = "")
|
||||
public bool UpdateStateByCar(string matchid, string sku = "")
|
||||
{
|
||||
return dal.UpdateStateByCar(matchid,area, block, sku);
|
||||
return dal.UpdateStateByCar(matchid, sku);
|
||||
}
|
||||
|
||||
public bool IsFinishWork(int endcount, string block, string usercode = "", string area = "", string sku = "", string shopid = "", string matchid = "")
|
||||
{
|
||||
return dal.IsFinishWork(endcount, block, usercode, area, sku, shopid, matchid);
|
||||
}
|
||||
|
||||
|
||||
public bool IsSkuFinishWork(string sku, string matchid)
|
||||
{
|
||||
return dal.IsSkuFinishWork(sku, matchid);
|
||||
}
|
||||
public DataTable GetMatchOrder()
|
||||
{
|
||||
return dal.GetMatchOrder();
|
||||
|
@ -297,7 +297,7 @@ namespace Epost.BLL
|
||||
//if (blockfinish)
|
||||
//{
|
||||
// #region 点亮显示器
|
||||
|
||||
|
||||
// show.Title = "当前波次分播完成";
|
||||
// show.Contents = "拍下熄灭所有设备\r请扫描继续作业";
|
||||
// show.Color = EnumHelper.EMToDescriptionString(LightColor.Color.Green);
|
||||
@ -306,7 +306,7 @@ namespace Epost.BLL
|
||||
// show.Block = block;
|
||||
// show.Islock = false;
|
||||
// show.IsTwinkle = 1;
|
||||
|
||||
|
||||
// comBLL.ShowBoxMessage_M(show);
|
||||
// #endregion
|
||||
|
||||
@ -322,8 +322,13 @@ namespace Epost.BLL
|
||||
//}
|
||||
#endregion
|
||||
|
||||
#region 区内sku播完回传
|
||||
orderbll.UpdateStateByCar(model.Matchid,area, block, model.Sku);
|
||||
#region sku播完回传
|
||||
bool skubo = orderbll.IsSkuFinishWork(model.Sku, model.Matchid);
|
||||
if (skubo)
|
||||
{
|
||||
LogHelper.WriteLogInfo(model.Sku + "Sku播种完成" + model.Matchid);
|
||||
orderbll.UpdateStateByCar(model.Matchid, model.Sku);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 清除当前区已做完的sku
|
||||
|
Reference in New Issue
Block a user