[2025-06-05] 添加 2.0.1 使用说明
Some checks failed
Publish to Confluence / confluence (push) Failing after 34s

This commit is contained in:
liuxiaohua 2025-06-06 19:25:01 +08:00
parent cd5ea377da
commit 1fc854a4d2

View File

@ -28,10 +28,12 @@
### 涉及项目
| 项目 | 分支 | 发布顺序 | 数据库变更 | 配置变更 | 负责人 | 备注 |
|-----------------|---------------------------|------|-----------------------|-------------------------|-----|----------------------------|
|-----------------|------------------------------------|------|-----------------------|-------------------------|-----|----------------------------|
| yuanmeng-engine | feat/20250520-starter-mybatis-plus | 1 | | | 刘晓华 | 升级 2.0.0 |
| yuanmeng-parent | feat/20250520-starter-mybatis-plus | 2 | | | 刘晓华 | 升级 2.0.0 |
| qifu-saas-eg | master | 3 | [数据库脚本DDL](#数据库脚本DDL) | [Nacos配置文件](#Nacos配置文件) | 刘晓华 | 注意配置文件中需要修改的部分需要修改为对应环境的数据 |
| yuanmeng-parent | feat/20250605-2.0.1 | 3 | | | 刘晓华 | 升级 2.0.1 兼容 1.1.3 版本内容 |
| yuanmeng-parent | feat/20250605-2.0.1 | 4 | | | 刘晓华 | 升级 2.0.1 兼容 1.1.3 版本内容 |
| qifu-saas-eg | master | 5 | [数据库脚本DDL](#数据库脚本DDL) | [Nacos配置文件](#Nacos配置文件) | 刘晓华 | 注意配置文件中需要修改的部分需要修改为对应环境的数据 |
### 附件
@ -40,7 +42,8 @@
##### qifu-saas-eg数据库DDL
```sql
CREATE TABLE `eg_express_agent_shipping` (
CREATE TABLE `eg_express_agent_shipping`
(
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`channel` varchar(20) NOT NULL COMMENT '渠道编码',
`company` varchar(50) NOT NULL COMMENT '公司编码',
@ -51,6 +54,7 @@ CREATE TABLE `eg_express_agent_shipping` (
`receiver` text COMMENT '收件人信息',
`sender` text COMMENT '发件人信息',
`package_list` text COMMENT '包裹信息列表',
`package_count` int(4) NOT NULL DEFAULT '1' COMMENT '包裹数量',
`attach_info` text COMMENT '附加信息',
`out_order_no` varchar(50) NOT NULL DEFAULT '' COMMENT '外部一键代发单号',
`tracking_no` varchar(50) NOT NULL DEFAULT '' COMMENT '外部追踪号',
@ -67,35 +71,54 @@ CREATE TABLE `eg_express_agent_shipping` (
`update_time` bigint(20) NOT NULL DEFAULT '0' COMMENT '更新时间',
`deleted` bigint(20) NOT NULL DEFAULT '0' COMMENT '是否删除0=否id=是',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='一键代发下单表';
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4 COMMENT ='一键代发下单表';
ALTER TABLE `eg_order_app_seller`
ADD COLUMN `state` int(2) NOT NULL DEFAULT 1 COMMENT '状态1=启用2=禁用' AFTER `refresh_token_expires_time`;
ALTER TABLE `eg_order_app_seller`
ADD COLUMN `warehouse_list` text NULL COMMENT '仓库列表' AFTER `state`;
```
##### qifu-saas-eg数据库DML
- 测试
```sql
INSERT INTO `dev_qifu_saas_eg`.`eg_express_company_mapping` (`id`, `channel`, `code`, `out_code`, `cn_name`, `us_name`,
`out_cn_name`, `out_us_name`, `create_user_id`,
`create_by`, `create_time`, `update_user_id`, `update_by`,
`update_time`, `deleted`)
VALUES (69, 'pse', 'usps', '816', 'usps', 'usps', 'usps', 'usps', 1383729, '刘晓华', 1749190963, 1383729, '刘晓华',
1749190963, 0);
```
#### Nacos配置文件 (开发测试)
```yaml
qifu:
eg:
pse:
customer-code: 1546
app-key: 0RgcddvQdelOc3KbVsDSfprWWfI17IAL
yuanmeng:
mybatis-plus:
interceptor:
tenant-line:
include-mode: true
meta-inject:
fill-update-on-insert: true
decorator:
datasource:
enabled: true
```
### 其余配置
#### 开发者平台配置
----
## 开发说明