feat:充值流水统计

This commit is contained in:
dzc committed 2025-01-20 20:30:47 +08:00
1 parent f8ecf06bd6
commit 811f1e79aa
28 files changed
+531 -40

No files matched your search

+5 -1
View File
@@ -46,7 +46,7 @@ CREATE TABLE wallet_manage
total_expense int DEFAULT 0 NOT NULL COMMENT '累计支出,单位分',
total_recharge int DEFAULT 0 NOT NULL COMMENT '累计充值,单位分',
freeze_price int DEFAULT 0 NOT NULL COMMENT '冻结金额,单位分',
is_freeze char(1) DEFAULT '0' NOT NULL COMMENT '是否冻结饭卡',
is_freeze char(1) DEFAULT '0' NOT NULL COMMENT '是否冻结饭卡',
active_bind_time timestamp COMMENT '绑定饭卡时间',
active_bind_status char(10) COMMENT '饭卡绑定状态',
create_by varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
@@ -117,6 +117,7 @@ CREATE TABLE wallet_freeze
id bigint NOT NULL COMMENT '编号',
process_id varchar(256) COMMENT '流程id',
process_status varchar(10) NOT NULL COMMENT '审核状体',
process_time datetime COMMENT '审核时间',
wallet_id bigint NOT NULL COMMENT '钱包id',
user_id bigint NOT NULL COMMENT '用户id',
dept_id bigint NOT NULL COMMENT '部门id',
@@ -191,6 +192,7 @@ CREATE TABLE wallet_recharge_apply
user_id bigint NOT NULL COMMENT '申请人ID',
process_id varchar(256) COMMENT '流程id',
process_status varchar(10) COMMENT '审核状体',
process_time datetime COMMENT '审核时间',
biz_type tinytext DEFAULT NULL COMMENT '充值类型',
wallet_type_id bigint DEFAULT NULL COMMENT '饭卡类型id',
dept_id bigint NOT NULL COMMENT '部门ID',
@@ -238,6 +240,7 @@ CREATE TABLE wallet_stride
id bigint NOT NULL COMMENT '编号',
process_id varchar(256) COMMENT '流程id',
process_status varchar(10) NOT NULL COMMENT '审核状体',
process_time datetime COMMENT '审核时间',
dept_id bigint NOT NULL COMMENT '部门id',
count int NOT NULL COMMENT '申请数量',
use_count int DEFAULT 0 COMMENT '使用数量',
@@ -263,6 +266,7 @@ CREATE TABLE wallet_foreign
user_id bigint NOT NULL COMMENT '用户id',
process_id varchar(256) COMMENT '流程id',
process_status varchar(10) NOT NULL COMMENT '审核状体',
process_time datetime COMMENT '审核时间',
dept_id bigint NOT NULL COMMENT '部门id',
apply_start_time date NULL COMMENT '申请使用开始时间',
apply_end_time date NULL COMMENT '申请使用结束时间',