class ProjectDao extends BaseDao {

    public List<Project> getProjectByAppGroupId(Long appGroupId) throws SQLException {
        String sql = "SELECT id, name, namespace,dal_group_id,dal_config_name,app_id,update_user_no,update_time FROM project WHERE app_group_id = ?";
        return this.queryBySql(sql, Project.class, Parameter.integerOf(StringUtils.EMPTY, appGroupId));
    }

}