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

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


public interface UserPointRmbRuleRepository extends JpaLifeCycleRepository<UserPointRmbRule,String> {

    @Query(value = "select top 1 * from mem_user_point_rmb_rule order by last_update desc;", nativeQuery = true)
    UserPointRmbRule findLastPointRmbRule();

}
