From e7f8a5bfc9948ed469913f59ed93b28514701dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Fri, 8 Dec 2023 17:01:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BC=E5=93=81=E5=8D=A1=E5=85=91=E6=8D=A2?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/CardValueRecordController.java | 15 +++++++ .../mapper/CardValueRecordMapper.java | 1 + .../mapper/xml/CardValueRecordMapper.xml | 26 ++++++++++++ .../service/CardValueRecordService.java | 1 + .../impl/CardValueRecordServiceImpl.java | 11 +++++ gasStation-uni/pagesHome/order/order.vue | 6 +-- gasStation-uni/pagesMy/Recharge/Recharge.vue | 42 ++++++++++++++++++- 7 files changed, 98 insertions(+), 4 deletions(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/controller/CardValueRecordController.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/controller/CardValueRecordController.java index e5974c845..45b4145bc 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/controller/CardValueRecordController.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/controller/CardValueRecordController.java @@ -128,6 +128,21 @@ public class CardValueRecordController extends BaseController { return getSuccessResult(this.cardValueRecordService.selectCardRecord(page, cardValueRecord)); } + /** + * 查询用户的囤油充值记录 + * @param pageNo + * @param pageSize + * @param cardValueRecord + * @return + */ + @GetMapping("selectFuleRecord") + public ResponseObject selectFuleRecord(@RequestParam(value = "pageNo",defaultValue = "1") Integer pageNo, + @RequestParam(value = "pageSize",defaultValue = "10") Integer pageSize, + @Param("cardValueRecord") CardValueRecordDTO cardValueRecord) { + Page page = new Page(pageNo, pageSize); + return getSuccessResult(this.cardValueRecordService.selectFuleRecord(page, cardValueRecord)); + } + /** * 查询用户的储值充值记录 和囤油充值记录 * @param pageNo diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/mapper/CardValueRecordMapper.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/mapper/CardValueRecordMapper.java index dd6e8c9a2..4462f471d 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/mapper/CardValueRecordMapper.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/mapper/CardValueRecordMapper.java @@ -17,6 +17,7 @@ import org.apache.ibatis.annotations.Param; public interface CardValueRecordMapper extends BaseMapper { IPage selectCardRecord(@Param("page") Page page,@Param("cardValueRecord") CardValueRecordDTO cardValueRecord); + IPage selectFuleRecord(@Param("page") Page page,@Param("cardValueRecord") CardValueRecordDTO cardValueRecord); IPage selectAllRecord(@Param("page") Page page, @Param("cardValueRecord") CardValueRecordDTO cardValueRecord); diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/mapper/xml/CardValueRecordMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/mapper/xml/CardValueRecordMapper.xml index 2c655409d..3c3c72d27 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/mapper/xml/CardValueRecordMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/mapper/xml/CardValueRecordMapper.xml @@ -28,6 +28,32 @@ ORDER BY createTime + +