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

import com.liangjian.dataplatform.member.entity.po.fourthly.Payplatform;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface PayplatformRepository extends JpaRepository<Payplatform, String> , JpaSpecificationExecutor<Payplatform> {


    @Query(value = "select A.* from Mem_PayPlatform as A where  1=1 ORDER BY A.PayPlatFormKey desc", nativeQuery = true)
    List<Payplatform> getPayTerms();
}
