This commit is contained in:
@ -2419,15 +2419,16 @@ namespace Epost.DAL
|
||||
}
|
||||
#endregion
|
||||
#region 修改订单信息
|
||||
public bool Updatestate(string matchid, string readdate)
|
||||
public bool Updatestate(string matchid, string shopid)
|
||||
{
|
||||
try
|
||||
{
|
||||
string sql = string.Format(" update orders set state =0 where matchid='{0}' and readtime='{1}' and state=99",
|
||||
string sql = string.Format(" update orders set state =3 where matchid='{0}' and shopid='{1}' and state = 0 and oprationstate=3",
|
||||
matchid,
|
||||
readdate);
|
||||
shopid);
|
||||
|
||||
long x = db.UpdateSql(sql);
|
||||
LogHelper.WriteLogInfo(x + "换箱"+sql);
|
||||
if (x > 0)
|
||||
return true;
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user