package com.huimv.env.dao.repo;

import com.huimv.common.utils.Result;
import com.huimv.env.dao.entity.XtHkQtsbInfo;
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 XtHkQtsbInfoRepo extends JpaRepository<XtHkQtsbInfo, Integer>, JpaSpecificationExecutor<XtHkQtsbInfo> {

    @Query(nativeQuery = true,value = "select * from xt_hk_qtsb_info order by XGSJ DESC limit 10")
    List<XtHkQtsbInfo> getZMInfo();
}