Browse Source

取消屏蔽

qinqi 4 months ago
parent
commit
9a68bca31e
1 changed files with 12 additions and 12 deletions
  1. 12 12
      DK.Service/BarcodePrintService/BarcodePrintLogic.cs

+ 12 - 12
DK.Service/BarcodePrintService/BarcodePrintLogic.cs

@@ -535,18 +535,18 @@ namespace Dongke.IBOSS.PRD.Service.BarcodePrintService
                 List<OracleParameter> parameters = new List<OracleParameter>();
 
 				//暂时屏蔽产品,至20251020-------------------
-				string goodsidstr =
-					   "SELECT 1 FROM tp_pm_groutingdailydetail gdd\n" +
-					   " WHERE gdd.barcode = :barcode\n" +
-					   "   AND gdd.goodsid in (184) ";
-				OracleParameter[] a = new OracleParameter[]{
-						new OracleParameter(":barcode", OracleDbType.Varchar2, barcode, ParameterDirection.Input),
-				 };
-				DataTable goodsTable = oracleTrConn.GetSqlResultToDt(goodsidstr, a);
-				if (goodsTable != null && goodsTable.Rows.Count > 0)
-				{
-					return sre;
-				}
+				//string goodsidstr =
+				//	   "SELECT 1 FROM tp_pm_groutingdailydetail gdd\n" +
+				//	   " WHERE gdd.barcode = :barcode\n" +
+				//	   "   AND gdd.goodsid in (184) ";
+				//OracleParameter[] a = new OracleParameter[]{
+				//		new OracleParameter(":barcode", OracleDbType.Varchar2, barcode, ParameterDirection.Input),
+				// };
+				//DataTable goodsTable = oracleTrConn.GetSqlResultToDt(goodsidstr, a);
+				//if (goodsTable != null && goodsTable.Rows.Count > 0)
+				//{
+				//	return sre;
+				//}
 				//---------------------
 				if (printerID == null)
                 {