Commit 473fe99e authored by Quxl's avatar Quxl

x

parent b1f7183a
...@@ -14,9 +14,55 @@ public interface ReviewService { ...@@ -14,9 +14,55 @@ public interface ReviewService {
Object queryDoubtfulList(); Object queryDoubtfulList();
List<Map<String, Object>> queryReviewList(String keyword, Integer group_id, Integer enroll_type_id, Integer film_type_name, Integer film_type_name_short, String film_country, Integer review_round, Integer review_state, Integer allot_state, Integer state, Page page); /**
* 查询管理员选片列表
* @param keyword
* @param group_id
* @param enroll_type_id
* @param film_type_name
* @param film_type_name_short
* @param film_country
* @param review_round
* @param review_state
* @param allot_state
* @param state
* @param page
* @return
*/
List<Map<String, Object>> queryReviewList(
String keyword,
Integer group_id,
Integer enroll_type_id,
Integer film_type_name,
Integer film_type_name_short,
String film_country,
Integer review_round,
Integer review_state,
Integer allot_state,
Integer state,
Page page);
List<Map<String, Object>> queryReviewListByUserId(boolean is_review, Integer user_id, String keyword, Date start_date, Date end_date, Integer film_type_id, Integer enroll_type_id, Page page); /**
* 查询评委审片列表
* @param is_review
* @param user_id
* @param keyword
* @param start_date
* @param end_date
* @param film_type_id
* @param enroll_type_id
* @param page
* @return
*/
List<Map<String, Object>> queryReviewListByUserId(
boolean is_review,
Integer user_id,
String keyword,
Date start_date,
Date end_date,
Integer film_type_id,
Integer enroll_type_id,
Page page);
Fc_review queryReview(Integer film_id, Integer enroll_type_id); Fc_review queryReview(Integer film_id, Integer enroll_type_id);
......
...@@ -28,8 +28,17 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -28,8 +28,17 @@ public class ReviewServiceImpl implements ReviewService {
JdbcTemplate jdbcTemplate; JdbcTemplate jdbcTemplate;
@Override @Override
public List<Map<String, Object>> queryReviewList(String keyword, Integer group_id, Integer enroll_type_id, Integer film_type_name, public List<Map<String, Object>> queryReviewList(
Integer film_type_name_short, String film_country, Integer review_round, Integer review_state, Integer allot_state, Integer state, String keyword,
Integer group_id,
Integer enroll_type_id,
Integer film_type_name,
Integer film_type_name_short,
String film_country,
Integer review_round,
Integer review_state,
Integer allot_state,
Integer state,
Page page) { Page page) {
SqlWhere w1 = new SqlWhere() SqlWhere w1 = new SqlWhere()
.where("mf.film_type_name in (select agft.film_type_id from fc_admin_group_filmtype agft where agft.group_id = ?)", new Object[]{group_id}) .where("mf.film_type_name in (select agft.film_type_id from fc_admin_group_filmtype agft where agft.group_id = ?)", new Object[]{group_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