@@ -176,7 +176,7 @@ public class QuestionServiceImpl extends BaseServiceImpl<QuestionMapper, Questio | |||
}else{ | |||
sum+=resultMap.get(QuestionStatusEnum.NEGLECT.name().toLowerCase()); | |||
} | |||
resultMap.remove(QuestionStatusEnum.NEGLECT.name().toLowerCase()); | |||
resultMap.put(QuestionStatusEnum.CONFIRM.name().toLowerCase(),sum); | |||
if(!resultMap.containsKey(QuestionStatusEnum.NOTREVIEWED.name().toLowerCase())){ |
@@ -104,9 +104,10 @@ public class HttpUtils { | |||
result.append(line).append("\n"); | |||
} | |||
connection.disconnect(); | |||
log.info(result.toString()); | |||
return result.toString(); | |||
} catch (Exception e) { | |||
log.error("post请求失败"); | |||
log.error("post请求失败,{}",e.getMessage()); | |||
return "post请求失败!"; | |||
} | |||
} |