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