Commit 375b33dd authored by Quxl's avatar Quxl

x

parent 6c2b59de
......@@ -283,7 +283,7 @@ public class ReviewServiceImpl implements ReviewService {
@Override
public List<Map<String, Object>> queryDoubtfulListByFilmIdId(Integer film_id) {
String sql = "select rd.* from fc_review_doubtful rd, fc_review r where rd.review_id = r.id and r.film_id = ?";
String sql = "select rd.*, r.film_id, u.username, ug.group_name from fc_review_doubtful rd left join fc_user u on u.uid = rd.user_id left join fc_user_group ug on ug.group_id = u.group_id, fc_review r where rd.review_id = r.id and r.film_id = ?";
return jdbcTemplate.queryForList(sql, film_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