duhe
2025-12-22 6482b2e564a9d1d612efce0347bb1988e3ec94af
WebAPI/Controllers/»ªÔ¶datamapping/HY_DataMappingController.cs
@@ -1255,13 +1255,8 @@
                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++)
                {