コード例 #1
0
 public IPage<AdminChangeConstantLog> findPageList(Integer pageSize, Integer pageIndex) {
   adminChangeConstantLogDao.closeSession(DBSource.ADMIN);
   List<Object> list = new ArrayList<Object>();
   list.add(CustomerContextHolder.getSystemNum());
   list.add(0);
   return adminChangeConstantLogDao.findPage(
       "from AdminChangeConstantLog where sysNum = ? or sysNum = ?", list, pageSize, pageIndex);
 }
コード例 #2
0
 public void saveOne(AdminChangeConstantLog adminChangeConstantLog) {
   adminChangeConstantLogDao.save(adminChangeConstantLog, DBSource.ADMIN);
 }