Przeglądaj źródła

Bug 点击报表报错,Sql语句

MaiXinRong 10 lat temu
rodzic
commit
a46ab4f12f
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      Units/ProjectData.pas

+ 2 - 2
Units/ProjectData.pas

@@ -1005,11 +1005,11 @@ procedure TProjectData.CopyPhaseData;
 
   procedure CopyStageLeafXmjGLData(const AFileName: string);
   const
-    sCopySql = 'Select ID' +
+    sCopySql = 'Select ID,' +
                '    PreQuantity, PreTotalPrice, PreUsedQuantity, PreUsedTotalPrice,' +
                '    PrePAL_UsedQuantity, PrePAL_UsedTotalPrice, PrePAL_DeltaPrice, PrePAL_Total,'+
                '    Quantity, TotalPrice, UsedQuantity, UsedTotalPrice,' +
-               '    PAL_UsedQuantity, PAL_UsedTotalPrice, PAL_DeltaPrice, PAL_Total'+
+               '    PAL_UsedQuantity, PAL_UsedTotalPrice, PAL_DeltaPrice, PAL_Total,'+
                '    EndQuantity, EndTotalPrice, EndUsedQuantity, EndUsedTotalPrice,' +
                '    EndPAL_UsedQuantity, EndPAL_UsedTotalPrice, EndPAL_DeltaPrice, EndPAL_Total'+
                '  Into P_StageLeafXmjGL' +