]> insang Git - newton-cn_pos.git/commitdiff
오류 수정
authornewton-cn <insang@kakao.com>
Thu, 1 May 2025 06:38:10 +0000 (15:38 +0900)
committernewton-cn <insang@kakao.com>
Thu, 1 May 2025 06:38:10 +0000 (15:38 +0900)
13 files changed:
.vs/newton-cn/v16/.suo
newton-cn/DBConnector.cs
newton-cn/Form5.cs
newton-cn/bin/Debug/newton-cn.exe
newton-cn/bin/Debug/newton-cn.pdb
newton-cn/bin/Release/newton-cn.exe
newton-cn/bin/Release/newton-cn.pdb
newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache
newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache
newton-cn/obj/Debug/newton-cn.exe
newton-cn/obj/Debug/newton-cn.pdb
newton-cn/obj/Release/newton-cn.exe
newton-cn/obj/Release/newton-cn.pdb

index 20ef7ecdb22ba2654d46367f442819e8fe392540..0044392eb167d3964c9cde867c92d40d53041501 100644 (file)
Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ
index 5d31fd32bd531aa5f5b05e5db6480d8eb3325442..48822f679876c2512be20c5c97c2ffff8426f665 100644 (file)
@@ -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);
index 60ec262db27bd21a7120040abdf44620dfde6c2a..337e89c15e507e19544b1b9ff23a5905d9d8a84a 100644 (file)
@@ -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;
index 45981b2b355c92402fd0a0987b1b4502a6d92c85..b6ab76398465f5e244d3cacddf5d3ca3a277ebbf 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.exe and b/newton-cn/bin/Debug/newton-cn.exe differ
index 9937db620cfb6a3158d50156075bd78c4a9a1f1b..88f94014e1f6590b3f3249504f3920f4b80375fe 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.pdb and b/newton-cn/bin/Debug/newton-cn.pdb differ
index 4b77901432ed236c62e0ab539f9cb6564ee5f8f7..7cd0a92b391acd361c4c7aa6f3a4d3b3b7c9b784 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.exe and b/newton-cn/bin/Release/newton-cn.exe differ
index 2cd624afbc2bbcb4aae2de79a4a0affeb0a5b253..55a898c9d441f0b8d3234d8a21118cd90772ce06 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.pdb and b/newton-cn/bin/Release/newton-cn.pdb differ
index c1257ac84767f333b9be35b43858523e04b1fc60..c038318b31d9100802f7b40c77503409d0bdcd77 100644 (file)
Binary files a/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
index f5e894aea93a73e58fa9d4feab241bc197ee1a40..654fe63c3d45a2e8165502122afabf3ee530b55b 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache and b/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache differ
index 45981b2b355c92402fd0a0987b1b4502a6d92c85..b6ab76398465f5e244d3cacddf5d3ca3a277ebbf 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.exe and b/newton-cn/obj/Debug/newton-cn.exe differ
index 9937db620cfb6a3158d50156075bd78c4a9a1f1b..88f94014e1f6590b3f3249504f3920f4b80375fe 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.pdb and b/newton-cn/obj/Debug/newton-cn.pdb differ
index 4b77901432ed236c62e0ab539f9cb6564ee5f8f7..7cd0a92b391acd361c4c7aa6f3a4d3b3b7c9b784 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.exe and b/newton-cn/obj/Release/newton-cn.exe differ
index 2cd624afbc2bbcb4aae2de79a4a0affeb0a5b253..55a898c9d441f0b8d3234d8a21118cd90772ce06 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ