def METHOD_NAME(cls, _id):
    try:
        return cls.query.filter_by(
            project_guid=_id,
            deleted_ind=False).order_by(cls.major_mine_application_id.desc()).first()
    except ValueError:
        return None