Commit a7338c809115da40515b2c77c0595abffa53219b

Authored by 徐近程
2 parents 4908c7d5 da43c6d9

Merge branch 'dev'

# Conflicts:
#	src/main/resources/application.properties
src/main/java/com/cnlive/shenhe/controller/LiveController.java
1 1 package com.cnlive.shenhe.controller;
2 2  
  3 +import com.cnlive.shenhe.utils.HttpClientUtils;
3 4 import org.apache.poi.xssf.usermodel.XSSFCell;
4 5 import org.apache.poi.xssf.usermodel.XSSFRow;
5 6 import org.apache.poi.xssf.usermodel.XSSFSheet;
... ... @@ -36,7 +37,9 @@ import javax.servlet.ServletOutputStream;
36 37 import javax.servlet.http.HttpServletResponse;
37 38 import javax.servlet.http.HttpSession;
38 39 import java.io.*;
  40 +import java.util.HashMap;
39 41 import java.util.List;
  42 +import java.util.Map;
40 43  
41 44 @Controller
42 45 @RequestMapping("/live")
... ... @@ -59,6 +62,9 @@ public class LiveController extends BaseController {
59 62 @Value("${ks_domain}")
60 63 String ks_domain;
61 64  
  65 + @Value("${cms_getVideoAndLiveId}")
  66 + String cms_getVideoAndLiveId;
  67 +
62 68 /**
63 69 * 审核信息返回接口
64 70 *
... ... @@ -106,20 +112,25 @@ public class LiveController extends BaseController {
106 112 /**
107 113 * 内容分页列表接口
108 114 *
109   - * @param video_title
  115 + * @param model
  116 + * @param activity_id
110 117 * @param start_date
111 118 * @param end_date
112   - * @param state
  119 + * @param activity_name
  120 + * @param activity_status
113 121 * @param page
114 122 * @param pageSize
115   - * @param orderByClause
  123 + * @param shenhe_state
  124 + * @param sp_desc
  125 + * @param contentId
  126 + * @param session
116 127 * @return
117 128 */
118 129 @GetMapping("/page")
119   - public Object getListVideos(Model model,String activity_id,String start_date,String end_date,
120   - String activity_name, Integer activity_status, Integer page,Integer pageSize,
121   - Integer shenhe_state, String sp_desc, HttpSession session) {
122   - System.out.println("进入直播内容页");
  130 + public Object getListVideos(Model model, String activity_id, String start_date, String end_date,
  131 + String activity_name, Integer activity_status, Integer page, Integer pageSize,
  132 + Integer shenhe_state, String sp_desc, Integer contentId, HttpSession session) {
  133 + System.out.println("进入直播内容页");
123 134 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
124 135 // if(CommonUtils.isNull(sessionUser)){
125 136 // return "redirect:/users/login";
... ... @@ -129,38 +140,53 @@ public class LiveController extends BaseController {
129 140 if (CommonUtils.isNull(page)) page = 1;
130 141 if (CommonUtils.isNull(pageSize)) pageSize = 20;
131 142 if (CommonUtils.isNotEmpty(sp_desc) && spid == 0) {
132   - ShySites shySite=sitesService.findspidBySpdesc(sp_desc);
133   - if(CommonUtils.isNotNull(shySite)){
134   - spid = shySite.getSpid();
135   - }else{
136   - setmodel_site(model);
137   - return "error.html";
138   - }
  143 + ShySites shySite = sitesService.findspidBySpdesc(sp_desc);
  144 + if (CommonUtils.isNotNull(shySite)) {
  145 + spid = shySite.getSpid();
  146 + } else {
  147 + setmodel_site(model);
  148 + return "error.html";
  149 + }
139 150 } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
140 151 spid = null;
141 152 }
142   - String orderByClause="";
143   - if(shenhe_state!=null&&shenhe_state==0){//审核状态:全部待领
144   - orderByClause="pre_start_time ";
145   - }else if(shenhe_state!=null&&shenhe_state==1){//审核状态:待审核
146   - orderByClause="pre_start_time ";
147   - }else if(shenhe_state!=null&&shenhe_state==2){//审核状态:已审核
148   - orderByClause="pre_start_time desc";
149   - }else{//审核状态:全部
150   - orderByClause="is_hot desc, pre_start_time ";
151   - if(activity_status!=null &&(activity_status==0 ||activity_status==2 || activity_status==4)){//直播状态:结束、撤销、下线
152   - orderByClause="is_hot desc, pre_start_time desc";
153   - }
  153 + String orderByClause = "";
  154 + if (shenhe_state != null && shenhe_state == 0) {//审核状态:全部待领
  155 + orderByClause = "pre_start_time ";
  156 + } else if (shenhe_state != null && shenhe_state == 1) {//审核状态:待审核
  157 + orderByClause = "pre_start_time ";
  158 + } else if (shenhe_state != null && shenhe_state == 2) {//审核状态:已审核
  159 + orderByClause = "pre_start_time desc";
  160 + } else {//审核状态:全部
  161 + orderByClause = "is_hot desc, pre_start_time ";
  162 + if (activity_status != null && (activity_status == 0 || activity_status == 2 || activity_status == 4)) {//直播状态:结束、撤销、下线
  163 + orderByClause = "is_hot desc, pre_start_time desc";
  164 + }
  165 + }
  166 +
  167 + if (CommonUtils.isNotNull(contentId)) {
  168 + Map<String, String> map = new HashMap<>(1);
  169 + map.put("id", contentId.toString());
  170 + String post = HttpClientUtils.get(cms_getVideoAndLiveId, map);
  171 + JSONObject jsonObject = JSONObject.parseObject(post);
  172 + JSONObject data = jsonObject.getJSONObject("data");
  173 + if (data != null) {
  174 + String pid = data.getString("pid");
  175 + activity_id = pid;
  176 + } else {
  177 + activity_id = contentId.toString();
  178 + }
154 179 }
155   - PageInfo<ShyLive> livePage = liveService.getListContent(activity_name, start_date,end_date,
156   - activity_id, activity_status, page, pageSize, shenhe_state, orderByClause, spid, userId);
  180 +
  181 + PageInfo<ShyLive> livePage = liveService.getListContent(activity_name, start_date, end_date,
  182 + activity_id, activity_status, page, pageSize, shenhe_state, orderByClause, spid, userId);
157 183 List<ShyLive> list = livePage.getList();
158 184 if (!list.isEmpty()) {
159 185 for (ShyLive live : list) {
160 186 //显示spid简称
161 187 ShySites shySites = sitesService.findspidDescByspid(live.getSp_id());
162 188 if (CommonUtils.isNotNull(shySites)) {
163   - live.setSpid_desc(shySites.getName());
  189 + live.setSpid_desc(shySites.getName());
164 190 }
165 191 }
166 192 }
... ...
src/main/java/com/cnlive/shenhe/controller/VideosController.java
1 1 package com.cnlive.shenhe.controller;
2 2  
  3 +import com.cnlive.shenhe.utils.*;
3 4 import org.apache.poi.xssf.usermodel.XSSFCell;
4 5 import org.apache.poi.xssf.usermodel.XSSFRow;
5 6 import org.apache.poi.xssf.usermodel.XSSFSheet;
... ... @@ -15,10 +16,6 @@ import com.cnlive.shenhe.entity.ShyVideos;
15 16 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
16 17 import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
17 18 import com.cnlive.shenhe.serviceImpl.VideosServiceImpl;
18   -import com.cnlive.shenhe.utils.AuditPass;
19   -import com.cnlive.shenhe.utils.CommonConst;
20   -import com.cnlive.shenhe.utils.CommonUtils;
21   -import com.cnlive.shenhe.utils.InfoUtil;
22 19 import com.github.pagehelper.PageInfo;
23 20 import org.jsoup.helper.DataUtil;
24 21 import org.slf4j.Logger;
... ... @@ -33,11 +30,14 @@ import org.springframework.web.bind.annotation.PostMapping;
33 30 import org.springframework.web.bind.annotation.RequestMapping;
34 31 import org.springframework.web.bind.annotation.ResponseBody;
35 32  
  33 +import javax.persistence.criteria.CriteriaBuilder;
36 34 import javax.servlet.ServletOutputStream;
37 35 import javax.servlet.http.HttpServletResponse;
38 36 import javax.servlet.http.HttpSession;
39 37 import java.io.*;
  38 +import java.util.HashMap;
40 39 import java.util.List;
  40 +import java.util.Map;
41 41  
42 42 @Controller
43 43 @RequestMapping("/videos")
... ... @@ -60,6 +60,9 @@ public class VideosController extends BaseController {
60 60 @Value("${ks_domain}")
61 61 String ks_domain;
62 62  
  63 + @Value("${cms_getVideoAndLiveId}")
  64 + String cms_getVideoAndLiveId;
  65 +
63 66 /**
64 67 * 审核信息返回接口
65 68 *
... ... @@ -118,22 +121,19 @@ public class VideosController extends BaseController {
118 121 * @return
119 122 */
120 123 @GetMapping("/page")
121   - public Object getListVideos(Model model, String video_title, String start_date, String end_date, Integer state, Integer receive, Integer page, Integer pageSize, String video_priority, String orderByClause, String sp_desc, String sp_Id,Integer source,String video_user_id,String shen_auditor_id, HttpSession session) {
  124 + public Object getListVideos(Model model, String video_title, String start_date, String end_date, Integer state, Integer receive, Integer page, Integer pageSize, String video_priority, String orderByClause, String sp_desc, String sp_Id, Integer source, String video_user_id, String shen_auditor_id, Integer contentId, String video_id, HttpSession session) {
122 125 if (!StringUtils.isEmpty(shen_auditor_id)) {
123   - if((!"自动审核".equals(shen_auditor_id))&&(!"白名单".equals(shen_auditor_id))){
  126 + if ((!"自动审核".equals(shen_auditor_id)) && (!"白名单".equals(shen_auditor_id))) {
124 127 shen_auditor_id = usersService.findspidByName(shen_auditor_id);
125 128 }
126 129 }
127 130  
128   -
129   -
130   -
131 131 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
132 132 if (CommonUtils.isNull(sessionUser)) {
133 133 return "redirect:/users/login";
134 134 }
135 135 Integer spid = sessionUser.getSpid();
136   - logger.info("sp_Id:{},spid:{}",sp_Id,spid);
  136 + logger.info("sp_Id:{},spid:{}", sp_Id, spid);
137 137 String userId = sessionUser.getUserId();
138 138 if (CommonUtils.isNull(page)) page = 1;
139 139 if (CommonUtils.isNull(pageSize)) pageSize = 10;
... ... @@ -148,7 +148,22 @@ public class VideosController extends BaseController {
148 148 } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
149 149 spid = null;
150 150 }
151   - PageInfo<ShyVideos> videoPage = videosService.getListContent(video_title, start_date, end_date, state, receive, page, pageSize, video_priority, orderByClause, spid, userId,sp_Id,source,video_user_id,shen_auditor_id);
  151 +
  152 + if (CommonUtils.isNotNull(contentId)) {
  153 + Map<String, String> map = new HashMap<>(1);
  154 + map.put("id", contentId.toString());
  155 + String post = HttpClientUtils.get(cms_getVideoAndLiveId, map);
  156 + JSONObject jsonObject = JSONObject.parseObject(post);
  157 + JSONObject data = jsonObject.getJSONObject("data");
  158 + if (data != null) {
  159 + String pid = data.getString("pid");
  160 + video_id = pid;
  161 + }else {
  162 + video_id=contentId.toString();
  163 + }
  164 + }
  165 +
  166 + PageInfo<ShyVideos> videoPage = videosService.getListContent(video_title, start_date, end_date, state, receive, page, pageSize, video_priority, orderByClause, spid, userId, sp_Id, source, video_user_id, shen_auditor_id, video_id);
152 167 List<ShyVideos> list = videoPage.getList();
153 168 if (!list.isEmpty()) {
154 169 for (ShyVideos videos : list) {
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
... ... @@ -109,7 +109,7 @@ public class VideosServiceImpl {
109 109 return shyVideosMapper.updateByPrimaryKey(shyVideos);
110 110 }
111 111  
112   - public PageInfo<ShyVideos> getListContent(String video_title, String start_date, String end_date, Integer state, Integer receive, Integer page, Integer pageSize, String video_priority, String orderByClause, Integer spid, String userId, String sp_Id,Integer source,String video_user_id,String shen_auditor_id) {
  112 + public PageInfo<ShyVideos> getListContent(String video_title, String start_date, String end_date, Integer state, Integer receive, Integer page, Integer pageSize, String video_priority, String orderByClause, Integer spid, String userId, String sp_Id,Integer source,String video_user_id,String shen_auditor_id,String video_id) {
113 113 Example example = new Example(ShyVideos.class);
114 114 Example.Criteria criteria = example.createCriteria();
115 115 Example.Criteria criteria2 = example.createCriteria();
... ... @@ -142,6 +142,11 @@ public class VideosServiceImpl {
142 142 criteria2.andEqualTo("video_priority", video_priority);
143 143 }
144 144  
  145 + if (CommonUtils.isNotEmpty(video_id)) {
  146 + criteria.andEqualTo("video_id", video_id);
  147 + criteria2.andEqualTo("video_id", video_id);
  148 + }
  149 +
145 150 if(CommonUtils.isNotEmpty(shen_auditor_id)){
146 151 if("白名单".equals(shen_auditor_id)||"自动审核".equals(shen_auditor_id)){
147 152 criteria.andEqualTo("updater", shen_auditor_id);
... ...
src/main/resources/templates/page/live.html
... ... @@ -93,6 +93,14 @@
93 93 </div>
94 94 </div>
95 95  
  96 + <div class="col-md-3" style="padding: 0" th:if="${session.sessionUser.spid==0}">
  97 + <label for="contentId" class="control-label cb-toolbar">内容id:</label>
  98 + <div class="col-sm-7" style="padding: 0;">
  99 + <input class="form-control" name="contentId" type="text"
  100 + id="contentId">
  101 + </div>
  102 + </div>
  103 +
96 104 <!-- <div class="col-md-3" style="padding: 0"> -->
97 105 <!-- <label for="is_hot" class="control-label cb-toolbar">是否热点:</label> -->
98 106 <!-- <div class="col-sm-6" style="padding: 0;"> -->
... ... @@ -442,7 +450,8 @@
442 450 var sp_desc = "";
443 451 var count = "";
444 452 var shenhe_state ="";//审核状态
445   -
  453 + var contentId ="";//审核状态
  454 +
446 455 function query(){
447 456 activity_id = $("#activity_id").val();
448 457 activity_name = $("#activity_name").val();
... ... @@ -453,8 +462,9 @@
453 462 var spId=[[${session.sessionUser.spid}]];
454 463 if(spId==0){
455 464 sp_desc = $("#sp_desc").val();
  465 + contentId = $("#contentId").val();
456 466 }
457   - window.location.href = "/live/page?activity_status="+activity_status+"&activity_id=" + activity_id + "&start_date=" + start_date + "&end_date=" + end_date + "&activity_name=" + activity_name + "&sp_desc=" + sp_desc+"&pageSize="+count+"&shenhe_state="+shenhe_state;
  467 + window.location.href = "/live/page?activity_status="+activity_status+"&activity_id=" + activity_id + "&start_date=" + start_date + "&end_date=" + end_date + "&activity_name=" + activity_name + "&sp_desc=" + sp_desc+"&pageSize="+count+"&shenhe_state="+shenhe_state+"&contentId="+contentId;
458 468 }
459 469  
460 470 //全部
... ...
src/main/resources/templates/page/video.html
... ... @@ -152,49 +152,44 @@
152 152 <!--<input class="form-control" name="video_priority" type="text" id="video_priority">-->
153 153 </div>
154 154 </div>
  155 + </div>
  156 + </div>
155 157  
156   - <!--<div class="col-md-6" style="padding: 0;width: 25%;" th:if="${session.sessionUser.spid==0}">
157   - <label for="video_user_id" class="control-label cb-toolbar">sp_Id</label>
158   - <div class="col-sm-15" style="padding: 0;">
159   - <input class="form-control" type="text" value="" id="video_user_id">
160   - </div>
161   - </div>-->
162   - <div class="col-md-6" style="padding: 0;width: 25%;" th:if="${session.sessionUser.spid==0}">
163   - <label for="video_user_id" class="control-label cb-toolbar">sid</label>
164   - <div class="col-sm-9" style="padding: 0;">
165   - <input class="form-control" type="text" value="" id="video_user_id">
166   - </div>
167   - </div>
  158 + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}">
  159 + <label for="video_id" class="control-label cb-toolbar">video_id</label>
  160 + <div class="col-sm-9" style="padding: 0;">
  161 + <input class="form-control" type="text" value="" id="video_id">
  162 + </div>
  163 + </div>
168 164  
  165 + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}">
  166 + <label for="video_user_id" class="control-label cb-toolbar">sid</label>
  167 + <div class="col-sm-9" style="padding: 0;">
  168 + <input class="form-control" type="text" value="" id="video_user_id">
  169 + </div>
  170 + </div>
169 171  
170   - <div class="col-md-6" style="padding: 0;width: 25%;" th:if="${session.sessionUser.spid==0}">
171   - <label for="sp_Id" class="control-label cb-toolbar">sp_Id</label>
172   - <div class="col-sm-9" style="padding: 0;">
173   - <input class="form-control" type="text" value="" id="sp_Id">
174   - </div>
175   - </div>
  172 + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}">
  173 + <label for="contentId" class="control-label cb-toolbar">内容id:</label>
  174 + <div class="col-sm-9" style="padding: 0;">
  175 + <input class="form-control" type="text" value="" id="contentId">
  176 + </div>
  177 + </div>
176 178  
177   - <div class="col-md-6" style="padding: 0;width: 25%;" th:if="${session.sessionUser.spid==0}">
178   - <label for="shen_auditor_id" class="control-label cb-toolbar">审核员</label>
179   - <div class="col-sm-9" style="padding: 0;">
180   - <input class="form-control" type="text" value="" id="shen_auditor_id">
181   - </div>
182   - </div>
183 179  
184   - <!-- <div class="col-md-6" style="padding: 0;width: 15%;" th:if="${session.sessionUser.spid==0}"> -->
185   - <!-- <label for="count" class="control-label cb-toolbar">每页条数:</label> -->
186   - <!-- <div class="col-sm-5" style="padding: 0;"> -->
187   - <!-- <input class="form-control" type="text" value="" id="count"> -->
188   - <!-- </div> -->
189   - <!-- </div> -->
  180 + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}">
  181 + <label for="sp_Id" class="control-label cb-toolbar">sp_Id</label>
  182 + <div class="col-sm-9" style="padding: 0;">
  183 + <input class="form-control" type="text" value="" id="sp_Id">
  184 + </div>
  185 + </div>
  186 +
  187 + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}">
  188 + <label for="shen_auditor_id" class="control-label cb-toolbar">审核员</label>
  189 + <div class="col-sm-9" style="padding: 0;">
  190 + <input class="form-control" type="text" value="" id="shen_auditor_id">
190 191 </div>
191 192 </div>
192   - <!-- <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 1%;float: left;"> -->
193   - <!-- <div class="col-md-1 text-center" style="width: 12%;padding: 0;float: right;"> -->
194   - <!-- <button type="button" class="btn btn-primary btn-sm" id="videos_query">查 询 -->
195   - <!-- </button> -->
196   - <!-- </div> -->
197   - <!-- </div> -->
198 193 </div>
199 194  
200 195 <div class="fixed-table-container" style="padding-bottom: 0px;">
... ... @@ -463,10 +458,11 @@
463 458 var source = "";
464 459 var video_user_id = "";
465 460 var shen_auditor_id = "";
  461 + var contentId = "";
  462 + var video_id = "";
466 463  
467 464  
468 465 function updateValue(){
469   -// video_priority = $("#video_priority").val();
470 466 video_title = $("#video_titleID").val();
471 467 start_date = $("#start_date").val();
472 468 end_date = $("#end_date").val();
... ... @@ -479,6 +475,8 @@
479 475 count = $("#pageSize").val();
480 476 video_user_id = $("#video_user_id").val();
481 477 shen_auditor_id = $("#shen_auditor_id").val();
  478 + contentId = $("#contentId").val();
  479 + video_id = $("#video_id").val();
482 480 }
483 481 }
484 482  
... ... @@ -486,7 +484,7 @@
486 484 //全部
487 485 function quanbu() {
488 486 updateValue();
489   - window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id;
  487 + window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id;
490 488 }
491 489  
492 490 //全部待领
... ... @@ -494,27 +492,27 @@
494 492 updateValue();
495 493 if($.trim(state) == '') state=0;
496 494 var receive = 0;
497   - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id;
  495 + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id;
498 496 });
499 497 //我的待审核
500 498 $('#Mydaishen').click(function () {
501 499 updateValue();
502 500 var receive = 1;
503 501 if($.trim(state) == '') state=0;
504   - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id;
  502 + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id;
505 503 });
506 504 //我的已审核
507 505 $('#yishen').click(function () {
508 506 updateValue();
509 507 var receive = 1;
510 508 if($.trim(state) == '') state=3;//审核状态,3代表通过和拒绝都查询
511   - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id;
  509 + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id;
512 510 });
513 511  
514 512  
515 513 //查询
516 514 $('#videos_query').click(function () {
517   - window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id;
  515 + window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id;
518 516 });
519 517 /*全选的操作*/
520 518 $('#select_all').click(function () {
... ...