田工版本初次提交
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user