chenxy 1 년 전
부모
커밋
f8ff0d9433
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;