Commit d3715faa authored by Quxl's avatar Quxl

x

parent b3a8d482
......@@ -15,7 +15,7 @@ public interface FilmGroupService {
void removeFilmGroupById(Integer[] id);
List<Map<String, Object>> queryNoGroupFilmList(String keyword, Integer enroll_type_id, String film_country, Integer film_type_name_short, Integer play_shanghai, Integer review_round, Integer review_state, Page page);
List<Map<String, Object>> queryNoGroupFilmList(String keyword, Integer film_type_id, Integer enroll_type_id, String film_country, Integer film_type_name_short, Integer play_shanghai, Integer review_round, Integer review_state, Page page);
List<Map<String, Object>> queryGroupFilmList(Integer[] group_id, String keyword, Integer enroll_type_id, Integer film_type_name,
Integer film_type_name_short, Integer play_shanghai, Integer is_important, Integer review_state, Integer review_round,
......
......@@ -68,9 +68,10 @@ public class FilmGroupServiceImpl implements FilmGroupService {
}
@Override
public List<Map<String, Object>> queryNoGroupFilmList(String keyword, Integer enroll_type_id, String film_country, Integer film_type_name_short, Integer play_shanghai, Integer review_round, Integer review_state, Page page) {
public List<Map<String, Object>> queryNoGroupFilmList(String keyword, Integer film_type_id, Integer enroll_type_id, String film_country, Integer film_type_name_short, Integer play_shanghai, Integer review_round, Integer review_state, Page page) {
SqlWhere wehre = new SqlWhere()
.eq("t.film_country", film_country)
.eq("t.film_type_name", film_type_id)
.eq("t.film_type_name_short", film_type_name_short)
.eq("t.play_shanghai", play_shanghai)
.lk("t.keywords", keyword)
......
......@@ -46,12 +46,12 @@ public class FilmGroupController {
@ResponseBody
@PostMapping("getFilmList")
@ApiOperation("查询未分类影片列表")
public Object queryNoGroupFilmList(String keyword, Integer enroll_type_id, String film_country, Integer film_type_name_short, Integer play_shanghai, Integer review_round, Integer review_state, String[] orderBy, Long index, Long limit) {
public Object queryNoGroupFilmList(String keyword, Integer film_type_id, Integer enroll_type_id, String film_country, Integer film_type_name_short, Integer play_shanghai, Integer review_round, Integer review_state, String[] orderBy, Long index, Long limit) {
index = index == null ? 1 : index;
limit = limit == null ? 20 : limit;
Page page = new Page(index, limit);
page.setLimitKey(orderBy);
List<Map<String, Object>> list = filmGroupService.queryNoGroupFilmList(keyword, enroll_type_id, film_country, film_type_name_short, play_shanghai, review_round, review_state, page);
List<Map<String, Object>> list = filmGroupService.queryNoGroupFilmList(keyword, film_type_id, enroll_type_id, film_country, film_type_name_short, play_shanghai, review_round, review_state, page);
return Rjx.jsonOk().setData(list).setPage(page);
}
......
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