소스 검색

甬台温计量bug

chenr 5 달 전
부모
커밋
2be75de909
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      blade-service/blade-manager/src/main/java/org/springblade/manager/utils/FormEndPayUtil.java

+ 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);
     }