From 5282713b984b3307756615fa8b1950ed8778e2c2 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Wed, 13 Mar 2024 15:40:48 +0800 Subject: [PATCH] bug --- .../EventMarketing/activeNewlyweds/index.vue | 13 +++++++--- .../EventMarketing/activeRecommend/index.vue | 13 +++++++--- .../mapper/xml/ActiveAppletMapper.xml | 2 +- .../impl/ActiveConsumptionServiceImpl.java | 6 +++-- .../impl/ActiveNewlywedsServiceImpl.java | 7 +++-- .../impl/ActiveRecommendServiceImpl.java | 19 ++++++++++---- .../impl/CardValueRecordServiceImpl.java | 19 +++++++------- .../service/impl/CardValueServiceImpl.java | 9 ++++--- gasStation-uni/pagesHome/Activity/index.vue | 2 ++ gasStation-uni/pagesHome/activeIn/index.vue | 26 +++++++++++++++++++ .../pagesHome/oilRecharge/oilRecharge.vue | 8 +++--- 11 files changed, 93 insertions(+), 31 deletions(-) diff --git a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue index 7653b738e..1eb8ca9f1 100644 --- a/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeNewlyweds/index.vue @@ -290,9 +290,16 @@ size="mini" type="text" icon="el-icon-sort-up" - @click="handleDeletexia(scope.row)" + @click="handleDeletexia(scope.row,0)" v-if="scope.row.isonline == 1" >上线 + 下线 { // // let data = response.data @@ -911,7 +918,7 @@ export default { // // }); this.$modal.confirm('确定上线此条新人有礼活动信息?').then(function() { - return editActiveNewlyweds({id:row.id,isonline:0}); + return editActiveNewlyweds({id:row.id,isonline:isonline}); }).then(() => { this.$modal.msgSuccess("上线成功"); this.open = false; diff --git a/fuintAdmin/src/views/EventMarketing/activeRecommend/index.vue b/fuintAdmin/src/views/EventMarketing/activeRecommend/index.vue index 82c5efe70..dae6c5dd1 100644 --- a/fuintAdmin/src/views/EventMarketing/activeRecommend/index.vue +++ b/fuintAdmin/src/views/EventMarketing/activeRecommend/index.vue @@ -96,9 +96,16 @@ size="mini" type="text" icon="el-icon-sort-up" - @click="handleDeletexia(scope.row)" + @click="handleDeletexia(scope.row,0)" v-if="scope.row.isonline == 1" >上线 + 下线 { // // let data = response.data @@ -1181,7 +1188,7 @@ export default { // }); this.$modal.confirm('是否确认上线此条推荐有礼活动的信息?').then(function() { - return editActiveRecommend({id:row.id,isonline : 0}); + return editActiveRecommend({id:row.id,isonline : isonline}); }).then(() => { this.$modal.msgSuccess("上线成功"); 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 f957acc5b..e83681b14 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 @@ -13,7 +13,7 @@ store_id = #{activeApplet.storeId} GROUP BY type - ORDER BY create_time desc + ORDER BY create_time,type desc