Commit 1a41f230 by xioa

修复表名

parent 62af79db
......@@ -10,8 +10,6 @@ import java.math.BigDecimal;
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)
String findLastRecodeContract(String email);
......@@ -20,6 +18,6 @@ public interface TkioFlowHistoryRepository extends JpaRepository<TkioFlowHistory
@Transactional
@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);
}
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