|
@@ -48,10 +48,10 @@ public class PaperJsonUtils {
|
|
double score = question.getDouble("score");
|
|
double score = question.getDouble("score");
|
|
q.setTotalScore(score);
|
|
q.setTotalScore(score);
|
|
q.setIntervalScore(0.5);
|
|
q.setIntervalScore(0.5);
|
|
|
|
+ q.setPaperType("#");
|
|
int structType = question.getInt("structType");
|
|
int structType = question.getInt("structType");
|
|
if (structType == 1 || structType == 2 || structType == 3) {
|
|
if (structType == 1 || structType == 2 || structType == 3) {
|
|
q.setObjective(true);
|
|
q.setObjective(true);
|
|
- q.setPaperType("#");
|
|
|
|
String answer = "";
|
|
String answer = "";
|
|
if (structType == 3) {
|
|
if (structType == 3) {
|
|
answer = question.getBoolean("answer") ? "A" : "B";
|
|
answer = question.getBoolean("answer") ? "A" : "B";
|
|
@@ -86,10 +86,10 @@ public class PaperJsonUtils {
|
|
double score = sub.getDouble("score");
|
|
double score = sub.getDouble("score");
|
|
q.setTotalScore(score);
|
|
q.setTotalScore(score);
|
|
q.setIntervalScore(0.5);
|
|
q.setIntervalScore(0.5);
|
|
|
|
+ q.setPaperType("#");
|
|
int structType = sub.getInt("structType");
|
|
int structType = sub.getInt("structType");
|
|
if (structType == 1 || structType == 2 || structType == 3) {
|
|
if (structType == 1 || structType == 2 || structType == 3) {
|
|
q.setObjective(true);
|
|
q.setObjective(true);
|
|
- q.setPaperType("#");
|
|
|
|
String answer = "";
|
|
String answer = "";
|
|
if (structType == 3) {
|
|
if (structType == 3) {
|
|
answer = sub.getBoolean("answer") ? "A" : "B";
|
|
answer = sub.getBoolean("answer") ? "A" : "B";
|