Commit 9a274b7b authored by Quxl's avatar Quxl

x

parent ccda92b0
...@@ -575,7 +575,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -575,7 +575,7 @@ public class ReviewServiceImpl implements ReviewService {
@Override @Override
public Map<String, Object> queryReviewRecordMapById(Integer record_id) { public Map<String, Object> queryReviewRecordMapById(Integer record_id) {
return jdbcTemplate.queryForMap("select rr.*, r.enroll_type_id from fc_review_record rr left join fc_review r on r.id = rr.review_id where rr.id = ?", Fc_review_record.class, record_id); return jdbcTemplate.queryForMap("select rr.*, r.enroll_type_id from fc_review_record rr left join fc_review r on r.id = rr.review_id where rr.id = ?", record_id);
} }
} }
\ No newline at end of file
...@@ -217,8 +217,8 @@ public class AdminReviewController { ...@@ -217,8 +217,8 @@ public class AdminReviewController {
}) })
public Object getReviewRecord(Integer record_id) { public Object getReviewRecord(Integer record_id) {
Map<String, Object> recordMap = reviewService.queryReviewRecordMapById(record_id); Map<String, Object> recordMap = reviewService.queryReviewRecordMapById(record_id);
List<Fc_review_record_ext> extList = reviewService.queryReviewRecordExtList((Integer Fc_review_record record = Util.mapTo(recordMap, Fc_review_record.class);
)recordMap.get("id")); List<Fc_review_record_ext> extList = reviewService.queryReviewRecordExtList(record.getId());
return Rjx.jsonOk().setData(recordMap).set("exts", extList); return Rjx.jsonOk().setData(recordMap).set("exts", extList);
} }
......
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