package com.ssj.dao.sys.fx.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.ssj.bean.sys.fx.domain.MerchantSignOrder;

@Repository
public interface MerchantSignOrderDao extends JpaRepository<MerchantSignOrder, String> {
	
	@Query(nativeQuery = true, value = " SELECT * from fx_merchant_sign_order t WHERE t.merchant_id=?1 ORDER BY t.create_time DESC")
	public List<MerchantSignOrder> findMerchantSignAll(String merchantId);
}
