diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/mapper/ActiveAppletMapper.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/mapper/ActiveAppletMapper.java index 14316d00f..844d323b1 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/mapper/ActiveAppletMapper.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/mapper/ActiveAppletMapper.java @@ -14,8 +14,8 @@ import java.util.List; */ public interface ActiveAppletMapper extends BaseMapper { - List selectApplet(@Param("cardValueRecord") ActiveApplet activeApplet); + List selectApplet(@Param("activeApplet") ActiveApplet activeApplet); - List appletActiveByType(@Param("cardValueRecord")ActiveApplet activeApplet); + List appletActiveByType(@Param("activeApplet")ActiveApplet activeApplet); } diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/mapper/xml/ActiveAppletMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/mapper/xml/ActiveAppletMapper.xml index 4347b2a12..f957acc5b 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/mapper/xml/ActiveAppletMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/mapper/xml/ActiveAppletMapper.xml @@ -10,7 +10,7 @@ FROM active_applet where - store_id = #{storeId} + store_id = #{activeApplet.storeId} GROUP BY type ORDER BY create_time desc @@ -22,8 +22,8 @@ * FROM active_applet - WHERE type = #{type} - and store_id = #{storeId} + WHERE type = #{activeApplet.type} + and store_id = #{activeApplet.storeId} ORDER BY create_time desc diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/service/impl/ActiveAppletServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/service/impl/ActiveAppletServiceImpl.java index 868815344..8a8640ac2 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/service/impl/ActiveAppletServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeApplet/service/impl/ActiveAppletServiceImpl.java @@ -23,7 +23,7 @@ public class ActiveAppletServiceImpl extends ServiceImpl applet(ActiveApplet activeApplet) { - return activeAppletMapper.selectApplet(); + return activeAppletMapper.selectApplet(activeApplet); } @Override