Explorar el Código

Sql语气丢失一个符号

MaiXinRong hace 9 años
padre
commit
04fb809424
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)';