package com.liangjian.dataplatform.member.dao.secondary;

import com.liangjian.dataplatform.member.dao.JpaLifeCycleRepository;
import com.liangjian.dataplatform.member.entity.po.secondary.UserPointClearRule;
import org.springframework.data.jpa.repository.Query;


public interface UserPointClearRuleRepository  extends JpaLifeCycleRepository<UserPointClearRule,String> {

    @Query(value = "select top 1 * from mem_user_point_clear_rule order by last_update desc;", nativeQuery = true)
    UserPointClearRule findLastPointClearRule();

}
