Пример #1
0
 @Override
 protected void doMyDownload(BaseBusinessDomain baseBusinessDomain, UserDomain userDomain)
     throws Exception {
   JcPcxxglDomain domain = (JcPcxxglDomain) baseBusinessDomain;
   List<BaseBusinessDomain> dataList = dao.downloadList(domain);
   domain.setDataList(dataList);
 }
Пример #2
0
 @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);
 }