@Test public void addViewSpace(){ ViewSpace space = new ViewSpace(); space.setSpaceName("鼓浪屿"); space.setAddress("厦门"); space.setDescription("厦门鼓浪屿"); viewSpaceOODao.addViewSpace(space); }
public void addViewSpace(ViewSpace viewSpace) { viewSpaceInsert.insert(viewSpace); }
ViewSpaceOODao { public void addViewSpace(ViewSpace viewSpace) { viewSpaceInsert.insert(viewSpace); } }
ViewSpaceOODao { public void addViewSpace(ViewSpace viewSpace) { viewSpaceInsert.insert(viewSpace); }  }
ViewSpaceOODao { public void addViewSpace(ViewSpace viewSpace) { viewSpaceInsert.insert(viewSpace); }  @PostConstruct void init(); ViewSpace getViewSpace(int spaceId); void addViewSpace(ViewSpace viewSpace); int getViewPointNum(int userId); int getViewSpaceNum(); }
ViewSpaceOODao { public void addViewSpace(ViewSpace viewSpace) { viewSpaceInsert.insert(viewSpace); }  @PostConstruct void init(); ViewSpace getViewSpace(int spaceId); void addViewSpace(ViewSpace viewSpace); int getViewPointNum(int userId); int getViewSpaceNum();  }