@Test public void deleteTask() throws Exception { task.setId(26L); int count = selectEntityDao.deleteTask(task); System.out.println("deleteTask :-------> " + count); Assert.assertTrue(count > 0); }
public int deleteTask(TaskSql task) throws SQLException { if (null == task || task.getId() == null) { return 0; } return this.getDasClient().deleteByPk(task); }
SelectEntityDao extends BaseDao { public int deleteTask(TaskSql task) throws SQLException { if (null == task || task.getId() == null) { return 0; } return this.getDasClient().deleteByPk(task); } }
SelectEntityDao extends BaseDao { public int deleteTask(TaskSql task) throws SQLException { if (null == task || task.getId() == null) { return 0; } return this.getDasClient().deleteByPk(task); }  }
SelectEntityDao extends BaseDao { public int deleteTask(TaskSql task) throws SQLException { if (null == task || task.getId() == null) { return 0; } return this.getDasClient().deleteByPk(task); }  Long insertTask(TaskSql task); int updateTask(TaskSql task); int deleteTask(TaskSql task); int deleteByProjectId(Long projectId); TaskSql getTasksByTaskId(Long id); Long getSelectEntityTotalCount(Paging<TaskSql> paging); List<TaskSqlView> findSelectEntityPageList(Paging<TaskSql> paging); }
SelectEntityDao extends BaseDao { public int deleteTask(TaskSql task) throws SQLException { if (null == task || task.getId() == null) { return 0; } return this.getDasClient().deleteByPk(task); }  Long insertTask(TaskSql task); int updateTask(TaskSql task); int deleteTask(TaskSql task); int deleteByProjectId(Long projectId); TaskSql getTasksByTaskId(Long id); Long getSelectEntityTotalCount(Paging<TaskSql> paging); List<TaskSqlView> findSelectEntityPageList(Paging<TaskSql> paging);  }