Commit 5fb27ba8 authored by Quxl's avatar Quxl

x

parent d662cf57
......@@ -212,6 +212,9 @@ public class ExportServiceImpl implements ExportService {
Integer reviewRound = (Integer)map.get("review_round");
Integer reviewState = (Integer)map.get("review_state");
Integer optState = (Integer)map.get("opt_state");
reviewRound = reviewRound == null ? 0 : reviewRound;
reviewState = reviewState == null ? 0 : reviewState;
optState = optState == null ? 0 : optState;
String reviewText = ExportConstant.rounds[reviewRound] + (reviewState != null && reviewState != 0 ? ExportConstant.reviewState[reviewState] : ExportConstant.optState[optState]);
map.put("reviewText", reviewText);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment