| | |
| | | string HSetNo = HBarCode.Substring(HBarCode.Length - 2, 2); |
| | | |
| | | //æ ¹æ®PNLæ¡ç ç¼å·ãsetå·ï¼ä»PNLæ£éªä¿¡æ¯è¡¨ä¸è·åset对åºçæ£éªä¿¡æ¯ |
| | | string sql = "" + |
| | | "select distinct * from (" + |
| | | //"select HBarCode,HPCSNo from QC_CheckNote_PNL_His where HBarCode = '" + HBarCode_PNL + "' and HSetNo = '" + HSetNo + "' " + |
| | | //"union " + |
| | | "select HBarCode,HPCSNo from QC_CheckNote_PNL_Temp where HBarCode = '" + HBarCode_PNL + "' and HSetNo = '" + HSetNo + "' " + |
| | | ") as a"; |
| | | ds = oCN.RunProcReturn(sql, "QC_CheckNote_PNL_Temp"); |
| | | string sql = "exec h_p_Gy_GetMappingData_JiGuangGe '" + HBarCode_PNL + "','" + HSetNo + "'"; |
| | | ds = oCN.RunProcReturn(sql, "h_p_Gy_GetMappingData_JiGuangGe"); |
| | | |
| | | for (int i = 0; i < ds.Tables[0].Rows.Count; i++) |
| | | { |