From a913c83238628642fe8218da985a043fa0808407 Mon Sep 17 00:00:00 2001 From: wangh <9483> Date: Fri, 1 Dec 2023 16:40:20 +0800 Subject: [PATCH] no message --- .../fuint/repository/model/MtUserGrade.java | 13 ++-- gasStation-uni/package-lock.json | 5 ++ gasStation-uni/package.json | 1 + gasStation-uni/pagesHome/order/order.vue | 12 ++-- .../pagesRefuel/orderDetail/index.vue | 61 +++++++++++-------- 5 files changed, 57 insertions(+), 35 deletions(-) diff --git a/fuintBackend/fuint-repository/src/main/java/com/fuint/repository/model/MtUserGrade.java b/fuintBackend/fuint-repository/src/main/java/com/fuint/repository/model/MtUserGrade.java index 1c894f6de..e5114ba46 100644 --- a/fuintBackend/fuint-repository/src/main/java/com/fuint/repository/model/MtUserGrade.java +++ b/fuintBackend/fuint-repository/src/main/java/com/fuint/repository/model/MtUserGrade.java @@ -1,6 +1,7 @@ package com.fuint.repository.model; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; @@ -28,8 +29,8 @@ public class MtUserGrade implements Serializable { @TableId(value = "ID", type = IdType.AUTO) private Integer id; - @ApiModelProperty("商户ID") - private Integer merchantId; +// @ApiModelProperty("商户ID") +// private Integer merchantId; @ApiModelProperty("等级") private Integer grade; @@ -37,19 +38,23 @@ public class MtUserGrade implements Serializable { @ApiModelProperty("等级名称") private String name; - @ApiModelProperty("升级会员等级条件描述") - private String catchCondition; +// @ApiModelProperty("升级会员等级条件描述") +// private String catchCondition; @ApiModelProperty("升级会员等级条件,init:默认获取;pay:付费升级;frequency:消费次数;amount:累积消费金额升级") + @TableField(exist = false) private String catchType; @ApiModelProperty("达到升级条件的值") + @TableField(exist = false) private BigDecimal catchValue; @ApiModelProperty("会员权益描述") + @TableField(exist = false) private String userPrivilege; @ApiModelProperty("有效期") + @TableField(exist = false) private Integer validDay; @ApiModelProperty("享受折扣") diff --git a/gasStation-uni/package-lock.json b/gasStation-uni/package-lock.json index 1c000e3e5..a1cef3dc3 100644 --- a/gasStation-uni/package-lock.json +++ b/gasStation-uni/package-lock.json @@ -47,6 +47,11 @@ "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", "dev": true }, + "bignumber.js": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", + "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==" + }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", diff --git a/gasStation-uni/package.json b/gasStation-uni/package.json index ffb1f8c80..790011dee 100644 --- a/gasStation-uni/package.json +++ b/gasStation-uni/package.json @@ -1,6 +1,7 @@ { "dependencies": { "@dcloudio/uni-ui": "^1.4.28", + "bignumber.js": "^9.1.2", "uview-ui": "^2.0.36" }, "devDependencies": { diff --git a/gasStation-uni/pagesHome/order/order.vue b/gasStation-uni/pagesHome/order/order.vue index dec7bfde0..e8b9b2ba2 100644 --- a/gasStation-uni/pagesHome/order/order.vue +++ b/gasStation-uni/pagesHome/order/order.vue @@ -109,10 +109,11 @@