Parcourir la source

tt

release_toaliyun_real
xhxu il y a 5 ans
Parent
révision
9bcc375433
2 fichiers modifiés avec 6 ajouts et 3 suppressions
  1. +4
    -1
      mallinkService/src/main/resources/mapper/TtCouponMapper.xml
  2. +2
    -2
      mallinkTTAdmin/src/main/java/com/iformall/controller/tt/TtCouponController.java

+ 4
- 1
mallinkService/src/main/resources/mapper/TtCouponMapper.xml Voir le fichier

@@ -57,7 +57,10 @@
</sql>

<sql id="dynamicWhereConditions">
where c.`is_del` = 0 and c.`type` != 3
where c.`is_del` = 0
<if test=" null == type or type != 3">
and c.`type` != 3
</if>

<if test=" null != id ">
and c.`id` = #{id}


+ 2
- 2
mallinkTTAdmin/src/main/java/com/iformall/controller/tt/TtCouponController.java Voir le fichier

@@ -124,7 +124,7 @@ public class TtCouponController extends BaseController {
VideUploadResult result = videoFactory.getExcutor(videoType).getVideoDetail(record.getVideoId());
if(result.isSuccess()){
record.setVideoTime(result.getDuration());
record.setVideoUrl(result.getVideoUrl());
// record.setVideoUrl(result.getVideoUrl());
TtVideoLibrary video = new TtVideoLibrary();
video.updateTenantInfo(tenantEntity);
video.setVideoId(record.getVideoId());
@@ -145,7 +145,7 @@ public class TtCouponController extends BaseController {
VideUploadResult result = videoFactory.getExcutor(videoType).getVideoDetail(ttc.getVideoId());
if(result.isSuccess()){
ttc.setVideoTime(result.getDuration());
ttc.setVideoUrl(result.getVideoUrl());
// ttc.setVideoUrl(result.getVideoUrl());
TtVideoLibrary video = new TtVideoLibrary();
video.updateTenantInfo(tenantEntity);
video.setVideoId(record.getVideoId());


Chargement…
Annuler
Enregistrer