@Override protected void doMyDownload(BaseBusinessDomain baseBusinessDomain, UserDomain userDomain) throws Exception { JcPcxxglDomain domain = (JcPcxxglDomain) baseBusinessDomain; List<BaseBusinessDomain> dataList = dao.downloadList(domain); domain.setDataList(dataList); }
@Override protected void doMyQuery(BaseBusinessDomain baseBusinessDomain, UserDomain userDomain) throws Exception { JcFcQkTjDomain domain = (JcFcQkTjDomain) baseBusinessDomain; List<BaseBusinessDomain> dataList = dao.queryList(domain); Calendar cal = Calendar.getInstance(); cal.set(cal.DAY_OF_YEAR, 1); SimpleDateFormat sim = new SimpleDateFormat("yyyy-MM-dd"); domain.setRqq(sim.format(cal.getTime())); domain.setDataList(dataList); }