增加小格口绑定
This commit is contained in:
@ -2471,6 +2471,28 @@ namespace Epost.DAL
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 修改小格口号
|
||||
public bool UpdateSkuLoc(string sku,string smallloc)
|
||||
{
|
||||
try
|
||||
{
|
||||
string sql = string.Format(" update orders set partcode = '{0}' where sku='{1}'",
|
||||
smallloc,
|
||||
sku);
|
||||
|
||||
long x = db.UpdateSql(sql);
|
||||
LogHelper.WriteLogInfo(x+"修改小格口信息"+sql);
|
||||
if (x > 0)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.WriteLogInfo("修改小格口号出错1" + ex.Message);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user