public List<BeanMap> findEmmGyosyuList() {Date sysDate = new Date(System.currentTimeMillis());List<BeanMap> emmGyosyuMaps = new ArrayList<BeanMap>();List<EmmGyosyu> gyosyuList = jm.from(EmmGyosyu.class).where(eq( emmGyosyu().todokedeFlg(), true),eq(emmGyosyu().dispFlg(), true),le(emmGyosyu().startDate(), sysDate),ge(emmGyosyu().endDate(), sysDate)).orderBy(asc(emmGyosyu().sort())).getResultList();for (EmmGyosyu emmGyosyu : gyosyuList) {BeanMap bm = new BeanMap();bm.put("key", emmGyosyu.gyoshuCd);bm.put("value", emmGyosyu.gyoshuName);emmGyosyuMaps.add(bm);}return emmGyosyuMaps;
添加回答
举报
0/150
提交
取消