TableEntityService { public Long insertTask(TaskTable task) throws SQLException { this.initTaskTable(task); return tableEntityDao.insertTask(task); }  ValidatorChain validatePermision(LoginUser user, TaskTable taskTable, Errors errors); ListResult<TaskTableView> findTableEntityPageList(Paging<TaskTable> paging); Long insertTask(TaskTable task); ServiceResult<String> addTaskTableList(LoginUser user, List<TaskTable> list);  }
@Test public void insertTasktest() throws SQLException { Assert.assertTrue(tableEntityService.insertTask(taskTable) == 1); }