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

@ -91,6 +91,18 @@ namespace Epost.DAL
}
#endregion
#region
public bool FORMAT_DEVICE(LabelParamModel model)
{
model.Address = "9999";
model.Command = "FORMAT_DEVICE";
model.Parameter = "";
model.Timeout = "0.5";
return Send(model);
}
#endregion
#region
public bool INPUT_ADDRESS_DATA()
{

View File

@ -695,13 +695,14 @@ namespace Epost.DAL
#region
public bool UpdateStateByOrderID(string orderid)
public bool UpdateStateBymatchid(string matchid)
{
try
{
string upsql = string.Format("update orders set oprationstate=3,truequantity=quantity, state=3 where orderid='{0}'",
orderid);
string upsql = string.Format("update orders set state=3 where matchid='{0}'",
matchid);
long x = db.UpdateSql(upsql);
LogHelper.WriteLogInfo(x+"修改波次拣选完成"+upsql);
if (x > 0)
return true;
return false;