📅  最后修改于: 2022-03-11 14:52:23.464000             🧑  作者: Mango
public interface LimitRepository extends JpaRepository {
@Transactional
@Modifying
@Query("delete from CLimit l where l.trader.id =:#{#trader.id}")
void deleteLimitsByTrader(@Param("trader") CTrader trader);
}