|
@@ -304,7 +304,7 @@ public class PaperStudentWebService {
|
304
|
304
|
ps.setPschecked(pschecked);
|
305
|
305
|
ps.setCosttime(paper.getCosttime());
|
306
|
306
|
Integer showanswer = 0;
|
307
|
|
- if (pg.getShowtype() == 2){
|
|
307
|
+ if (pg.getShowtype() == 2 || ps.getPsstate() == 2){
|
308
|
308
|
showanswer = 1;
|
309
|
309
|
}
|
310
|
310
|
ps.setShowanswer(showanswer);
|
|
@@ -488,7 +488,7 @@ public class PaperStudentWebService {
|
488
|
488
|
ps.setPschecked(pschecked);
|
489
|
489
|
ps.setCosttime(paper.getCosttime());
|
490
|
490
|
Integer showanswer = 0;
|
491
|
|
- if (pg.getShowtype() == 2){
|
|
491
|
+ if (pg.getShowtype() == 2 || ps.getPsstate() == 2){
|
492
|
492
|
showanswer = 1;
|
493
|
493
|
}
|
494
|
494
|
ps.setShowanswer(showanswer);
|