From f632ccf10c5e3bcbc88df67847daf55e8a6ce5c6 Mon Sep 17 00:00:00 2001 From: hyelinjung Date: Thu, 19 Feb 2026 10:00:00 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=B4=EA=B8=89=ED=98=95=20=EB=AA=A8?= =?UTF-8?q?=EB=8D=B8=20=EA=B8=B0=EC=A1=B4=20key(88code)=20-=20value(itemco?= =?UTF-8?q?de)=20=EC=97=90=EC=84=9C=20=EC=B2=B4=ED=97=98=ED=8C=90=20?= =?UTF-8?q?=ED=92=88=EB=AA=A9=20=EC=B6=94=EA=B0=80=EB=90=98=EC=96=B4=20key?= =?UTF-8?q?(itemcode)=20-=20value(88code)=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OrderPackingProcessor/mainForm.vb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OrderPackingProcessor/mainForm.vb b/OrderPackingProcessor/mainForm.vb index fa25646..6612809 100644 --- a/OrderPackingProcessor/mainForm.vb +++ b/OrderPackingProcessor/mainForm.vb @@ -1,4 +1,4 @@ -Imports System.IO +Imports System.IO Imports System.IO.Ports Imports System.Management Imports System.Reflection.Emit @@ -248,7 +248,7 @@ Public Class mainForm Private defaultData(defaultList.refer) As String ''보급형 88코드 - Private lowProdList As New Dictionary(Of String, String) ''key:88 vlaue: itemcode + Private lowProdList As New Dictionary(Of String, String) ''key: itemcode value: 88_Code ''보급형 기기 포함 Private lowProdContain As Boolean = False '' 세트코드 @@ -321,7 +321,7 @@ Public Class mainForm If DBQueryReader(cmd) Then For i = 0 To sqlDataQuery.Length - 1 If i Mod 2 = 1 Then - lowProdList.Add(sqlDataQuery(queryFlag - 1), sqlDataQuery(queryFlag)) + lowProdList.Add(sqlDataQuery(queryFlag), sqlDataQuery(queryFlag - 1)) End If queryFlag += 1 Next @@ -3756,7 +3756,7 @@ Public Class mainForm End If Else If orderSwitch = True Then - If lowProdList.ContainsKey(playCode) Then + If lowProdList.ContainsValue(playCode) Then If oybtn.Checked Then Return "PRODSCAN" Else @@ -4169,11 +4169,11 @@ Public Class mainForm prodArray(itemCode.code, dataCount) = jQuery.SelectToken(apiCommand(parsingCode.code)).ToString prodArray(itemCode.name, dataCount) = jQuery.SelectToken(apiCommand(parsingCode.name)).ToString Else - errorOut("등록오류") + errorOut("등록오류") errorGen("등록 데이터 중 제품이 등록되어 있지 않는 항목이 존재합니다.") Return False End If - If lowProdList.ContainsValue(prodArray(itemCode.code, dataCount)) And lowProdContain = False Then + If lowProdList.ContainsKey(prodArray(itemCode.code, dataCount)) And lowProdContain = False Then lowProdContain = True End If