Преглед изворни кода

在产明细表 筛选有效数据

张忠帅 пре 2 година
родитељ
комит
52cb5d8d05
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      DK.Service/ReportModuleLogic/ReportModuleLogic.cs

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

@@ -1876,7 +1876,7 @@ namespace Dongke.IBOSS.PRD.Service.ReportModuleLogic
         /// <returns>sql</returns>
         private static string GetRPT010401SSQL()
         {
-            string selSql =@"
+            string selSql = @"
                      SELECT
                     	TP_PM_InProduction.BarCode,
                     	TP_PM_InProduction.GoodsID,
@@ -1974,6 +1974,7 @@ namespace Dongke.IBOSS.PRD.Service.ReportModuleLogic
                     WHERE
                     	TP_PM_InProduction.ValueFlag = 1 
                     	AND TP_PM_InProduction.AccountID = :AccountID
+                        AND PD.VALUEFLAG=1
                     ";
 
             return selSql;