Commit 16d2232e authored by Quxl's avatar Quxl

x

parent aaed1e6e
......@@ -192,9 +192,8 @@ public class AdminReviewController {
ru.setReview_text_3(review_text_3);
ru.setReview_text_4(review_text_4);
List<Fc_review_record_ext> exts = new ArrayList<Fc_review_record_ext>();
if(ext_title != null && ext_score != null) {
if(ext_title.length == ext_score.length) {
for(int i = 0; i < ext_title.length; i++) {
if(ext_score != null) {
for(int i = 0; i < ext_score.length; i++) {
Fc_review_record_ext ext = new Fc_review_record_ext();
ext.setRecord_id(ru.getId());
ext.setExt_title(ext_title[i]);
......@@ -203,9 +202,6 @@ public class AdminReviewController {
ext.setExt_name(ext_name[i]);
exts.add(ext);
}
} else {
throw new XException("评奖项目参数数量错误");
}
}
reviewService.saveReviewRecord(ru, exts);
reviewService.tryNextRound(ru.getReview_id());
......
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