findRechargeCoupons() {
+ return couponsRepository.findByStatusAndSendStatusAndExpireTimeGreaterThanOrderByExpireTimeAsc((byte) 1, 4, System.currentTimeMillis());
+ }
}
\ No newline at end of file
diff --git a/admin/src/main/resources/templates/orders/coupons/add.html b/admin/src/main/resources/templates/orders/coupons/add.html
new file mode 100644
index 0000000..2db804c
--- /dev/null
+++ b/admin/src/main/resources/templates/orders/coupons/add.html
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/src/main/resources/templates/orders/coupons/detail.html b/admin/src/main/resources/templates/orders/coupons/detail.html
new file mode 100644
index 0000000..5eb9fbb
--- /dev/null
+++ b/admin/src/main/resources/templates/orders/coupons/detail.html
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
基本信息
+
+
+
+
+
+
+
+ | 主键ID |
+ |
+ 优惠券名称 |
+ |
+
+
+ | 有效商品子类型 |
+ |
+ 折扣 |
+ |
+
+
+ | 来源 |
+ |
+ 使用限制 |
+ |
+
+
+ | 使用限制信息 |
+ |
+ 过期时间戳 |
+ |
+
+
+ | 下发类型 |
+ |
+ 创建时间 |
+ |
+
+
+ | 更新时间 |
+ |
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/src/main/resources/templates/orders/coupons/index.html b/admin/src/main/resources/templates/orders/coupons/index.html
new file mode 100644
index 0000000..34d28ce
--- /dev/null
+++ b/admin/src/main/resources/templates/orders/coupons/index.html
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/src/main/resources/templates/orders/coupons/send.html b/admin/src/main/resources/templates/orders/coupons/send.html
new file mode 100644
index 0000000..c513630
--- /dev/null
+++ b/admin/src/main/resources/templates/orders/coupons/send.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/src/main/resources/templates/orders/goods/add.html b/admin/src/main/resources/templates/orders/goods/add.html
index 59da4be..7884ad0 100644
--- a/admin/src/main/resources/templates/orders/goods/add.html
+++ b/admin/src/main/resources/templates/orders/goods/add.html
@@ -20,6 +20,13 @@
mo-selected="${goods?.goodsType}">
+