diff --git a/PaintingPC/Function.cs b/PaintingPC/Function.cs index 5588719..b10ee9a 100644 --- a/PaintingPC/Function.cs +++ b/PaintingPC/Function.cs @@ -1985,7 +1985,7 @@ namespace PaintingPC { try { - string wmsSql = $"select * from TM_BJBMPT_POINT_REPAIR where BarCode='{barcode}' and RepaitType='1'"; + string wmsSql = $"select * from TM_BJBMPT_POINT_REPAIR where BarCode='{barcode}' and RepaitType='0'";//0:入库 1:出库 string wmsSqlConnString = ConfigurationManager.ConnectionStrings["WmsSqlConnString"].ToString(); DataTable pointRepairTable = SqlHelper.GetDataDateTable(wmsSqlConnString, CommandType.Text, wmsSql, null);