Commit 1a41f230 by xioa

修复表名

parent 62af79db
...@@ -10,8 +10,6 @@ import java.math.BigDecimal; ...@@ -10,8 +10,6 @@ import java.math.BigDecimal;
public interface TkioFlowHistoryRepository extends JpaRepository<TkioFlowHistory, Long> { public interface TkioFlowHistoryRepository extends JpaRepository<TkioFlowHistory, Long> {
@Query(value = "select contract_code from tkio_flow_history where email = ?1 order by ds limit 1", nativeQuery = true) @Query(value = "select contract_code from tkio_flow_history where email = ?1 order by ds limit 1", nativeQuery = true)
String findLastRecodeContract(String email); String findLastRecodeContract(String email);
...@@ -20,6 +18,6 @@ public interface TkioFlowHistoryRepository extends JpaRepository<TkioFlowHistory ...@@ -20,6 +18,6 @@ public interface TkioFlowHistoryRepository extends JpaRepository<TkioFlowHistory
@Transactional @Transactional
@Modifying @Modifying
@Query(value = "delete from tkio_flow where email = ?1", nativeQuery = true) @Query(value = "delete from tkio_flow_history where email = ?1", nativeQuery = true)
void deleteByEmail(String email); void deleteByEmail(String email);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment