From 9bcc375433355c15e5379fb8de462f0a6f01ff94 Mon Sep 17 00:00:00 2001 From: xhxu Date: Mon, 24 May 2021 10:01:34 +0800 Subject: [PATCH] tt --- mallinkService/src/main/resources/mapper/TtCouponMapper.xml | 5 ++++- .../java/com/iformall/controller/tt/TtCouponController.java | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/TtCouponMapper.xml b/mallinkService/src/main/resources/mapper/TtCouponMapper.xml index d22b3554e..27c63bb90 100644 --- a/mallinkService/src/main/resources/mapper/TtCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/TtCouponMapper.xml @@ -57,7 +57,10 @@ - where c.`is_del` = 0 and c.`type` != 3 + where c.`is_del` = 0 + + and c.`type` != 3 + and c.`id` = #{id} diff --git a/mallinkTTAdmin/src/main/java/com/iformall/controller/tt/TtCouponController.java b/mallinkTTAdmin/src/main/java/com/iformall/controller/tt/TtCouponController.java index dac463e2c..502911e74 100644 --- a/mallinkTTAdmin/src/main/java/com/iformall/controller/tt/TtCouponController.java +++ b/mallinkTTAdmin/src/main/java/com/iformall/controller/tt/TtCouponController.java @@ -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());