This commit is contained in:
jl
2025-06-19 16:50:57 +08:00
parent 67ec46d1da
commit 0d861d7161
7 changed files with 63 additions and 32 deletions

View File

@ -137,20 +137,13 @@ namespace Epost.BLL
else {
lablemodel.Quantity = shopid;
lablemodel.Mode = "10";
}
lablemodel.Mode = "10";
}
lablemodel.Address = labelItem["address"].ToString();
lablemodel.ControlIP = item["ControlIP"].ToString();
lablemodel.Command = "DISPLAY_JOB";
lablemodel.Type = "N";
lablemodel.Uid = labelItem["address"].ToString();
lablemodel.Type = "N";
lablemodel.Uid = labelItem["address"].ToString();
list.Add(lablemodel);
}
@ -207,6 +200,12 @@ namespace Epost.BLL
}
#endregion
#region
public bool FORMAT_DEVICE(LabelParamModel model)
{
return dal.FORMAT_DEVICE(model);
}
#endregion
#region
public bool CONNECT(LabelParamModel model)
{

View File

@ -932,8 +932,11 @@ namespace Epost.BLL
{
return dal.UpOrderStateBybat(id);
}
public bool UpdateStateBymatchid(string matchid)
{
return dal.UpdateStateBymatchid(matchid);
}
public bool IsFinishWorkByCar(int endcount, string matchid, string block="")
{

View File

@ -328,6 +328,11 @@ namespace Epost.BLL
{
LogHelper.WriteLogInfo(model.Sku + "Sku播种完成" + model.Matchid);
orderbll.UpdateStateByCar(model.Matchid, model.Sku);
bool matchbo= orderbll.IsSkuFinishWork("", model.Matchid);
if (matchbo) {
LogHelper.WriteLogInfo("波次播种完成" + model.Matchid);
orderbll.UpdateStateBymatchid(model.Matchid);
}
}
#endregion