@@ -521,7 +521,7 @@ export default {
total:0
},
dtotal:0,
- imagePath:'http://192.168.0.196:8080/',
+ imagePath:process.env.VUE_APP_SERVER_URL,
// 上传地址
uploadAction: process.env.VUE_APP_SERVER_URL + 'backendApi/file/upload',
// 上传文件列表
@@ -950,4 +950,8 @@ export default {
width: 100%;
height: 100%;
}
+.appconter{
+ box-sizing: border-box;
+ padding: 15px;
+}
diff --git a/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue b/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
index f12f9ceae..11c7d70b1 100644
--- a/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/cardExchange/index.vue
@@ -127,14 +127,14 @@
@click="handleXia(scope.row)"
>下线
- 上线
-
+
+
+
+
+
+
+
+
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java
index 5b01abf04..9a60f3d89 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeExchange/service/impl/ActiveExchangeServiceImpl.java
@@ -215,8 +215,10 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
cardFavorableLambdaQueryWrapper.in(CardFavorable::getOilType,transferDTO.getOilName());
cardFavorableLambdaQueryWrapper.le(CardFavorable::getSatisfiedAmount,transferDTO.getOilPrice() * transferDTO.getOilLiters());
List list1 = cardFavorableService.list(cardFavorableLambdaQueryWrapper);
- BeanUtils.copyProperties(list1.get(0), exchangeFavorableVO);
- exchangeFavorableVOArrayList.add(exchangeFavorableVO);
+ if (list1.size()>0){
+ BeanUtils.copyProperties(list1.get(0), exchangeFavorableVO);
+ exchangeFavorableVOArrayList.add(exchangeFavorableVO);
+ }
}
return exchangeFavorableVOArrayList;
}