class SelectEntityDao extends BaseDao {

    public int updateTask(TaskSql task) throws SQLException {
        if (null == task || task.getId() == null) {
            return 0;
        }
        return this.getDasClient().update(task);
    }

}