Commit b69d4e08526651bd67187744ca9453f85f5cf25b
Merge branch 'master' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/mall_product
Showing
45 changed files
with
429 additions
and
311 deletions
pom.xml
| @@ -16,11 +16,11 @@ | @@ -16,11 +16,11 @@ | ||
| 16 | <module>yudao-module-member</module> | 16 | <module>yudao-module-member</module> |
| 17 | <module>yudao-module-system</module> | 17 | <module>yudao-module-system</module> |
| 18 | <module>yudao-module-infra</module> | 18 | <module>yudao-module-infra</module> |
| 19 | - <module>yudao-module-pay</module> | ||
| 20 | - <module>yudao-module-bpm</module> | ||
| 21 | - <module>yudao-module-report</module> | ||
| 22 | - <module>yudao-module-mp</module> | ||
| 23 | - <module>yudao-module-mall</module> | 19 | +<!-- <module>yudao-module-pay</module>--> |
| 20 | +<!-- <module>yudao-module-bpm</module>--> | ||
| 21 | +<!-- <module>yudao-module-report</module>--> | ||
| 22 | +<!-- <module>yudao-module-mp</module>--> | ||
| 23 | +<!-- <module>yudao-module-mall</module>--> | ||
| 24 | <!-- 示例项目 --> | 24 | <!-- 示例项目 --> |
| 25 | <module>yudao-example</module> | 25 | <module>yudao-example</module> |
| 26 | </modules> | 26 | </modules> |
sql/mysql/ruoyi-vue-pro.sql
| @@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
| 11 | Target Server Version : 80034 | 11 | Target Server Version : 80034 |
| 12 | File Encoding : 65001 | 12 | File Encoding : 65001 |
| 13 | 13 | ||
| 14 | - Date: 20/08/2023 19:42:16 | 14 | + Date: 31/08/2023 20:40:45 |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | SET NAMES utf8mb4; | 17 | SET NAMES utf8mb4; |
| @@ -360,7 +360,7 @@ CREATE TABLE `infra_api_error_log` ( | @@ -360,7 +360,7 @@ CREATE TABLE `infra_api_error_log` ( | ||
| 360 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 360 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 361 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | 361 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 362 | PRIMARY KEY (`id`) USING BTREE | 362 | PRIMARY KEY (`id`) USING BTREE |
| 363 | -) ENGINE = InnoDB AUTO_INCREMENT = 1453 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统异常日志'; | 363 | +) ENGINE = InnoDB AUTO_INCREMENT = 1497 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统异常日志'; |
| 364 | 364 | ||
| 365 | -- ---------------------------- | 365 | -- ---------------------------- |
| 366 | -- Records of infra_api_error_log | 366 | -- Records of infra_api_error_log |
| @@ -514,7 +514,7 @@ CREATE TABLE `infra_file` ( | @@ -514,7 +514,7 @@ CREATE TABLE `infra_file` ( | ||
| 514 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | 514 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 515 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 515 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 516 | PRIMARY KEY (`id`) USING BTREE | 516 | PRIMARY KEY (`id`) USING BTREE |
| 517 | -) ENGINE = InnoDB AUTO_INCREMENT = 975 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件表'; | 517 | +) ENGINE = InnoDB AUTO_INCREMENT = 1054 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件表'; |
| 518 | 518 | ||
| 519 | -- ---------------------------- | 519 | -- ---------------------------- |
| 520 | -- Records of infra_file | 520 | -- Records of infra_file |
| @@ -568,7 +568,7 @@ CREATE TABLE `infra_file_content` ( | @@ -568,7 +568,7 @@ CREATE TABLE `infra_file_content` ( | ||
| 568 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | 568 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 569 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 569 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 570 | PRIMARY KEY (`id`) USING BTREE | 570 | PRIMARY KEY (`id`) USING BTREE |
| 571 | -) ENGINE = InnoDB AUTO_INCREMENT = 66 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件表'; | 571 | +) ENGINE = InnoDB AUTO_INCREMENT = 145 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件表'; |
| 572 | 572 | ||
| 573 | -- ---------------------------- | 573 | -- ---------------------------- |
| 574 | -- Records of infra_file_content | 574 | -- Records of infra_file_content |
| @@ -694,6 +694,122 @@ INSERT INTO `member_address` (`id`, `user_id`, `name`, `mobile`, `area_id`, `det | @@ -694,6 +694,122 @@ INSERT INTO `member_address` (`id`, `user_id`, `name`, `mobile`, `area_id`, `det | ||
| 694 | COMMIT; | 694 | COMMIT; |
| 695 | 695 | ||
| 696 | -- ---------------------------- | 696 | -- ---------------------------- |
| 697 | +-- Table structure for member_experience_record | ||
| 698 | +-- ---------------------------- | ||
| 699 | +DROP TABLE IF EXISTS `member_experience_record`; | ||
| 700 | +CREATE TABLE `member_experience_record` ( | ||
| 701 | + `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', | ||
| 702 | + `user_id` bigint NOT NULL DEFAULT 0 COMMENT '用户编号', | ||
| 703 | + `biz_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '业务编号', | ||
| 704 | + `biz_type` tinyint NOT NULL DEFAULT 0 COMMENT '业务类型', | ||
| 705 | + `title` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '标题', | ||
| 706 | + `description` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '描述', | ||
| 707 | + `experience` int NOT NULL DEFAULT 0 COMMENT '经验', | ||
| 708 | + `total_experience` int NOT NULL DEFAULT 0 COMMENT '变更后的经验', | ||
| 709 | + `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者', | ||
| 710 | + `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', | ||
| 711 | + `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新者', | ||
| 712 | + `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | ||
| 713 | + `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | ||
| 714 | + `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | ||
| 715 | + PRIMARY KEY (`id`) USING BTREE, | ||
| 716 | + INDEX `idx_user_id`(`user_id` ASC) USING BTREE COMMENT '会员经验记录-用户编号', | ||
| 717 | + INDEX `idx_user_biz_type`(`user_id` ASC, `biz_type` ASC) USING BTREE COMMENT '会员经验记录-用户业务类型' | ||
| 718 | +) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '会员经验记录'; | ||
| 719 | + | ||
| 720 | +-- ---------------------------- | ||
| 721 | +-- Records of member_experience_record | ||
| 722 | +-- ---------------------------- | ||
| 723 | +BEGIN; | ||
| 724 | +INSERT INTO `member_experience_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `experience`, `total_experience`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 247, '0', 0, '管理员调整', '管理员调整获得100经验', 100, 100, '1', '2023-08-22 21:52:44', '1', '2023-08-22 21:52:44', b'0', 1); | ||
| 725 | +INSERT INTO `member_experience_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `experience`, `total_experience`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2, 247, '0', 0, '管理员调整', '管理员调整获得100经验', -50, 100, '1', '2023-08-22 21:52:44', '1', '2023-08-22 21:52:44', b'0', 1); | ||
| 726 | +INSERT INTO `member_experience_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `experience`, `total_experience`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (3, 247, '78', 2, '下单奖励', '下单获得 27 经验', 27, 127, NULL, '2023-08-30 18:46:52', NULL, '2023-08-30 18:46:52', b'0', 1); | ||
| 727 | +INSERT INTO `member_experience_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `experience`, `total_experience`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (4, 247, 'null', 3, '退单扣除', '退单获得 -6 经验', -6, 121, NULL, '2023-08-31 19:56:21', NULL, '2023-08-31 19:56:21', b'0', 1); | ||
| 728 | +COMMIT; | ||
| 729 | + | ||
| 730 | +-- ---------------------------- | ||
| 731 | +-- Table structure for member_group | ||
| 732 | +-- ---------------------------- | ||
| 733 | +DROP TABLE IF EXISTS `member_group`; | ||
| 734 | +CREATE TABLE `member_group` ( | ||
| 735 | + `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', | ||
| 736 | + `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '名称', | ||
| 737 | + `status` tinyint NOT NULL DEFAULT 0 COMMENT '状态', | ||
| 738 | + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注', | ||
| 739 | + `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者', | ||
| 740 | + `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', | ||
| 741 | + `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新者', | ||
| 742 | + `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | ||
| 743 | + `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | ||
| 744 | + `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | ||
| 745 | + PRIMARY KEY (`id`) USING BTREE | ||
| 746 | +) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户分组'; | ||
| 747 | + | ||
| 748 | +-- ---------------------------- | ||
| 749 | +-- Records of member_group | ||
| 750 | +-- ---------------------------- | ||
| 751 | +BEGIN; | ||
| 752 | +COMMIT; | ||
| 753 | + | ||
| 754 | +-- ---------------------------- | ||
| 755 | +-- Table structure for member_level | ||
| 756 | +-- ---------------------------- | ||
| 757 | +DROP TABLE IF EXISTS `member_level`; | ||
| 758 | +CREATE TABLE `member_level` ( | ||
| 759 | + `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', | ||
| 760 | + `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '等级名称', | ||
| 761 | + `level` int NOT NULL DEFAULT 0 COMMENT '等级', | ||
| 762 | + `experience` int NOT NULL DEFAULT 0 COMMENT '升级经验', | ||
| 763 | + `discount_percent` tinyint NOT NULL DEFAULT 100 COMMENT '享受折扣', | ||
| 764 | + `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '等级图标', | ||
| 765 | + `background_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '等级背景图', | ||
| 766 | + `status` tinyint NOT NULL DEFAULT 0 COMMENT '状态', | ||
| 767 | + `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者', | ||
| 768 | + `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', | ||
| 769 | + `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新者', | ||
| 770 | + `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | ||
| 771 | + `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | ||
| 772 | + `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | ||
| 773 | + PRIMARY KEY (`id`) USING BTREE | ||
| 774 | +) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '会员等级'; | ||
| 775 | + | ||
| 776 | +-- ---------------------------- | ||
| 777 | +-- Records of member_level | ||
| 778 | +-- ---------------------------- | ||
| 779 | +BEGIN; | ||
| 780 | +COMMIT; | ||
| 781 | + | ||
| 782 | +-- ---------------------------- | ||
| 783 | +-- Table structure for member_level_record | ||
| 784 | +-- ---------------------------- | ||
| 785 | +DROP TABLE IF EXISTS `member_level_record`; | ||
| 786 | +CREATE TABLE `member_level_record` ( | ||
| 787 | + `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', | ||
| 788 | + `user_id` bigint NOT NULL DEFAULT 0 COMMENT '用户编号', | ||
| 789 | + `level_id` bigint NOT NULL DEFAULT 0 COMMENT '等级编号', | ||
| 790 | + `level` int NOT NULL DEFAULT 0 COMMENT '会员等级', | ||
| 791 | + `discount_percent` tinyint NOT NULL DEFAULT 100 COMMENT '享受折扣', | ||
| 792 | + `experience` int NOT NULL DEFAULT 0 COMMENT '升级经验', | ||
| 793 | + `user_experience` int NOT NULL DEFAULT 0 COMMENT '会员此时的经验', | ||
| 794 | + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '备注', | ||
| 795 | + `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '描述', | ||
| 796 | + `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者', | ||
| 797 | + `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', | ||
| 798 | + `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新者', | ||
| 799 | + `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | ||
| 800 | + `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | ||
| 801 | + `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | ||
| 802 | + PRIMARY KEY (`id`) USING BTREE, | ||
| 803 | + INDEX `idx_user_id`(`user_id` ASC) USING BTREE COMMENT '会员等级记录-用户编号' | ||
| 804 | +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '会员等级记录'; | ||
| 805 | + | ||
| 806 | +-- ---------------------------- | ||
| 807 | +-- Records of member_level_record | ||
| 808 | +-- ---------------------------- | ||
| 809 | +BEGIN; | ||
| 810 | +COMMIT; | ||
| 811 | + | ||
| 812 | +-- ---------------------------- | ||
| 697 | -- Table structure for member_point_config | 813 | -- Table structure for member_point_config |
| 698 | -- ---------------------------- | 814 | -- ---------------------------- |
| 699 | DROP TABLE IF EXISTS `member_point_config`; | 815 | DROP TABLE IF EXISTS `member_point_config`; |
| @@ -741,7 +857,7 @@ CREATE TABLE `member_point_record` ( | @@ -741,7 +857,7 @@ CREATE TABLE `member_point_record` ( | ||
| 741 | PRIMARY KEY (`id`) USING BTREE, | 857 | PRIMARY KEY (`id`) USING BTREE, |
| 742 | INDEX `index_userId`(`user_id` ASC) USING BTREE, | 858 | INDEX `index_userId`(`user_id` ASC) USING BTREE, |
| 743 | INDEX `index_title`(`title` ASC) USING BTREE | 859 | INDEX `index_title`(`title` ASC) USING BTREE |
| 744 | -) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户积分记录'; | 860 | +) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户积分记录'; |
| 745 | 861 | ||
| 746 | -- ---------------------------- | 862 | -- ---------------------------- |
| 747 | -- Records of member_point_record | 863 | -- Records of member_point_record |
| @@ -749,7 +865,9 @@ CREATE TABLE `member_point_record` ( | @@ -749,7 +865,9 @@ CREATE TABLE `member_point_record` ( | ||
| 749 | BEGIN; | 865 | BEGIN; |
| 750 | INSERT INTO `member_point_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `point`, `total_point`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 247, '1', 1, '12', NULL, 33, 12, '', '2023-07-02 14:50:23', '', '2023-08-20 11:03:01', b'0', 1); | 866 | INSERT INTO `member_point_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `point`, `total_point`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 247, '1', 1, '12', NULL, 33, 12, '', '2023-07-02 14:50:23', '', '2023-08-20 11:03:01', b'0', 1); |
| 751 | INSERT INTO `member_point_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `point`, `total_point`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2, 247, '12', 1, '123', NULL, 22, 130, '', '2023-07-02 14:50:23', '', '2023-08-20 11:03:00', b'0', 1); | 867 | INSERT INTO `member_point_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `point`, `total_point`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2, 247, '12', 1, '123', NULL, 22, 130, '', '2023-07-02 14:50:23', '', '2023-08-20 11:03:00', b'0', 1); |
| 752 | -INSERT INTO `member_point_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `point`, `total_point`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (3, 247, '12', 1, '12', NULL, -12, 12, '', '2023-07-02 14:50:23', '', '2023-08-20 11:02:50', b'0', 1); | 868 | +INSERT INTO `member_point_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `point`, `total_point`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (3, 247, '12', 1, '12', NULL, -12, 12, '', '2023-07-02 14:50:55', '', '2023-08-21 14:19:29', b'0', 1); |
| 869 | +INSERT INTO `member_point_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `point`, `total_point`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (4, 247, '78', 10, '订单消费', '下单获得 81 积分', 81, 91, NULL, '2023-08-30 18:46:52', NULL, '2023-08-30 18:46:52', b'0', 1); | ||
| 870 | +INSERT INTO `member_point_record` (`id`, `user_id`, `biz_id`, `biz_type`, `title`, `description`, `point`, `total_point`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (5, 247, 'null', 11, '订单取消', '退单获得 -18 积分', -18, 73, NULL, '2023-08-31 19:56:21', NULL, '2023-08-31 19:56:21', b'0', 1); | ||
| 753 | COMMIT; | 871 | COMMIT; |
| 754 | 872 | ||
| 755 | -- ---------------------------- | 873 | -- ---------------------------- |
| @@ -768,7 +886,7 @@ CREATE TABLE `member_sign_in_config` ( | @@ -768,7 +886,7 @@ CREATE TABLE `member_sign_in_config` ( | ||
| 768 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 886 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 769 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | 887 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 770 | PRIMARY KEY (`id`) USING BTREE | 888 | PRIMARY KEY (`id`) USING BTREE |
| 771 | -) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '签到规则'; | 889 | +) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '签到规则'; |
| 772 | 890 | ||
| 773 | -- ---------------------------- | 891 | -- ---------------------------- |
| 774 | -- Records of member_sign_in_config | 892 | -- Records of member_sign_in_config |
| @@ -781,6 +899,11 @@ INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, | @@ -781,6 +899,11 @@ INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, | ||
| 781 | INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (5, 2, 12, 0, '', '2023-08-20 01:38:56', '', '2023-08-20 01:38:56', b'0', 0); | 899 | INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (5, 2, 12, 0, '', '2023-08-20 01:38:56', '', '2023-08-20 01:38:56', b'0', 0); |
| 782 | INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (6, 1, 10, 0, '1', '2023-08-20 19:20:42', '1', '2023-08-20 19:20:56', b'0', 1); | 900 | INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (6, 1, 10, 0, '1', '2023-08-20 19:20:42', '1', '2023-08-20 19:20:56', b'0', 1); |
| 783 | INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (7, 7, 22, 0, '1', '2023-08-20 19:20:48', '1', '2023-08-20 19:20:48', b'0', 1); | 901 | INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (7, 7, 22, 0, '1', '2023-08-20 19:20:48', '1', '2023-08-20 19:20:48', b'0', 1); |
| 902 | +INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (8, 2, 3, 0, '1', '2023-08-21 20:22:44', '1', '2023-08-21 20:22:44', b'0', 1); | ||
| 903 | +INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (9, 3, 4, 0, '1', '2023-08-21 20:22:48', '1', '2023-08-21 20:22:48', b'0', 1); | ||
| 904 | +INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (10, 4, 5, 0, '1', '2023-08-21 20:22:51', '1', '2023-08-21 20:22:51', b'0', 1); | ||
| 905 | +INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (11, 5, 6, 0, '1', '2023-08-21 20:22:56', '1', '2023-08-21 20:22:56', b'0', 1); | ||
| 906 | +INSERT INTO `member_sign_in_config` (`id`, `day`, `point`, `status`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (12, 6, 7, 0, '1', '2023-08-21 20:22:59', '1', '2023-08-21 20:22:59', b'0', 1); | ||
| 784 | COMMIT; | 907 | COMMIT; |
| 785 | 908 | ||
| 786 | -- ---------------------------- | 909 | -- ---------------------------- |
| @@ -822,7 +945,7 @@ CREATE TABLE `member_tag` ( | @@ -822,7 +945,7 @@ CREATE TABLE `member_tag` ( | ||
| 822 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 945 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 823 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | 946 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 824 | PRIMARY KEY (`id`) USING BTREE | 947 | PRIMARY KEY (`id`) USING BTREE |
| 825 | -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '会员标签'; | 948 | +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '会员标签'; |
| 826 | 949 | ||
| 827 | -- ---------------------------- | 950 | -- ---------------------------- |
| 828 | -- Records of member_tag | 951 | -- Records of member_tag |
| @@ -853,6 +976,9 @@ CREATE TABLE `member_user` ( | @@ -853,6 +976,9 @@ CREATE TABLE `member_user` ( | ||
| 853 | `mark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会员备注', | 976 | `mark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会员备注', |
| 854 | `point` int NOT NULL DEFAULT 0 COMMENT '积分', | 977 | `point` int NOT NULL DEFAULT 0 COMMENT '积分', |
| 855 | `tag_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户标签编号列表,以逗号分隔', | 978 | `tag_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户标签编号列表,以逗号分隔', |
| 979 | + `level_id` bigint NULL DEFAULT NULL COMMENT '等级编号', | ||
| 980 | + `experience` int NOT NULL DEFAULT 0 COMMENT '经验', | ||
| 981 | + `group_id` bigint NULL DEFAULT NULL COMMENT '用户分组编号', | ||
| 856 | `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', | 982 | `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', |
| 857 | `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', | 983 | `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', |
| 858 | `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', | 984 | `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', |
| @@ -929,7 +1055,7 @@ CREATE TABLE `system_dict_data` ( | @@ -929,7 +1055,7 @@ CREATE TABLE `system_dict_data` ( | ||
| 929 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | 1055 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 930 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 1056 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 931 | PRIMARY KEY (`id`) USING BTREE | 1057 | PRIMARY KEY (`id`) USING BTREE |
| 932 | -) ENGINE = InnoDB AUTO_INCREMENT = 1350 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典数据表'; | 1058 | +) ENGINE = InnoDB AUTO_INCREMENT = 1358 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典数据表'; |
| 933 | 1059 | ||
| 934 | -- ---------------------------- | 1060 | -- ---------------------------- |
| 935 | -- Records of system_dict_data | 1061 | -- Records of system_dict_data |
| @@ -1146,6 +1272,14 @@ INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `st | @@ -1146,6 +1272,14 @@ INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `st | ||
| 1146 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1347, 2, '退款单', '2', 'pay_notify_type', 0, 'danger', '', NULL, '1', '2023-07-20 12:23:26', '1', '2023-07-20 12:23:26', b'0'); | 1272 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1347, 2, '退款单', '2', 'pay_notify_type', 0, 'danger', '', NULL, '1', '2023-07-20 12:23:26', '1', '2023-07-20 12:23:26', b'0'); |
| 1147 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1348, 20, '模拟支付', 'mock', 'pay_channel_code', 0, 'default', '', '模拟支付', '1', '2023-07-29 11:10:51', '1', '2023-07-29 03:14:10', b'0'); | 1273 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1348, 20, '模拟支付', 'mock', 'pay_channel_code', 0, 'default', '', '模拟支付', '1', '2023-07-29 11:10:51', '1', '2023-07-29 03:14:10', b'0'); |
| 1148 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1349, 12, '订单取消', '12', 'member_point_biz_type', 0, '', '', '', '1', '2023-08-20 12:00:03', '1', '2023-08-20 12:00:03', b'0'); | 1274 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1349, 12, '订单取消', '12', 'member_point_biz_type', 0, '', '', '', '1', '2023-08-20 12:00:03', '1', '2023-08-20 12:00:03', b'0'); |
| 1275 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1350, 0, '管理员调整', '0', 'member_experience_biz_type', 0, '', '', NULL, '', '2023-08-22 12:41:01', '', '2023-08-22 12:41:01', b'0'); | ||
| 1276 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1351, 1, '邀新奖励', '1', 'member_experience_biz_type', 0, '', '', NULL, '', '2023-08-22 12:41:01', '', '2023-08-22 12:41:01', b'0'); | ||
| 1277 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1352, 2, '下单奖励', '2', 'member_experience_biz_type', 0, '', '', NULL, '', '2023-08-22 12:41:01', '', '2023-08-22 12:41:01', b'0'); | ||
| 1278 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1353, 3, '退单扣除', '3', 'member_experience_biz_type', 0, '', '', NULL, '', '2023-08-22 12:41:01', '', '2023-08-22 12:41:01', b'0'); | ||
| 1279 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1354, 4, '签到奖励', '4', 'member_experience_biz_type', 0, '', '', NULL, '', '2023-08-22 12:41:01', '', '2023-08-22 12:41:01', b'0'); | ||
| 1280 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1355, 5, '抽奖奖励', '5', 'member_experience_biz_type', 0, '', '', NULL, '', '2023-08-22 12:41:01', '', '2023-08-22 12:41:01', b'0'); | ||
| 1281 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1356, 1, '快递发货', '1', 'trade_delivery_type', 0, '', '', '', '1', '2023-08-23 00:04:55', '1', '2023-08-23 00:04:55', b'0'); | ||
| 1282 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1357, 2, '用户自提', '2', 'trade_delivery_type', 0, '', '', '', '1', '2023-08-23 00:05:05', '1', '2023-08-23 00:05:05', b'0'); | ||
| 1149 | COMMIT; | 1283 | COMMIT; |
| 1150 | 1284 | ||
| 1151 | -- ---------------------------- | 1285 | -- ---------------------------- |
| @@ -1166,7 +1300,7 @@ CREATE TABLE `system_dict_type` ( | @@ -1166,7 +1300,7 @@ CREATE TABLE `system_dict_type` ( | ||
| 1166 | `deleted_time` datetime NULL DEFAULT NULL COMMENT '删除时间', | 1300 | `deleted_time` datetime NULL DEFAULT NULL COMMENT '删除时间', |
| 1167 | PRIMARY KEY (`id`) USING BTREE, | 1301 | PRIMARY KEY (`id`) USING BTREE, |
| 1168 | UNIQUE INDEX `dict_type`(`type` ASC) USING BTREE | 1302 | UNIQUE INDEX `dict_type`(`type` ASC) USING BTREE |
| 1169 | -) ENGINE = InnoDB AUTO_INCREMENT = 174 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典类型表'; | 1303 | +) ENGINE = InnoDB AUTO_INCREMENT = 176 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典类型表'; |
| 1170 | 1304 | ||
| 1171 | -- ---------------------------- | 1305 | -- ---------------------------- |
| 1172 | -- Records of system_dict_type | 1306 | -- Records of system_dict_type |
| @@ -1229,6 +1363,8 @@ INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creat | @@ -1229,6 +1363,8 @@ INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creat | ||
| 1229 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (170, '快递计费方式', 'trade_delivery_express_charge_mode', 0, '用于商城交易模块配送管理', '1', '2023-05-21 22:45:03', '1', '2023-05-21 22:45:03', b'0', '1970-01-01 00:00:00'); | 1363 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (170, '快递计费方式', 'trade_delivery_express_charge_mode', 0, '用于商城交易模块配送管理', '1', '2023-05-21 22:45:03', '1', '2023-05-21 22:45:03', b'0', '1970-01-01 00:00:00'); |
| 1230 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (171, '积分业务类型', 'member_point_biz_type', 0, '', '1', '2023-06-10 12:15:00', '1', '2023-06-28 13:48:20', b'0', '1970-01-01 00:00:00'); | 1364 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (171, '积分业务类型', 'member_point_biz_type', 0, '', '1', '2023-06-10 12:15:00', '1', '2023-06-28 13:48:20', b'0', '1970-01-01 00:00:00'); |
| 1231 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (173, '支付通知类型', 'pay_notify_type', 0, NULL, '1', '2023-07-20 12:23:03', '1', '2023-07-20 12:23:03', b'0', '1970-01-01 00:00:00'); | 1365 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (173, '支付通知类型', 'pay_notify_type', 0, NULL, '1', '2023-07-20 12:23:03', '1', '2023-07-20 12:23:03', b'0', '1970-01-01 00:00:00'); |
| 1366 | +INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (174, '会员经验业务类型', 'member_experience_biz_type', 0, NULL, '', '2023-08-22 12:41:01', '', '2023-08-22 12:41:01', b'0', NULL); | ||
| 1367 | +INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (175, '交易配送类型', 'trade_delivery_type', 0, '', '1', '2023-08-23 00:03:14', '1', '2023-08-23 00:03:14', b'0', '1970-01-01 00:00:00'); | ||
| 1232 | COMMIT; | 1368 | COMMIT; |
| 1233 | 1369 | ||
| 1234 | -- ---------------------------- | 1370 | -- ---------------------------- |
| @@ -1277,7 +1413,7 @@ CREATE TABLE `system_login_log` ( | @@ -1277,7 +1413,7 @@ CREATE TABLE `system_login_log` ( | ||
| 1277 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 1413 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1278 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | 1414 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 1279 | PRIMARY KEY (`id`) USING BTREE | 1415 | PRIMARY KEY (`id`) USING BTREE |
| 1280 | -) ENGINE = InnoDB AUTO_INCREMENT = 2303 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统访问记录'; | 1416 | +) ENGINE = InnoDB AUTO_INCREMENT = 2372 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统访问记录'; |
| 1281 | 1417 | ||
| 1282 | -- ---------------------------- | 1418 | -- ---------------------------- |
| 1283 | -- Records of system_login_log | 1419 | -- Records of system_login_log |
| @@ -1407,7 +1543,7 @@ CREATE TABLE `system_menu` ( | @@ -1407,7 +1543,7 @@ CREATE TABLE `system_menu` ( | ||
| 1407 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | 1543 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 1408 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 1544 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1409 | PRIMARY KEY (`id`) USING BTREE | 1545 | PRIMARY KEY (`id`) USING BTREE |
| 1410 | -) ENGINE = InnoDB AUTO_INCREMENT = 2325 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '菜单权限表'; | 1546 | +) ENGINE = InnoDB AUTO_INCREMENT = 2341 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '菜单权限表'; |
| 1411 | 1547 | ||
| 1412 | -- ---------------------------- | 1548 | -- ---------------------------- |
| 1413 | -- Records of system_menu | 1549 | -- Records of system_menu |
| @@ -1638,33 +1774,33 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | @@ -1638,33 +1774,33 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | ||
| 1638 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1267, '客户端删除', 'system:oauth2-client:delete', 3, 4, 1263, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:33', b'0'); | 1774 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1267, '客户端删除', 'system:oauth2-client:delete', 3, 4, 1263, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:33', b'0'); |
| 1639 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1281, '报表管理', '', 1, 40, 0, '/report', 'chart', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-07-10 20:22:15', '1', '2023-02-07 17:16:40', b'0'); | 1775 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1281, '报表管理', '', 1, 40, 0, '/report', 'chart', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-07-10 20:22:15', '1', '2023-02-07 17:16:40', b'0'); |
| 1640 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1282, '报表设计器', '', 2, 1, 1281, 'jimu-report', 'example', 'report/jmreport/index', 'GoView', 0, b'1', b'1', b'1', '1', '2022-07-10 20:26:36', '1', '2023-04-08 10:47:59', b'0'); | 1776 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1282, '报表设计器', '', 2, 1, 1281, 'jimu-report', 'example', 'report/jmreport/index', 'GoView', 0, b'1', b'1', b'1', '1', '2022-07-10 20:26:36', '1', '2023-04-08 10:47:59', b'0'); |
| 1641 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2000, '商品中心', '', 1, 60, 0, '/product', 'merchant', NULL, NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '1', '2022-07-30 22:26:19', b'0'); | ||
| 1642 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2002, '商品分类', '', 2, 2, 2000, 'category', 'dict', 'mall/product/category/index', 'ProductCategory', 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '1', '2023-04-08 11:34:59', b'0'); | 1777 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2000, '商品中心', '', 1, 60, 0, '/product', 'fa:product-hunt', NULL, NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '1', '2023-08-21 10:26:51', b'0'); |
| 1778 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2002, '商品分类', '', 2, 2, 2000, 'category', 'ep:cellphone', 'mall/product/category/index', 'ProductCategory', 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '1', '2023-08-21 10:27:15', b'0'); | ||
| 1643 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2003, '分类查询', 'product:category:query', 3, 1, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); | 1779 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2003, '分类查询', 'product:category:query', 3, 1, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); |
| 1644 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2004, '分类创建', 'product:category:create', 3, 2, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); | 1780 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2004, '分类创建', 'product:category:create', 3, 2, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); |
| 1645 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2005, '分类更新', 'product:category:update', 3, 3, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); | 1781 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2005, '分类更新', 'product:category:update', 3, 3, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); |
| 1646 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2006, '分类删除', 'product:category:delete', 3, 4, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); | 1782 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2006, '分类删除', 'product:category:delete', 3, 4, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); |
| 1647 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2008, '商品品牌', '', 2, 3, 2000, 'brand', 'dashboard', 'mall/product/brand/index', 'ProductBrand', 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '1', '2023-04-08 11:35:29', b'0'); | 1783 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2008, '商品品牌', '', 2, 3, 2000, 'brand', 'ep:chicken', 'mall/product/brand/index', 'ProductBrand', 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '1', '2023-08-21 10:27:28', b'0'); |
| 1648 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2009, '品牌查询', 'product:brand:query', 3, 1, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); | 1784 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2009, '品牌查询', 'product:brand:query', 3, 1, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); |
| 1649 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2010, '品牌创建', 'product:brand:create', 3, 2, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); | 1785 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2010, '品牌创建', 'product:brand:create', 3, 2, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); |
| 1650 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2011, '品牌更新', 'product:brand:update', 3, 3, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); | 1786 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2011, '品牌更新', 'product:brand:update', 3, 3, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); |
| 1651 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2012, '品牌删除', 'product:brand:delete', 3, 4, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); | 1787 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2012, '品牌删除', 'product:brand:delete', 3, 4, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); |
| 1652 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2014, '商品列表', '', 2, 1, 2000, 'spu', 'list', 'mall/product/spu/index', 'ProductSpu', 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '1', '2023-04-08 11:34:47', b'0'); | 1788 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2014, '商品列表', '', 2, 1, 2000, 'spu', 'ep:apple', 'mall/product/spu/index', 'ProductSpu', 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '1', '2023-08-21 10:27:01', b'0'); |
| 1653 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2015, '商品查询', 'product:spu:query', 3, 1, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); | 1789 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2015, '商品查询', 'product:spu:query', 3, 1, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1654 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2016, '商品创建', 'product:spu:create', 3, 2, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); | 1790 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2016, '商品创建', 'product:spu:create', 3, 2, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1655 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2017, '商品更新', 'product:spu:update', 3, 3, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); | 1791 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2017, '商品更新', 'product:spu:update', 3, 3, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1656 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2018, '商品删除', 'product:spu:delete', 3, 4, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); | 1792 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2018, '商品删除', 'product:spu:delete', 3, 4, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1657 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2019, '商品属性', '', 2, 3, 2000, 'property', 'eye', 'mall/product/property/index', 'ProductProperty', 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '1', '2023-04-08 11:35:15', b'0'); | 1793 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2019, '商品属性', '', 2, 4, 2000, 'property', 'ep:cold-drink', 'mall/product/property/index', 'ProductProperty', 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '1', '2023-08-26 11:01:05', b'0'); |
| 1658 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2020, '规格查询', 'product:property:query', 3, 1, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:24', b'0'); | 1794 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2020, '规格查询', 'product:property:query', 3, 1, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:24', b'0'); |
| 1659 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2021, '规格创建', 'product:property:create', 3, 2, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:30', b'0'); | 1795 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2021, '规格创建', 'product:property:create', 3, 2, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:30', b'0'); |
| 1660 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2022, '规格更新', 'product:property:update', 3, 3, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:33', b'0'); | 1796 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2022, '规格更新', 'product:property:update', 3, 3, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:33', b'0'); |
| 1661 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2023, '规格删除', 'product:property:delete', 3, 4, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:37', b'0'); | 1797 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2023, '规格删除', 'product:property:delete', 3, 4, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:37', b'0'); |
| 1662 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2025, 'Banner管理', '', 2, 100, 2000, 'banner', '', 'mall/market/banner/index', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '1', '2022-10-24 22:29:39', b'0'); | 1798 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2025, 'Banner管理', '', 2, 100, 2030, 'banner', '', 'mall/market/banner/index', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '1', '2023-08-21 10:27:51', b'0'); |
| 1663 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2026, 'Banner查询', 'market:banner:query', 3, 1, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); | 1799 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2026, 'Banner查询', 'market:banner:query', 3, 1, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); |
| 1664 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2027, 'Banner创建', 'market:banner:create', 3, 2, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); | 1800 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2027, 'Banner创建', 'market:banner:create', 3, 2, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); |
| 1665 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2028, 'Banner更新', 'market:banner:update', 3, 3, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); | 1801 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2028, 'Banner更新', 'market:banner:update', 3, 3, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); |
| 1666 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2029, 'Banner删除', 'market:banner:delete', 3, 4, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); | 1802 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2029, 'Banner删除', 'market:banner:delete', 3, 4, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); |
| 1667 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2030, '营销中心', '', 1, 70, 0, '/promotion', 'rate', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-10-31 21:25:09', '1', '2022-10-31 21:25:09', b'0'); | 1803 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2030, '营销中心', '', 1, 70, 0, '/promotion', 'ep:present', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-10-31 21:25:09', '1', '2023-08-31 15:49:31', b'0'); |
| 1668 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2032, '优惠劵', '', 2, 1, 2030, 'coupon-template', 'ep:discount', 'mall/promotion/coupon/template/index', 'PromotionCouponTemplate', 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '1', '2023-08-12 11:35:35', b'0'); | 1804 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2032, '优惠劵', '', 2, 1, 2030, 'coupon-template', 'ep:discount', 'mall/promotion/coupon/template/index', 'PromotionCouponTemplate', 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '1', '2023-08-12 11:35:35', b'0'); |
| 1669 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2033, '优惠劵模板查询', 'promotion:coupon-template:query', 3, 1, 2032, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '', '2022-10-31 22:27:14', b'0'); | 1805 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2033, '优惠劵模板查询', 'promotion:coupon-template:query', 3, 1, 2032, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '', '2022-10-31 22:27:14', b'0'); |
| 1670 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2034, '优惠劵模板创建', 'promotion:coupon-template:create', 3, 2, 2032, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '', '2022-10-31 22:27:14', b'0'); | 1806 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2034, '优惠劵模板创建', 'promotion:coupon-template:create', 3, 2, 2032, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '', '2022-10-31 22:27:14', b'0'); |
| @@ -1695,11 +1831,11 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | @@ -1695,11 +1831,11 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | ||
| 1695 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2068, '秒杀时段创建', 'promotion:seckill-config:create', 3, 2, 2066, '', '', '', '', 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '1', '2023-06-24 17:48:39', b'0'); | 1831 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2068, '秒杀时段创建', 'promotion:seckill-config:create', 3, 2, 2066, '', '', '', '', 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '1', '2023-06-24 17:48:39', b'0'); |
| 1696 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2069, '秒杀时段更新', 'promotion:seckill-config:update', 3, 3, 2066, '', '', '', '', 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '1', '2023-06-24 17:50:29', b'0'); | 1832 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2069, '秒杀时段更新', 'promotion:seckill-config:update', 3, 3, 2066, '', '', '', '', 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '1', '2023-06-24 17:50:29', b'0'); |
| 1697 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2070, '秒杀时段删除', 'promotion:seckill-config:delete', 3, 4, 2066, '', '', '', '', 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '1', '2023-06-24 17:50:32', b'0'); | 1833 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2070, '秒杀时段删除', 'promotion:seckill-config:delete', 3, 4, 2066, '', '', '', '', 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '1', '2023-06-24 17:50:32', b'0'); |
| 1698 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2072, '订单中心', '', 1, 65, 0, '/trade', 'order', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-11-19 18:57:19', '1', '2022-12-10 16:32:57', b'0'); | ||
| 1699 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2073, '售后退款', '', 2, 1, 2072, 'trade/after-sale', 'education', 'mall/trade/afterSale/index', 'TradeAfterSale', 0, b'1', b'1', b'1', '', '2022-11-19 20:15:32', '1', '2023-04-08 11:43:19', b'0'); | 1834 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2072, '订单中心', '', 1, 65, 0, '/trade', 'ep:eleme', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-11-19 18:57:19', '1', '2023-08-30 21:01:48', b'0'); |
| 1835 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2073, '售后退款', '', 2, 1, 2072, 'trade/after-sale', 'ep:refrigerator', 'mall/trade/afterSale/index', 'TradeAfterSale', 0, b'1', b'1', b'1', '', '2022-11-19 20:15:32', '1', '2023-08-30 21:02:16', b'0'); | ||
| 1700 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2074, '售后查询', 'trade:after-sale:query', 3, 1, 2073, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-19 20:15:33', '1', '2022-12-10 21:04:29', b'0'); | 1836 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2074, '售后查询', 'trade:after-sale:query', 3, 1, 2073, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-19 20:15:33', '1', '2022-12-10 21:04:29', b'0'); |
| 1701 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2075, '秒杀活动关闭', 'promotion:sekill-activity:close', 3, 5, 2059, '', '', '', '', 0, b'1', b'1', b'1', '1', '2022-11-28 20:20:15', '1', '2023-08-12 17:53:02', b'0'); | 1837 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2075, '秒杀活动关闭', 'promotion:sekill-activity:close', 3, 5, 2059, '', '', '', '', 0, b'1', b'1', b'1', '1', '2022-11-28 20:20:15', '1', '2023-08-12 17:53:02', b'0'); |
| 1702 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2076, '订单列表', '', 2, 0, 2072, 'trade/order', 'list', 'mall/trade/order/index', 'TradeOrder', 0, b'1', b'1', b'1', '1', '2022-12-10 21:05:44', '1', '2023-04-08 11:42:23', b'0'); | 1838 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2076, '订单列表', '', 2, 0, 2072, 'trade/order', 'ep:list', 'mall/trade/order/index', 'TradeOrder', 0, b'1', b'1', b'1', '1', '2022-12-10 21:05:44', '1', '2023-08-30 21:02:00', b'0'); |
| 1703 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2083, '地区管理', '', 2, 14, 1, 'area', 'row', 'system/area/index', 'SystemArea', 0, b'1', b'1', b'1', '1', '2022-12-23 17:35:05', '1', '2023-04-08 09:01:37', b'0'); | 1839 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2083, '地区管理', '', 2, 14, 1, 'area', 'row', 'system/area/index', 'SystemArea', 0, b'1', b'1', b'1', '1', '2022-12-23 17:35:05', '1', '2023-04-08 09:01:37', b'0'); |
| 1704 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2084, '公众号管理', '', 1, 100, 0, '/mp', 'wechat', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-01-01 20:11:04', '1', '2023-01-15 11:28:57', b'0'); | 1840 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2084, '公众号管理', '', 1, 100, 0, '/mp', 'wechat', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-01-01 20:11:04', '1', '2023-01-15 11:28:57', b'0'); |
| 1705 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2085, '账号管理', '', 2, 1, 2084, 'account', 'phone', 'mp/account/index', 'MpAccount', 0, b'1', b'1', b'1', '1', '2023-01-01 20:13:31', '1', '2023-02-09 23:56:39', b'0'); | 1841 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2085, '账号管理', '', 2, 1, 2084, 'account', 'phone', 'mp/account/index', 'MpAccount', 0, b'1', b'1', b'1', '1', '2023-01-01 20:13:31', '1', '2023-02-09 23:56:39', b'0'); |
| @@ -1780,22 +1916,22 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | @@ -1780,22 +1916,22 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | ||
| 1780 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2160, 'Cloud 开发文档', '', 1, 2, 0, 'https://cloud.iocoder.cn', 'documentation', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-02-10 22:47:07', '1', '2023-02-10 22:47:07', b'0'); | 1916 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2160, 'Cloud 开发文档', '', 1, 2, 0, 'https://cloud.iocoder.cn', 'documentation', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-02-10 22:47:07', '1', '2023-02-10 22:47:07', b'0'); |
| 1781 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2161, '接入示例', '', 2, 99, 1117, 'demo-order', 'drag', 'pay/demo/index', NULL, 0, b'1', b'1', b'1', '', '2023-02-11 14:21:42', '1', '2023-02-11 22:26:35', b'0'); | 1917 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2161, '接入示例', '', 2, 99, 1117, 'demo-order', 'drag', 'pay/demo/index', NULL, 0, b'1', b'1', b'1', '', '2023-02-11 14:21:42', '1', '2023-02-11 22:26:35', b'0'); |
| 1782 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2162, '商品导出', 'product:spu:export', 3, 5, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); | 1918 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2162, '商品导出', 'product:spu:export', 3, 5, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1783 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2164, '配送管理', '', 1, 2, 2072, 'delivery', '', '', '', 0, b'1', b'1', b'1', '1', '2023-05-18 09:18:02', '1', '2023-05-24 23:24:13', b'0'); | ||
| 1784 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2165, '快递发货', '', 1, 0, 2164, 'express', '', '', '', 0, b'1', b'1', b'1', '1', '2023-05-18 09:22:06', '1', '2023-05-18 09:22:06', b'0'); | ||
| 1785 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2166, '门店自提', '', 1, 1, 2164, 'pick-up-store', '', '', '', 0, b'1', b'1', b'1', '1', '2023-05-18 09:23:14', '1', '2023-05-18 09:23:14', b'0'); | ||
| 1786 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2167, '快递公司', '', 2, 0, 2165, 'express', '', 'mall/trade/delivery/express/index', 'Express', 0, b'1', b'1', b'1', '1', '2023-05-18 09:27:21', '1', '2023-05-18 22:11:14', b'0'); | 1919 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2164, '配送管理', '', 1, 2, 2072, 'delivery', 'ep:shopping-cart', '', '', 0, b'1', b'1', b'1', '1', '2023-05-18 09:18:02', '1', '2023-08-30 21:02:27', b'0'); |
| 1920 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2165, '快递发货', '', 1, 0, 2164, 'express', 'ep:bicycle', '', '', 0, b'1', b'1', b'1', '1', '2023-05-18 09:22:06', '1', '2023-08-30 21:02:49', b'0'); | ||
| 1921 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2166, '门店自提', '', 1, 1, 2164, 'pick-up-store', 'ep:add-location', '', '', 0, b'1', b'1', b'1', '1', '2023-05-18 09:23:14', '1', '2023-08-30 21:03:21', b'0'); | ||
| 1922 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2167, '快递公司', '', 2, 0, 2165, 'express', 'ep:compass', 'mall/trade/delivery/express/index', 'Express', 0, b'1', b'1', b'1', '1', '2023-05-18 09:27:21', '1', '2023-08-30 21:02:59', b'0'); | ||
| 1787 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2168, '快递公司查询', 'trade:delivery:express:query', 3, 1, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); | 1923 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2168, '快递公司查询', 'trade:delivery:express:query', 3, 1, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); |
| 1788 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2169, '快递公司创建', 'trade:delivery:express:create', 3, 2, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); | 1924 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2169, '快递公司创建', 'trade:delivery:express:create', 3, 2, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); |
| 1789 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2170, '快递公司更新', 'trade:delivery:express:update', 3, 3, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); | 1925 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2170, '快递公司更新', 'trade:delivery:express:update', 3, 3, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); |
| 1790 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2171, '快递公司删除', 'trade:delivery:express:delete', 3, 4, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); | 1926 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2171, '快递公司删除', 'trade:delivery:express:delete', 3, 4, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); |
| 1791 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2172, '快递公司导出', 'trade:delivery:express:export', 3, 5, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); | 1927 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2172, '快递公司导出', 'trade:delivery:express:export', 3, 5, 2167, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-18 09:37:53', '', '2023-05-18 09:37:53', b'0'); |
| 1792 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2173, '运费模版', 'trade:delivery:express-template:query', 2, 1, 2165, 'express-template', '', 'mall/trade/delivery/expressTemplate/index', 'ExpressTemplate', 0, b'1', b'1', b'1', '1', '2023-05-20 06:48:10', '1', '2023-05-20 06:48:29', b'0'); | 1928 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2173, '运费模版', 'trade:delivery:express-template:query', 2, 1, 2165, 'express-template', 'ep:coordinate', 'mall/trade/delivery/expressTemplate/index', 'ExpressTemplate', 0, b'1', b'1', b'1', '1', '2023-05-20 06:48:10', '1', '2023-08-30 21:03:13', b'0'); |
| 1793 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2174, '快递运费模板查询', 'trade:delivery:express-template:query', 3, 1, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); | 1929 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2174, '快递运费模板查询', 'trade:delivery:express-template:query', 3, 1, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); |
| 1794 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2175, '快递运费模板创建', 'trade:delivery:express-template:create', 3, 2, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); | 1930 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2175, '快递运费模板创建', 'trade:delivery:express-template:create', 3, 2, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); |
| 1795 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2176, '快递运费模板更新', 'trade:delivery:express-template:update', 3, 3, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); | 1931 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2176, '快递运费模板更新', 'trade:delivery:express-template:update', 3, 3, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); |
| 1796 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2177, '快递运费模板删除', 'trade:delivery:express-template:delete', 3, 4, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); | 1932 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2177, '快递运费模板删除', 'trade:delivery:express-template:delete', 3, 4, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); |
| 1797 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2178, '快递运费模板导出', 'trade:delivery:express-template:export', 3, 5, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); | 1933 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2178, '快递运费模板导出', 'trade:delivery:express-template:export', 3, 5, 2173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-20 06:49:53', '', '2023-05-20 06:49:53', b'0'); |
| 1798 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2179, '门店管理', '', 2, 1, 2166, 'pick-up-store', '', 'mall/trade/delivery/pickUpStore/index', 'PickUpStore', 0, b'1', b'1', b'1', '1', '2023-05-25 10:50:00', '1', '2023-05-25 10:50:00', b'0'); | 1934 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2179, '门店管理', '', 2, 1, 2166, 'pick-up-store', 'ep:basketball', 'mall/trade/delivery/pickUpStore/index', 'PickUpStore', 0, b'1', b'1', b'1', '1', '2023-05-25 10:50:00', '1', '2023-08-30 21:03:28', b'0'); |
| 1799 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2180, '自提门店查询', 'trade:delivery:pick-up-store:query', 3, 1, 2179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-25 10:53:29', '', '2023-05-25 10:53:29', b'0'); | 1935 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2180, '自提门店查询', 'trade:delivery:pick-up-store:query', 3, 1, 2179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-25 10:53:29', '', '2023-05-25 10:53:29', b'0'); |
| 1800 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2181, '自提门店创建', 'trade:delivery:pick-up-store:create', 3, 2, 2179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-25 10:53:29', '', '2023-05-25 10:53:29', b'0'); | 1936 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2181, '自提门店创建', 'trade:delivery:pick-up-store:create', 3, 2, 2179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-25 10:53:29', '', '2023-05-25 10:53:29', b'0'); |
| 1801 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2182, '自提门店更新', 'trade:delivery:pick-up-store:update', 3, 3, 2179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-25 10:53:29', '', '2023-05-25 10:53:29', b'0'); | 1937 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2182, '自提门店更新', 'trade:delivery:pick-up-store:update', 3, 3, 2179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-05-25 10:53:29', '', '2023-05-25 10:53:29', b'0'); |
| @@ -1834,7 +1970,7 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | @@ -1834,7 +1970,7 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | ||
| 1834 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2314, '砍价活动更新', 'promotion:bargain-activity:update', 3, 3, 2311, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-13 00:32:55', '1', '2023-08-13 00:32:55', b'0'); | 1970 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2314, '砍价活动更新', 'promotion:bargain-activity:update', 3, 3, 2311, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-13 00:32:55', '1', '2023-08-13 00:32:55', b'0'); |
| 1835 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2315, '砍价活动删除', 'promotion:bargain-activity:delete', 3, 4, 2311, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-13 00:34:50', '1', '2023-08-13 00:34:50', b'0'); | 1971 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2315, '砍价活动删除', 'promotion:bargain-activity:delete', 3, 4, 2311, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-13 00:34:50', '1', '2023-08-13 00:34:50', b'0'); |
| 1836 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2316, '砍价活动关闭', 'promotion:bargain-activity:close', 3, 5, 2311, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-13 00:35:02', '1', '2023-08-13 00:35:02', b'0'); | 1972 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2316, '砍价活动关闭', 'promotion:bargain-activity:close', 3, 5, 2311, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-13 00:35:02', '1', '2023-08-13 00:35:02', b'0'); |
| 1837 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2317, '会员管理', '', 2, 0, 2262, 'user', 'ep:avatar', 'member/user/index', 'MemberUser', 0, b'1', b'1', b'1', '', '2023-08-19 04:12:15', '1', '2023-08-19 12:13:06', b'0'); | 1973 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2317, '会员管理', '', 2, 0, 2262, 'user', 'ep:avatar', 'member/user/index', 'MemberUser', 0, b'1', b'1', b'1', '', '2023-08-19 04:12:15', '1', '2023-08-24 00:50:55', b'0'); |
| 1838 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2318, '会员用户查询', 'member:user:query', 3, 1, 2317, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-19 04:12:15', '', '2023-08-19 04:12:15', b'0'); | 1974 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2318, '会员用户查询', 'member:user:query', 3, 1, 2317, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-19 04:12:15', '', '2023-08-19 04:12:15', b'0'); |
| 1839 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2319, '会员用户更新', 'member:user:update', 3, 3, 2317, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-19 04:12:15', '', '2023-08-19 04:12:15', b'0'); | 1975 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2319, '会员用户更新', 'member:user:update', 3, 3, 2317, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-19 04:12:15', '', '2023-08-19 04:12:15', b'0'); |
| 1840 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2320, '会员标签', '', 2, 1, 2262, 'tag', 'ep:collection-tag', 'member/tag/index', 'MemberTag', 0, b'1', b'1', b'1', '', '2023-08-20 01:03:08', '1', '2023-08-20 09:23:19', b'0'); | 1976 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2320, '会员标签', '', 2, 1, 2262, 'tag', 'ep:collection-tag', 'member/tag/index', 'MemberTag', 0, b'1', b'1', b'1', '', '2023-08-20 01:03:08', '1', '2023-08-20 09:23:19', b'0'); |
| @@ -1842,6 +1978,22 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | @@ -1842,6 +1978,22 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i | ||
| 1842 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2322, '会员标签创建', 'member:tag:create', 3, 2, 2320, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-20 01:03:08', '', '2023-08-20 01:03:08', b'0'); | 1978 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2322, '会员标签创建', 'member:tag:create', 3, 2, 2320, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-20 01:03:08', '', '2023-08-20 01:03:08', b'0'); |
| 1843 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2323, '会员标签更新', 'member:tag:update', 3, 3, 2320, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-20 01:03:08', '', '2023-08-20 01:03:08', b'0'); | 1979 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2323, '会员标签更新', 'member:tag:update', 3, 3, 2320, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-20 01:03:08', '', '2023-08-20 01:03:08', b'0'); |
| 1844 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2324, '会员标签删除', 'member:tag:delete', 3, 4, 2320, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-20 01:03:08', '', '2023-08-20 01:03:08', b'0'); | 1980 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2324, '会员标签删除', 'member:tag:delete', 3, 4, 2320, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-20 01:03:08', '', '2023-08-20 01:03:08', b'0'); |
| 1981 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2325, '会员等级', '', 2, 2, 2262, 'level', 'fa:level-up', 'member/level/index', 'MemberLevel', 0, b'1', b'1', b'1', '', '2023-08-22 12:41:01', '1', '2023-08-22 21:47:00', b'0'); | ||
| 1982 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2326, '会员等级查询', 'member:level:query', 3, 1, 2325, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-22 12:41:02', '', '2023-08-22 12:41:02', b'0'); | ||
| 1983 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2327, '会员等级创建', 'member:level:create', 3, 2, 2325, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-22 12:41:02', '', '2023-08-22 12:41:02', b'0'); | ||
| 1984 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2328, '会员等级更新', 'member:level:update', 3, 3, 2325, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-22 12:41:02', '', '2023-08-22 12:41:02', b'0'); | ||
| 1985 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2329, '会员等级删除', 'member:level:delete', 3, 4, 2325, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-22 12:41:02', '', '2023-08-22 12:41:02', b'0'); | ||
| 1986 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2330, '用户分组', '', 2, 3, 2262, 'group', 'fa:group', 'member/group/index', 'MemberGroup', 0, b'1', b'1', b'1', '', '2023-08-22 13:50:06', '1', '2023-08-22 21:57:47', b'0'); | ||
| 1987 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2331, '用户分组查询', 'member:group:query', 3, 1, 2330, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-22 13:50:06', '', '2023-08-22 13:50:06', b'0'); | ||
| 1988 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2332, '用户分组创建', 'member:group:create', 3, 2, 2330, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-22 13:50:06', '', '2023-08-22 13:50:06', b'0'); | ||
| 1989 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2333, '用户分组更新', 'member:group:update', 3, 3, 2330, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-22 13:50:06', '', '2023-08-22 13:50:06', b'0'); | ||
| 1990 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2334, '用户分组删除', 'member:group:delete', 3, 4, 2330, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-22 13:50:06', '', '2023-08-22 13:50:06', b'0'); | ||
| 1991 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2335, '用户等级修改', 'member:user:update-level', 3, 5, 2317, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-08-23 16:49:05', '', '2023-08-23 16:50:48', b'0'); | ||
| 1992 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2336, '商品评论', '', 2, 5, 2000, 'comment', 'ep:comment', 'mall/product/comment/index', 'ProductComment', 0, b'1', b'1', b'1', '1', '2023-08-26 11:03:00', '1', '2023-08-26 11:03:38', b'0'); | ||
| 1993 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2337, '评论查询', 'product:comment:query', 3, 1, 2336, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-26 11:04:01', '1', '2023-08-26 11:04:01', b'0'); | ||
| 1994 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2338, '添加自评', 'product:comment:create', 3, 2, 2336, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-26 11:04:23', '1', '2023-08-26 11:08:18', b'0'); | ||
| 1995 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2339, '商家回复', 'product:comment:update', 3, 3, 2336, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-26 11:04:37', '1', '2023-08-26 11:04:37', b'0'); | ||
| 1996 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2340, '显隐评论', 'product:comment:update', 3, 4, 2336, '', '', '', '', 0, b'1', b'1', b'1', '1', '2023-08-26 11:04:55', '1', '2023-08-26 11:04:55', b'0'); | ||
| 1845 | COMMIT; | 1997 | COMMIT; |
| 1846 | 1998 | ||
| 1847 | -- ---------------------------- | 1999 | -- ---------------------------- |
| @@ -1958,7 +2110,7 @@ CREATE TABLE `system_oauth2_access_token` ( | @@ -1958,7 +2110,7 @@ CREATE TABLE `system_oauth2_access_token` ( | ||
| 1958 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 2110 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1959 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | 2111 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 1960 | PRIMARY KEY (`id`) USING BTREE | 2112 | PRIMARY KEY (`id`) USING BTREE |
| 1961 | -) ENGINE = InnoDB AUTO_INCREMENT = 2453 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 访问令牌'; | 2113 | +) ENGINE = InnoDB AUTO_INCREMENT = 2590 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 访问令牌'; |
| 1962 | 2114 | ||
| 1963 | -- ---------------------------- | 2115 | -- ---------------------------- |
| 1964 | -- Records of system_oauth2_access_token | 2116 | -- Records of system_oauth2_access_token |
| @@ -2080,7 +2232,7 @@ CREATE TABLE `system_oauth2_refresh_token` ( | @@ -2080,7 +2232,7 @@ CREATE TABLE `system_oauth2_refresh_token` ( | ||
| 2080 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 2232 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 2081 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | 2233 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 2082 | PRIMARY KEY (`id`) USING BTREE | 2234 | PRIMARY KEY (`id`) USING BTREE |
| 2083 | -) ENGINE = InnoDB AUTO_INCREMENT = 850 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 刷新令牌'; | 2235 | +) ENGINE = InnoDB AUTO_INCREMENT = 894 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 刷新令牌'; |
| 2084 | 2236 | ||
| 2085 | -- ---------------------------- | 2237 | -- ---------------------------- |
| 2086 | -- Records of system_oauth2_refresh_token | 2238 | -- Records of system_oauth2_refresh_token |
| @@ -2120,7 +2272,7 @@ CREATE TABLE `system_operate_log` ( | @@ -2120,7 +2272,7 @@ CREATE TABLE `system_operate_log` ( | ||
| 2120 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 2272 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 2121 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | 2273 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 2122 | PRIMARY KEY (`id`) USING BTREE | 2274 | PRIMARY KEY (`id`) USING BTREE |
| 2123 | -) ENGINE = InnoDB AUTO_INCREMENT = 8043 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '操作日志记录'; | 2275 | +) ENGINE = InnoDB AUTO_INCREMENT = 8312 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '操作日志记录'; |
| 2124 | 2276 | ||
| 2125 | -- ---------------------------- | 2277 | -- ---------------------------- |
| 2126 | -- Records of system_operate_log | 2278 | -- Records of system_operate_log |
| @@ -3128,7 +3280,7 @@ CREATE TABLE `system_sms_code` ( | @@ -3128,7 +3280,7 @@ CREATE TABLE `system_sms_code` ( | ||
| 3128 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | 3280 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 3129 | PRIMARY KEY (`id`) USING BTREE, | 3281 | PRIMARY KEY (`id`) USING BTREE, |
| 3130 | INDEX `idx_mobile`(`mobile` ASC) USING BTREE COMMENT '手机号' | 3282 | INDEX `idx_mobile`(`mobile` ASC) USING BTREE COMMENT '手机号' |
| 3131 | -) ENGINE = InnoDB AUTO_INCREMENT = 500 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '手机验证码'; | 3283 | +) ENGINE = InnoDB AUTO_INCREMENT = 501 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '手机验证码'; |
| 3132 | 3284 | ||
| 3133 | -- ---------------------------- | 3285 | -- ---------------------------- |
| 3134 | -- Records of system_sms_code | 3286 | -- Records of system_sms_code |
| @@ -3171,7 +3323,7 @@ CREATE TABLE `system_sms_log` ( | @@ -3171,7 +3323,7 @@ CREATE TABLE `system_sms_log` ( | ||
| 3171 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | 3323 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 3172 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | 3324 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 3173 | PRIMARY KEY (`id`) USING BTREE | 3325 | PRIMARY KEY (`id`) USING BTREE |
| 3174 | -) ENGINE = InnoDB AUTO_INCREMENT = 364 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '短信日志'; | 3326 | +) ENGINE = InnoDB AUTO_INCREMENT = 365 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '短信日志'; |
| 3175 | 3327 | ||
| 3176 | -- ---------------------------- | 3328 | -- ---------------------------- |
| 3177 | -- Records of system_sms_log | 3329 | -- Records of system_sms_log |
| @@ -3444,7 +3596,7 @@ CREATE TABLE `system_users` ( | @@ -3444,7 +3596,7 @@ CREATE TABLE `system_users` ( | ||
| 3444 | -- Records of system_users | 3596 | -- Records of system_users |
| 3445 | -- ---------------------------- | 3597 | -- ---------------------------- |
| 3446 | BEGIN; | 3598 | BEGIN; |
| 3447 | -INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 'admin', '$2a$10$mRMIYLDtRHlf6.9ipiqH1.Z.bh/R9dO9d5iHiGYPigi6r5KOoR2Wm', '芋道源码', '管理员', 103, '[1]', 'aoteman@126.com', '15612345678', 1, 'http://test.yudao.iocoder.cn/e1fdd7271685ec143a0900681606406621717a666ad0b2798b096df41422b32f.png', 0, '0:0:0:0:0:0:0:1', '2023-08-20 19:24:52', 'admin', '2021-01-05 17:03:47', NULL, '2023-08-20 19:24:52', b'0', 1); | 3599 | +INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 'admin', '$2a$10$mRMIYLDtRHlf6.9ipiqH1.Z.bh/R9dO9d5iHiGYPigi6r5KOoR2Wm', '芋道源码', '管理员', 103, '[1]', 'aoteman@126.com', '15612345678', 1, 'http://test.yudao.iocoder.cn/e1fdd7271685ec143a0900681606406621717a666ad0b2798b096df41422b32f.png', 0, '0:0:0:0:0:0:0:1', '2023-08-31 19:55:42', 'admin', '2021-01-05 17:03:47', NULL, '2023-08-31 19:55:42', b'0', 1); |
| 3448 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (100, 'yudao', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '芋道', '不要吓我', 104, '[1]', 'yudao@iocoder.cn', '15601691300', 1, '', 1, '127.0.0.1', '2022-07-09 23:03:33', '', '2021-01-07 09:07:17', NULL, '2022-07-09 23:03:33', b'0', 1); | 3600 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (100, 'yudao', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '芋道', '不要吓我', 104, '[1]', 'yudao@iocoder.cn', '15601691300', 1, '', 1, '127.0.0.1', '2022-07-09 23:03:33', '', '2021-01-07 09:07:17', NULL, '2022-07-09 23:03:33', b'0', 1); |
| 3449 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (103, 'yuanma', '$2a$10$YMpimV4T6BtDhIaA8jSW.u8UTGBeGhc/qwXP4oxoMr4mOw9.qttt6', '源码', NULL, 106, NULL, 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '127.0.0.1', '2022-07-08 01:26:27', '', '2021-01-13 23:50:35', NULL, '2022-07-08 01:26:27', b'0', 1); | 3601 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (103, 'yuanma', '$2a$10$YMpimV4T6BtDhIaA8jSW.u8UTGBeGhc/qwXP4oxoMr4mOw9.qttt6', '源码', NULL, 106, NULL, 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '127.0.0.1', '2022-07-08 01:26:27', '', '2021-01-13 23:50:35', NULL, '2022-07-08 01:26:27', b'0', 1); |
| 3450 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (104, 'test', '$2a$10$GP8zvqHB//TekuzYZSBYAuBQJiNq1.fxQVDYJ.uBCOnWCtDVKE4H6', '测试号', NULL, 107, '[1,2]', '111@qq.com', '15601691200', 1, '', 0, '127.0.0.1', '2022-05-28 15:43:17', '', '2021-01-21 02:13:53', NULL, '2022-07-09 09:00:33', b'0', 1); | 3602 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (104, 'test', '$2a$10$GP8zvqHB//TekuzYZSBYAuBQJiNq1.fxQVDYJ.uBCOnWCtDVKE4H6', '测试号', NULL, 107, '[1,2]', '111@qq.com', '15601691200', 1, '', 0, '127.0.0.1', '2022-05-28 15:43:17', '', '2021-01-21 02:13:53', NULL, '2022-07-09 09:00:33', b'0', 1); |
sql/postgresql/ruoyi-vue-pro.sql
| @@ -2587,7 +2587,7 @@ INSERT INTO "qrtz_job_details" ("sched_name", "job_name", "job_group", "descript | @@ -2587,7 +2587,7 @@ INSERT INTO "qrtz_job_details" ("sched_name", "job_name", "job_group", "descript | ||
| 2587 | "is_nonconcurrent", "is_update_data", "requests_recovery", "job_data") | 2587 | "is_nonconcurrent", "is_update_data", "requests_recovery", "job_data") |
| 2588 | VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', NULL, | 2588 | VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', NULL, |
| 2589 | 'cn.iocoder.yudao.framework.quartz.core.handler.JobHandlerInvoker', 'f', 't', 't', 'f', | 2589 | 'cn.iocoder.yudao.framework.quartz.core.handler.JobHandlerInvoker', 'f', 't', 't', 'f', |
| 2590 | - E '\254\355\000\005sr\000\025org.quartz.JobDataMap\237\260\203\350\277\251\260\313\002\000\000xr\000&org.quartz.utils.StringKeyDirtyFlagMap\202\010\350\303\373\305](\002\000\001Z\000\023allowsTransientDataxr\000\035org.quartz.utils.DirtyFlagMap\023\346.\255(v\012\316\002\000\002Z\000\005dirtyL\000\003mapt\000\017Ljava/util/Map;xp\001sr\000\021java.util.HashMap\005\007\332\301\303\026`\321\003\000\002F\000\012loadFactorI\000\011thresholdxp?@\000\000\000\000\000\014w\010\000\000\000\020\000\000\000\002t\000\006JOB_IDsr\000\016java.lang.Long;\213\344\220\314\217#\337\002\000\001J\000\005valuexr\000\020java.lang.Number\206\254\225\035\013\224\340\213\002\000\000xp\000\000\000\000\000\000\000\002t\000\020JOB_HANDLER_NAMEt\000\025userSessionTimeoutJobx\000'); | 2590 | + '\254\355\000\005sr\000\025org.quartz.JobDataMap\237\260\203\350\277\251\260\313\002\000\000xr\000&org.quartz.utils.StringKeyDirtyFlagMap\202\010\350\303\373\305](\002\000\001Z\000\023allowsTransientDataxr\000\035org.quartz.utils.DirtyFlagMap\023\346.\255(v\012\316\002\000\002Z\000\005dirtyL\000\003mapt\000\017Ljava/util/Map;xp\001sr\000\021java.util.HashMap\005\007\332\301\303\026`\321\003\000\002F\000\012loadFactorI\000\011thresholdxp?@\000\000\000\000\000\014w\010\000\000\000\020\000\000\000\002t\000\006JOB_IDsr\000\016java.lang.Long;\213\344\220\314\217#\337\002\000\001J\000\005valuexr\000\020java.lang.Number\206\254\225\035\013\224\340\213\002\000\000xp\000\000\000\000\000\000\000\002t\000\020JOB_HANDLER_NAMEt\000\025userSessionTimeoutJobx\000'); |
| 2591 | COMMIT; | 2591 | COMMIT; |
| 2592 | 2592 | ||
| 2593 | -- ---------------------------- | 2593 | -- ---------------------------- |
| @@ -2733,7 +2733,7 @@ INSERT INTO "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group", "job | @@ -2733,7 +2733,7 @@ INSERT INTO "qrtz_triggers" ("sched_name", "trigger_name", "trigger_group", "job | ||
| 2733 | "start_time", "end_time", "calendar_name", "misfire_instr", "job_data") | 2733 | "start_time", "end_time", "calendar_name", "misfire_instr", "job_data") |
| 2734 | VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', 'userSessionTimeoutJob', 'DEFAULT', NULL, 1651328700000, | 2734 | VALUES ('schedulerName', 'userSessionTimeoutJob', 'DEFAULT', 'userSessionTimeoutJob', 'DEFAULT', NULL, 1651328700000, |
| 2735 | 1651328640000, 5, 'WAITING', 'CRON', 1651328526000, 0, NULL, 0, | 2735 | 1651328640000, 5, 'WAITING', 'CRON', 1651328526000, 0, NULL, 0, |
| 2736 | - E '\254\355\000\005sr\000\025org.quartz.JobDataMap\237\260\203\350\277\251\260\313\002\000\000xr\000&org.quartz.utils.StringKeyDirtyFlagMap\202\010\350\303\373\305](\002\000\001Z\000\023allowsTransientDataxr\000\035org.quartz.utils.DirtyFlagMap\023\346.\255(v\012\316\002\000\002Z\000\005dirtyL\000\003mapt\000\017Ljava/util/Map;xp\001sr\000\021java.util.HashMap\005\007\332\301\303\026`\321\003\000\002F\000\012loadFactorI\000\011thresholdxp?@\000\000\000\000\000\014w\010\000\000\000\020\000\000\000\003t\000\021JOB_HANDLER_PARAMpt\000\022JOB_RETRY_INTERVALsr\000\021java.lang.Integer\022\342\240\244\367\201\2078\002\000\001I\000\005valuexr\000\020java.lang.Number\206\254\225\035\013\224\340\213\002\000\000xp\000\000\007\320t\000\017JOB_RETRY_COUNTsq\000~\000\011\000\000\000\003x\000'); | 2736 | + '\254\355\000\005sr\000\025org.quartz.JobDataMap\237\260\203\350\277\251\260\313\002\000\000xr\000&org.quartz.utils.StringKeyDirtyFlagMap\202\010\350\303\373\305](\002\000\001Z\000\023allowsTransientDataxr\000\035org.quartz.utils.DirtyFlagMap\023\346.\255(v\012\316\002\000\002Z\000\005dirtyL\000\003mapt\000\017Ljava/util/Map;xp\001sr\000\021java.util.HashMap\005\007\332\301\303\026`\321\003\000\002F\000\012loadFactorI\000\011thresholdxp?@\000\000\000\000\000\014w\010\000\000\000\020\000\000\000\003t\000\021JOB_HANDLER_PARAMpt\000\022JOB_RETRY_INTERVALsr\000\021java.lang.Integer\022\342\240\244\367\201\2078\002\000\001I\000\005valuexr\000\020java.lang.Number\206\254\225\035\013\224\340\213\002\000\000xp\000\000\007\320t\000\017JOB_RETRY_COUNTsq\000~\000\011\000\000\000\003x\000'); |
| 2737 | COMMIT; | 2737 | COMMIT; |
| 2738 | 2738 | ||
| 2739 | -- ---------------------------- | 2739 | -- ---------------------------- |
yudao-dependencies/pom.xml
| @@ -23,8 +23,8 @@ | @@ -23,8 +23,8 @@ | ||
| 23 | <servlet.versoin>2.5</servlet.versoin> | 23 | <servlet.versoin>2.5</servlet.versoin> |
| 24 | <!-- DB 相关 --> | 24 | <!-- DB 相关 --> |
| 25 | <druid.version>1.2.18</druid.version> | 25 | <druid.version>1.2.18</druid.version> |
| 26 | - <mybatis-plus.version>3.5.3.1</mybatis-plus.version> | ||
| 27 | - <mybatis-plus-generator.version>3.5.3.1</mybatis-plus-generator.version> | 26 | + <mybatis-plus.version>3.5.3.2</mybatis-plus.version> |
| 27 | + <mybatis-plus-generator.version>3.5.3.2</mybatis-plus-generator.version> | ||
| 28 | <dynamic-datasource.version>3.6.1</dynamic-datasource.version> | 28 | <dynamic-datasource.version>3.6.1</dynamic-datasource.version> |
| 29 | <mybatis-plus-join-boot-starter.version>1.4.5</mybatis-plus-join-boot-starter.version> | 29 | <mybatis-plus-join-boot-starter.version>1.4.5</mybatis-plus-join-boot-starter.version> |
| 30 | <redisson.version>3.18.0</redisson.version> | 30 | <redisson.version>3.18.0</redisson.version> |
yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/date/DateUtils.java
| @@ -36,6 +36,9 @@ public class DateUtils { | @@ -36,6 +36,9 @@ public class DateUtils { | ||
| 36 | * @return LocalDateTime | 36 | * @return LocalDateTime |
| 37 | */ | 37 | */ |
| 38 | public static Date of(LocalDateTime date) { | 38 | public static Date of(LocalDateTime date) { |
| 39 | + if (date == null) { | ||
| 40 | + return null; | ||
| 41 | + } | ||
| 39 | // 将此日期时间与时区相结合以创建 ZonedDateTime | 42 | // 将此日期时间与时区相结合以创建 ZonedDateTime |
| 40 | ZonedDateTime zonedDateTime = date.atZone(ZoneId.systemDefault()); | 43 | ZonedDateTime zonedDateTime = date.atZone(ZoneId.systemDefault()); |
| 41 | // 本地时间线 LocalDateTime 到即时时间线 Instant 时间戳 | 44 | // 本地时间线 LocalDateTime 到即时时间线 Instant 时间戳 |
| @@ -51,6 +54,9 @@ public class DateUtils { | @@ -51,6 +54,9 @@ public class DateUtils { | ||
| 51 | * @return LocalDateTime | 54 | * @return LocalDateTime |
| 52 | */ | 55 | */ |
| 53 | public static LocalDateTime of(Date date) { | 56 | public static LocalDateTime of(Date date) { |
| 57 | + if (date == null) { | ||
| 58 | + return null; | ||
| 59 | + } | ||
| 54 | // 转为时间戳 | 60 | // 转为时间戳 |
| 55 | Instant instant = date.toInstant(); | 61 | Instant instant = date.toInstant(); |
| 56 | // UTC时间(世界协调时间,UTC + 00:00)转北京(北京,UTC + 8:00)时间 | 62 | // UTC时间(世界协调时间,UTC + 00:00)转北京(北京,UTC + 8:00)时间 |
yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/rule/dept/DeptDataPermissionRule.java
| @@ -7,7 +7,6 @@ import cn.iocoder.yudao.framework.common.enums.UserTypeEnum; | @@ -7,7 +7,6 @@ import cn.iocoder.yudao.framework.common.enums.UserTypeEnum; | ||
| 7 | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; | 7 | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; |
| 8 | import cn.iocoder.yudao.framework.common.util.json.JsonUtils; | 8 | import cn.iocoder.yudao.framework.common.util.json.JsonUtils; |
| 9 | import cn.iocoder.yudao.framework.datapermission.core.rule.DataPermissionRule; | 9 | import cn.iocoder.yudao.framework.datapermission.core.rule.DataPermissionRule; |
| 10 | -import cn.iocoder.yudao.framework.expression.OrExpressionX; | ||
| 11 | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; | 10 | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; |
| 12 | import cn.iocoder.yudao.framework.mybatis.core.util.MyBatisUtils; | 11 | import cn.iocoder.yudao.framework.mybatis.core.util.MyBatisUtils; |
| 13 | import cn.iocoder.yudao.framework.security.core.LoginUser; | 12 | import cn.iocoder.yudao.framework.security.core.LoginUser; |
| @@ -17,10 +16,8 @@ import cn.iocoder.yudao.module.system.api.permission.dto.DeptDataPermissionRespD | @@ -17,10 +16,8 @@ import cn.iocoder.yudao.module.system.api.permission.dto.DeptDataPermissionRespD | ||
| 17 | import com.baomidou.mybatisplus.core.metadata.TableInfoHelper; | 16 | import com.baomidou.mybatisplus.core.metadata.TableInfoHelper; |
| 18 | import lombok.AllArgsConstructor; | 17 | import lombok.AllArgsConstructor; |
| 19 | import lombok.extern.slf4j.Slf4j; | 18 | import lombok.extern.slf4j.Slf4j; |
| 20 | -import net.sf.jsqlparser.expression.Alias; | ||
| 21 | -import net.sf.jsqlparser.expression.Expression; | ||
| 22 | -import net.sf.jsqlparser.expression.LongValue; | ||
| 23 | -import net.sf.jsqlparser.expression.NullValue; | 19 | +import net.sf.jsqlparser.expression.*; |
| 20 | +import net.sf.jsqlparser.expression.operators.conditional.OrExpression; | ||
| 24 | import net.sf.jsqlparser.expression.operators.relational.EqualsTo; | 21 | import net.sf.jsqlparser.expression.operators.relational.EqualsTo; |
| 25 | import net.sf.jsqlparser.expression.operators.relational.ExpressionList; | 22 | import net.sf.jsqlparser.expression.operators.relational.ExpressionList; |
| 26 | import net.sf.jsqlparser.expression.operators.relational.InExpression; | 23 | import net.sf.jsqlparser.expression.operators.relational.InExpression; |
| @@ -144,7 +141,7 @@ public class DeptDataPermissionRule implements DataPermissionRule { | @@ -144,7 +141,7 @@ public class DeptDataPermissionRule implements DataPermissionRule { | ||
| 144 | return deptExpression; | 141 | return deptExpression; |
| 145 | } | 142 | } |
| 146 | // 目前,如果有指定部门 + 可查看自己,采用 OR 条件。即,WHERE (dept_id IN ? OR user_id = ?) | 143 | // 目前,如果有指定部门 + 可查看自己,采用 OR 条件。即,WHERE (dept_id IN ? OR user_id = ?) |
| 147 | - return new OrExpressionX(deptExpression, userExpression); | 144 | + return new Parenthesis(new OrExpression(deptExpression, userExpression)); |
| 148 | } | 145 | } |
| 149 | 146 | ||
| 150 | private Expression buildDeptExpression(String tableName, Alias tableAlias, Set<Long> deptIds) { | 147 | private Expression buildDeptExpression(String tableName, Alias tableAlias, Set<Long> deptIds) { |
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/expression/AndExpressionX.java deleted
| 1 | -package cn.iocoder.yudao.framework.expression; | ||
| 2 | - | ||
| 3 | -import net.sf.jsqlparser.expression.Expression; | ||
| 4 | -import net.sf.jsqlparser.expression.operators.conditional.AndExpression; | ||
| 5 | - | ||
| 6 | -/** | ||
| 7 | - * AndExpression 的扩展类(会在原有表达式两端加上括号) | ||
| 8 | - */ | ||
| 9 | -public class AndExpressionX extends AndExpression { | ||
| 10 | - | ||
| 11 | - public AndExpressionX() { | ||
| 12 | - } | ||
| 13 | - | ||
| 14 | - public AndExpressionX(Expression leftExpression, Expression rightExpression) { | ||
| 15 | - this.setLeftExpression(leftExpression); | ||
| 16 | - this.setRightExpression(rightExpression); | ||
| 17 | - } | ||
| 18 | - | ||
| 19 | - @Override | ||
| 20 | - public String toString() { | ||
| 21 | - return "(" + super.toString() + ")"; | ||
| 22 | - } | ||
| 23 | - | ||
| 24 | -} |
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/expression/OrExpressionX.java deleted
| 1 | -package cn.iocoder.yudao.framework.expression; | ||
| 2 | - | ||
| 3 | -import net.sf.jsqlparser.expression.Expression; | ||
| 4 | -import net.sf.jsqlparser.expression.operators.conditional.OrExpression; | ||
| 5 | - | ||
| 6 | -/** | ||
| 7 | - * OrExpression 的扩展类(会在原有表达式两端加上括号) | ||
| 8 | - */ | ||
| 9 | -public class OrExpressionX extends OrExpression { | ||
| 10 | - | ||
| 11 | - public OrExpressionX() { | ||
| 12 | - } | ||
| 13 | - | ||
| 14 | - public OrExpressionX(Expression leftExpression, Expression rightExpression) { | ||
| 15 | - this.setLeftExpression(leftExpression); | ||
| 16 | - this.setRightExpression(rightExpression); | ||
| 17 | - } | ||
| 18 | - | ||
| 19 | - @Override | ||
| 20 | - public String toString() { | ||
| 21 | - return "(" + super.toString() + ")"; | ||
| 22 | - } | ||
| 23 | - | ||
| 24 | -} |
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/mapper/BaseMapperX.java
| 1 | package cn.iocoder.yudao.framework.mybatis.core.mapper; | 1 | package cn.iocoder.yudao.framework.mybatis.core.mapper; |
| 2 | 2 | ||
| 3 | +import cn.hutool.core.collection.CollUtil; | ||
| 3 | import cn.iocoder.yudao.framework.common.pojo.PageParam; | 4 | import cn.iocoder.yudao.framework.common.pojo.PageParam; |
| 4 | import cn.iocoder.yudao.framework.common.pojo.PageResult; | 5 | import cn.iocoder.yudao.framework.common.pojo.PageResult; |
| 5 | import cn.iocoder.yudao.framework.mybatis.core.util.MyBatisUtils; | 6 | import cn.iocoder.yudao.framework.mybatis.core.util.MyBatisUtils; |
| @@ -75,10 +76,16 @@ public interface BaseMapperX<T> extends BaseMapper<T> { | @@ -75,10 +76,16 @@ public interface BaseMapperX<T> extends BaseMapper<T> { | ||
| 75 | } | 76 | } |
| 76 | 77 | ||
| 77 | default List<T> selectList(String field, Collection<?> values) { | 78 | default List<T> selectList(String field, Collection<?> values) { |
| 79 | + if (CollUtil.isEmpty(values)) { | ||
| 80 | + return CollUtil.newArrayList(); | ||
| 81 | + } | ||
| 78 | return selectList(new QueryWrapper<T>().in(field, values)); | 82 | return selectList(new QueryWrapper<T>().in(field, values)); |
| 79 | } | 83 | } |
| 80 | 84 | ||
| 81 | default List<T> selectList(SFunction<T, ?> field, Collection<?> values) { | 85 | default List<T> selectList(SFunction<T, ?> field, Collection<?> values) { |
| 86 | + if (CollUtil.isEmpty(values)) { | ||
| 87 | + return CollUtil.newArrayList(); | ||
| 88 | + } | ||
| 82 | return selectList(new LambdaQueryWrapper<T>().in(field, values)); | 89 | return selectList(new LambdaQueryWrapper<T>().in(field, values)); |
| 83 | } | 90 | } |
| 84 | 91 | ||
| @@ -121,4 +128,4 @@ public interface BaseMapperX<T> extends BaseMapper<T> { | @@ -121,4 +128,4 @@ public interface BaseMapperX<T> extends BaseMapper<T> { | ||
| 121 | Db.saveOrUpdateBatch(collection); | 128 | Db.saveOrUpdateBatch(collection); |
| 122 | } | 129 | } |
| 123 | 130 | ||
| 124 | -} | 131 | -} |
| 132 | +} | ||
| 125 | \ No newline at end of file | 133 | \ No newline at end of file |
yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/web/core/util/WebFrameworkUtils.java
| 1 | package cn.iocoder.yudao.framework.web.core.util; | 1 | package cn.iocoder.yudao.framework.web.core.util; |
| 2 | 2 | ||
| 3 | import cn.hutool.core.util.NumberUtil; | 3 | import cn.hutool.core.util.NumberUtil; |
| 4 | -import cn.hutool.core.util.StrUtil; | ||
| 5 | import cn.iocoder.yudao.framework.common.enums.UserTypeEnum; | 4 | import cn.iocoder.yudao.framework.common.enums.UserTypeEnum; |
| 6 | import cn.iocoder.yudao.framework.common.pojo.CommonResult; | 5 | import cn.iocoder.yudao.framework.common.pojo.CommonResult; |
| 7 | import cn.iocoder.yudao.framework.web.config.WebProperties; | 6 | import cn.iocoder.yudao.framework.web.config.WebProperties; |
| @@ -89,10 +88,10 @@ public class WebFrameworkUtils { | @@ -89,10 +88,10 @@ public class WebFrameworkUtils { | ||
| 89 | return userType; | 88 | return userType; |
| 90 | } | 89 | } |
| 91 | // 2. 其次,基于 URL 前缀的约定 | 90 | // 2. 其次,基于 URL 前缀的约定 |
| 92 | - if (request.getRequestURI().startsWith(properties.getAdminApi().getPrefix())) { | 91 | + if (request.getServletPath().startsWith(properties.getAdminApi().getPrefix())) { |
| 93 | return UserTypeEnum.ADMIN.getValue(); | 92 | return UserTypeEnum.ADMIN.getValue(); |
| 94 | } | 93 | } |
| 95 | - if (request.getRequestURI().startsWith(properties.getAppApi().getPrefix())) { | 94 | + if (request.getServletPath().startsWith(properties.getAppApi().getPrefix())) { |
| 96 | return UserTypeEnum.MEMBER.getValue(); | 95 | return UserTypeEnum.MEMBER.getValue(); |
| 97 | } | 96 | } |
| 98 | return null; | 97 | return null; |
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/convert/task/BpmActivityConvert.java
| 1 | package cn.iocoder.yudao.module.bpm.convert.task; | 1 | package cn.iocoder.yudao.module.bpm.convert.task; |
| 2 | 2 | ||
| 3 | +import cn.iocoder.yudao.framework.common.util.date.DateUtils; | ||
| 3 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.activity.BpmActivityRespVO; | 4 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.activity.BpmActivityRespVO; |
| 4 | import org.flowable.engine.history.HistoricActivityInstance; | 5 | import org.flowable.engine.history.HistoricActivityInstance; |
| 5 | import org.mapstruct.Mapper; | 6 | import org.mapstruct.Mapper; |
| @@ -14,7 +15,7 @@ import java.util.List; | @@ -14,7 +15,7 @@ import java.util.List; | ||
| 14 | * | 15 | * |
| 15 | * @author 芋道源码 | 16 | * @author 芋道源码 |
| 16 | */ | 17 | */ |
| 17 | -@Mapper | 18 | +@Mapper(uses = DateUtils.class) |
| 18 | public interface BpmActivityConvert { | 19 | public interface BpmActivityConvert { |
| 19 | 20 | ||
| 20 | BpmActivityConvert INSTANCE = Mappers.getMapper(BpmActivityConvert.class); | 21 | BpmActivityConvert INSTANCE = Mappers.getMapper(BpmActivityConvert.class); |
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/convert/task/BpmProcessInstanceConvert.java
| 1 | package cn.iocoder.yudao.module.bpm.convert.task; | 1 | package cn.iocoder.yudao.module.bpm.convert.task; |
| 2 | 2 | ||
| 3 | import cn.iocoder.yudao.framework.common.pojo.PageResult; | 3 | import cn.iocoder.yudao.framework.common.pojo.PageResult; |
| 4 | +import cn.iocoder.yudao.framework.common.util.date.DateUtils; | ||
| 4 | import cn.iocoder.yudao.framework.common.util.number.NumberUtils; | 5 | import cn.iocoder.yudao.framework.common.util.number.NumberUtils; |
| 5 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.instance.BpmProcessInstancePageItemRespVO; | 6 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.instance.BpmProcessInstancePageItemRespVO; |
| 6 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.instance.BpmProcessInstanceRespVO; | 7 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.instance.BpmProcessInstanceRespVO; |
| @@ -28,7 +29,7 @@ import java.util.Map; | @@ -28,7 +29,7 @@ import java.util.Map; | ||
| 28 | * | 29 | * |
| 29 | * @author 芋道源码 | 30 | * @author 芋道源码 |
| 30 | */ | 31 | */ |
| 31 | -@Mapper | 32 | +@Mapper(uses = DateUtils.class) |
| 32 | public interface BpmProcessInstanceConvert { | 33 | public interface BpmProcessInstanceConvert { |
| 33 | 34 | ||
| 34 | BpmProcessInstanceConvert INSTANCE = Mappers.getMapper(BpmProcessInstanceConvert.class); | 35 | BpmProcessInstanceConvert INSTANCE = Mappers.getMapper(BpmProcessInstanceConvert.class); |
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/convert/task/BpmTaskConvert.java
| @@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.bpm.convert.task; | @@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.bpm.convert.task; | ||
| 2 | 2 | ||
| 3 | import cn.hutool.core.date.LocalDateTimeUtil; | 3 | import cn.hutool.core.date.LocalDateTimeUtil; |
| 4 | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; | 4 | import cn.iocoder.yudao.framework.common.util.collection.CollectionUtils; |
| 5 | +import cn.iocoder.yudao.framework.common.util.date.DateUtils; | ||
| 5 | import cn.iocoder.yudao.framework.common.util.number.NumberUtils; | 6 | import cn.iocoder.yudao.framework.common.util.number.NumberUtils; |
| 6 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.task.BpmTaskDonePageItemRespVO; | 7 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.task.BpmTaskDonePageItemRespVO; |
| 7 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.task.BpmTaskRespVO; | 8 | import cn.iocoder.yudao.module.bpm.controller.admin.task.vo.task.BpmTaskRespVO; |
| @@ -26,7 +27,7 @@ import java.util.Map; | @@ -26,7 +27,7 @@ import java.util.Map; | ||
| 26 | * | 27 | * |
| 27 | * @author 芋道源码 | 28 | * @author 芋道源码 |
| 28 | */ | 29 | */ |
| 29 | -@Mapper | 30 | +@Mapper(uses = DateUtils.class) |
| 30 | public interface BpmTaskConvert { | 31 | public interface BpmTaskConvert { |
| 31 | 32 | ||
| 32 | BpmTaskConvert INSTANCE = Mappers.getMapper(BpmTaskConvert.class); | 33 | BpmTaskConvert INSTANCE = Mappers.getMapper(BpmTaskConvert.class); |
| @@ -46,8 +47,6 @@ public interface BpmTaskConvert { | @@ -46,8 +47,6 @@ public interface BpmTaskConvert { | ||
| 46 | } | 47 | } |
| 47 | 48 | ||
| 48 | @Mapping(source = "suspended", target = "suspensionState", qualifiedByName = "convertSuspendedToSuspensionState") | 49 | @Mapping(source = "suspended", target = "suspensionState", qualifiedByName = "convertSuspendedToSuspensionState") |
| 49 | - @Mapping(target = "claimTime", expression = "java(bean.getClaimTime()==null?null: LocalDateTime.ofInstant(bean.getClaimTime().toInstant(),ZoneId.systemDefault()))") | ||
| 50 | - @Mapping(target = "createTime", expression = "java(bean.getCreateTime()==null?null:LocalDateTime.ofInstant(bean.getCreateTime().toInstant(),ZoneId.systemDefault()))") | ||
| 51 | BpmTaskTodoPageItemRespVO convert1(Task bean); | 50 | BpmTaskTodoPageItemRespVO convert1(Task bean); |
| 52 | 51 | ||
| 53 | @Named("convertSuspendedToSuspensionState") | 52 | @Named("convertSuspendedToSuspensionState") |
| @@ -106,8 +105,6 @@ public interface BpmTaskConvert { | @@ -106,8 +105,6 @@ public interface BpmTaskConvert { | ||
| 106 | } | 105 | } |
| 107 | 106 | ||
| 108 | @Mapping(source = "taskDefinitionKey", target = "definitionKey") | 107 | @Mapping(source = "taskDefinitionKey", target = "definitionKey") |
| 109 | - @Mapping(target = "createTime", expression = "java(bean.getCreateTime() == null ? null : LocalDateTime.ofInstant(bean.getCreateTime().toInstant(), ZoneId.systemDefault()))") | ||
| 110 | - @Mapping(target = "endTime", expression = "java(bean.getEndTime() == null ? null : LocalDateTime.ofInstant(bean.getEndTime().toInstant(), ZoneId.systemDefault()))") | ||
| 111 | BpmTaskRespVO convert3(HistoricTaskInstance bean); | 108 | BpmTaskRespVO convert3(HistoricTaskInstance bean); |
| 112 | 109 | ||
| 113 | BpmTaskRespVO.User convert3(AdminUserRespDTO bean); | 110 | BpmTaskRespVO.User convert3(AdminUserRespDTO bean); |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/data.ts.vm
| @@ -15,7 +15,7 @@ export const columns: BasicColumn[] = [ | @@ -15,7 +15,7 @@ export const columns: BasicColumn[] = [ | ||
| 15 | width: 180, | 15 | width: 180, |
| 16 | customRender: ({ text }) => { | 16 | customRender: ({ text }) => { |
| 17 | return useRender.renderDate(text) | 17 | return useRender.renderDate(text) |
| 18 | - } | 18 | + }, |
| 19 | }, | 19 | }, |
| 20 | #elseif("" != $column.dictType)## 数据字典 | 20 | #elseif("" != $column.dictType)## 数据字典 |
| 21 | { | 21 | { |
| @@ -24,13 +24,13 @@ export const columns: BasicColumn[] = [ | @@ -24,13 +24,13 @@ export const columns: BasicColumn[] = [ | ||
| 24 | width: 180, | 24 | width: 180, |
| 25 | customRender: ({ text }) => { | 25 | customRender: ({ text }) => { |
| 26 | return useRender.renderDict(text, DICT_TYPE.$dictType.toUpperCase()) | 26 | return useRender.renderDict(text, DICT_TYPE.$dictType.toUpperCase()) |
| 27 | - } | 27 | + }, |
| 28 | }, | 28 | }, |
| 29 | #else | 29 | #else |
| 30 | { | 30 | { |
| 31 | title: '${comment}', | 31 | title: '${comment}', |
| 32 | dataIndex: '${javaField}', | 32 | dataIndex: '${javaField}', |
| 33 | - width: 160 | 33 | + width: 160, |
| 34 | }, | 34 | }, |
| 35 | #end | 35 | #end |
| 36 | #end | 36 | #end |
| @@ -53,15 +53,15 @@ export const searchFormSchema: FormSchema[] = [ | @@ -53,15 +53,15 @@ export const searchFormSchema: FormSchema[] = [ | ||
| 53 | component: 'Select', | 53 | component: 'Select', |
| 54 | componentProps: { | 54 | componentProps: { |
| 55 | #if ("" != $dictType)## 设置了 dictType 数据字典的情况 | 55 | #if ("" != $dictType)## 设置了 dictType 数据字典的情况 |
| 56 | - options: getDictOptions(DICT_TYPE.$dictType.toUpperCase()) | 56 | + options: getDictOptions(DICT_TYPE.$dictType.toUpperCase()), |
| 57 | #else## 未设置 dictType 数据字典的情况 | 57 | #else## 未设置 dictType 数据字典的情况 |
| 58 | - options: [] | 58 | + options: [], |
| 59 | #end | 59 | #end |
| 60 | }, | 60 | }, |
| 61 | #elseif($column.htmlType == "datetime") | 61 | #elseif($column.htmlType == "datetime") |
| 62 | component: 'RangePicker', | 62 | component: 'RangePicker', |
| 63 | #end | 63 | #end |
| 64 | - colProps: { span: 8 } | 64 | + colProps: { span: 8 }, |
| 65 | }, | 65 | }, |
| 66 | #end | 66 | #end |
| 67 | #end | 67 | #end |
| @@ -72,7 +72,7 @@ export const createFormSchema: FormSchema[] = [ | @@ -72,7 +72,7 @@ export const createFormSchema: FormSchema[] = [ | ||
| 72 | label: '编号', | 72 | label: '编号', |
| 73 | field: 'id', | 73 | field: 'id', |
| 74 | show: false, | 74 | show: false, |
| 75 | - component: 'Input' | 75 | + component: 'Input', |
| 76 | }, | 76 | }, |
| 77 | #foreach($column in $columns) | 77 | #foreach($column in $columns) |
| 78 | #if ($column.createOperation) | 78 | #if ($column.createOperation) |
| @@ -88,52 +88,52 @@ export const createFormSchema: FormSchema[] = [ | @@ -88,52 +88,52 @@ export const createFormSchema: FormSchema[] = [ | ||
| 88 | required: true, | 88 | required: true, |
| 89 | #end | 89 | #end |
| 90 | #if ($column.htmlType == "input") | 90 | #if ($column.htmlType == "input") |
| 91 | - component: 'Input' | 91 | + component: 'Input', |
| 92 | #elseif($column.htmlType == "imageUpload")## 图片上传 | 92 | #elseif($column.htmlType == "imageUpload")## 图片上传 |
| 93 | component: 'FileUpload', | 93 | component: 'FileUpload', |
| 94 | componentProps: { | 94 | componentProps: { |
| 95 | fileType: 'file', | 95 | fileType: 'file', |
| 96 | - maxCount: 1 | ||
| 97 | - } | 96 | + maxCount: 1, |
| 97 | + }, | ||
| 98 | #elseif($column.htmlType == "fileUpload")## 文件上传 | 98 | #elseif($column.htmlType == "fileUpload")## 文件上传 |
| 99 | component: 'FileUpload', | 99 | component: 'FileUpload', |
| 100 | componentProps: { | 100 | componentProps: { |
| 101 | fileType: 'image', | 101 | fileType: 'image', |
| 102 | - maxCount: 1 | ||
| 103 | - } | 102 | + maxCount: 1, |
| 103 | + }, | ||
| 104 | #elseif($column.htmlType == "editor")## 文本编辑器 | 104 | #elseif($column.htmlType == "editor")## 文本编辑器 |
| 105 | - component: 'Editor' | 105 | + component: 'Editor', |
| 106 | #elseif($column.htmlType == "select")## 下拉框 | 106 | #elseif($column.htmlType == "select")## 下拉框 |
| 107 | component: 'Select', | 107 | component: 'Select', |
| 108 | componentProps: { | 108 | componentProps: { |
| 109 | #if ("" != $dictType)## 有数据字典 | 109 | #if ("" != $dictType)## 有数据字典 |
| 110 | - options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | 110 | + options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number'), |
| 111 | #else##没数据字典 | 111 | #else##没数据字典 |
| 112 | - options:[] | 112 | + options:[], |
| 113 | #end | 113 | #end |
| 114 | - } | 114 | + }, |
| 115 | #elseif($column.htmlType == "checkbox")## 多选框 | 115 | #elseif($column.htmlType == "checkbox")## 多选框 |
| 116 | component: 'Checkbox', | 116 | component: 'Checkbox', |
| 117 | componentProps: { | 117 | componentProps: { |
| 118 | #if ("" != $dictType)## 有数据字典 | 118 | #if ("" != $dictType)## 有数据字典 |
| 119 | - options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | 119 | + options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number'), |
| 120 | #else##没数据字典 | 120 | #else##没数据字典 |
| 121 | - options:[] | 121 | + options:[], |
| 122 | #end | 122 | #end |
| 123 | - } | 123 | + }, |
| 124 | #elseif($column.htmlType == "radio")## 单选框 | 124 | #elseif($column.htmlType == "radio")## 单选框 |
| 125 | component: 'RadioButtonGroup', | 125 | component: 'RadioButtonGroup', |
| 126 | componentProps: { | 126 | componentProps: { |
| 127 | #if ("" != $dictType)## 有数据字典 | 127 | #if ("" != $dictType)## 有数据字典 |
| 128 | - options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | 128 | + options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number'), |
| 129 | #else##没数据字典 | 129 | #else##没数据字典 |
| 130 | - options:[] | 130 | + options:[], |
| 131 | #end | 131 | #end |
| 132 | - } | 132 | + }, |
| 133 | #elseif($column.htmlType == "datetime")## 时间框 | 133 | #elseif($column.htmlType == "datetime")## 时间框 |
| 134 | - component: 'DatePicker' | 134 | + component: 'DatePicker', |
| 135 | #elseif($column.htmlType == "textarea")## 文本域 | 135 | #elseif($column.htmlType == "textarea")## 文本域 |
| 136 | - component: 'InputTextArea' | 136 | + component: 'InputTextArea', |
| 137 | #end | 137 | #end |
| 138 | }, | 138 | }, |
| 139 | #end | 139 | #end |
| @@ -146,7 +146,7 @@ export const updateFormSchema: FormSchema[] = [ | @@ -146,7 +146,7 @@ export const updateFormSchema: FormSchema[] = [ | ||
| 146 | label: '编号', | 146 | label: '编号', |
| 147 | field: 'id', | 147 | field: 'id', |
| 148 | show: false, | 148 | show: false, |
| 149 | - component: 'Input' | 149 | + component: 'Input', |
| 150 | }, | 150 | }, |
| 151 | #foreach($column in $columns) | 151 | #foreach($column in $columns) |
| 152 | #if ($column.updateOperation) | 152 | #if ($column.updateOperation) |
| @@ -162,44 +162,44 @@ export const updateFormSchema: FormSchema[] = [ | @@ -162,44 +162,44 @@ export const updateFormSchema: FormSchema[] = [ | ||
| 162 | required: true, | 162 | required: true, |
| 163 | #end | 163 | #end |
| 164 | #if ($column.htmlType == "input") | 164 | #if ($column.htmlType == "input") |
| 165 | - component: 'Input' | 165 | + component: 'Input', |
| 166 | #elseif($column.htmlType == "imageUpload")## 图片上传 | 166 | #elseif($column.htmlType == "imageUpload")## 图片上传 |
| 167 | - component: 'Upload' | 167 | + component: 'Upload', |
| 168 | #elseif($column.htmlType == "fileUpload")## 文件上传 | 168 | #elseif($column.htmlType == "fileUpload")## 文件上传 |
| 169 | - component: 'Upload' | 169 | + component: 'Upload', |
| 170 | #elseif($column.htmlType == "editor")## 文本编辑器 | 170 | #elseif($column.htmlType == "editor")## 文本编辑器 |
| 171 | - component: 'Editor' | 171 | + component: 'Editor', |
| 172 | #elseif($column.htmlType == "select")## 下拉框 | 172 | #elseif($column.htmlType == "select")## 下拉框 |
| 173 | component: 'Select', | 173 | component: 'Select', |
| 174 | componentProps: { | 174 | componentProps: { |
| 175 | #if ("" != $dictType)## 有数据字典 | 175 | #if ("" != $dictType)## 有数据字典 |
| 176 | - options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | 176 | + options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number'), |
| 177 | #else##没数据字典 | 177 | #else##没数据字典 |
| 178 | - options:[] | 178 | + options:[], |
| 179 | #end | 179 | #end |
| 180 | - } | 180 | + }, |
| 181 | #elseif($column.htmlType == "checkbox")## 多选框 | 181 | #elseif($column.htmlType == "checkbox")## 多选框 |
| 182 | component: 'Checkbox', | 182 | component: 'Checkbox', |
| 183 | componentProps: { | 183 | componentProps: { |
| 184 | #if ("" != $dictType)## 有数据字典 | 184 | #if ("" != $dictType)## 有数据字典 |
| 185 | - options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | 185 | + options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number'), |
| 186 | #else##没数据字典 | 186 | #else##没数据字典 |
| 187 | - options:[] | 187 | + options:[], |
| 188 | #end | 188 | #end |
| 189 | - } | 189 | + }, |
| 190 | #elseif($column.htmlType == "radio")## 单选框 | 190 | #elseif($column.htmlType == "radio")## 单选框 |
| 191 | component: 'RadioButtonGroup', | 191 | component: 'RadioButtonGroup', |
| 192 | componentProps: { | 192 | componentProps: { |
| 193 | #if ("" != $dictType)## 有数据字典 | 193 | #if ("" != $dictType)## 有数据字典 |
| 194 | - options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number') | 194 | + options: getDictOptions(DICT_TYPE.$dictType.toUpperCase(), 'number'), |
| 195 | #else##没数据字典 | 195 | #else##没数据字典 |
| 196 | - options:[] | 196 | + options:[], |
| 197 | #end | 197 | #end |
| 198 | - } | 198 | + }, |
| 199 | #elseif($column.htmlType == "datetime")## 时间框 | 199 | #elseif($column.htmlType == "datetime")## 时间框 |
| 200 | - component: 'DatePicker' | 200 | + component: 'DatePicker', |
| 201 | #elseif($column.htmlType == "textarea")## 文本域 | 201 | #elseif($column.htmlType == "textarea")## 文本域 |
| 202 | - component: 'InputTextArea' | 202 | + component: 'InputTextArea', |
| 203 | #end | 203 | #end |
| 204 | }, | 204 | }, |
| 205 | #end | 205 | #end |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/form.vue.vm
| 1 | -<template> | ||
| 2 | - <BasicModal v-bind="$attrs" @register="registerModal" :title="isUpdate ? t('action.edit') : t('action.create')" @ok="handleSubmit"> | ||
| 3 | - <BasicForm @register="registerForm" /> | ||
| 4 | - </BasicModal> | ||
| 5 | -</template> | ||
| 6 | <script lang="ts" setup> | 1 | <script lang="ts" setup> |
| 7 | import { ref, unref } from 'vue' | 2 | import { ref, unref } from 'vue' |
| 3 | +import { createFormSchema, updateFormSchema } from './${classNameVar}.data' | ||
| 8 | import { useI18n } from '@/hooks/web/useI18n' | 4 | import { useI18n } from '@/hooks/web/useI18n' |
| 9 | import { useMessage } from '@/hooks/web/useMessage' | 5 | import { useMessage } from '@/hooks/web/useMessage' |
| 10 | import { BasicForm, useForm } from '@/components/Form' | 6 | import { BasicForm, useForm } from '@/components/Form' |
| 11 | import { BasicModal, useModalInner } from '@/components/Modal' | 7 | import { BasicModal, useModalInner } from '@/components/Modal' |
| 12 | -import { createFormSchema, updateFormSchema } from './${classNameVar}.data' | ||
| 13 | import { create${simpleClassName}, get${simpleClassName}, update${simpleClassName} } from '@/api/${table.moduleName}/${classNameVar}' | 8 | import { create${simpleClassName}, get${simpleClassName}, update${simpleClassName} } from '@/api/${table.moduleName}/${classNameVar}' |
| 14 | 9 | ||
| 15 | defineOptions({ name: '${table.className}Modal' }) | 10 | defineOptions({ name: '${table.className}Modal' }) |
| @@ -24,7 +19,7 @@ const [registerForm, { setFieldsValue, resetFields, resetSchema, validate }] = u | @@ -24,7 +19,7 @@ const [registerForm, { setFieldsValue, resetFields, resetSchema, validate }] = u | ||
| 24 | baseColProps: { span: 24 }, | 19 | baseColProps: { span: 24 }, |
| 25 | schemas: createFormSchema, | 20 | schemas: createFormSchema, |
| 26 | showActionButtonGroup: false, | 21 | showActionButtonGroup: false, |
| 27 | - actionColOptions: { span: 23 } | 22 | + actionColOptions: { span: 23 }, |
| 28 | }) | 23 | }) |
| 29 | 24 | ||
| 30 | const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => { | 25 | const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => { |
| @@ -55,3 +50,8 @@ async function handleSubmit() { | @@ -55,3 +50,8 @@ async function handleSubmit() { | ||
| 55 | } | 50 | } |
| 56 | } | 51 | } |
| 57 | </script> | 52 | </script> |
| 53 | +<template> | ||
| 54 | + <BasicModal v-bind="$attrs" @register="registerModal" :title="isUpdate ? t('action.edit') : t('action.create')" @ok="handleSubmit"> | ||
| 55 | + <BasicForm @register="registerForm" /> | ||
| 56 | + </BasicModal> | ||
| 57 | +</template> | ||
| 58 | \ No newline at end of file | 58 | \ No newline at end of file |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/index.vue.vm
| 1 | -<template> | ||
| 2 | - <div> | ||
| 3 | - <BasicTable @register="registerTable"> | ||
| 4 | - <template #toolbar> | ||
| 5 | - <a-button type="primary" v-auth="['${permissionPrefix}:create']" :preIcon="IconEnum.ADD" @click="handleCreate"> | ||
| 6 | - {{ t('action.create') }} | ||
| 7 | - </a-button> | ||
| 8 | - <a-button type="warning" v-auth="['${permissionPrefix}:export']" :preIcon="IconEnum.EXPORT" @click="handleExport"> | ||
| 9 | - {{ t('action.export') }} | ||
| 10 | - </a-button> | ||
| 11 | - </template> | ||
| 12 | - <template #bodyCell="{ column, record }"> | ||
| 13 | - <template v-if="column.key === 'action'"> | ||
| 14 | - <TableAction | ||
| 15 | - :actions="[ | ||
| 16 | - { icon: IconEnum.EDIT, label: t('action.edit'), auth: '${permissionPrefix}:update', onClick: handleEdit.bind(null, record) }, | ||
| 17 | - { | ||
| 18 | - icon: IconEnum.DELETE, | ||
| 19 | - color: 'error', | ||
| 20 | - label: t('action.delete'), | ||
| 21 | - auth: '${permissionPrefix}:delete', | ||
| 22 | - popConfirm: { | ||
| 23 | - title: t('common.delMessage'), | ||
| 24 | - placement: 'left', | ||
| 25 | - confirm: handleDelete.bind(null, record) | ||
| 26 | - } | ||
| 27 | - } | ||
| 28 | - ]" | ||
| 29 | - /> | ||
| 30 | - </template> | ||
| 31 | - </template> | ||
| 32 | - </BasicTable> | ||
| 33 | - <${simpleClassName}Modal @register="registerModal" @success="reload()" /> | ||
| 34 | - </div> | ||
| 35 | -</template> | ||
| 36 | <script lang="ts" setup> | 1 | <script lang="ts" setup> |
| 2 | +import ${simpleClassName}Modal from './${simpleClassName}Modal.vue' | ||
| 3 | +import { columns, searchFormSchema } from './${classNameVar}.data' | ||
| 37 | import { useI18n } from '@/hooks/web/useI18n' | 4 | import { useI18n } from '@/hooks/web/useI18n' |
| 38 | import { useMessage } from '@/hooks/web/useMessage' | 5 | import { useMessage } from '@/hooks/web/useMessage' |
| 39 | import { useModal } from '@/components/Modal' | 6 | import { useModal } from '@/components/Modal' |
| 40 | -import ${simpleClassName}Modal from './${simpleClassName}Modal.vue' | ||
| 41 | import { IconEnum } from '@/enums/appEnum' | 7 | import { IconEnum } from '@/enums/appEnum' |
| 42 | import { BasicTable, useTable, TableAction } from '@/components/Table' | 8 | import { BasicTable, useTable, TableAction } from '@/components/Table' |
| 43 | import { delete${simpleClassName}, export${simpleClassName}, get${simpleClassName}Page } from '@/api/${table.moduleName}/${classNameVar}' | 9 | import { delete${simpleClassName}, export${simpleClassName}, get${simpleClassName}Page } from '@/api/${table.moduleName}/${classNameVar}' |
| 44 | -import { columns, searchFormSchema } from './${classNameVar}.data' | ||
| 45 | 10 | ||
| 46 | defineOptions({ name: '${table.className}' }) | 11 | defineOptions({ name: '${table.className}' }) |
| 47 | 12 | ||
| @@ -60,8 +25,8 @@ const [registerTable, { getForm, reload }] = useTable({ | @@ -60,8 +25,8 @@ const [registerTable, { getForm, reload }] = useTable({ | ||
| 60 | width: 140, | 25 | width: 140, |
| 61 | title: t('common.action'), | 26 | title: t('common.action'), |
| 62 | dataIndex: 'action', | 27 | dataIndex: 'action', |
| 63 | - fixed: 'right' | ||
| 64 | - } | 28 | + fixed: 'right', |
| 29 | + }, | ||
| 65 | }) | 30 | }) |
| 66 | 31 | ||
| 67 | function handleCreate() { | 32 | function handleCreate() { |
| @@ -80,7 +45,7 @@ async function handleExport() { | @@ -80,7 +45,7 @@ async function handleExport() { | ||
| 80 | async onOk() { | 45 | async onOk() { |
| 81 | await export${simpleClassName}(getForm().getFieldsValue()) | 46 | await export${simpleClassName}(getForm().getFieldsValue()) |
| 82 | createMessage.success(t('common.exportSuccessText')) | 47 | createMessage.success(t('common.exportSuccessText')) |
| 83 | - } | 48 | + }, |
| 84 | }) | 49 | }) |
| 85 | } | 50 | } |
| 86 | 51 | ||
| @@ -90,3 +55,38 @@ async function handleDelete(record: Recordable) { | @@ -90,3 +55,38 @@ async function handleDelete(record: Recordable) { | ||
| 90 | reload() | 55 | reload() |
| 91 | } | 56 | } |
| 92 | </script> | 57 | </script> |
| 58 | +<template> | ||
| 59 | + <div> | ||
| 60 | + <BasicTable @register="registerTable"> | ||
| 61 | + <template #toolbar> | ||
| 62 | + <a-button type="primary" v-auth="['${permissionPrefix}:create']" :preIcon="IconEnum.ADD" @click="handleCreate"> | ||
| 63 | + {{ t('action.create') }} | ||
| 64 | + </a-button> | ||
| 65 | + <a-button type="warning" v-auth="['${permissionPrefix}:export']" :preIcon="IconEnum.EXPORT" @click="handleExport"> | ||
| 66 | + {{ t('action.export') }} | ||
| 67 | + </a-button> | ||
| 68 | + </template> | ||
| 69 | + <template #bodyCell="{ column, record }"> | ||
| 70 | + <template v-if="column.key === 'action'"> | ||
| 71 | + <TableAction | ||
| 72 | + :actions="[ | ||
| 73 | + { icon: IconEnum.EDIT, label: t('action.edit'), auth: '${permissionPrefix}:update', onClick: handleEdit.bind(null, record) }, | ||
| 74 | + { | ||
| 75 | + icon: IconEnum.DELETE, | ||
| 76 | + danger: true, | ||
| 77 | + label: t('action.delete'), | ||
| 78 | + auth: '${permissionPrefix}:delete', | ||
| 79 | + popConfirm: { | ||
| 80 | + title: t('common.delMessage'), | ||
| 81 | + placement: 'left', | ||
| 82 | + confirm: handleDelete.bind(null, record), | ||
| 83 | + }, | ||
| 84 | + }, | ||
| 85 | + ]" | ||
| 86 | + /> | ||
| 87 | + </template> | ||
| 88 | + </template> | ||
| 89 | + </BasicTable> | ||
| 90 | + <${simpleClassName}Modal @register="registerModal" @success="reload()" /> | ||
| 91 | + </div> | ||
| 92 | +</template> | ||
| 93 | \ No newline at end of file | 93 | \ No newline at end of file |
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/combination/vo/record/AppCombinationRecordRespVO.java
| @@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.promotion.controller.app.combination.vo.record; | @@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.promotion.controller.app.combination.vo.record; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -import java.util.Date; | 6 | +import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | @Schema(description = "用户 App - 拼团记录 Response VO") | 8 | @Schema(description = "用户 App - 拼团记录 Response VO") |
| 9 | @Data | 9 | @Data |
| @@ -22,7 +22,7 @@ public class AppCombinationRecordRespVO { | @@ -22,7 +22,7 @@ public class AppCombinationRecordRespVO { | ||
| 22 | private String avatar; | 22 | private String avatar; |
| 23 | 23 | ||
| 24 | @Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED) | 24 | @Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 25 | - private Date expireTime; | 25 | + private LocalDateTime expireTime; |
| 26 | 26 | ||
| 27 | @Schema(description = "可参团人数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") | 27 | @Schema(description = "可参团人数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") |
| 28 | private Integer userSize; | 28 | private Integer userSize; |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderDetailRespVO.java
| @@ -21,7 +21,7 @@ public class AppTradeOrderDetailRespVO { | @@ -21,7 +21,7 @@ public class AppTradeOrderDetailRespVO { | ||
| 21 | private String no; | 21 | private String no; |
| 22 | 22 | ||
| 23 | @Schema(description = "下单时间", requiredMode = Schema.RequiredMode.REQUIRED) | 23 | @Schema(description = "下单时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 24 | - private Date createTime; | 24 | + private LocalDateTime createTime; |
| 25 | 25 | ||
| 26 | @Schema(description = "用户备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜") | 26 | @Schema(description = "用户备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜") |
| 27 | private String userRemark; | 27 | private String userRemark; |
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderPageItemRespVO.java
| @@ -4,7 +4,7 @@ import cn.iocoder.yudao.module.trade.controller.app.order.vo.item.AppTradeOrderI | @@ -4,7 +4,7 @@ import cn.iocoder.yudao.module.trade.controller.app.order.vo.item.AppTradeOrderI | ||
| 4 | import io.swagger.v3.oas.annotations.media.Schema; | 4 | import io.swagger.v3.oas.annotations.media.Schema; |
| 5 | import lombok.Data; | 5 | import lombok.Data; |
| 6 | 6 | ||
| 7 | -import java.util.Date; | 7 | +import java.time.LocalDateTime; |
| 8 | import java.util.List; | 8 | import java.util.List; |
| 9 | 9 | ||
| 10 | @Schema(description = "用户 App - 订单交易的分页项 Response VO") | 10 | @Schema(description = "用户 App - 订单交易的分页项 Response VO") |
| @@ -30,7 +30,7 @@ public class AppTradeOrderPageItemRespVO { | @@ -30,7 +30,7 @@ public class AppTradeOrderPageItemRespVO { | ||
| 30 | private Boolean commentStatus; | 30 | private Boolean commentStatus; |
| 31 | 31 | ||
| 32 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 32 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 33 | - private Date createTime; | 33 | + private LocalDateTime createTime; |
| 34 | 34 | ||
| 35 | // ========== 价格 + 支付基本信息 ========== | 35 | // ========== 价格 + 支付基本信息 ========== |
| 36 | 36 |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/dal/mysql/address/AddressMapper.java renamed to yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/dal/mysql/address/MemberAddressMapper.java
| @@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper; | @@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper; | ||
| 8 | import java.util.List; | 8 | import java.util.List; |
| 9 | 9 | ||
| 10 | @Mapper | 10 | @Mapper |
| 11 | -public interface AddressMapper extends BaseMapperX<MemberAddressDO> { | 11 | +public interface MemberAddressMapper extends BaseMapperX<MemberAddressDO> { |
| 12 | 12 | ||
| 13 | default MemberAddressDO selectByIdAndUserId(Long id, Long userId) { | 13 | default MemberAddressDO selectByIdAndUserId(Long id, Long userId) { |
| 14 | return selectOne(MemberAddressDO::getId, id, MemberAddressDO::getUserId, userId); | 14 | return selectOne(MemberAddressDO::getId, id, MemberAddressDO::getUserId, userId); |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/address/AddressServiceImpl.java
| @@ -5,7 +5,7 @@ import cn.iocoder.yudao.module.member.controller.app.address.vo.AppAddressCreate | @@ -5,7 +5,7 @@ import cn.iocoder.yudao.module.member.controller.app.address.vo.AppAddressCreate | ||
| 5 | import cn.iocoder.yudao.module.member.controller.app.address.vo.AppAddressUpdateReqVO; | 5 | import cn.iocoder.yudao.module.member.controller.app.address.vo.AppAddressUpdateReqVO; |
| 6 | import cn.iocoder.yudao.module.member.convert.address.AddressConvert; | 6 | import cn.iocoder.yudao.module.member.convert.address.AddressConvert; |
| 7 | import cn.iocoder.yudao.module.member.dal.dataobject.address.MemberAddressDO; | 7 | import cn.iocoder.yudao.module.member.dal.dataobject.address.MemberAddressDO; |
| 8 | -import cn.iocoder.yudao.module.member.dal.mysql.address.AddressMapper; | 8 | +import cn.iocoder.yudao.module.member.dal.mysql.address.MemberAddressMapper; |
| 9 | import org.springframework.stereotype.Service; | 9 | import org.springframework.stereotype.Service; |
| 10 | import org.springframework.transaction.annotation.Transactional; | 10 | import org.springframework.transaction.annotation.Transactional; |
| 11 | import org.springframework.validation.annotation.Validated; | 11 | import org.springframework.validation.annotation.Validated; |
| @@ -26,21 +26,21 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.ADDRESS_NO | @@ -26,21 +26,21 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.ADDRESS_NO | ||
| 26 | public class AddressServiceImpl implements AddressService { | 26 | public class AddressServiceImpl implements AddressService { |
| 27 | 27 | ||
| 28 | @Resource | 28 | @Resource |
| 29 | - private AddressMapper addressMapper; | 29 | + private MemberAddressMapper memberAddressMapper; |
| 30 | 30 | ||
| 31 | @Override | 31 | @Override |
| 32 | @Transactional(rollbackFor = Exception.class) | 32 | @Transactional(rollbackFor = Exception.class) |
| 33 | public Long createAddress(Long userId, AppAddressCreateReqVO createReqVO) { | 33 | public Long createAddress(Long userId, AppAddressCreateReqVO createReqVO) { |
| 34 | // 如果添加的是默认收件地址,则将原默认地址修改为非默认 | 34 | // 如果添加的是默认收件地址,则将原默认地址修改为非默认 |
| 35 | if (Boolean.TRUE.equals(createReqVO.getDefaultStatus())) { | 35 | if (Boolean.TRUE.equals(createReqVO.getDefaultStatus())) { |
| 36 | - List<MemberAddressDO> addresses = addressMapper.selectListByUserIdAndDefaulted(userId, true); | ||
| 37 | - addresses.forEach(address -> addressMapper.updateById(new MemberAddressDO().setId(address.getId()).setDefaultStatus(false))); | 36 | + List<MemberAddressDO> addresses = memberAddressMapper.selectListByUserIdAndDefaulted(userId, true); |
| 37 | + addresses.forEach(address -> memberAddressMapper.updateById(new MemberAddressDO().setId(address.getId()).setDefaultStatus(false))); | ||
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | // 插入 | 40 | // 插入 |
| 41 | MemberAddressDO address = AddressConvert.INSTANCE.convert(createReqVO); | 41 | MemberAddressDO address = AddressConvert.INSTANCE.convert(createReqVO); |
| 42 | address.setUserId(userId); | 42 | address.setUserId(userId); |
| 43 | - addressMapper.insert(address); | 43 | + memberAddressMapper.insert(address); |
| 44 | // 返回 | 44 | // 返回 |
| 45 | return address.getId(); | 45 | return address.getId(); |
| 46 | } | 46 | } |
| @@ -53,14 +53,14 @@ public class AddressServiceImpl implements AddressService { | @@ -53,14 +53,14 @@ public class AddressServiceImpl implements AddressService { | ||
| 53 | 53 | ||
| 54 | // 如果修改的是默认收件地址,则将原默认地址修改为非默认 | 54 | // 如果修改的是默认收件地址,则将原默认地址修改为非默认 |
| 55 | if (Boolean.TRUE.equals(updateReqVO.getDefaultStatus())) { | 55 | if (Boolean.TRUE.equals(updateReqVO.getDefaultStatus())) { |
| 56 | - List<MemberAddressDO> addresses = addressMapper.selectListByUserIdAndDefaulted(userId, true); | 56 | + List<MemberAddressDO> addresses = memberAddressMapper.selectListByUserIdAndDefaulted(userId, true); |
| 57 | addresses.stream().filter(u -> !u.getId().equals(updateReqVO.getId())) // 排除自己 | 57 | addresses.stream().filter(u -> !u.getId().equals(updateReqVO.getId())) // 排除自己 |
| 58 | - .forEach(address -> addressMapper.updateById(new MemberAddressDO().setId(address.getId()).setDefaultStatus(false))); | 58 | + .forEach(address -> memberAddressMapper.updateById(new MemberAddressDO().setId(address.getId()).setDefaultStatus(false))); |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | // 更新 | 61 | // 更新 |
| 62 | MemberAddressDO updateObj = AddressConvert.INSTANCE.convert(updateReqVO); | 62 | MemberAddressDO updateObj = AddressConvert.INSTANCE.convert(updateReqVO); |
| 63 | - addressMapper.updateById(updateObj); | 63 | + memberAddressMapper.updateById(updateObj); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | @Override | 66 | @Override |
| @@ -68,7 +68,7 @@ public class AddressServiceImpl implements AddressService { | @@ -68,7 +68,7 @@ public class AddressServiceImpl implements AddressService { | ||
| 68 | // 校验存在,校验是否能够操作 | 68 | // 校验存在,校验是否能够操作 |
| 69 | validAddressExists(userId, id); | 69 | validAddressExists(userId, id); |
| 70 | // 删除 | 70 | // 删除 |
| 71 | - addressMapper.deleteById(id); | 71 | + memberAddressMapper.deleteById(id); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | private void validAddressExists(Long userId, Long id) { | 74 | private void validAddressExists(Long userId, Long id) { |
| @@ -80,17 +80,17 @@ public class AddressServiceImpl implements AddressService { | @@ -80,17 +80,17 @@ public class AddressServiceImpl implements AddressService { | ||
| 80 | 80 | ||
| 81 | @Override | 81 | @Override |
| 82 | public MemberAddressDO getAddress(Long userId, Long id) { | 82 | public MemberAddressDO getAddress(Long userId, Long id) { |
| 83 | - return addressMapper.selectByIdAndUserId(id, userId); | 83 | + return memberAddressMapper.selectByIdAndUserId(id, userId); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | @Override | 86 | @Override |
| 87 | public List<MemberAddressDO> getAddressList(Long userId) { | 87 | public List<MemberAddressDO> getAddressList(Long userId) { |
| 88 | - return addressMapper.selectListByUserIdAndDefaulted(userId, null); | 88 | + return memberAddressMapper.selectListByUserIdAndDefaulted(userId, null); |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | @Override | 91 | @Override |
| 92 | public MemberAddressDO getDefaultUserAddress(Long userId) { | 92 | public MemberAddressDO getDefaultUserAddress(Long userId) { |
| 93 | - List<MemberAddressDO> addresses = addressMapper.selectListByUserIdAndDefaulted(userId, true); | 93 | + List<MemberAddressDO> addresses = memberAddressMapper.selectListByUserIdAndDefaulted(userId, true); |
| 94 | return CollUtil.getFirst(addresses); | 94 | return CollUtil.getFirst(addresses); |
| 95 | } | 95 | } |
| 96 | 96 |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/group/MemberGroupServiceImpl.java
| @@ -31,7 +31,7 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.GROUP_NOT_ | @@ -31,7 +31,7 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.GROUP_NOT_ | ||
| 31 | public class MemberGroupServiceImpl implements MemberGroupService { | 31 | public class MemberGroupServiceImpl implements MemberGroupService { |
| 32 | 32 | ||
| 33 | @Resource | 33 | @Resource |
| 34 | - private MemberGroupMapper groupMapper; | 34 | + private MemberGroupMapper memberGroupMapper; |
| 35 | @Resource | 35 | @Resource |
| 36 | private MemberUserService memberUserService; | 36 | private MemberUserService memberUserService; |
| 37 | 37 | ||
| @@ -39,7 +39,7 @@ public class MemberGroupServiceImpl implements MemberGroupService { | @@ -39,7 +39,7 @@ public class MemberGroupServiceImpl implements MemberGroupService { | ||
| 39 | public Long createGroup(MemberGroupCreateReqVO createReqVO) { | 39 | public Long createGroup(MemberGroupCreateReqVO createReqVO) { |
| 40 | // 插入 | 40 | // 插入 |
| 41 | MemberGroupDO group = MemberGroupConvert.INSTANCE.convert(createReqVO); | 41 | MemberGroupDO group = MemberGroupConvert.INSTANCE.convert(createReqVO); |
| 42 | - groupMapper.insert(group); | 42 | + memberGroupMapper.insert(group); |
| 43 | // 返回 | 43 | // 返回 |
| 44 | return group.getId(); | 44 | return group.getId(); |
| 45 | } | 45 | } |
| @@ -50,7 +50,7 @@ public class MemberGroupServiceImpl implements MemberGroupService { | @@ -50,7 +50,7 @@ public class MemberGroupServiceImpl implements MemberGroupService { | ||
| 50 | validateGroupExists(updateReqVO.getId()); | 50 | validateGroupExists(updateReqVO.getId()); |
| 51 | // 更新 | 51 | // 更新 |
| 52 | MemberGroupDO updateObj = MemberGroupConvert.INSTANCE.convert(updateReqVO); | 52 | MemberGroupDO updateObj = MemberGroupConvert.INSTANCE.convert(updateReqVO); |
| 53 | - groupMapper.updateById(updateObj); | 53 | + memberGroupMapper.updateById(updateObj); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | @Override | 56 | @Override |
| @@ -60,11 +60,11 @@ public class MemberGroupServiceImpl implements MemberGroupService { | @@ -60,11 +60,11 @@ public class MemberGroupServiceImpl implements MemberGroupService { | ||
| 60 | // 校验分组下是否有用户 | 60 | // 校验分组下是否有用户 |
| 61 | validateGroupHasUser(id); | 61 | validateGroupHasUser(id); |
| 62 | // 删除 | 62 | // 删除 |
| 63 | - groupMapper.deleteById(id); | 63 | + memberGroupMapper.deleteById(id); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | void validateGroupExists(Long id) { | 66 | void validateGroupExists(Long id) { |
| 67 | - if (groupMapper.selectById(id) == null) { | 67 | + if (memberGroupMapper.selectById(id) == null) { |
| 68 | throw exception(GROUP_NOT_EXISTS); | 68 | throw exception(GROUP_NOT_EXISTS); |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| @@ -78,7 +78,7 @@ public class MemberGroupServiceImpl implements MemberGroupService { | @@ -78,7 +78,7 @@ public class MemberGroupServiceImpl implements MemberGroupService { | ||
| 78 | 78 | ||
| 79 | @Override | 79 | @Override |
| 80 | public MemberGroupDO getGroup(Long id) { | 80 | public MemberGroupDO getGroup(Long id) { |
| 81 | - return groupMapper.selectById(id); | 81 | + return memberGroupMapper.selectById(id); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | @Override | 84 | @Override |
| @@ -86,17 +86,17 @@ public class MemberGroupServiceImpl implements MemberGroupService { | @@ -86,17 +86,17 @@ public class MemberGroupServiceImpl implements MemberGroupService { | ||
| 86 | if (CollUtil.isEmpty(ids)) { | 86 | if (CollUtil.isEmpty(ids)) { |
| 87 | return ListUtil.empty(); | 87 | return ListUtil.empty(); |
| 88 | } | 88 | } |
| 89 | - return groupMapper.selectBatchIds(ids); | 89 | + return memberGroupMapper.selectBatchIds(ids); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | @Override | 92 | @Override |
| 93 | public PageResult<MemberGroupDO> getGroupPage(MemberGroupPageReqVO pageReqVO) { | 93 | public PageResult<MemberGroupDO> getGroupPage(MemberGroupPageReqVO pageReqVO) { |
| 94 | - return groupMapper.selectPage(pageReqVO); | 94 | + return memberGroupMapper.selectPage(pageReqVO); |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | @Override | 97 | @Override |
| 98 | public List<MemberGroupDO> getGroupListByStatus(Integer status) { | 98 | public List<MemberGroupDO> getGroupListByStatus(Integer status) { |
| 99 | - return groupMapper.selectListByStatus(status); | 99 | + return memberGroupMapper.selectListByStatus(status); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | } | 102 | } |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/level/MemberLevelServiceImpl.java
| @@ -42,7 +42,7 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.*; | @@ -42,7 +42,7 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.*; | ||
| 42 | public class MemberLevelServiceImpl implements MemberLevelService { | 42 | public class MemberLevelServiceImpl implements MemberLevelService { |
| 43 | 43 | ||
| 44 | @Resource | 44 | @Resource |
| 45 | - private MemberLevelMapper levelMapper; | 45 | + private MemberLevelMapper memberLevelMapper; |
| 46 | @Resource | 46 | @Resource |
| 47 | private MemberLevelRecordService memberLevelRecordService; | 47 | private MemberLevelRecordService memberLevelRecordService; |
| 48 | @Resource | 48 | @Resource |
| @@ -57,7 +57,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { | @@ -57,7 +57,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { | ||
| 57 | 57 | ||
| 58 | // 插入 | 58 | // 插入 |
| 59 | MemberLevelDO level = MemberLevelConvert.INSTANCE.convert(createReqVO); | 59 | MemberLevelDO level = MemberLevelConvert.INSTANCE.convert(createReqVO); |
| 60 | - levelMapper.insert(level); | 60 | + memberLevelMapper.insert(level); |
| 61 | // 返回 | 61 | // 返回 |
| 62 | return level.getId(); | 62 | return level.getId(); |
| 63 | } | 63 | } |
| @@ -71,7 +71,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { | @@ -71,7 +71,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { | ||
| 71 | 71 | ||
| 72 | // 更新 | 72 | // 更新 |
| 73 | MemberLevelDO updateObj = MemberLevelConvert.INSTANCE.convert(updateReqVO); | 73 | MemberLevelDO updateObj = MemberLevelConvert.INSTANCE.convert(updateReqVO); |
| 74 | - levelMapper.updateById(updateObj); | 74 | + memberLevelMapper.updateById(updateObj); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | @Override | 77 | @Override |
| @@ -81,12 +81,12 @@ public class MemberLevelServiceImpl implements MemberLevelService { | @@ -81,12 +81,12 @@ public class MemberLevelServiceImpl implements MemberLevelService { | ||
| 81 | // 校验分组下是否有用户 | 81 | // 校验分组下是否有用户 |
| 82 | validateLevelHasUser(id); | 82 | validateLevelHasUser(id); |
| 83 | // 删除 | 83 | // 删除 |
| 84 | - levelMapper.deleteById(id); | 84 | + memberLevelMapper.deleteById(id); |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | @VisibleForTesting | 87 | @VisibleForTesting |
| 88 | MemberLevelDO validateLevelExists(Long id) { | 88 | MemberLevelDO validateLevelExists(Long id) { |
| 89 | - MemberLevelDO levelDO = levelMapper.selectById(id); | 89 | + MemberLevelDO levelDO = memberLevelMapper.selectById(id); |
| 90 | if (levelDO == null) { | 90 | if (levelDO == null) { |
| 91 | throw exception(LEVEL_NOT_EXISTS); | 91 | throw exception(LEVEL_NOT_EXISTS); |
| 92 | } | 92 | } |
| @@ -141,7 +141,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { | @@ -141,7 +141,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { | ||
| 141 | 141 | ||
| 142 | @VisibleForTesting | 142 | @VisibleForTesting |
| 143 | void validateConfigValid(Long id, String name, Integer level, Integer experience) { | 143 | void validateConfigValid(Long id, String name, Integer level, Integer experience) { |
| 144 | - List<MemberLevelDO> list = levelMapper.selectList(); | 144 | + List<MemberLevelDO> list = memberLevelMapper.selectList(); |
| 145 | // 校验名称唯一 | 145 | // 校验名称唯一 |
| 146 | validateNameUnique(list, id, name); | 146 | validateNameUnique(list, id, name); |
| 147 | // 校验等级唯一 | 147 | // 校验等级唯一 |
| @@ -160,7 +160,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { | @@ -160,7 +160,7 @@ public class MemberLevelServiceImpl implements MemberLevelService { | ||
| 160 | 160 | ||
| 161 | @Override | 161 | @Override |
| 162 | public MemberLevelDO getLevel(Long id) { | 162 | public MemberLevelDO getLevel(Long id) { |
| 163 | - return id != null && id > 0 ? levelMapper.selectById(id) : null; | 163 | + return id != null && id > 0 ? memberLevelMapper.selectById(id) : null; |
| 164 | } | 164 | } |
| 165 | 165 | ||
| 166 | @Override | 166 | @Override |
| @@ -168,17 +168,17 @@ public class MemberLevelServiceImpl implements MemberLevelService { | @@ -168,17 +168,17 @@ public class MemberLevelServiceImpl implements MemberLevelService { | ||
| 168 | if (CollUtil.isEmpty(ids)) { | 168 | if (CollUtil.isEmpty(ids)) { |
| 169 | return Collections.emptyList(); | 169 | return Collections.emptyList(); |
| 170 | } | 170 | } |
| 171 | - return levelMapper.selectBatchIds(ids); | 171 | + return memberLevelMapper.selectBatchIds(ids); |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | @Override | 174 | @Override |
| 175 | public List<MemberLevelDO> getLevelList(MemberLevelListReqVO listReqVO) { | 175 | public List<MemberLevelDO> getLevelList(MemberLevelListReqVO listReqVO) { |
| 176 | - return levelMapper.selectList(listReqVO); | 176 | + return memberLevelMapper.selectList(listReqVO); |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | @Override | 179 | @Override |
| 180 | public List<MemberLevelDO> getLevelListByStatus(Integer status) { | 180 | public List<MemberLevelDO> getLevelListByStatus(Integer status) { |
| 181 | - return levelMapper.selectListByStatus(status); | 181 | + return memberLevelMapper.selectListByStatus(status); |
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | @Override | 184 | @Override |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/point/MemberPointConfigServiceImpl.java
| @@ -21,23 +21,23 @@ import java.util.List; | @@ -21,23 +21,23 @@ import java.util.List; | ||
| 21 | public class MemberPointConfigServiceImpl implements MemberPointConfigService { | 21 | public class MemberPointConfigServiceImpl implements MemberPointConfigService { |
| 22 | 22 | ||
| 23 | @Resource | 23 | @Resource |
| 24 | - private MemberPointConfigMapper pointConfigMapper; | 24 | + private MemberPointConfigMapper memberPointConfigMapper; |
| 25 | 25 | ||
| 26 | @Override | 26 | @Override |
| 27 | public void savePointConfig(MemberPointConfigSaveReqVO saveReqVO) { | 27 | public void savePointConfig(MemberPointConfigSaveReqVO saveReqVO) { |
| 28 | // 存在,则进行更新 | 28 | // 存在,则进行更新 |
| 29 | MemberPointConfigDO dbConfig = getPointConfig(); | 29 | MemberPointConfigDO dbConfig = getPointConfig(); |
| 30 | if (dbConfig != null) { | 30 | if (dbConfig != null) { |
| 31 | - pointConfigMapper.updateById(MemberPointConfigConvert.INSTANCE.convert(saveReqVO).setId(dbConfig.getId())); | 31 | + memberPointConfigMapper.updateById(MemberPointConfigConvert.INSTANCE.convert(saveReqVO).setId(dbConfig.getId())); |
| 32 | return; | 32 | return; |
| 33 | } | 33 | } |
| 34 | // 不存在,则进行插入 | 34 | // 不存在,则进行插入 |
| 35 | - pointConfigMapper.insert(MemberPointConfigConvert.INSTANCE.convert(saveReqVO)); | 35 | + memberPointConfigMapper.insert(MemberPointConfigConvert.INSTANCE.convert(saveReqVO)); |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | @Override | 38 | @Override |
| 39 | public MemberPointConfigDO getPointConfig() { | 39 | public MemberPointConfigDO getPointConfig() { |
| 40 | - List<MemberPointConfigDO> list = pointConfigMapper.selectList(); | 40 | + List<MemberPointConfigDO> list = memberPointConfigMapper.selectList(); |
| 41 | return CollectionUtils.getFirst(list); | 41 | return CollectionUtils.getFirst(list); |
| 42 | } | 42 | } |
| 43 | 43 |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/point/MemberPointRecordServiceImpl.java
| @@ -35,7 +35,7 @@ import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils. | @@ -35,7 +35,7 @@ import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils. | ||
| 35 | public class MemberPointRecordServiceImpl implements MemberPointRecordService { | 35 | public class MemberPointRecordServiceImpl implements MemberPointRecordService { |
| 36 | 36 | ||
| 37 | @Resource | 37 | @Resource |
| 38 | - private MemberPointRecordMapper recordMapper; | 38 | + private MemberPointRecordMapper memberPointRecordMapper; |
| 39 | @Resource | 39 | @Resource |
| 40 | private MemberPointConfigService memberPointConfigService; | 40 | private MemberPointConfigService memberPointConfigService; |
| 41 | 41 | ||
| @@ -55,12 +55,12 @@ public class MemberPointRecordServiceImpl implements MemberPointRecordService { | @@ -55,12 +55,12 @@ public class MemberPointRecordServiceImpl implements MemberPointRecordService { | ||
| 55 | userIds = convertSet(users, MemberUserDO::getId); | 55 | userIds = convertSet(users, MemberUserDO::getId); |
| 56 | } | 56 | } |
| 57 | // 执行查询 | 57 | // 执行查询 |
| 58 | - return recordMapper.selectPage(pageReqVO, userIds); | 58 | + return memberPointRecordMapper.selectPage(pageReqVO, userIds); |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | @Override | 61 | @Override |
| 62 | public PageResult<MemberPointRecordDO> getPointRecordPage(Long userId, PageParam pageVO) { | 62 | public PageResult<MemberPointRecordDO> getPointRecordPage(Long userId, PageParam pageVO) { |
| 63 | - return recordMapper.selectPage(userId, pageVO); | 63 | + return memberPointRecordMapper.selectPage(userId, pageVO); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | @Override | 66 | @Override |
| @@ -86,7 +86,7 @@ public class MemberPointRecordServiceImpl implements MemberPointRecordService { | @@ -86,7 +86,7 @@ public class MemberPointRecordServiceImpl implements MemberPointRecordService { | ||
| 86 | .setUserId(userId).setBizId(bizId).setBizType(bizType.getType()) | 86 | .setUserId(userId).setBizId(bizId).setBizType(bizType.getType()) |
| 87 | .setTitle(bizType.getName()).setDescription(StrUtil.format(bizType.getDescription(), point)) | 87 | .setTitle(bizType.getName()).setDescription(StrUtil.format(bizType.getDescription(), point)) |
| 88 | .setPoint(point).setTotalPoint(totalPoint); | 88 | .setPoint(point).setTotalPoint(totalPoint); |
| 89 | - recordMapper.insert(record); | 89 | + memberPointRecordMapper.insert(record); |
| 90 | 90 | ||
| 91 | // 3. 更新用户积分 | 91 | // 3. 更新用户积分 |
| 92 | memberUserService.updateUserPoint(userId, totalPoint); | 92 | memberUserService.updateUserPoint(userId, totalPoint); |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/signin/MemberSignInConfigServiceImpl.java
| @@ -26,7 +26,7 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.SIGN_IN_CO | @@ -26,7 +26,7 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.SIGN_IN_CO | ||
| 26 | public class MemberSignInConfigServiceImpl implements MemberSignInConfigService { | 26 | public class MemberSignInConfigServiceImpl implements MemberSignInConfigService { |
| 27 | 27 | ||
| 28 | @Resource | 28 | @Resource |
| 29 | - private MemberSignInConfigMapper signInConfigMapper; | 29 | + private MemberSignInConfigMapper memberSignInConfigMapper; |
| 30 | 30 | ||
| 31 | @Override | 31 | @Override |
| 32 | public Long createSignInConfig(MemberSignInConfigCreateReqVO createReqVO) { | 32 | public Long createSignInConfig(MemberSignInConfigCreateReqVO createReqVO) { |
| @@ -35,7 +35,7 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | @@ -35,7 +35,7 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | ||
| 35 | 35 | ||
| 36 | // 插入 | 36 | // 插入 |
| 37 | MemberSignInConfigDO signInConfig = MemberSignInConfigConvert.INSTANCE.convert(createReqVO); | 37 | MemberSignInConfigDO signInConfig = MemberSignInConfigConvert.INSTANCE.convert(createReqVO); |
| 38 | - signInConfigMapper.insert(signInConfig); | 38 | + memberSignInConfigMapper.insert(signInConfig); |
| 39 | // 返回 | 39 | // 返回 |
| 40 | return signInConfig.getId(); | 40 | return signInConfig.getId(); |
| 41 | } | 41 | } |
| @@ -49,7 +49,7 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | @@ -49,7 +49,7 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | ||
| 49 | 49 | ||
| 50 | // 判断更新 | 50 | // 判断更新 |
| 51 | MemberSignInConfigDO updateObj = MemberSignInConfigConvert.INSTANCE.convert(updateReqVO); | 51 | MemberSignInConfigDO updateObj = MemberSignInConfigConvert.INSTANCE.convert(updateReqVO); |
| 52 | - signInConfigMapper.updateById(updateObj); | 52 | + memberSignInConfigMapper.updateById(updateObj); |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | @Override | 55 | @Override |
| @@ -57,11 +57,11 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | @@ -57,11 +57,11 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | ||
| 57 | // 校验存在 | 57 | // 校验存在 |
| 58 | validateSignInConfigExists(id); | 58 | validateSignInConfigExists(id); |
| 59 | // 删除 | 59 | // 删除 |
| 60 | - signInConfigMapper.deleteById(id); | 60 | + memberSignInConfigMapper.deleteById(id); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | private void validateSignInConfigExists(Long id) { | 63 | private void validateSignInConfigExists(Long id) { |
| 64 | - if (signInConfigMapper.selectById(id) == null) { | 64 | + if (memberSignInConfigMapper.selectById(id) == null) { |
| 65 | throw exception(SIGN_IN_CONFIG_NOT_EXISTS); | 65 | throw exception(SIGN_IN_CONFIG_NOT_EXISTS); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| @@ -73,7 +73,7 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | @@ -73,7 +73,7 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | ||
| 73 | * @param id 编号,只有更新的时候会传递 | 73 | * @param id 编号,只有更新的时候会传递 |
| 74 | */ | 74 | */ |
| 75 | private void validateSignInConfigDayDuplicate(Integer day, Long id) { | 75 | private void validateSignInConfigDayDuplicate(Integer day, Long id) { |
| 76 | - MemberSignInConfigDO config = signInConfigMapper.selectByDay(day); | 76 | + MemberSignInConfigDO config = memberSignInConfigMapper.selectByDay(day); |
| 77 | // 1. 新增时,config 非空,则说明重复 | 77 | // 1. 新增时,config 非空,则说明重复 |
| 78 | if (id == null && config != null) { | 78 | if (id == null && config != null) { |
| 79 | throw exception(SIGN_IN_CONFIG_EXISTS); | 79 | throw exception(SIGN_IN_CONFIG_EXISTS); |
| @@ -86,19 +86,19 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | @@ -86,19 +86,19 @@ public class MemberSignInConfigServiceImpl implements MemberSignInConfigService | ||
| 86 | 86 | ||
| 87 | @Override | 87 | @Override |
| 88 | public MemberSignInConfigDO getSignInConfig(Long id) { | 88 | public MemberSignInConfigDO getSignInConfig(Long id) { |
| 89 | - return signInConfigMapper.selectById(id); | 89 | + return memberSignInConfigMapper.selectById(id); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | @Override | 92 | @Override |
| 93 | public List <MemberSignInConfigDO> getSignInConfigList() { | 93 | public List <MemberSignInConfigDO> getSignInConfigList() { |
| 94 | - List<MemberSignInConfigDO> list = signInConfigMapper.selectList(); | 94 | + List<MemberSignInConfigDO> list = memberSignInConfigMapper.selectList(); |
| 95 | list.sort(Comparator.comparing(MemberSignInConfigDO::getDay)); | 95 | list.sort(Comparator.comparing(MemberSignInConfigDO::getDay)); |
| 96 | return list; | 96 | return list; |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | @Override | 99 | @Override |
| 100 | public List<MemberSignInConfigDO> getSignInConfigList(Integer status) { | 100 | public List<MemberSignInConfigDO> getSignInConfigList(Integer status) { |
| 101 | - List<MemberSignInConfigDO> list = signInConfigMapper.selectListByStatus(status); | 101 | + List<MemberSignInConfigDO> list = memberSignInConfigMapper.selectListByStatus(status); |
| 102 | list.sort(Comparator.comparing(MemberSignInConfigDO::getDay)); | 102 | list.sort(Comparator.comparing(MemberSignInConfigDO::getDay)); |
| 103 | return list; | 103 | return list; |
| 104 | } | 104 | } |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/signin/MemberSignInRecordServiceImpl.java
| @@ -28,7 +28,7 @@ import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils. | @@ -28,7 +28,7 @@ import static cn.iocoder.yudao.framework.common.util.collection.CollectionUtils. | ||
| 28 | public class MemberSignInRecordServiceImpl implements MemberSignInRecordService { | 28 | public class MemberSignInRecordServiceImpl implements MemberSignInRecordService { |
| 29 | 29 | ||
| 30 | @Resource | 30 | @Resource |
| 31 | - private MemberSignInRecordMapper signInRecordMapper; | 31 | + private MemberSignInRecordMapper memberSignInRecordMapper; |
| 32 | 32 | ||
| 33 | @Resource | 33 | @Resource |
| 34 | private MemberUserApi memberUserApi; | 34 | private MemberUserApi memberUserApi; |
| @@ -46,12 +46,12 @@ public class MemberSignInRecordServiceImpl implements MemberSignInRecordService | @@ -46,12 +46,12 @@ public class MemberSignInRecordServiceImpl implements MemberSignInRecordService | ||
| 46 | userIds = convertSet(users, MemberUserRespDTO::getId); | 46 | userIds = convertSet(users, MemberUserRespDTO::getId); |
| 47 | } | 47 | } |
| 48 | // 分页查询 | 48 | // 分页查询 |
| 49 | - return signInRecordMapper.selectPage(pageReqVO, userIds); | 49 | + return memberSignInRecordMapper.selectPage(pageReqVO, userIds); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | @Override | 52 | @Override |
| 53 | public PageResult<MemberSignInRecordDO> getSignRecordPage(Long userId, PageParam pageParam) { | 53 | public PageResult<MemberSignInRecordDO> getSignRecordPage(Long userId, PageParam pageParam) { |
| 54 | - return signInRecordMapper.selectPage(userId, pageParam); | 54 | + return memberSignInRecordMapper.selectPage(userId, pageParam); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | } | 57 | } |
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/service/tag/MemberTagServiceImpl.java
| @@ -31,7 +31,7 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.*; | @@ -31,7 +31,7 @@ import static cn.iocoder.yudao.module.member.enums.ErrorCodeConstants.*; | ||
| 31 | public class MemberTagServiceImpl implements MemberTagService { | 31 | public class MemberTagServiceImpl implements MemberTagService { |
| 32 | 32 | ||
| 33 | @Resource | 33 | @Resource |
| 34 | - private MemberTagMapper tagMapper; | 34 | + private MemberTagMapper memberTagMapper; |
| 35 | @Resource | 35 | @Resource |
| 36 | private MemberUserService memberUserService; | 36 | private MemberUserService memberUserService; |
| 37 | 37 | ||
| @@ -41,7 +41,7 @@ public class MemberTagServiceImpl implements MemberTagService { | @@ -41,7 +41,7 @@ public class MemberTagServiceImpl implements MemberTagService { | ||
| 41 | validateTagNameUnique(null, createReqVO.getName()); | 41 | validateTagNameUnique(null, createReqVO.getName()); |
| 42 | // 插入 | 42 | // 插入 |
| 43 | MemberTagDO tag = MemberTagConvert.INSTANCE.convert(createReqVO); | 43 | MemberTagDO tag = MemberTagConvert.INSTANCE.convert(createReqVO); |
| 44 | - tagMapper.insert(tag); | 44 | + memberTagMapper.insert(tag); |
| 45 | // 返回 | 45 | // 返回 |
| 46 | return tag.getId(); | 46 | return tag.getId(); |
| 47 | } | 47 | } |
| @@ -54,7 +54,7 @@ public class MemberTagServiceImpl implements MemberTagService { | @@ -54,7 +54,7 @@ public class MemberTagServiceImpl implements MemberTagService { | ||
| 54 | validateTagNameUnique(updateReqVO.getId(), updateReqVO.getName()); | 54 | validateTagNameUnique(updateReqVO.getId(), updateReqVO.getName()); |
| 55 | // 更新 | 55 | // 更新 |
| 56 | MemberTagDO updateObj = MemberTagConvert.INSTANCE.convert(updateReqVO); | 56 | MemberTagDO updateObj = MemberTagConvert.INSTANCE.convert(updateReqVO); |
| 57 | - tagMapper.updateById(updateObj); | 57 | + memberTagMapper.updateById(updateObj); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | @Override | 60 | @Override |
| @@ -64,11 +64,11 @@ public class MemberTagServiceImpl implements MemberTagService { | @@ -64,11 +64,11 @@ public class MemberTagServiceImpl implements MemberTagService { | ||
| 64 | // 校验标签下是否有用户 | 64 | // 校验标签下是否有用户 |
| 65 | validateTagHasUser(id); | 65 | validateTagHasUser(id); |
| 66 | // 删除 | 66 | // 删除 |
| 67 | - tagMapper.deleteById(id); | 67 | + memberTagMapper.deleteById(id); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | private void validateTagExists(Long id) { | 70 | private void validateTagExists(Long id) { |
| 71 | - if (tagMapper.selectById(id) == null) { | 71 | + if (memberTagMapper.selectById(id) == null) { |
| 72 | throw exception(TAG_NOT_EXISTS); | 72 | throw exception(TAG_NOT_EXISTS); |
| 73 | } | 73 | } |
| 74 | } | 74 | } |
| @@ -77,7 +77,7 @@ public class MemberTagServiceImpl implements MemberTagService { | @@ -77,7 +77,7 @@ public class MemberTagServiceImpl implements MemberTagService { | ||
| 77 | if (StrUtil.isBlank(name)) { | 77 | if (StrUtil.isBlank(name)) { |
| 78 | return; | 78 | return; |
| 79 | } | 79 | } |
| 80 | - MemberTagDO tag = tagMapper.selelctByName(name); | 80 | + MemberTagDO tag = memberTagMapper.selelctByName(name); |
| 81 | if (tag == null) { | 81 | if (tag == null) { |
| 82 | return; | 82 | return; |
| 83 | } | 83 | } |
| @@ -100,7 +100,7 @@ public class MemberTagServiceImpl implements MemberTagService { | @@ -100,7 +100,7 @@ public class MemberTagServiceImpl implements MemberTagService { | ||
| 100 | 100 | ||
| 101 | @Override | 101 | @Override |
| 102 | public MemberTagDO getTag(Long id) { | 102 | public MemberTagDO getTag(Long id) { |
| 103 | - return tagMapper.selectById(id); | 103 | + return memberTagMapper.selectById(id); |
| 104 | } | 104 | } |
| 105 | 105 | ||
| 106 | @Override | 106 | @Override |
| @@ -108,17 +108,17 @@ public class MemberTagServiceImpl implements MemberTagService { | @@ -108,17 +108,17 @@ public class MemberTagServiceImpl implements MemberTagService { | ||
| 108 | if (CollUtil.isEmpty(ids)) { | 108 | if (CollUtil.isEmpty(ids)) { |
| 109 | return ListUtil.empty(); | 109 | return ListUtil.empty(); |
| 110 | } | 110 | } |
| 111 | - return tagMapper.selectBatchIds(ids); | 111 | + return memberTagMapper.selectBatchIds(ids); |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | @Override | 114 | @Override |
| 115 | public PageResult<MemberTagDO> getTagPage(MemberTagPageReqVO pageReqVO) { | 115 | public PageResult<MemberTagDO> getTagPage(MemberTagPageReqVO pageReqVO) { |
| 116 | - return tagMapper.selectPage(pageReqVO); | 116 | + return memberTagMapper.selectPage(pageReqVO); |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | @Override | 119 | @Override |
| 120 | public List<MemberTagDO> getTagList() { | 120 | public List<MemberTagDO> getTagList() { |
| 121 | - return tagMapper.selectList(); | 121 | + return memberTagMapper.selectList(); |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | } | 124 | } |
yudao-module-member/yudao-module-member-biz/src/test/java/cn/iocoder/yudao/module/member/service/address/AddressServiceImplTest.java
| @@ -4,7 +4,7 @@ import cn.iocoder.yudao.framework.test.core.ut.BaseDbUnitTest; | @@ -4,7 +4,7 @@ import cn.iocoder.yudao.framework.test.core.ut.BaseDbUnitTest; | ||
| 4 | import cn.iocoder.yudao.module.member.controller.app.address.vo.AppAddressCreateReqVO; | 4 | import cn.iocoder.yudao.module.member.controller.app.address.vo.AppAddressCreateReqVO; |
| 5 | import cn.iocoder.yudao.module.member.controller.app.address.vo.AppAddressUpdateReqVO; | 5 | import cn.iocoder.yudao.module.member.controller.app.address.vo.AppAddressUpdateReqVO; |
| 6 | import cn.iocoder.yudao.module.member.dal.dataobject.address.MemberAddressDO; | 6 | import cn.iocoder.yudao.module.member.dal.dataobject.address.MemberAddressDO; |
| 7 | -import cn.iocoder.yudao.module.member.dal.mysql.address.AddressMapper; | 7 | +import cn.iocoder.yudao.module.member.dal.mysql.address.MemberAddressMapper; |
| 8 | import org.junit.jupiter.api.Test; | 8 | import org.junit.jupiter.api.Test; |
| 9 | import org.springframework.context.annotation.Import; | 9 | import org.springframework.context.annotation.Import; |
| 10 | 10 | ||
| @@ -30,7 +30,7 @@ public class AddressServiceImplTest extends BaseDbUnitTest { | @@ -30,7 +30,7 @@ public class AddressServiceImplTest extends BaseDbUnitTest { | ||
| 30 | private AddressServiceImpl addressService; | 30 | private AddressServiceImpl addressService; |
| 31 | 31 | ||
| 32 | @Resource | 32 | @Resource |
| 33 | - private AddressMapper addressMapper; | 33 | + private MemberAddressMapper addressMapper; |
| 34 | 34 | ||
| 35 | @Test | 35 | @Test |
| 36 | public void testCreateAddress_success() { | 36 | public void testCreateAddress_success() { |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/account/vo/MpAccountRespVO.java
| @@ -5,7 +5,7 @@ import lombok.Data; | @@ -5,7 +5,7 @@ import lombok.Data; | ||
| 5 | import lombok.EqualsAndHashCode; | 5 | import lombok.EqualsAndHashCode; |
| 6 | import lombok.ToString; | 6 | import lombok.ToString; |
| 7 | 7 | ||
| 8 | -import java.util.Date; | 8 | +import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | @Schema(description = "管理后台 - 公众号账号 Response VO") | 10 | @Schema(description = "管理后台 - 公众号账号 Response VO") |
| 11 | @Data | 11 | @Data |
| @@ -20,6 +20,6 @@ public class MpAccountRespVO extends MpAccountBaseVO { | @@ -20,6 +20,6 @@ public class MpAccountRespVO extends MpAccountBaseVO { | ||
| 20 | private String qrCodeUrl; | 20 | private String qrCodeUrl; |
| 21 | 21 | ||
| 22 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 22 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 23 | - private Date createTime; | 23 | + private LocalDateTime createTime; |
| 24 | 24 | ||
| 25 | } | 25 | } |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/material/vo/MpMaterialRespVO.java
| @@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.mp.controller.admin.material.vo; | @@ -3,7 +3,7 @@ package cn.iocoder.yudao.module.mp.controller.admin.material.vo; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -import java.util.Date; | 6 | +import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | @Schema(description = "管理后台 - 公众号素材 Response VO") | 8 | @Schema(description = "管理后台 - 公众号素材 Response VO") |
| 9 | @Data | 9 | @Data |
| @@ -42,6 +42,6 @@ public class MpMaterialRespVO { | @@ -42,6 +42,6 @@ public class MpMaterialRespVO { | ||
| 42 | private String introduction; | 42 | private String introduction; |
| 43 | 43 | ||
| 44 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 44 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 45 | - private Date createTime; | 45 | + private LocalDateTime createTime; |
| 46 | 46 | ||
| 47 | } | 47 | } |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/menu/vo/MpMenuRespVO.java
| @@ -5,7 +5,7 @@ import lombok.Data; | @@ -5,7 +5,7 @@ import lombok.Data; | ||
| 5 | import lombok.EqualsAndHashCode; | 5 | import lombok.EqualsAndHashCode; |
| 6 | import lombok.ToString; | 6 | import lombok.ToString; |
| 7 | 7 | ||
| 8 | -import java.util.Date; | 8 | +import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | @Schema(description = "管理后台 - 公众号菜单 Response VO") | 10 | @Schema(description = "管理后台 - 公众号菜单 Response VO") |
| 11 | @Data | 11 | @Data |
| @@ -23,6 +23,6 @@ public class MpMenuRespVO extends MpMenuBaseVO { | @@ -23,6 +23,6 @@ public class MpMenuRespVO extends MpMenuBaseVO { | ||
| 23 | private String appId; | 23 | private String appId; |
| 24 | 24 | ||
| 25 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 25 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 26 | - private Date createTime; | 26 | + private LocalDateTime createTime; |
| 27 | 27 | ||
| 28 | } | 28 | } |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/message/vo/autoreply/MpAutoReplyRespVO.java
| @@ -5,7 +5,7 @@ import lombok.Data; | @@ -5,7 +5,7 @@ import lombok.Data; | ||
| 5 | import lombok.EqualsAndHashCode; | 5 | import lombok.EqualsAndHashCode; |
| 6 | import lombok.ToString; | 6 | import lombok.ToString; |
| 7 | 7 | ||
| 8 | -import java.util.Date; | 8 | +import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | @Schema(description = "管理后台 - 公众号自动回复 Response VO") | 10 | @Schema(description = "管理后台 - 公众号自动回复 Response VO") |
| 11 | @Data | 11 | @Data |
| @@ -22,6 +22,6 @@ public class MpAutoReplyRespVO extends MpAutoReplyBaseVO { | @@ -22,6 +22,6 @@ public class MpAutoReplyRespVO extends MpAutoReplyBaseVO { | ||
| 22 | private String appId; | 22 | private String appId; |
| 23 | 23 | ||
| 24 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 24 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 25 | - private Date createTime; | 25 | + private LocalDateTime createTime; |
| 26 | 26 | ||
| 27 | } | 27 | } |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/message/vo/message/MpMessageRespVO.java
| @@ -6,6 +6,7 @@ import io.swagger.v3.oas.annotations.media.Schema; | @@ -6,6 +6,7 @@ import io.swagger.v3.oas.annotations.media.Schema; | ||
| 6 | import lombok.Data; | 6 | import lombok.Data; |
| 7 | import me.chanjar.weixin.common.api.WxConsts; | 7 | import me.chanjar.weixin.common.api.WxConsts; |
| 8 | 8 | ||
| 9 | +import java.time.LocalDateTime; | ||
| 9 | import java.util.Date; | 10 | import java.util.Date; |
| 10 | import java.util.List; | 11 | import java.util.List; |
| 11 | 12 | ||
| @@ -96,6 +97,6 @@ public class MpMessageRespVO { | @@ -96,6 +97,6 @@ public class MpMessageRespVO { | ||
| 96 | private String eventKey; | 97 | private String eventKey; |
| 97 | 98 | ||
| 98 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 99 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 99 | - private Date createTime; | 100 | + private LocalDateTime createTime; |
| 100 | 101 | ||
| 101 | } | 102 | } |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/statistics/vo/MpStatisticsInterfaceSummaryRespVO.java
| @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.mp.controller.admin.statistics.vo; | @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.mp.controller.admin.statistics.vo; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -import java.util.Date; | 6 | +import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | @Schema(description = "管理后台 - 某一天的接口分析数据 Response VO") | 8 | @Schema(description = "管理后台 - 某一天的接口分析数据 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class MpStatisticsInterfaceSummaryRespVO { | 10 | public class MpStatisticsInterfaceSummaryRespVO { |
| 11 | 11 | ||
| 12 | @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED) | 12 | @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| 13 | - private Date refDate; | 13 | + private LocalDateTime refDate; |
| 14 | 14 | ||
| 15 | @Schema(description = "通过服务器配置地址获得消息后,被动回复粉丝消息的次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") | 15 | @Schema(description = "通过服务器配置地址获得消息后,被动回复粉丝消息的次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") |
| 16 | private Integer callbackCount; | 16 | private Integer callbackCount; |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/statistics/vo/MpStatisticsUpstreamMessageRespVO.java
| @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.mp.controller.admin.statistics.vo; | @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.mp.controller.admin.statistics.vo; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -import java.util.Date; | 6 | +import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | @Schema(description = "管理后台 - 某一天的粉丝增减数据 Response VO") | 8 | @Schema(description = "管理后台 - 某一天的粉丝增减数据 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class MpStatisticsUpstreamMessageRespVO { | 10 | public class MpStatisticsUpstreamMessageRespVO { |
| 11 | 11 | ||
| 12 | @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED) | 12 | @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| 13 | - private Date refDate; | 13 | + private LocalDateTime refDate; |
| 14 | 14 | ||
| 15 | @Schema(description = "上行发送了(向公众号发送了)消息的粉丝数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") | 15 | @Schema(description = "上行发送了(向公众号发送了)消息的粉丝数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") |
| 16 | private Integer messageUser; | 16 | private Integer messageUser; |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/statistics/vo/MpStatisticsUserCumulateRespVO.java
| @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.mp.controller.admin.statistics.vo; | @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.mp.controller.admin.statistics.vo; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -import java.util.Date; | 6 | +import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | @Schema(description = "管理后台 - 某一天的消息发送概况数据 Response VO") | 8 | @Schema(description = "管理后台 - 某一天的消息发送概况数据 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class MpStatisticsUserCumulateRespVO { | 10 | public class MpStatisticsUserCumulateRespVO { |
| 11 | 11 | ||
| 12 | @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED) | 12 | @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| 13 | - private Date refDate; | 13 | + private LocalDateTime refDate; |
| 14 | 14 | ||
| 15 | @Schema(description = "累计粉丝量", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") | 15 | @Schema(description = "累计粉丝量", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") |
| 16 | private Integer cumulateUser; | 16 | private Integer cumulateUser; |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/statistics/vo/MpStatisticsUserSummaryRespVO.java
| @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.mp.controller.admin.statistics.vo; | @@ -3,14 +3,14 @@ package cn.iocoder.yudao.module.mp.controller.admin.statistics.vo; | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.Data; | 4 | import lombok.Data; |
| 5 | 5 | ||
| 6 | -import java.util.Date; | 6 | +import java.time.LocalDateTime; |
| 7 | 7 | ||
| 8 | @Schema(description = "管理后台 - 某一天的粉丝增减数据 Response VO") | 8 | @Schema(description = "管理后台 - 某一天的粉丝增减数据 Response VO") |
| 9 | @Data | 9 | @Data |
| 10 | public class MpStatisticsUserSummaryRespVO { | 10 | public class MpStatisticsUserSummaryRespVO { |
| 11 | 11 | ||
| 12 | @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED) | 12 | @Schema(description = "日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| 13 | - private Date refDate; | 13 | + private LocalDateTime refDate; |
| 14 | 14 | ||
| 15 | @Schema(description = "粉丝来源", requiredMode = Schema.RequiredMode.REQUIRED, example = "0") | 15 | @Schema(description = "粉丝来源", requiredMode = Schema.RequiredMode.REQUIRED, example = "0") |
| 16 | private Integer userSource; | 16 | private Integer userSource; |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/tag/vo/MpTagRespVO.java
| @@ -5,7 +5,7 @@ import lombok.Data; | @@ -5,7 +5,7 @@ import lombok.Data; | ||
| 5 | import lombok.EqualsAndHashCode; | 5 | import lombok.EqualsAndHashCode; |
| 6 | import lombok.ToString; | 6 | import lombok.ToString; |
| 7 | 7 | ||
| 8 | -import java.util.Date; | 8 | +import java.time.LocalDateTime; |
| 9 | 9 | ||
| 10 | @Schema(description = "管理后台 - 公众号标签 Response VO") | 10 | @Schema(description = "管理后台 - 公众号标签 Response VO") |
| 11 | @Data | 11 | @Data |
| @@ -20,6 +20,6 @@ public class MpTagRespVO extends MpTagBaseVO { | @@ -20,6 +20,6 @@ public class MpTagRespVO extends MpTagBaseVO { | ||
| 20 | private Integer count; | 20 | private Integer count; |
| 21 | 21 | ||
| 22 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 22 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 23 | - private Date createTime; | 23 | + private LocalDateTime createTime; |
| 24 | 24 | ||
| 25 | } | 25 | } |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/user/vo/MpUserRespVO.java
| @@ -48,6 +48,6 @@ public class MpUserRespVO { | @@ -48,6 +48,6 @@ public class MpUserRespVO { | ||
| 48 | private String appId; | 48 | private String appId; |
| 49 | 49 | ||
| 50 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 50 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 51 | - private Date createTime; | 51 | + private LocalDateTime createTime; |
| 52 | 52 | ||
| 53 | } | 53 | } |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notify/vo/message/NotifyMessageRespVO.java
| 1 | package cn.iocoder.yudao.module.system.controller.admin.notify.vo.message; | 1 | package cn.iocoder.yudao.module.system.controller.admin.notify.vo.message; |
| 2 | 2 | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | -import lombok.*; | ||
| 5 | -import java.util.*; | 4 | +import lombok.Data; |
| 5 | +import lombok.EqualsAndHashCode; | ||
| 6 | +import lombok.ToString; | ||
| 7 | + | ||
| 8 | +import java.time.LocalDateTime; | ||
| 6 | 9 | ||
| 7 | @Schema(description = "管理后台 - 站内信 Response VO") | 10 | @Schema(description = "管理后台 - 站内信 Response VO") |
| 8 | @Data | 11 | @Data |
| @@ -14,6 +17,6 @@ public class NotifyMessageRespVO extends NotifyMessageBaseVO { | @@ -14,6 +17,6 @@ public class NotifyMessageRespVO extends NotifyMessageBaseVO { | ||
| 14 | private Long id; | 17 | private Long id; |
| 15 | 18 | ||
| 16 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 19 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 17 | - private Date createTime; | 20 | + private LocalDateTime createTime; |
| 18 | 21 | ||
| 19 | } | 22 | } |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/notify/vo/template/NotifyTemplateRespVO.java
| @@ -2,6 +2,8 @@ package cn.iocoder.yudao.module.system.controller.admin.notify.vo.template; | @@ -2,6 +2,8 @@ package cn.iocoder.yudao.module.system.controller.admin.notify.vo.template; | ||
| 2 | 2 | ||
| 3 | import io.swagger.v3.oas.annotations.media.Schema; | 3 | import io.swagger.v3.oas.annotations.media.Schema; |
| 4 | import lombok.*; | 4 | import lombok.*; |
| 5 | + | ||
| 6 | +import java.time.LocalDateTime; | ||
| 5 | import java.util.*; | 7 | import java.util.*; |
| 6 | 8 | ||
| 7 | @Schema(description = "管理后台 - 站内信模版 Response VO") | 9 | @Schema(description = "管理后台 - 站内信模版 Response VO") |
| @@ -17,6 +19,6 @@ public class NotifyTemplateRespVO extends NotifyTemplateBaseVO { | @@ -17,6 +19,6 @@ public class NotifyTemplateRespVO extends NotifyTemplateBaseVO { | ||
| 17 | private List<String> params; | 19 | private List<String> params; |
| 18 | 20 | ||
| 19 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) | 21 | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 20 | - private Date createTime; | 22 | + private LocalDateTime createTime; |
| 21 | 23 | ||
| 22 | } | 24 | } |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/convert/notify/NotifyMessageConvert.java
| @@ -24,5 +24,4 @@ public interface NotifyMessageConvert { | @@ -24,5 +24,4 @@ public interface NotifyMessageConvert { | ||
| 24 | 24 | ||
| 25 | PageResult<NotifyMessageRespVO> convertPage(PageResult<NotifyMessageDO> page); | 25 | PageResult<NotifyMessageRespVO> convertPage(PageResult<NotifyMessageDO> page); |
| 26 | 26 | ||
| 27 | - | ||
| 28 | } | 27 | } |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/convert/notify/NotifyTemplateConvert.java
| @@ -4,6 +4,7 @@ import java.util.*; | @@ -4,6 +4,7 @@ import java.util.*; | ||
| 4 | 4 | ||
| 5 | import cn.iocoder.yudao.framework.common.pojo.PageResult; | 5 | import cn.iocoder.yudao.framework.common.pojo.PageResult; |
| 6 | 6 | ||
| 7 | +import cn.iocoder.yudao.framework.common.util.date.DateUtils; | ||
| 7 | import cn.iocoder.yudao.module.system.controller.admin.notify.vo.template.NotifyTemplateCreateReqVO; | 8 | import cn.iocoder.yudao.module.system.controller.admin.notify.vo.template.NotifyTemplateCreateReqVO; |
| 8 | import cn.iocoder.yudao.module.system.controller.admin.notify.vo.template.NotifyTemplateRespVO; | 9 | import cn.iocoder.yudao.module.system.controller.admin.notify.vo.template.NotifyTemplateRespVO; |
| 9 | import cn.iocoder.yudao.module.system.controller.admin.notify.vo.template.NotifyTemplateUpdateReqVO; | 10 | import cn.iocoder.yudao.module.system.controller.admin.notify.vo.template.NotifyTemplateUpdateReqVO; |
| @@ -16,7 +17,7 @@ import cn.iocoder.yudao.module.system.dal.dataobject.notify.NotifyTemplateDO; | @@ -16,7 +17,7 @@ import cn.iocoder.yudao.module.system.dal.dataobject.notify.NotifyTemplateDO; | ||
| 16 | * | 17 | * |
| 17 | * @author xrcoder | 18 | * @author xrcoder |
| 18 | */ | 19 | */ |
| 19 | -@Mapper | 20 | +@Mapper(uses = DateUtils.class) |
| 20 | public interface NotifyTemplateConvert { | 21 | public interface NotifyTemplateConvert { |
| 21 | 22 | ||
| 22 | NotifyTemplateConvert INSTANCE = Mappers.getMapper(NotifyTemplateConvert.class); | 23 | NotifyTemplateConvert INSTANCE = Mappers.getMapper(NotifyTemplateConvert.class); |
yudao-server/pom.xml
| @@ -54,11 +54,11 @@ | @@ -54,11 +54,11 @@ | ||
| 54 | <!-- <version>${revision}</version>--> | 54 | <!-- <version>${revision}</version>--> |
| 55 | <!-- </dependency>--> | 55 | <!-- </dependency>--> |
| 56 | <!-- 支付服务。默认注释,保证编译速度 --> | 56 | <!-- 支付服务。默认注释,保证编译速度 --> |
| 57 | - <dependency> | ||
| 58 | - <groupId>cn.iocoder.boot</groupId> | ||
| 59 | - <artifactId>yudao-module-pay-biz</artifactId> | ||
| 60 | - <version>${revision}</version> | ||
| 61 | - </dependency> | 57 | +<!-- <dependency>--> |
| 58 | +<!-- <groupId>cn.iocoder.boot</groupId>--> | ||
| 59 | +<!-- <artifactId>yudao-module-pay-biz</artifactId>--> | ||
| 60 | +<!-- <version>${revision}</version>--> | ||
| 61 | +<!-- </dependency>--> | ||
| 62 | 62 | ||
| 63 | <!-- 微信公众号模块。默认注释,保证编译速度 --> | 63 | <!-- 微信公众号模块。默认注释,保证编译速度 --> |
| 64 | <!-- <dependency>--> | 64 | <!-- <dependency>--> |
| @@ -68,21 +68,21 @@ | @@ -68,21 +68,21 @@ | ||
| 68 | <!-- </dependency>--> | 68 | <!-- </dependency>--> |
| 69 | 69 | ||
| 70 | <!-- 商城相关模块。默认注释,保证编译速度 --> | 70 | <!-- 商城相关模块。默认注释,保证编译速度 --> |
| 71 | - <dependency> | ||
| 72 | - <groupId>cn.iocoder.boot</groupId> | ||
| 73 | - <artifactId>yudao-module-promotion-biz</artifactId> | ||
| 74 | - <version>${revision}</version> | ||
| 75 | - </dependency> | ||
| 76 | - <dependency> | ||
| 77 | - <groupId>cn.iocoder.boot</groupId> | ||
| 78 | - <artifactId>yudao-module-product-biz</artifactId> | ||
| 79 | - <version>${revision}</version> | ||
| 80 | - </dependency> | ||
| 81 | - <dependency> | ||
| 82 | - <groupId>cn.iocoder.boot</groupId> | ||
| 83 | - <artifactId>yudao-module-trade-biz</artifactId> | ||
| 84 | - <version>${revision}</version> | ||
| 85 | - </dependency> | 71 | +<!-- <dependency>--> |
| 72 | +<!-- <groupId>cn.iocoder.boot</groupId>--> | ||
| 73 | +<!-- <artifactId>yudao-module-promotion-biz</artifactId>--> | ||
| 74 | +<!-- <version>${revision}</version>--> | ||
| 75 | +<!-- </dependency>--> | ||
| 76 | +<!-- <dependency>--> | ||
| 77 | +<!-- <groupId>cn.iocoder.boot</groupId>--> | ||
| 78 | +<!-- <artifactId>yudao-module-product-biz</artifactId>--> | ||
| 79 | +<!-- <version>${revision}</version>--> | ||
| 80 | +<!-- </dependency>--> | ||
| 81 | +<!-- <dependency>--> | ||
| 82 | +<!-- <groupId>cn.iocoder.boot</groupId>--> | ||
| 83 | +<!-- <artifactId>yudao-module-trade-biz</artifactId>--> | ||
| 84 | +<!-- <version>${revision}</version>--> | ||
| 85 | +<!-- </dependency>--> | ||
| 86 | 86 | ||
| 87 | <!-- spring boot 配置所需依赖 --> | 87 | <!-- spring boot 配置所需依赖 --> |
| 88 | <dependency> | 88 | <dependency> |