From d95e7e32762490f0aeceda7b9ad5b956a75d350e Mon Sep 17 00:00:00 2001 From: Crudelis Date: Thu, 26 Oct 2023 10:38:42 +0900 Subject: [PATCH] =?UTF-8?q?=ED=99=98=EB=B6=88=EC=8B=9C=20Database=20Insert?= =?UTF-8?q?=20Date=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HSUCO_Cargo_Garage_Operation_Program/Database.cs | 2 +- HSUCO_Cargo_Garage_Operation_Program/Master.Designer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HSUCO_Cargo_Garage_Operation_Program/Database.cs b/HSUCO_Cargo_Garage_Operation_Program/Database.cs index 301a777..d8eb138 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/Database.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/Database.cs @@ -774,7 +774,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program return false; } } - query = $"INSERT INTO LedgerProceeds(UserNo, Type, Amount, Date) Values('{no}',{(int)EProceedsType.Refunds},{-amount},'{DateTime.Now}')"; + query = $"INSERT INTO LedgerProceeds(UserNo, Type, Amount, Date) Values('{no}',{(int)EProceedsType.Refunds},{-amount},'{DateTime.Now.DateTimeDatabase()}')"; using (var command = _sqLiteConnection.CreateCommand()) { command.CommandText = query; diff --git a/HSUCO_Cargo_Garage_Operation_Program/Master.Designer.cs b/HSUCO_Cargo_Garage_Operation_Program/Master.Designer.cs index 7ec131a..bcb5f6a 100644 --- a/HSUCO_Cargo_Garage_Operation_Program/Master.Designer.cs +++ b/HSUCO_Cargo_Garage_Operation_Program/Master.Designer.cs @@ -74,7 +74,7 @@ this.metroTabControl_Main.Dock = System.Windows.Forms.DockStyle.Fill; this.metroTabControl_Main.Location = new System.Drawing.Point(20, 60); this.metroTabControl_Main.Name = "metroTabControl_Main"; - this.metroTabControl_Main.SelectedIndex = 3; + this.metroTabControl_Main.SelectedIndex = 0; this.metroTabControl_Main.Size = new System.Drawing.Size(984, 688); this.metroTabControl_Main.TabIndex = 0; this.metroTabControl_Main.UseSelectable = true;