示例#1
0
  @Transactional(readOnly = true)
  public Switch getSwitch(Integer id) {

    return switchDao.getSwitch(id);
  }
示例#2
0
  @Transactional(readOnly = true)
  public List<Switch> getAllSwitches() {

    return switchDao.getAll();
  }