Commit 05d1a424639e2b5c6fb22b08ddd7762ea4e2ccea

Authored by 徐近程
1 parent 572c76b7

update

src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
... ... @@ -307,12 +307,8 @@ public class VideosServiceImpl {
307 307 if (CommonUtils.isNotEmpty(video_title)) {
308 308 criteria.andLike("video_title", "%" + video_title + "%");
309 309 }
310   - if (CommonUtils.isNotNull(state) && state == 0) {
  310 + if (CommonUtils.isNotNull(state)) {
311 311 criteria.andEqualTo("state", state);
312   - } else if (CommonUtils.isNotNull(state) && state == 1) {
313   - criteria.andEqualTo("state", state);
314   - criteria2.andEqualTo("state", 2);
315   - example.or(criteria2);
316 312 }
317 313 if (CommonUtils.isNotEmpty(video_priority)) {
318 314 criteria.andEqualTo("video_priority", video_priority);
... ...