def _args_useful_check(self):
    '\n        need sql which mapping the target features and arguments\n        :return:\n        '
    arg_msg_list = FeatureFieldRel.objects.filter(feature_name__in=self.target_features, is_delete=False)
    for arg_msg in arg_msg_list:
        if (arg_msg.raw_field_name in self.arguments.keys()):
            if (self.ret_msg and (arg_msg.feature_name == self.ret_msg[(- 1)]['target_field_name'])):
                sub_msg = self.ret_msg[(- 1)]
                if (arg_msg.feature_name == sub_msg['target_field_name']):
                    sub_msg['arguments'].update({arg_msg.raw_field_name: self.arguments[arg_msg.raw_field_name]})
                    self.ret_msg[(- 1)] = sub_msg
            else:
                temp_msg = {'data_identity': arg_msg.data_identity, 'target_field_name': arg_msg.feature_name, 'arguments': {arg_msg.raw_field_name: self.arguments[arg_msg.raw_field_name]}}
                self.ret_msg.append(temp_msg)
        else:
            logger.error(('Response from the function of `judge._args_useful_check`, error_msg=%s, rel_err_msg=%s' % (ArgumentsAvailableError.message, 'Arguments are not enough to get all res_keys')), exc_info=True)
            raise ArgumentsAvailableError
need sql which mapping the target features and arguments
:return:
def _args_useful_check(self):
    '\n        need sql which mapping the target features and arguments\n        :return:\n        '
    arg_msg_list = FeatureFieldRel.objects.filter(feature_name__in=self.target_features, is_delete=False)
    for arg_msg in arg_msg_list:
        if (arg_msg.raw_field_name in self.arguments.keys()):
            if (self.ret_msg and (arg_msg.feature_name == self.ret_msg[(- 1)]['target_field_name'])):
                sub_msg = self.ret_msg[(- 1)]
                if (arg_msg.feature_name == sub_msg['target_field_name']):
                    sub_msg['arguments'].update({arg_msg.raw_field_name: self.arguments[arg_msg.raw_field_name]})
                    self.ret_msg[(- 1)] = sub_msg
            else:
                temp_msg = {'data_identity': arg_msg.data_identity, 'target_field_name': arg_msg.feature_name, 'arguments': {arg_msg.raw_field_name: self.arguments[arg_msg.raw_field_name]}}
                self.ret_msg.append(temp_msg)
        else:
            logger.error(('Response from the function of `judge._args_useful_check`, error_msg=%s, rel_err_msg=%s' % (ArgumentsAvailableError.message, 'Arguments are not enough to get all res_keys')), exc_info=True)
            raise ArgumentsAvailableError