From 70e4c87ebc60638d05997bb845445ecbc6bcee2c Mon Sep 17 00:00:00 2001 From: liubozhi Date: Fri, 21 Mar 2025 14:18:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/tmerclub/cloud/MarketingApplication.java | 4 ++-- .../src/main/resources/mapper/ComboSpuSkuMapper.xml | 4 ++-- .../src/main/resources/mapper/DistributionSpuMapper.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tmerclub-marketing/src/main/java/com/tmerclub/cloud/MarketingApplication.java b/tmerclub-marketing/src/main/java/com/tmerclub/cloud/MarketingApplication.java index bad894e..489a135 100644 --- a/tmerclub-marketing/src/main/java/com/tmerclub/cloud/MarketingApplication.java +++ b/tmerclub-marketing/src/main/java/com/tmerclub/cloud/MarketingApplication.java @@ -15,8 +15,8 @@ import org.springframework.context.ConfigurableApplicationContext; * @author tmerclub * @date 2020/11/19 */ -@SpringBootApplication(scanBasePackages = "com.moyuer.cloud", exclude = UserDetailsServiceAutoConfiguration.class) -@EnableDubbo(scanBasePackages = "com.moyuer.cloud.**.feign") +@SpringBootApplication(scanBasePackages = "com.tmerclub.cloud", exclude = UserDetailsServiceAutoConfiguration.class) +@EnableDubbo(scanBasePackages = "com.tmerclub.cloud.**.feign") public class MarketingApplication extends SpringBootServletInitializer { public static void main(String[] args) { diff --git a/tmerclub-marketing/src/main/resources/mapper/ComboSpuSkuMapper.xml b/tmerclub-marketing/src/main/resources/mapper/ComboSpuSkuMapper.xml index 9187c46..bc599f3 100644 --- a/tmerclub-marketing/src/main/resources/mapper/ComboSpuSkuMapper.xml +++ b/tmerclub-marketing/src/main/resources/mapper/ComboSpuSkuMapper.xml @@ -72,7 +72,7 @@ - SELECT c.combo_id,c.name,cp.least_num,cps.sku_id,cps.matching_price FROM combo c JOIN combo_spu cp ON c.combo_id = cp.combo_id @@ -122,7 +122,7 @@ #{comboSpuId} - + delete from combo_spu_sku where combo_spu_id = #{comboSpuId} diff --git a/tmerclub-marketing/src/main/resources/mapper/DistributionSpuMapper.xml b/tmerclub-marketing/src/main/resources/mapper/DistributionSpuMapper.xml index e99f759..ce199f6 100644 --- a/tmerclub-marketing/src/main/resources/mapper/DistributionSpuMapper.xml +++ b/tmerclub-marketing/src/main/resources/mapper/DistributionSpuMapper.xml @@ -18,10 +18,10 @@ `distribution_spu_id`,`create_time`,`update_time`,`shop_id`,`spu_id`,`state`,`award_mode`,`parent_award_set`,`award_numbers`,`parent_award_numbers`,`modifier` - select from distribution_spu where spu_id = #{spuId} - select from distribution_spu where distribution_spu_id = #{distributionSpuId}