|
|
@@ -1118,7 +1118,7 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
//发送外箱号数据,打印前获取
|
|
|
public static async void SendBoxData(string iBox)
|
|
|
{
|
|
|
- string sn = dh.getFieldDataByCondition("packagedetail left join ztedata on pd_barcode=ZD_DEV_EN_NO and pd_makecode=zd_makecode ", "replace(wm_concat(replace(ZD_MAC_START,'-','')),',','-')", "pd_outboxcode='" + iBox + "' and zd_type='BOX'").ToString();
|
|
|
+ string sn = dh.getFieldDataByCondition("packagedetail left join ztedata on pd_barcode=ZD_DEV_EN_NO and pd_makecode=zd_makecode ", "replace(wm_concat(replace(ZD_MAC_END,'-','')),',','-')", "pd_outboxcode='" + iBox + "' and zd_type='BOX'").ToString();
|
|
|
DataTable dt = (DataTable)dh.ExecuteSql("select batch_no,ZD_BIG_BOX_NO,pr_code,PRODUCT_MODE,ms_makecode,po_sn from makeserial left join product on ms_prodcode=pr_code left join make on ma_code=ms_makecode left join zte_order on ma_custpo=batch_no left join ztedata on ZD_DEV_EN_NO=ms_sncode and zd_makecode=ms_makecode where ms_outboxcode ='" + iBox + "' and zd_type='BOX' order by ms_id desc", "select");
|
|
|
string PRODUCT_MODE = "";
|
|
|
string po_sn = "";
|
|
|
@@ -1194,7 +1194,7 @@ namespace UAS_MES_NEW.PublicMethod
|
|
|
root.BindList.Add(new BindItem
|
|
|
{
|
|
|
BindKey = "mac",
|
|
|
- BindValue = dt.Rows[i]["ZD_MAC_START"].ToString(),
|
|
|
+ BindValue = dt.Rows[i]["ZD_MAC_END"].ToString(),
|
|
|
KeyType = dt1.Rows[j]["pid_item"].ToString(),
|
|
|
KeyValue = value,
|
|
|
HashType = "NON-HASH",
|