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

import com.chenyang.nse.bussiness.dao.BaseDao;
import com.chenyang.nse.bussiness.entity.orm.table.core.TCoreLogParam;
import java.util.List;
import java.util.Map;
import org.hibernate.transform.Transformers;
import org.springframework.stereotype.Repository;

@Repository
public class TCoreLogParamDao extends BaseDao<TCoreLogParam, String> {
   public List<Map<String, Object>> selectNewReservemonth() {
      String sql = "select  reservemonth  from t_core_log_param  order by createtime desc limit 0,1";
      return this.getSession().createNativeQuery(sql).setResultTransformer(Transformers.ALIAS_TO_ENTITY_MAP).getResultList();
   }
}
