Commit b895a0df authored by Quxl's avatar Quxl

x

parent c6a651c6
......@@ -133,7 +133,7 @@ public class UserReviewController {
@ApiOperation("评委审片")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "int", required = false, name = "review_id", value="审片ID"),
@ApiImplicitParam(paramType = "query", dataType = "int", required = false, name = "view_time", value="看片时间"),
@ApiImplicitParam(paramType = "query", dataType = "long", required = false, name = "view_time", value="看片时间"),
@ApiImplicitParam(paramType = "query", dataType = "double", required = false, name = "review_score", value="评分"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "review_text", value="评语"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "review_text_1", value="评语1"),
......@@ -143,7 +143,7 @@ public class UserReviewController {
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, allowMultiple=true, name = "ext_title", value="获奖标题 例如: 最佳男演员-张三"),
@ApiImplicitParam(paramType = "query", dataType = "double", required = false, allowMultiple=true, name = "ext_score", value="奖项得分"),
})
public Object saveReviewRecord(Integer review_id, Integer view_time, Integer review_state, Double review_score, String review_text, String review_text_1, String review_text_2, String review_text_3, String review_text_4, String[] ext_title, Double[] ext_score) {
public Object saveReviewRecord(Integer review_id, Long view_time, Integer review_state, Double review_score, String review_text, String review_text_1, String review_text_2, String review_text_3, String review_text_4, String[] ext_title, Double[] ext_score) {
LoginToken token = tokenService.getToken();
Integer user_id = (Integer)token.getId();
Fc_review_record ru = service.queryReviewRecord(user_id, review_id);
......
......@@ -31,9 +31,9 @@ public class Fc_review_record implements java.io.Serializable {
private Integer user_id;
/**
* 观看时长(分钟)
* 观看时长(毫秒)
*/
private Integer view_time;
private Long view_time;
/**
* 评选轮数
......@@ -78,7 +78,7 @@ public class Fc_review_record implements java.io.Serializable {
* @param id 影片ID
* @param review_id 评选轮数
* @param user_id 评委ID
* @param view_time 观看时长(分钟)
* @param view_time 观看时长(毫秒)
* @param review_round 评选轮数
* @param review_state 审片状态 1通过,2否决,3参赛,4参赛备选,5参展
* @param review_score 得分分数
......@@ -89,7 +89,7 @@ public class Fc_review_record implements java.io.Serializable {
* @param review_text_4
* @param create_time
*/
public Fc_review_record(Integer id, Integer review_id, Integer user_id, Integer view_time, Integer review_round, Integer review_state, Double review_score, String review_text, String review_text_1, String review_text_2, String review_text_3, String review_text_4, Date create_time) {
public Fc_review_record(Integer id, Integer review_id, Integer user_id, Long view_time, Integer review_round, Integer review_state, Double review_score, String review_text, String review_text_1, String review_text_2, String review_text_3, String review_text_4, Date create_time) {
this.id = id;
this.review_id = review_id;
this.user_id = user_id;
......@@ -129,11 +129,11 @@ public class Fc_review_record implements java.io.Serializable {
return user_id;
}
public void setView_time(Integer view_time) {
public void setView_time(Long view_time) {
this.view_time = view_time;
}
public Integer getView_time() {
public Long getView_time() {
return view_time;
}
......
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