ruoxing.wang 2 months ago
parent
commit
826be60f29
  1. 4
      MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs

4
MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs

@ -496,7 +496,7 @@ namespace MESClassLibrary.DAL.BasicInfo
dbo.tb_InjectPlanReport ON dbo.v_Code.PlanID = dbo.tb_InjectPlanReport.InjectionPlanID LEFT OUTER JOIN dbo.tb_InjectPlanReport ON dbo.v_Code.PlanID = dbo.tb_InjectPlanReport.InjectionPlanID LEFT OUTER JOIN
dbo.tb_Product ON dbo.v_Code.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN dbo.tb_Product ON dbo.v_Code.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN
dbo.tb_Station ON dbo.v_Code.StationID = dbo.tb_Station.StationID dbo.tb_Station ON dbo.v_Code.StationID = dbo.tb_Station.StationID
WHERE (dbo.v_Code.IsDel = 0) and IsNull(v_Code.BoxNo,'')!='' WHERE (dbo.v_Code.IsDel = 0)
ORDER BY dbo.v_Code.CreateTime DESC"; ORDER BY dbo.v_Code.CreateTime DESC";
return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0];
@ -521,7 +521,7 @@ namespace MESClassLibrary.DAL.BasicInfo
dbo.tb_InjectPlanReport ON dbo.v_Code.PlanID = dbo.tb_InjectPlanReport.InjectionPlanID LEFT OUTER JOIN dbo.tb_InjectPlanReport ON dbo.v_Code.PlanID = dbo.tb_InjectPlanReport.InjectionPlanID LEFT OUTER JOIN
dbo.tb_Product ON dbo.v_Code.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN dbo.tb_Product ON dbo.v_Code.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN
dbo.tb_Station ON dbo.v_Code.StationID = dbo.tb_Station.StationID dbo.tb_Station ON dbo.v_Code.StationID = dbo.tb_Station.StationID
WHERE dbo.v_Code.IsDel = 0 and dbo.v_Code.OneBarCode=@OneBarCode and IsNull( BoxNo ,'')!='' WHERE dbo.v_Code.IsDel = 0 and dbo.v_Code.OneBarCode=@OneBarCode
ORDER BY dbo.v_Code.CreateTime DESC"; ORDER BY dbo.v_Code.CreateTime DESC";
SqlParameter[] param = new SqlParameter[1]; SqlParameter[] param = new SqlParameter[1];

Loading…
Cancel
Save