This commit is contained in:
@ -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()
|
||||
{
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user