chenxy 1 éve
szülő
commit
f8ff0d9433
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      DK.Service/ReportModuleLogic/ReportModuleLogic.cs

+ 1 - 1
DK.Service/ReportModuleLogic/ReportModuleLogic.cs

@@ -2241,7 +2241,7 @@ namespace Dongke.IBOSS.PRD.Service.ReportModuleLogic
 					"  left join TP_MST_Goods Goods  on TP_PM_InProduction.GoodsID=Goods.GoodsID " +
 					"  left join tp_mst_goodstype gt on gt.goodstypeid = Goods.goodstypeid " +
 					"  Where TP_PM_InProduction.ValueFlag = 1 " +
-					"  and TP_PM_InProduction.GoodsLevelTypeID <> 20 " +
+					"  and (TP_PM_InProduction.GoodsLevelTypeID is null or TP_PM_InProduction.GoodsLevelTypeID <> 20) " +
 					"  and TP_PM_InProduction.AccountID=:AccountID ";
 
 			return selSql;