/**
* 用于获取开启的报表月份.
*
* @param filterBy
* 筛选条件
* @param year
* 选择的年份
* @param type
* 报表类型
* @param request
* @return
*/
public List getOpeningReports(String type, String year,
HttpServletRequest request) {
String hql = "select new map(reportDate as id, remark as text) from "
+ NtmrsReportList.class.getName() + " where type = " + type
+ " and reportDate like('" + year
+ "%') and reportStatus = 'Y' order by id";
List results = getUniversalManager().findList(hql);
return results;
}