|
@ -710,6 +710,10 @@ and b.item_no = '{0}' and a.barcode_no = '{1}'", kp_no, barcode_no); |
|
|
{ |
|
|
{ |
|
|
kp_sql = "select item_no as kp_no,count(item_no) kp_qty from jhames.barcode_item where barcode_id = " + barcode_id + " group by item_no"; |
|
|
kp_sql = "select item_no as kp_no,count(item_no) kp_qty from jhames.barcode_item where barcode_id = " + barcode_id + " group by item_no"; |
|
|
} |
|
|
} |
|
|
|
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
kp_sql = "select item_no as kp_no,count(item_no) kp_qty from jhames.barcode_item where barcode_id = " + barcode_id + " group by item_no"; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
using (var cmd = conn.CreateCommand()) |
|
|
using (var cmd = conn.CreateCommand()) |
|
|
{ |
|
|
{ |
|
|