Commit c15a6589 authored by Quxl's avatar Quxl

x

parent 8c9a08ae
......@@ -195,9 +195,16 @@ public class ReviewServiceImpl implements ReviewService {
@Override
public List<Map<String, Object>> queryReviewRecordList(Integer review_id) {
String sql = "select rr.*, u.username, u.group_id from fc_review_record rr left join fc_user u on rr.user_id = u.uid where rr.review_id = ?";
sql = "select t.*, g.group_name from (" + sql + ") t left join fc_admin_group g on g.group_id = t.group_id";
return jdbcTemplate.queryForList(sql, review_id);
}
public static void main(String[] args) {
String sql = "select rr.*, u.username, u.group_id from fc_review_record rr left join fc_user u on rr.user_id = u.uid where rr.review_id = ?";
sql = "select t.*, g.group_name from (" + sql + ") t left join fc_user_group g on g.group_id = t.group_id";
System.out.println(sql);
}
@Override
@Transactional
public void toFirstRound(Long member_film_id, Integer enroll_type_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