Sfoglia il codice sorgente

半检返修缺陷汇总表 合计

chenxy 6 anni fa
parent
commit
5c166cd9c0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      DK.Service/ReportModuleLogic/ReportModuleLogic.cs

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

@@ -14888,7 +14888,7 @@ namespace Dongke.IBOSS.PRD.Service.ReportModuleLogic
                 }
 
                 sqlString +=
-                "         group by grouping sets((srd.defectid, scd.defectcode, scd.defectname, srd.defectpositionid),(srd.defectid, scd.defectcode, scd.defectname),(srd.defectpositionid))) t\n" +
+                "         group by grouping sets((srd.defectid, scd.defectcode, scd.defectname, srd.defectpositionid),(srd.defectid, scd.defectcode, scd.defectname),(srd.defectpositionid),())) t\n" +
                 "pivot(sum(cc)\n" +
                 "   for defectpositionid in("+string.Join(",", pivotFor) + ", 0 AS D_0))\n" +
                 " order by defectid";