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