ソースを参照

甬台温计量bug

chenr 3 ヶ月 前
コミット
85fdb71560

+ 2 - 2
blade-service/blade-manager/src/main/java/org/springblade/manager/utils/FormEndPayUtil.java

@@ -29,7 +29,7 @@ public class FormEndPayUtil {
     }
 
     public static void delFormEndPay(Long periodId,Long contractId,String formNumber){
-        String sql="deleted from s_meter_form_end_pay where period_id="+periodId+" and contract_id="+contractId+" and form_number="+"'"+formNumber+"'";
+        String sql="delete from s_meter_form_end_pay where period_id="+periodId+" and contract_id="+contractId+" and form_number="+"'"+formNumber+"'";
         jdbcTemplate.execute(sql);
     }
 
@@ -80,7 +80,7 @@ public class FormEndPayUtil {
         );
     }
     public static void delChapterEndPay(Long periodId,Long contractId,String formNumber){
-        String sql="deleted from s_meter_chapter_end_pay where period_id="+periodId+" and contract_id="+contractId+" and form_number="+"'"+formNumber+"'";
+        String sql="delete from s_meter_chapter_end_pay where period_id="+periodId+" and contract_id="+contractId+" and form_number="+"'"+formNumber+"'";
         jdbcTemplate.execute(sql);
     }