환불시 Database Insert Date 버그 수정

This commit is contained in:
2023-10-26 10:38:42 +09:00
parent e84fe77968
commit d95e7e3276
2 changed files with 2 additions and 2 deletions

View File

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

View File

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