Commit 1307ce25 by zhoulm
2 parents e3b83c22 9276b48c
Showing 36 changed files with 793 additions and 38 deletions
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="com.github.wanniwa.editorjumper.settings.EditorJumperProjectSettings">
<option name="projectEditorType" value="Trae" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KubernetesApiPersistence">{}</component>
<component name="KubernetesApiProvider">{
&quot;isMigrated&quot;: true
}</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="temurin-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/doc.iml" filepath="$PROJECT_DIR$/.idea/doc.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/ht_project_doc.iml" filepath="$PROJECT_DIR$/.idea/ht_project_doc.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="SqlDialectMappings">
<file url="file://$PROJECT_DIR$/04_bugfix_v5.6.5_20260310/sql/DDL/dj组dj_smartcarlife_ddl.sql" dialect="GenericSQL" />
<file url="file://$PROJECT_DIR$/04_bugfix_v5.6.5_20260310/sql/DDL/scrm组dj_smartcarlife_ddl.sql" dialect="GenericSQL" />
<file url="file://$PROJECT_DIR$/04_bugfix_v5.6.5_20260310/sql/DML/dj组dj_smartcarlife_dml.sql" dialect="GenericSQL" />
<file url="file://$PROJECT_DIR$/04_bugfix_v5.6.5_20260310/sql/DML/scrm组dj_smartcarlife_dml.sql" dialect="GenericSQL" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
## 代码负责人
### 修改内容:
改动代码:
rop-dj-car-boutique:
- cn.com.glsx.dj.carboutique.controller.vd.QuotationController#additionalRecordingVehicleDamageQuotation 新建车损报价单-补录订单
rop-dj-pe-analysis:
- cn.com.glsx.dj.controller.BusinessExportController#dataDownload BI业务数据下载
- rop-dj-staff-miniprogram
- dj.api.staff.miniprogram.meituan.order.person 个人月度报告埋点
- dj.api.staff.miniprogram.meituan.order.dept 部门月度报告埋点
- dj.api.staff.miniprogram.meituan.order.company 公司月度报告埋点
- 新增功能点:
- BI报表导出需求
- 小程序新增报价单校验补录订单流水和订单所在支付时间财务规则
- 美团个人,部门,公司月度报告推送埋点
-----------------------------------------
#### review前:
![img.png](img.png)
#### review后:
review是否通过:通过
问题描述:
需要处理的:
......@@ -9,7 +9,11 @@
- dj.api.smartcarlife.productManager.qinggai.import 轻改批量SKU导入
- dj.api.smartcarlife.productManager.yanbao.template.export 延保SKU批量导入模版下载
- dj.api.smartcarlife.productManager.yanbao.import 延保SKU批量导入
- rpc-smartcarlife:
- cn.com.glsx.dj.smartcarlife.remote.BaseGoodsRemote 新增查询方法:getByCommodityCode
- cn.com.glsx.dj.smartcarlife.remote.BaseGoodsRemoteImpl 新增查询方法:getByCommodityCode
- cn.com.glsx.dj.smartcarlife.service.BaseGoodsService 新增查询方法:getByCommodityCode
- 新增功能点:
......
......@@ -64,7 +64,9 @@ create table `dj_car_life_merchant_goods_inventory_type_ref`
collate utf8mb4_unicode_ci;
alter table dj_car_life_merchant_goods_stock_reduce_record
add column inventory_type tinyint(1) null default 2 comment '库存模式 1-虚拟、2-实物';
add column inventory_type tinyint(1) null default 2 comment '库存模式 1-虚拟、2-实物',
add column order_merchant_id int null comment '下单商户id',
add column order_merchant_name varchar(200) null comment '下单商户名称';
### 富康 -----------------end---------------------
### 璐琦 -----------------start-------------------
......@@ -96,3 +98,19 @@ CREATE TABLE dj_car_life_payment_channel_config
ALTER TABLE vcp_check_report ADD COLUMN report_image_url varchar(512) COMMENT '报告图片url' AFTER report_url;
### 林冲 -----------------end----------------------
### 崔彦峰 -----------------start--------------------
#二手车评估多人报价与核价
ALTER TABLE `vcp_eval_price_history`
MODIFY COLUMN `op_type` int(11) NOT NULL COMMENT '操作类型:10评估师报价,20客户报价,30评估师驳回,40核价师核价,50核价师驳回',
MODIFY COLUMN `eval_price` decimal(10,0) DEFAULT NULL COMMENT '评估价格(元),仅评估师报价或核价师核价使用',
MODIFY COLUMN `eval_opinion` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '评估意见,仅评估师报价或核价师核价使用';
#二手车财务台账
ALTER TABLE `vcp_eval_car_base`
ADD COLUMN `license_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'OCR识别-行驶证住址';
#二手车线上问题迭代
ALTER TABLE `vcp_car_manage_info`
MODIFY COLUMN `car_status` int(11) DEFAULT '0' COMMENT '车辆状态:0-库存中 1-已出售 2-代售 3-已预定 4-已交付 5-待排卖 6-拍卖中 7-已退库 8-预展中 默认:0-库存中';
### 崔彦峰 -----------------end----------------------
\ No newline at end of file
......@@ -116,6 +116,35 @@ ALTER TABLE supervisor_audio_review_info ADD INDEX idx_relation_id (relation_id)
### 范富荣 -----------------end---------------------
### 林永健 -----------------start-------------------
CREATE TABLE `dj_merchant_bi_follow` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`merchant_id` int(11) NOT NULL COMMENT '门店号',
`merchant_name` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '门店名称',
`business_type` tinyint(2) NOT NULL COMMENT '业务场景',
`follow_count` int(8) NOT NULL DEFAULT '0' COMMENT '关注数',
`created_by` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '创建人',
`created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`updated_by` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '修改人',
`updated_date` datetime DEFAULT NULL COMMENT '修改时间',
`deleted_flag` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='门店关注表';
CREATE TABLE `dj_merchant_bi_follow_detail` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`follow_id` int(11) NOT NULL COMMENT 'dj_merchant_bi_follow.id',
`staff_uuid` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '员工编号',
`staff_phone` varchar(16) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '员工手机号',
`staff_name` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '员工姓名',
`created_by` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '创建人',
`created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`updated_by` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '修改人',
`updated_date` datetime DEFAULT NULL COMMENT '修改时间',
`deleted_flag` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='门店关注详情表';
### 林永健 -----------------end---------------------
### 谢海旭 -----------------start-------------------
......
UPDATE dj_car_life_merchant_goods_stock_reduce_record r
LEFT JOIN dj_car_life_goods_order go
ON go.order_code = r.business_code
AND go.deleted_flag = 'N'
SET
r.order_merchant_id = go.merchant_id,
r.order_merchant_name = go.merchant_name
WHERE
r.deleted_flag = 'N'
AND r.event_type = 1;
\ No newline at end of file
### 说明:
* 配置要备注【新增】、【修改】、【删除】
* 如果有新的kafka的topic,那就需要额外备注【生产需要创建topic】
### 开发环境
### 测试环境
```properties
# 指定人员才推送关注消息
dj.pe.analysis.follow.push.staff=17875511834,15814019200
# 推送消息的跳转地址
dj.pe.analysis.follow.work.wechat.message.text.card.url=https://scrm.test.glsx.com.cn/glsx-bi-report/#/businessAnalysis
```
### 预发布环境
```properties
# 指定人员才推送关注消息
dj.pe.analysis.follow.push.staff=17875511834,15814019200
# 推送消息的跳转地址
dj.pe.analysis.follow.work.wechat.message.text.card.url=https://scrm.test.glsx.com.cn/glsx-bi-report/#/businessAnalysis
```
### 线上环境
```properties
# 指定人员才推送关注消息
dj.pe.analysis.follow.push.staff=18676666516,18566760303,15002093718,13760137906
# 推送消息的跳转地址
dj.pe.analysis.follow.work.wechat.message.text.card.url=https://scrm.glsx.com.cn/glsx-bi-report/#/headquarters/analysis
```
###
......@@ -19,7 +19,7 @@ dj.payment.allinpay.default.mchId=
# 通联&广联数科 支付渠道编码
dj.payment.allinpay.default.channelId=3BD556E98EA54565B286372817BD1CAB
# 广联数科收款主体默认商户号
dj.payment.allinpay.default.mchId=
dj.payment.allinpay.default.mchId=A957156358137888768
```
### 预发布环境
......
......@@ -24,11 +24,11 @@ dj.payment.ht.default.mchId=
# 通联&广联数科 支付渠道编码
dj.payment.allinpay.default.channelId=3BD556E98EA54565B286372817BD1CAB
# 广联数科收款主体默认商户号
dj.payment.allinpay.default.mchId=
dj.payment.allinpay.default.mchId=A957156358137888768
#嘀加智慧云收款主体默认商户号
dj.payment.ysepay.default.mchId=
dj.payment.ysepay.default.mchId=826584359830580
#欢腾收款主体默认商户号
dj.payment.ht.default.mchId=
dj.payment.ht.default.mchId=826584359830580
```
......
......@@ -13,28 +13,28 @@
## 二、涉及应用列表版本应用信息
| SVN/Gitlab地址 | 分支标识(Gitlab必填) | 发版项目名称 | 分支创建人 | 分支合并人 | 代码检查人 | 检查情况 |
|---------------------------------------------------------|:--------------:|-------------------|------|-------|-------|------|
| http://192.168.3.233:8090/scrm/platform-merchants.git | v5.7.0 | platform-merchants | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-car-boutique.git | v5.7.0 | rop-dj-car-boutique | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-pad.git | v5.7.0 | rop-dj-pad | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-supervisor.git | main | rop-dj-supervisor | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-supervisor-mini.git | main | rop-dj-supervisor-mini | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-dj-supervisor.git | main | rpc-dj-supervisor | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-smartcarlife.git | v5.7.0 | rpc-dj-smartcarlife | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-pe-analysis.git | v5.7.0 | rop-dj-pe-analysis | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-dj-pe-analysis.git | v5.7.0 | rpc-dj-pe-analysis | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-dj-pe-strategy.git | v5.7.0 | rpc-dj-pe-strategy | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-smartcarlife | v5.7.0 | rop-dj-smartcarlife | 周立明 | | | |
| https://gitee.com/foutouren/aus.git | v1.2.0 | aus-admin | 章家宝 | | | |
| https://gitee.com/foutouren/aus.git | v1.2.0 | aus-api | 章家宝 | | | |
| https://gitee.com/foutouren/aus.git | v1.2.0 | aus-task | 章家宝 | | | |
| http://192.168.3.233:8090/dj/rpc-platform-payment.git | v5.7.0 | rpc-dj-platform-payment | 王璐琦 | | | |
| http://192.168.3.233:8090/gsc/gsc-vcp-biz.git | v5.7.0 | gsc-vcp-biz | 崔彦峰 | | | |
| http://192.168.3.233:8090/gsc/gsc-vcp-pad-facade.git | v5.7.0 | gsc-vcp-pad-facade | 崔彦峰 | | | |
| http://192.168.3.233:8090/gsc/gsc-vcp-web-facade.git | v5.7.0 | gsc-vcp-web-facade | 崔彦峰 | | | |
| http://192.168.3.233:8090/dj/rpc-mindworkplate.git | v5.7.0 | rpc-dj-mindworkplate | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-staff.git | v5.7.0 | rpc-staff | 叶立庆 | | | |
| SVN/Gitlab地址 | 分支标识(Gitlab必填) | 发版项目名称 | 分支创建人 | 分支合并人 | 代码检查人 | 检查情况 |
|----------------------------------------------------------------|:--------------:|--------------------------|-------|-------|-------|------|
| http://192.168.3.233:8090/scrm/platform-merchants.git | v5.7.0 | platform-merchants | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-car-boutique.git | v5.7.0 | rop-dj-car-boutique | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-pad.git | v5.7.0 | rop-dj-pad | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-supervisor.git | main | rop-dj-supervisor | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-supervisor-mini.git | main | rop-dj-supervisor-mini | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-dj-supervisor.git | main | rpc-dj-supervisor | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-smartcarlife.git | v5.7.0 | rpc-dj-smartcarlife | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-pe-analysis.git | v5.7.0 | rop-dj-pe-analysis | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-dj-pe-analysis.git | v5.7.0 | rpc-dj-pe-analysis | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-dj-strategy.git | v5.7.0 | rpc-dj-pe-strategy | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-smartcarlife | v5.7.0 | rop-dj-smartcarlife | 周立明 | | | |
| https://gitee.com/foutouren/aus.git | v1.2.0 | aus-admin | 章家宝 | | | |
| https://gitee.com/foutouren/aus.git | v1.2.0 | aus-api | 章家宝 | | | |
| https://gitee.com/foutouren/aus.git | v1.2.0 | aus-task | 章家宝 | | | |
| http://192.168.3.233:8090/dj/rpc-platform-payment.git | v5.7.0 | rpc-dj-platform-payment | 王璐琦 | | | |
| http://192.168.3.233:8090/gsc/gsc-vcp-biz.git | v5.7.0 | gsc-vcp-biz | 崔彦峰 | | | |
| http://192.168.3.233:8090/gsc/gsc-vcp-pad-facade.git | v5.7.0 | gsc-vcp-pad-facade | 崔彦峰 | | | |
| http://192.168.3.233:8090/gsc/gsc-vcp-web-facade.git | v5.7.0 | gsc-vcp-web-facade | 崔彦峰 | | | |
| http://192.168.3.233:8090/dj/rpc-mindworkplate.git | v5.7.0 | rpc-dj-mindworkplate | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rpc-staff.git | v5.7.0 | rpc-staff | 叶立庆 | | | |
| http://192.168.3.233:8090/dj/rop-dj-staff-miniprogram.git | v5.7.0 | rop-dj-staff-miniprogram | 叶立庆 | | | |
| http://newgitlab.test.glsx.com.cn/dj/operationreportexport.git | main | operationreportexport | 庞善天 | | | |
......@@ -211,14 +211,6 @@ rop-dj-pe-analysis:
- dj.api.staff.miniprogram.meituan.order.dept 部门月度报告埋点
- dj.api.staff.miniprogram.meituan.order.company 公司月度报告埋点
rop-dj-pe-analysis:
- cn.com.glsx.dj.controller.BusinessExportController#dataDownload BI业务数据下载
- rop-dj-staff-miniprogram
- dj.api.staff.miniprogram.meituan.order.person 个人月度报告埋点
- dj.api.staff.miniprogram.meituan.order.dept 部门月度报告埋点
- dj.api.staff.miniprogram.meituan.order.company 公司月度报告埋点
#### 影响范围
区域运营小程序:
......@@ -297,10 +289,20 @@ rop-dj-pe-analysis:
### 第二轮提测
#### 变更内容2
#### 变更内容
- rpc-dj-staff
- 计算提成,按固定金额计算时,乘以升级订单数,而不是直接使用固定金额
- rpc-dj-smartcarlife
- cn.com.glsx.dj.smartcarlife.mapper.MerchantGoodsRefMapper#queryRelatedMerchantsByGoodsIds 商品库-产品管理-上架管理-查询关联门店
- cn.com.glsx.dj.smartcarlife.service.stock.MerchantShopGoodsStockService#chooseMerchantByType 套餐商品领料出库时未查询可用的上架商品库存管控模式
#### 影响范围
- 嘀加智享车生活
- 人员管理-驻店管理-工资绩效
- 提成:计算提成,按固定金额计算时,乘以升级订单数,而不是直接使用固定金额
- 商品库-产品管理-上架管理-查询关联门店,去掉重复商户号数据
- 生意助手员工版
- 套餐商品领料出库时未查询可用的上架商品库存管控模式
### 第三轮提测
#### 变更内容
......
## 示例
```txt
欣伟:
         申请线上定时任务触发,用于需求上线后验证。
         
         触发时间:0328大版本上线服务发版后
         注册中心:dubbo.zk.glsx.com:2181
         命名空间:glsx_elastic_job
         需要触发的定时任务名:EarlyWarningMsgCreateJob、EarlyWarningMsgQiWeiGroupJob、EarlyWarningOpeStaffSendJob、EarlyWarningResStaffSendJob、EarlyWarningSupSalesStaffSendJob
         执行步骤:先把上述job的corn表达式改成离当前时间一分钟,例如(0 0 23 * * ?) 23点0分执行,让程序自己执行一次,执行一次后,会变成正常可触发状态,无需再次触发,只需要把corn表达式还原就行
        注意事项:定时任务 EarlyWarningSupSalesStaffSendJob 需要先改配置后执行定时任务,测试完成后再把配置还原。把服务 rpc-dj-mindworkplate 配置项 work.wechat.ope.phone 值改为 13825207633,等测试完成再还原。
```
## 内容
```txt
王经理你好:
         申请线上定时任务触发,用于需求上线后验证。
注册中心:dubbo.zk.glsx.com:2181
         命名空间:glsx_elastic_job
       任务1:
         触发时间:0328大版本上线服务发版后
         需要触发的定时任务名:MarkAbnormalOrderJob
         执行步骤:先把上述job的corn表达式改成离当前时间一分钟,例如(0 0 23 * * ?) 23点0分执行,让程序自己执行一次,执行一次后,会变成正常可触发状态,无需再次触发,只需要把corn表达式还原为 0 0 0 * * ? 2099
        
       任务2:
        触发任务:SyncBeisenStaffBaseInfoJob 同步北森员工基础信息
    原corn表达式:0 0 5 * * ?
    触发时间:版本发布后,等海宝北森数据定时任务执行后再触发,可找研发王璐琦确认
   
    任务3:
    触发任务:SendGoodsOrderApplyWechatMessageJob 发送订单待审核企微消息
    原corn表达式:0 30 13 * * ?
    触发时间:版本发布后,等测试造完数据后后再触发,可找研发王璐琦确认
   
    任务4:
    触发任务:UpdateStaffSalaryEffectiveRuleStatusJob 更新维护薪资占比生效状态
    原corn表达式:0 0 0 1 * ?
    触发时间:版本发布后,等脚本执行完毕,北森数据同步完成后再触发,可找研发王璐琦确认
   
    任务5:
    触发任务:PerfRuleSettingJob 确定该月需要采用的绩效等级配置
    原corn表达式:0 0 1 1 * ?
    触发时间:版本发布后,先把上述job的corn表达式改成离当前时间一分钟,让程序自己执行一次,执行一次后,会变成正常可触发状态,无需再次触发,只需要把corn表达式还原就行,可找研发张富康确认
   
    任务6:
    触发任务:EffectiveReferralReviewStatsJob 进行有效引荐数交车数的统计
    原corn表达式:0 0 2 1 * ?
    触发时间:版本发布后,先把上述job的corn表达式改成离当前时间一分钟,让程序自己执行一次,执行一次后,会变成正常可触发状态,无需再次触发,只需要把corn表达式还原就行,可找研发张富康确认
   
    任务7:
    触发任务:AttendanceDataCleansing 处理清洗考勤数据统计
    原corn表达式:0 30 4 1 * ?
    触发时间:版本发布后,UpdateStaffSalaryEffectiveRuleStatusJob(任务4)执行完毕,北森数据同步完成后再触发,可找研发张富康确认
   
    任务8:
    触发任务:AutoPerfEvaluationJob 每月自动评绩效
    原corn表达式:0 30 5 1 * ?
    触发时间:版本发布后,AttendanceDataCleansing(任务7)执行完毕,处理清洗考勤数据统计完成后再触发,可找研发张富康确认
对于以上8个任务,触发任务后需还原表达式。
```
## 代码负责人
### 修改内容:
### 影响功能点:
### review前:
![img.png](代码review模板(每个人一个文件夹)/img.png)
### review后:
![img_1.png](代码review模板(每个人一个文件夹)/img_1.png)
### review是否通过:通过/不通过
### 问题描述
- xxxxxx
- xxxxxx
## 1、【运营日常分析业绩波动并进行问题归因】:
改动代码:
- rop-dj-smartcarlife:
- dj.api.smartcarlife.risk.manage.home.page 店效盯防-首页
- dj.api.smartcarlife.risk.manage.merchant.performance.page 店效盯防-风险榜
- dj.api.smartcarlife.risk.manage.merchant.performance.export 店效盯防-风险榜-导出
- dj.api.smartcarlife.risk.manage.merchant.performance.detail 店效盯防-门店详情-门店产值信息
- dj.api.smartcarlife.risk.manage.notice.board.items.detail 店效盯防-更多看板/门店详情-数据指标
- dj.api.smartcarlife.risk.manage.notice.board.merchant.list 店效盯防-更多看板-门店列表
- dj.api.smartcarlife.risk.manage.notice.board.merchant.list.export 店效盯防-更多看板-门店列表导出
- dj.api.smartcarlife.risk.manage.code.detail.list 店效盯防-指标详情(趋势图)
- 影响功能点:
- 嘀加智享车生活
- 预警管理-店效盯防
- 盯防首页
- 业绩风险榜、门店风险榜
- 更多看板:数据指标、门店列表、指标详情折线图
- 门店详情、漏斗图
-----------------------------------------
#### review前:
![img.png](img.png)
#### review后:
![img_1.png](img_1.png)
review是否通过:通过/不通过
问题描述:xxxxxx
需要处理的:
代码层面的errors必须修复
java:
probable bugs: 需要处理
- nullability problems
- Constant values
- Malformed format string
- Nullability and data flow problems
- Optional.get() iscalled without isPresent() check
- overwritten Map,Set or array element
- statement has empty body
Threading issues:需要处理
- Busy wait
error handing:需要处理
control flow issues:需要处理
numeric issues:需要处理
performance:需要处理
maven :需要处理
- duplicate dependencies
mybatis:需要处理
- mapper method inspection
- mapper xml inspection
### 陈希 -----------------start-------------------
### 陈希 -----------------end---------------------
### 立明 -----------------start-------------------
### 立明 -----------------end---------------------
### 彦峰 -----------------start-------------------
### 彦峰 -----------------end---------------------
### 富康 -----------------start-------------------
### 富康 -----------------end---------------------
### 璐琦 -----------------start-------------------
### 璐琦 -----------------end---------------------
### 林冲 -----------------start--------------------
### 林冲 -----------------end----------------------
### 章家宝 -----------------start-------------------
CREATE TABLE `inspection_work_order`
(
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`vehicle_id` int(11) NOT NULL COMMENT '车辆ID',
`inspector_id` bigint NOT NULL COMMENT '检测师ID',
`status` tinyint(2) NOT NULL COMMENT '工单状态(1:待检测;2:检测中;3:已完成;4:已取消)',
`audit_status` tinyint(2) NOT NULL COMMENT '审批状态(1:待审批;2:审批中;3:审批通过;4:审批驳回;)',
`wo_time` datetime NULL DEFAULT NULL COMMENT '派单时间',
`wo_id` varchar(50) NOT NULL COMMENT '工单唯一ID',
`audit_content` varchar(500) NULL DEFAULT NULL COMMENT '审批意见',
`cancel_type` varchar(50) NULL DEFAULT '' COMMENT '取消类型',
`cancel_content` varchar(500) NULL DEFAULT NULL COMMENT '取消理由',
`audit_time` datetime NULL DEFAULT NULL COMMENT '时间',
`template_id` bigint NOT NULL COMMENT '模板ID',
`template_version` varchar(50) NOT NULL COMMENT '模板版本',
`inspection_time` datetime COMMENT '检测时间',
`inspection_address` varchar(255) NOT NULL COMMENT '检测地址',
`inspection_completed_time` datetime NULL DEFAULT NULL COMMENT '检测完成时间',
`score` decimal(2,1) NULL DEFAULT NULL COMMENT '评分(保留1位小数)',
`remark` text NULL DEFAULT NULL COMMENT '工单备注',
`create_by` varchar(64) NOT NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) NOT NULL COMMENT '修改人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
`delete_flag` char(1) NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`id`),
KEY `idx_unique_work_order_id` (`wo_id`) USING BTREE,
KEY `idx_inspector_id` (`inspector_id`) USING BTREE,
KEY `idx_status` (`status`) USING BTREE,
KEY `idx_vehicle_id` (`vehicle_id`) USING BTREE
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci COMMENT ='检测工单表';
CREATE TABLE `inspection_work_order_op_log`
(
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`work_order_inner_id` bigint NOT NULL COMMENT '关联检测工单主键ID(对应inspection_work_order.id)',
`wo_id` varchar(50) NOT NULL COMMENT '关联检测工单唯一ID(对应inspection_work_order.wo_id)',
`operator_id` bigint NOT NULL COMMENT '操作人ID(如系统管理员、检测师)',
`operator_name` varchar(64) NOT NULL COMMENT '操作人姓名',
`plate_type` tinyint(2) not null comment '平台标识:0 检测师 1 后台',
`operation_type` tinyint(2) NOT NULL COMMENT '操作类型(1:创建工单;2:派单;3:开始检测;4:提交审核;5:审批通过;6:审批驳回;7:完成工单;8:取消工单;9:修改工单信息;10:重新派单)',
`original_status` tinyint(2) NOT NULL COMMENT '操作前工单状态(对应inspection_work_order.status)',
`target_status` tinyint(2) NOT NULL COMMENT '操作后工单状态(对应inspection_work_order.status)',
`operation_content` varchar(512) NULL DEFAULT NULL COMMENT '操作内容描述(如:将工单派给检测师ID:1001,姓名:张三)',
`operation_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '操作时间',
`description` text DEFAULT NULL COMMENT '操作描述',
`create_by` varchar(64) NOT NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) NOT NULL COMMENT '修改人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
`delete_flag` char(1) NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`id`),
KEY `idx_wo_id` (`wo_id`) USING BTREE,
KEY `idx_work_order_inner_id` (`work_order_inner_id`) USING BTREE,
KEY `idx_operator_id` (`operator_id`) USING BTREE,
KEY `idx_operation_time` (`operation_time`) USING BTREE,
KEY `idx_status_change` (`original_status`, `target_status`) USING BTREE
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci COMMENT ='检测工单操作日志表';
CREATE TABLE `inspection_report`
(
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`report_no` varchar(50) NOT NULL COMMENT '报告编号(唯一)',
`wo_id` varchar(50) NOT NULL COMMENT '关联工单号(对应inspection_work_order.wo_id)',
`work_order_inner_id` bigint NOT NULL COMMENT '关联检测工单主键ID(对应inspection_work_order.id)',
`vehicle_id` int(11) NOT NULL COMMENT '车辆ID(对应inspection_work_order.vehicle_id)',
`inspection_record_id` bigint NOT NULL COMMENT '检测记录id',
`bind_status` tinyint(2) NOT NULL COMMENT '绑定状态(1:已绑定;2:未绑定)',
`h5_url` varchar(512) COMMENT 'H5链接地址(检测报告预览链接)',
`create_by` varchar(64) NOT NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) NOT NULL COMMENT '修改人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
`delete_flag` char(1) NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_report_no` (`report_no`) USING BTREE,
KEY `idx_wo_id_del` (`wo_id`, `delete_flag`) USING BTREE,
KEY `idx_work_order_inner_id_del` (`work_order_inner_id`, `delete_flag`) USING BTREE,
KEY `idx_vehicle_id_del` (`vehicle_id`, `delete_flag`) USING BTREE,
KEY `idx_inspection_record_id_del` (`inspection_record_id`, `delete_flag`) USING BTREE
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci COMMENT ='检测报告表';
CREATE TABLE `inspection_report_op_log`
(
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`report_inner_id` bigint NOT NULL COMMENT '关联检测报告主键ID(对应inspection_report.id)',
`report_no` varchar(50) NOT NULL COMMENT '关联检测报告编号(对应inspection_report.report_no)',
`operator_id` bigint NOT NULL COMMENT '操作人ID(系统管理员/检测师/审核人等)',
`plate_type` tinyint(2) not null comment '平台标识:0 检测师 1 后台',
`operator_name` varchar(64) NOT NULL COMMENT '操作人姓名',
`operation_type` tinyint(2) NOT NULL COMMENT '操作类型(1:创建报告;2:修改车型名称;3:更新评分/评分级别;4:更新绑定状态;5:更新车辆状态;6:修改车牌号;7:更新H5链接;8:修改车源号;9:删除报告;10:其他信息修改)',
`original_data` text COMMENT '变更前数据(JSON格式,如:{"score":"4.5","scoreLevel":"A","bindStatus":1})',
`target_data` text COMMENT '变更后数据(JSON格式,与original_data对应)',
`operation_content` varchar(512) COMMENT '操作内容描述(如:将报告评分从4.5修改为4.0,评分级别从A改为B)',
`operation_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '操作时间',
`remark` text COMMENT '操作备注(如变更原因、异常说明等)',
`create_by` varchar(64) NOT NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(64) NOT NULL COMMENT '修改人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
`delete_flag` char(1) NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`id`),
KEY `idx_report_no` (`report_no`) USING BTREE,
KEY `idx_report_inner_id` (`report_inner_id`) USING BTREE,
KEY `idx_operator_id` (`operator_id`) USING BTREE,
KEY `idx_operation_type` (`operation_type`) USING BTREE,
KEY `idx_operation_time` (`operation_time`) USING BTREE
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci COMMENT ='检测报告操作日志表';
### 章家宝 -----------------end---------------------
### 杨卫 -----------------start--------------------
### 杨卫 -----------------end----------------------
### 叶立庆 -----------------start-------------------
### 叶立庆 -----------------end---------------------
### 周海宝 -----------------start-------------------
### 周海宝 -----------------end---------------------
### 范富荣 -----------------start-------------------
### 范富荣 -----------------end---------------------
### 林永健 -----------------start-------------------
### 林永健 -----------------end---------------------
### 谢海旭 -----------------start-------------------
### 谢海旭 -----------------end---------------------
### 杨卫 -----------------start--------------------
### 杨卫 -----------------end----------------------
### 陈希 -----------------start-------------------
### 陈希 -----------------end---------------------
### 立明 -----------------start-------------------
### 立明 -----------------end---------------------
### 彦峰 -----------------start-------------------
### 彦峰 -----------------end---------------------
### 富康 -----------------start-------------------
### 富康 -----------------end---------------------
### 璐琦 -----------------start-------------------
### 璐琦 -----------------end---------------------
### 林冲 -----------------start--------------------
### 林冲 -----------------end----------------------
\ No newline at end of file
# 开发环境配置
server:
port: 6901
servlet:
context-path: /app
spring:
task:
execution:
pool:
core-size: 2
max-size: 10
queue-capacity: 100
keep-alive: 60s
allow-core-thread-timeout: true
shutdown:
await-termination: true
await-termination-period: 30s
thread-name-prefix: inspector-
logging:
location: /data/java_log/aus
application:
jwt:
expiration: 2592000
# 开发环境配置
server:
port: 6904
logging:
level:
root: info
location: /Users/gonglei/aus
spring:
task:
execution:
pool:
core-size: 2
max-size: 10
queue-capacity: 100
keep-alive: 60s
allow-core-thread-timeout: true
shutdown:
await-termination: true
await-termination-period: 30s
thread-name-prefix: inspector-test-
inspector:
inspection-audit-url: http://localhost:6904/inspection-audit
inspection-record-h5-url: http://192.168.1.125:5173/#/detection/record?id=%s
application:
jwt:
expiration: 2592000
# 开发环境
```yaml
spring:
webhooks:
assign-business-message:
inspection_audit: # 检测审核
- https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=6ab14b47-ea51-426a-9c58-c41c602cf6f8
```
# 测试环境
```yaml
spring:
webhooks:
assign-business-message:
inspection_audit: # 检测审核
- https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=6ab14b47-ea51-426a-9c58-c41c602cf6f8
```
# 生产环境
```yaml
spring:
webhooks:
assign-business-message:
inspection_audit: # 检测审核
- https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=f5af3055-787f-4fb7-9068-2301f310e0b1
- https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=27f98b55-d2f8-4a00-90d6-02046b0c5dc9
```
### 说明:
* 配置要备注【新增】、【修改】、【删除】
* 如果有新的kafka的topic,那就需要额外备注【生产需要创建topic】
### 开发环境
```properties
```
### 测试环境
```properties
```
### 预发布环境
```properties
```
### 线上环境
```properties
```
###
# 版本开发内容
## 一、需求列表
* 功能点
## 二、涉及应用列表版本应用信息
| SVN/Gitlab地址 | 分支标识(Gitlab必填) | 发版项目名称 | 分支创建人 | 分支合并人 | 代码检查人 | 检查情况 |
| https://gitee.com/foutouren/aus.git | v1.3.0 | aus-admin | 章家宝 | | | |
| https://gitee.com/foutouren/aus.git | v1.3.0 | aus-api | 章家宝 | | | |
| https://gitee.com/foutouren/aus.git | v1.3.0 | aus-inspector | 章家宝 | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
## 三、需求变更记录
> 当下方有记录时提测附上此处截图,用于反向督促产品需求的把控
| 产品 | 变更时间 | 变更内容 |
|----|------|------|
## 四、提测变更与影响范围
> 协助测试明确变更与影响,做相应的测试边界处理
#### 第一轮提测
#### 变更内容
aus-api
- com.glsx.usedcar.web.api.inspect.InspectionReportController#getVehicleInspectScore 新接口 根据车辆ID查询检测评分/评级
aus-admin
- com.glsx.usedcar.web.rest.inspect.InspectionReportController#update 编辑检测报告
- com.glsx.usedcar.web.rest.inspect.InspectionReportController#pageList 分页查询检测报告
- com.glsx.usedcar.web.rest.inspect.InspectionReportController#detail 获取检测报告详情
- com.glsx.usedcar.web.rest.inspect.InspectionReportController#bind 检测报告绑定
- com.glsx.usedcar.web.rest.inspect.InspectionReportController#unbind 检测报告解绑
- com.glsx.usedcar.web.rest.inspect.InspectionReportController#export 检测报告导出
- com.glsx.usedcar.web.rest.inspect.InspectionWorkOrderController#add 新增检测工单
- com.glsx.usedcar.web.rest.inspect.InspectionWorkOrderController#update 编辑检测工单
- com.glsx.usedcar.web.rest.inspect.InspectionWorkOrderController#cancel 取消检测工单
- com.glsx.usedcar.web.rest.inspect.InspectionWorkOrderController#pageList 分页检测工单
- com.glsx.usedcar.web.rest.inspect.InspectionWorkOrderController#detail 获取检测工单详情
- com.glsx.usedcar.web.rest.inspect.InspectionWorkOrderController#audit 审批检测工单
- com.glsx.usedcar.web.rest.inspect.InspectionWorkOrderController#export 检测工单导出
- com.glsx.usedcar.web.rest.inspect.InspectionWorkOrderController#countByStatus 统计各状态工单数量
- com.glsx.usedcar.web.rest.inspect.InspectorController#exportAccountPreference 检测师数据导出
- com.glsx.usedcar.web.rest.inspect.InspectorController#summary 统计查询
aus-inspector
- com.glsx.usedcar.controller.InspectionReportController#pageList 分页查询检测报告
- com.glsx.usedcar.controller.AuthController#sendCode 发送登录验证码
- com.glsx.usedcar.controller.AuthController#login 验证码登录
- com.glsx.usedcar.controller.InspectionWorkOrderController#pageList 分页检测工单
- com.glsx.usedcar.controller.InspectionWorkOrderController#getDetail 获取检测工单详情
#### 影响范围
优加车拍小程序:
- 车辆详情 - 获取报告信息
优加车拍后台:
车辆检测
- 检测工单(新增,查询,导出,审批,取消)
- 检测报告(查询,导出,编辑,绑定,解绑)
- 检测师 (查询,导出,编辑,新增,禁用)
检测师平台:
- 检测工单 (查询,详情)
- 检测报告
- 查询检测师详情
### 第二轮提测
#### 变更内容2
#### 影响范围
### 第三轮提测
#### 变更内容
#### 影响范围
###
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!