田工版本初次提交

This commit is contained in:
2025-12-11 14:13:27 +08:00
parent ab6e620f8e
commit fe7f5313bc
146 changed files with 86546 additions and 3 deletions

View File

@@ -376,7 +376,7 @@ namespace BLWWS_BLL
int result = 0;
if (ds != null && ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0)
{
string sql = "update tb_RoomCheck set CheckOutDate='" + checkOutDate.ToString("yyyy-MM-dd HH:mm:ss") + "' where Code='" + code + "' and RoomNumber='" + roomNumber + "' and isnull(CheckOutDate,'')=''";
string sql = "update tb_RoomCheck set CheckOutDate='" + checkOutDate.ToString("yyyy-MM-dd HH:mm:ss") + "',SyncCheckOut=0 where Code='" + code + "' and RoomNumber='" + roomNumber + "' and isnull(CheckOutDate,'')=''";
result = SqlHelper.ExecuteNonQuery(SqlHelper.connectionString, CommandType.Text, sql);
if (result > 0 && !string.IsNullOrEmpty(_face_url))
{
@@ -437,7 +437,7 @@ namespace BLWWS_BLL
"','" + roomNumber +
"','" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") +
"'," + 0 +
"," + 1 +
"," + 0 +
"," + 0 +
")";
result = SqlHelper.ExecuteNonQuery(SqlHelper.connectionString, CommandType.Text, sql);