Update add customer query

This commit is contained in:
kougyoku 2019-10-11 23:45:10 -07:00
parent 56610459ba
commit 02421864b1

View File

@ -56,7 +56,7 @@ namespace QueueSys
{
using (IDbConnection cnn = new SQLiteConnection(LoadConnectionString()))
{
string strQuery = "INSERT INTO active_customers (customer_name, num_bags, employee, status_id) VALUES (@customer_name, @num_bags, @employee, @status)";
string strQuery = "INSERT INTO active_customers (customer_name, num_bags, employee, status_id) VALUES (@customer_name, @num_bags, @employee, 3)";
cnn.Execute(strQuery, customer);
}
}