From: newton-cn Date: Thu, 1 May 2025 06:38:10 +0000 (+0900) Subject: 오류 수정 X-Git-Url: https://git.insang.kr/gitweb/?a=commitdiff_plain;h=a0f7c4e36d2292b10dff12905474f6d6bc01b3c2;p=wevape-lu1_pos.git 오류 수정 --- diff --git a/.vs/newton-cn/v16/.suo b/.vs/newton-cn/v16/.suo index 20ef7ec..0044392 100644 Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ diff --git a/newton-cn/DBConnector.cs b/newton-cn/DBConnector.cs index 5d31fd3..48822f6 100644 --- a/newton-cn/DBConnector.cs +++ b/newton-cn/DBConnector.cs @@ -43,7 +43,7 @@ namespace newton_cn string sql = ""; sql += @" - insert into disposable_earn_point_status (pe_id, ps_no, is_earn) values('" + pe_id + @"', '" + ps_no + @"', 1, '" + addPoint + @"', '" + is_dc + @"') + insert into disposable_earn_point_status (pe_id, ps_no, is_earn, point, is_dc) values('" + pe_id + @"', '" + ps_no + @"', 1, " + addPoint + @", " + is_dc + @") "; SqlCommand cmd_select = new SqlCommand(sql, conn); diff --git a/newton-cn/Form5.cs b/newton-cn/Form5.cs index 60ec262..337e89c 100644 --- a/newton-cn/Form5.cs +++ b/newton-cn/Form5.cs @@ -121,14 +121,15 @@ namespace newton_cn for (int i = 0; i < listView1.Columns.Count; i++) { - if (i == 3) + if (i == 4) { point = Convert.ToInt32(item.SubItems[i].Text); } - else if (i == 4) + // qty 곱하기 로직 제외 + /*else if (i == 3) { point = point * Convert.ToInt32(item.SubItems[i].Text); - } + }*/ else if (i == 5) { is_earn = item.SubItems[i].Text == "X" ? 0 : 1; diff --git a/newton-cn/bin/Debug/newton-cn.exe b/newton-cn/bin/Debug/newton-cn.exe index 45981b2..b6ab763 100644 Binary files a/newton-cn/bin/Debug/newton-cn.exe and b/newton-cn/bin/Debug/newton-cn.exe differ diff --git a/newton-cn/bin/Debug/newton-cn.pdb b/newton-cn/bin/Debug/newton-cn.pdb index 9937db6..88f9401 100644 Binary files a/newton-cn/bin/Debug/newton-cn.pdb and b/newton-cn/bin/Debug/newton-cn.pdb differ diff --git a/newton-cn/bin/Release/newton-cn.exe b/newton-cn/bin/Release/newton-cn.exe index 4b77901..7cd0a92 100644 Binary files a/newton-cn/bin/Release/newton-cn.exe and b/newton-cn/bin/Release/newton-cn.exe differ diff --git a/newton-cn/bin/Release/newton-cn.pdb b/newton-cn/bin/Release/newton-cn.pdb index 2cd624a..55a898c 100644 Binary files a/newton-cn/bin/Release/newton-cn.pdb and b/newton-cn/bin/Release/newton-cn.pdb differ diff --git a/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache index c1257ac..c038318 100644 Binary files a/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache b/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache index f5e894a..654fe63 100644 Binary files a/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache and b/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache differ diff --git a/newton-cn/obj/Debug/newton-cn.exe b/newton-cn/obj/Debug/newton-cn.exe index 45981b2..b6ab763 100644 Binary files a/newton-cn/obj/Debug/newton-cn.exe and b/newton-cn/obj/Debug/newton-cn.exe differ diff --git a/newton-cn/obj/Debug/newton-cn.pdb b/newton-cn/obj/Debug/newton-cn.pdb index 9937db6..88f9401 100644 Binary files a/newton-cn/obj/Debug/newton-cn.pdb and b/newton-cn/obj/Debug/newton-cn.pdb differ diff --git a/newton-cn/obj/Release/newton-cn.exe b/newton-cn/obj/Release/newton-cn.exe index 4b77901..7cd0a92 100644 Binary files a/newton-cn/obj/Release/newton-cn.exe and b/newton-cn/obj/Release/newton-cn.exe differ diff --git a/newton-cn/obj/Release/newton-cn.pdb b/newton-cn/obj/Release/newton-cn.pdb index 2cd624a..55a898c 100644 Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ