@staticmethod
def __compare_char(deal_char='', match_char_list=list(), ignore_case=False):
    """
        封装公共的字符比较函数，从match_char_list列表中找到与deal_char匹配的项

        @param {string} deal_char='' - 传入的待比较字符
        @param {list} match_char_list=list() - 需要比较的字符数组
        @param {bool} ignore_case=False - 是否忽略大小写

        @returns {string} - 匹配到的字符

        """
    for _char in match_char_list:
        if not ignore_case and deal_char == _char:
            return _char
        elif ignore_case and deal_char.upper() == _char.upper():
            return _char
    return ''
