Przeglądaj źródła

半检返修缺陷汇总表 合计

chenxy 6 lat temu
rodzic
commit
5c166cd9c0

+ 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";