|
@@ -221,7 +221,7 @@ public class QuestionClassService {
|
221
|
221
|
|
222
|
222
|
//视频转换mq
|
223
|
223
|
private void convertVideo(TQuestionExplain research) {
|
224
|
|
- if ("mp4".equals(research.getSuffix()) && !"h264".equals(research.getMp4code())) {
|
|
224
|
+ if (!"h264".equals(research.getMp4code())) {
|
225
|
225
|
messageSender.convertVideo(research.getQcpid(), research.getFilepath(), "explain");
|
226
|
226
|
}
|
227
|
227
|
}
|
|
@@ -375,7 +375,7 @@ public class QuestionClassService {
|
375
|
375
|
List<TQuestionExplain> list = questionExplainMapper.listByQuestionId(questionExplain.getQuestionid(),questionExplain.getQctype());
|
376
|
376
|
if(list!=null && list.size()>0){
|
377
|
377
|
for(TQuestionExplain qe : list){
|
378
|
|
- if ("mp4".equals(qe.getSuffix()) && !"h264".equals(qe.getMp4code())) {
|
|
378
|
+ if (!"h264".equals(qe.getMp4code())) {
|
379
|
379
|
messageSender.convertVideo(qe.getQcpid(), qe.getFilepath(), "explain");
|
380
|
380
|
}
|
381
|
381
|
}
|