This commit is contained in:
jl
2025-06-24 21:27:13 +08:00
parent 7ed7a8cd88
commit cc38437359
10 changed files with 55 additions and 109 deletions

View File

@ -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;