public async Task <APIResultDto> CreateWXAnswerRecordsAsync(CreateWXAnswerDto input)
 {
     try
     {
         foreach (var item in input.List)
         {
             AnswerRecord entity = new AnswerRecord();
             entity.OpenId           = input.OpenId;
             entity.QuestionRecordId = input.QuestionRecordId;
             entity.Values           = item.Values;
             entity.QuestionnaireId  = item.QuestionnaireId;
             entity.Remark           = item.Remark;
             await _entityRepository.InsertAsync(entity);
         }
         return(new APIResultDto()
         {
             Code = 0, Msg = "保存成功"
         });
     }
     catch (Exception)
     {
         return(new APIResultDto()
         {
             Code = 901, Msg = "保存失败,请重试"
         });
     }
 }
        public async Task <bool> GetIsFillInQustionAsync(CreateWXAnswerDto input)
        {
            int num = await _entityRepository.CountAsync(v => v.QuestionRecordId == input.QuestionRecordId && v.OpenId == input.OpenId);

            if (num != 0)
            {
                return(true);
            }
            return(false);
        }