package com.chenyang.nse.bussiness.dao.table.core;

import com.chenyang.nse.bussiness.dao.BaseDao;
import com.chenyang.nse.bussiness.entity.orm.table.core.TCoreSensitivesearchlog;
import com.chenyang.nse.bussiness.tools.xml.XmlTool;
import java.util.List;
import org.springframework.stereotype.Repository;

@Repository
public class TCoreSensitivesearchlogDao extends BaseDao<TCoreSensitivesearchlog, String> {
   public List<TCoreSensitivesearchlog> querySensitivesearchlog(String groupId) {
      String sql = XmlTool.getSql("TCoreSensitivesearchlog", "querySensitivesearchlog");
      return this.getSession().createNativeQuery(sql, TCoreSensitivesearchlog.class).setParameter("GROUPID", groupId).getResultList();
   }
}
