Browse Source

Sql语气丢失一个符号

MaiXinRong 9 năm trước cách đây
mục cha
commit
04fb809424
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Units/ProjectData.pas

+ 1 - 1
Units/ProjectData.pas

@@ -995,7 +995,7 @@ procedure TProjectData.CopyPhaseData;
 
   procedure UpdateBillsByDealBills;
   const
-    sClearSql = 'Update Bills Set GclDealQuantity = 0 GclDealTotalPrice = 0';
+    sClearSql = 'Update Bills Set GclDealQuantity = 0, GclDealTotalPrice = 0';
     sUpdateSql = 'Update Bills As B, DealBills As D' +
                  '    Set B.GclDealQuantity = D.Quantity, B.GclDealTotalPrice = D.TotalPrice' +
                  '  Where (B.B_Code = D.B_Code) and (B.Name = D.Name) and (B.Units = D.Units) and (B.Price = D.Price)';