]> insang Git - newton-cn_pos.git/commitdiff
쿼리오류수정
authornewton-cn <insang@kakao.com>
Tue, 14 Jan 2025 08:10:30 +0000 (17:10 +0900)
committernewton-cn <insang@kakao.com>
Tue, 14 Jan 2025 08:10:30 +0000 (17:10 +0900)
14 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.csproj.GenerateResource.cache
newton-cn/obj/Release/newton-cn.exe
newton-cn/obj/Release/newton-cn.pdb

index c3040eb52a6ca5746a20ca6c2feb69812b18cfd0..e8eeecf872b6410eaa0cc3e5dbbfd36be40da927 100644 (file)
Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ
index a567b486545bbc3bb0ca59f7e93eff9c565b7c7a..a313725b597f7255b589917860b6f714ae9730d9 100644 (file)
@@ -64,7 +64,7 @@ namespace newton_cn
             string sql = "";
             sql += @"
                 select
-                       CONVERT(CHAR(19), a1.ps_date, 20) as ps_date, a2.ct_code, a2.ct_name, a1.ps_prname, cast(a1.ps_qty as int) ps_qty,
+                       CONVERT(CHAR(19), a1.ps_date, 20) as ps_date, a2.ct_code, a2.ct_name+'('+a5.ct_phone+')' as ct_name, a1.ps_prname, cast(a1.ps_qty as int) ps_qty,
                        cast(
                                a1.ps_up
                                +
@@ -109,20 +109,15 @@ namespace newton_cn
                                on a3.pe_id= a1.pe_id and a3.ps_no= a1.ps_no
                        join ac a4
                                on a4.pe_id= a1.pe_id and a4.ac_fncd2 not in ('01', '00')
+                    join ct a5
+                               on a5.ct_code= a2.ct_code
                 where 
                        a1.ps_prcode in (
                                select pr_code from pr where kind_code= '1099'
                        )
                        and a1.ps_date between '" + selected + @"' and dateadd(day, 1, '" + selected + @"')
                 order by
-                       a1.pe_id desc;
-       
-                create table disposable_earn_point_status(
-                       pe_id varchar,
-                       ps_no varchar,
-                       is_earn bit default 0,
-                       udate datetime default getdate()
-                );
+                       a1.pe_id desc
             ";
 
             SqlCommand cmd_select = new SqlCommand(sql, conn);
index a3edecc5d666221a151c65467541a15fb64c0089..11bb6d437b584899356e4080e5fb796a5af2185d 100644 (file)
@@ -29,10 +29,10 @@ namespace newton_cn
             listView1.FullRowSelect = true;
 
             listView1.Columns.Add("구매일시", 160);
-            listView1.Columns.Add("회원명", 70);
+            listView1.Columns.Add("회원명", 105);
             listView1.Columns.Add("상품명", 170);
             listView1.Columns.Add("갯수", 50);
-            listView1.Columns.Add("적립대상금액", 100);
+            listView1.Columns.Add("대상금액", 70);
             listView1.Columns.Add("적립여부", 70);
             listView1.Columns.Add("pe_id", 70);
             listView1.Columns.Add("ps_no", 70);
index 1bcf285bc4634df68c5f994a777a7a743b41e52c..5aae992908a76e872a9e54eb84905b3f3ee08604 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.exe and b/newton-cn/bin/Debug/newton-cn.exe differ
index 9fe1ff613112fc9646bde4a1d72a363ddceb4a24..7952fa67139db34acbeaed9aae788bfcd6eabd06 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.pdb and b/newton-cn/bin/Debug/newton-cn.pdb differ
index e7dc73a8480eacaa4488df4e9b81d74584e35e78..fda79b3b436ee24d4a1e75bb16e4baa8d2639dd0 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.exe and b/newton-cn/bin/Release/newton-cn.exe differ
index e3d53e94ec80752e3cf552b35869a0cda4b7e389..39e9d370e88d8a03e229d705a29393bde5be9213 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.pdb and b/newton-cn/bin/Release/newton-cn.pdb differ
index 9bedaebc5ae2c153d1bdb9a11f2a8c841914f378..bcd570125e47562b351c709370137eea0fd21e63 100644 (file)
Binary files a/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
index f098744316e06715a79de94e57446dc6413633ca..2261fee3971550fb7234414bf40ff813c045f9e1 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 1bcf285bc4634df68c5f994a777a7a743b41e52c..5aae992908a76e872a9e54eb84905b3f3ee08604 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.exe and b/newton-cn/obj/Debug/newton-cn.exe differ
index 9fe1ff613112fc9646bde4a1d72a363ddceb4a24..7952fa67139db34acbeaed9aae788bfcd6eabd06 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.pdb and b/newton-cn/obj/Debug/newton-cn.pdb differ
index 1fabc86fa27053ab8dff0a0dc5ef48927a19592c..3d4625fc95d65182e0de5a006ff497bf91cf29a8 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.csproj.GenerateResource.cache and b/newton-cn/obj/Release/newton-cn.csproj.GenerateResource.cache differ
index e7dc73a8480eacaa4488df4e9b81d74584e35e78..fda79b3b436ee24d4a1e75bb16e4baa8d2639dd0 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.exe and b/newton-cn/obj/Release/newton-cn.exe differ
index e3d53e94ec80752e3cf552b35869a0cda4b7e389..39e9d370e88d8a03e229d705a29393bde5be9213 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ