Commit 5adbdb9d authored by Quxl's avatar Quxl

Merge branch 'master' of

http://key@gitlab.egolm.com/hanxu/siff-film-api.git

Conflicts:
	src/main/java/com/egolm/film/api/web/admin/AdminFirstController.java
parents b9475773 d4c69c3c
package com.egolm.film.api.service; package com.egolm.film.api.service;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import com.egolm.common.jdbc.Page; import com.egolm.common.jdbc.Page;
import com.egolm.film.bean.Fc_member_film; import com.egolm.film.bean.Fc_member_film;
import com.egolm.film.bean.Fc_member_film_enroll; import com.egolm.film.bean.Fc_member_film_enroll;
import com.egolm.film.bean.Fc_member_film_issuer; import com.egolm.film.bean.Fc_member_film_issuer;
import com.egolm.film.bean.Fc_member_film_playactor; import com.egolm.film.bean.Fc_member_film_playactor;
import com.egolm.film.bean.Fc_member_film_show; import com.egolm.film.bean.Fc_member_film_show;
import com.egolm.film.bean.model.Fc_member_film_base_model; import com.egolm.film.bean.model.Fc_member_film_base_model;
public interface FilmService { public interface FilmService {
Logger logger = LoggerFactory.getLogger(FilmService.class); Logger logger = LoggerFactory.getLogger(FilmService.class);
List<Fc_member_film_issuer> queryMemberFilmIssuerList(Long member_film_id); List<Fc_member_film_issuer> queryMemberFilmIssuerList(Long member_film_id);
List<Fc_member_film_playactor> queryMemberFilmPlayactorList(Long member_film_id); List<Fc_member_film_playactor> queryMemberFilmPlayactorList(Long member_film_id);
List<Fc_member_film_show> queryMemberFilmShowList(Long member_film_id); List<Fc_member_film_show> queryMemberFilmShowList(Long member_film_id);
void doApply( void doApply(
Integer member_id, Integer member_id,
Long member_film_id); Long member_film_id);
Long saveMemberFilmType( Long saveMemberFilmType(
Integer member_id, Integer member_id,
String film_type_name, String film_type_name,
String enroll_type_name); String enroll_type_name);
void saveMemberFilmBase( void saveMemberFilmBase(
Integer member_id, Integer member_id,
Long member_film_id, Long member_film_id,
String[] enroll_type_name_other, String[] enroll_type_name_other,
String cn_name, String cn_name,
String en_name, String en_name,
String intro); String intro);
void saveMemberFilmInfo( void saveMemberFilmInfo(
Integer member_id, Integer member_id,
Long member_film_id, Long member_film_id,
String film_country, String film_country,
String dialogue_lang, String dialogue_lang,
String subtitle_lang, String subtitle_lang,
String[] co_production_country, String[] co_production_country,
String film_total_time, String film_total_time,
String completion_date, String completion_date,
String show_date, String show_date,
String first_show_date, String first_show_date,
String first_show_city, String first_show_city,
Integer is_apply_other_filmfest, Integer is_apply_other_filmfest,
String other_filmfest_name, String other_filmfest_name,
String film_medium, String film_medium,
String film_format, String film_format,
String film_format_url, String film_format_url,
String film_format_passw, String film_format_passw,
String film_format_other); String film_format_other);
void saveMemberFilmPlayactor( void saveMemberFilmPlayactor(
Long member_film_id, Long member_film_id,
String[] playactor_type, String[] playactor_type,
String[] playactor_role_name, String[] playactor_role_name,
String[] playactor_name, String[] playactor_name,
String[] playactor_film_nums, String[] playactor_film_nums,
String[] playactor_country, String[] playactor_country,
String[] playactor_birthday, String[] playactor_birthday,
String[] playactor_intro, String[] playactor_intro,
Integer[] is_play_shanghai); Integer[] is_play_shanghai);
void saveMemberFilmIssuer( void saveMemberFilmIssuer(
Long member_film_id, Long member_film_id,
String[] issuer_company, String[] issuer_company,
String[] issuer_contacts, String[] issuer_contacts,
String[] issuer_email, String[] issuer_email,
String[] issuer_tel); String[] issuer_tel);
void saveMemberFilmShow( void saveMemberFilmShow(
Long member_film_id, Long member_film_id,
String play_shanghai, String play_shanghai,
String[] show_filmfest, String[] show_filmfest,
String[] show_filmfest_type, String[] show_filmfest_type,
String[] show_filmfest_intro); String[] show_filmfest_intro);
void saveMemberFilmCompany( void saveMemberFilmCompany(
Integer member_id, Integer member_id,
Long member_film_id, Long member_film_id,
String film_apply_company, String film_apply_company,
String film_apply_realname, String film_apply_realname,
String film_apply_email, String film_apply_email,
String film_apply_tel, String film_apply_tel,
String film_apply_mobile, String film_apply_mobile,
String film_apply_country); String film_apply_country);
List<Map<String, Object>> queryListAll(String keyword); List<Map<String, Object>> queryListAll(String keyword);
List<Map<String, Object>> queryFilmList( List<Map<String, Object>> queryFilmList(
Integer admin_group_id, Integer admin_group_id,
String keyword, String keyword,
Integer state, Integer state,
Integer apply_state, Integer apply_state,
Integer upload_state, Integer upload_state,
Integer film_type, Integer film_type,
Integer enroll_type, Integer enroll_type,
String film_country, String film_country,
Integer film_type_short, Integer film_type_short,
String play_shanghai, String play_shanghai,
Integer review_round, Integer review_round,
Integer review_state, Integer review_state,
Integer allot_atate, Integer allot_atate,
Integer opt_state, Integer opt_state,
Integer[] film_group_id, Integer[] film_group_id,
Page page); Page page);
Integer pass(Long member_film_id); Integer pass(Long member_film_id);
void reject(Boolean is_stop_apply, Long member_film_id, String apply_state_intro); void reject(Boolean is_stop_apply, Long member_film_id, String apply_state_intro);
Fc_member_film queryMemberFilmById(Long member_film_id); Fc_member_film queryMemberFilmById(Long member_film_id);
Object queryEnrollList(); Object queryEnrollList();
Object queryTypeList(); Object queryTypeList();
void mergeMemberFilm(Fc_member_film film); void mergeMemberFilm(Fc_member_film film);
/** /**
* 更新影片基本信息 * 更新影片基本信息
* @param filmBase * @param filmBase
*/ */
void updateFilmBase(Fc_member_film_base_model filmBase); void updateFilmBase(Fc_member_film_base_model filmBase);
void updateEnroll(Long member_film_id); void updateEnroll(Long member_film_id);
void saveUploadId(Long member_film_id, String upload_id); void saveUploadId(Long member_film_id, String upload_id);
void saveUploadState(Long member_film_id, Integer upload_state); void saveUploadState(Long member_film_id, Integer upload_state);
List<Fc_member_film_enroll> queryFilmEnrollList(Long member_film_id); List<Fc_member_film_enroll> queryFilmEnrollList(Long member_film_id);
void verifyFilmDuplicate(Long member_film_id); void verifyFilmDuplicate(Long member_film_id);
void updateFilmState(Long member_film_id, Integer state); void updateFilmState(Long member_film_id, Integer state);
void saveCreateBase(Long id, Integer admin_id, Integer member_id, String create_ip); void saveCreateBase(Long id, Integer admin_id, Integer member_id, String create_ip);
void exchangeFilmNo(Integer id1, Integer id2); void exchangeFilmNo(Integer id1, Integer id2);
void initKeywords(Long member_film_id); void initKeywords(Long member_film_id);
}
List<Map<String, Object>> queryMonitorUploadList(String keyword,Integer upload_state, Page page);
public void updateFilmUploadState(String[] film_id,String[] number);
}
...@@ -203,6 +203,23 @@ public class AdminFirstController { ...@@ -203,6 +203,23 @@ public class AdminFirstController {
public Object save_upload_state(Long member_film_id, Integer upload_state) { public Object save_upload_state(Long member_film_id, Integer upload_state) {
filmService.saveUploadState(member_film_id, upload_state); filmService.saveUploadState(member_film_id, upload_state);
return Rjx.jsonOk(); return Rjx.jsonOk();
}
@ResponseBody
@PostMapping("upload_monitor")
@ApiOperation("影片上传监控列表")
@ApiImplicitParams({
@ApiImplicitParam(paramType="query", dataType="String", required=false, name="keyword", value="关键字"),
@ApiImplicitParam(paramType="query", dataType="int", required=false, name="upload_state", value="上传状态( 0未上传, 1上传中, 2已上传)"),
@ApiImplicitParam(paramType="query", dataType="long", required=true, name="index", value="分页编号"),
@ApiImplicitParam(paramType="query", dataType="long", required=true, name="limit", value="分页大小"),
})
public Object upload_monitor(String keyword,Integer upload_state,Long index, Long limit) {
index = index == null ? 1 : index;
limit = limit == null ? 20 : limit;
Page page = new Page(index, limit);
List<Map<String, Object>> list = filmService.queryMonitorUploadList(keyword,upload_state,page);
return Rjx.jsonOk().setData(list).setPage(page);
} }
@ResponseBody @ResponseBody
...@@ -261,4 +278,4 @@ public class AdminFirstController { ...@@ -261,4 +278,4 @@ public class AdminFirstController {
exportService.exportApplyPassList(response.getOutputStream(), columns); exportService.exportApplyPassList(response.getOutputStream(), columns);
} }
} }
\ No newline at end of file
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