Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-mindworkplate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2cbd5ee5
authored
Jan 20, 2026
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]新增预警管理,录音查询
1 parent
2b4e5ff2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
25 deletions
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/dto/monitoring/StoreItemResponse.java
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/model/MonitorTypeDict.java
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/model/warning/LearningEffectAnalysisDTO.java
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/model/warning/MonMetricsDTO.java
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/model/warning/Rule.java
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/dto/monitoring/StoreItemResponse.java
View file @
2cbd5ee
...
@@ -14,34 +14,34 @@ public class StoreItemResponse implements Serializable {
...
@@ -14,34 +14,34 @@ public class StoreItemResponse implements Serializable {
/**
/**
* 商户号
* 商户号
*/
*/
@ApiModelProperty
(
value
=
"商户号"
)
@ApiModelProperty
(
notes
=
"商户号"
)
private
String
merchantNo
;
private
String
merchantNo
;
/**
/**
* 门店名称(商户名称)
* 门店名称(商户名称)
*/
*/
@ApiModelProperty
(
value
=
"门店名称(商户名称)"
)
@ApiModelProperty
(
notes
=
"门店名称(商户名称)"
)
private
String
storeName
;
private
String
storeName
;
/**
/**
* 主营品牌(一级-子品牌),多个用 "/" 拼接,前端控制显示长度 + 悬浮窗
* 主营品牌(一级-子品牌),多个用 "/" 拼接,前端控制显示长度 + 悬浮窗
* 示例:"丰田-凯美瑞/本田-雅阁"
* 示例:"丰田-凯美瑞/本田-雅阁"
*/
*/
@ApiModelProperty
(
value
=
"主营品牌(一级-子品牌),多个用 \"/\" 拼接,前端控制显示长度 + 悬浮窗"
)
@ApiModelProperty
(
notes
=
"主营品牌(一级-子品牌),多个用 \"/\" 拼接,前端控制显示长度 + 悬浮窗"
)
private
String
mainBrands
;
// 如 "丰田-凯美瑞/本田-雅阁"
private
String
mainBrands
;
// 如 "丰田-凯美瑞/本田-雅阁"
/**
/**
* 线上运营人员姓名,多个用 "/" 拼接
* 线上运营人员姓名,多个用 "/" 拼接
* 示例:"张三/李四"
* 示例:"张三/李四"
*/
*/
@ApiModelProperty
(
value
=
"线上运营人员姓名,多个用 \"/\" 拼接"
)
@ApiModelProperty
(
notes
=
"线上运营人员姓名,多个用 \"/\" 拼接"
)
private
String
onlineOperators
;
private
String
onlineOperators
;
/**
/**
* 区域运营人员姓名,多个用 "/" 拼接
* 区域运营人员姓名,多个用 "/" 拼接
* 示例:"王五/赵六"
* 示例:"王五/赵六"
*/
*/
@ApiModelProperty
(
value
=
"区域运营人员姓名,多个用 \"/\" 拼接"
)
@ApiModelProperty
(
notes
=
"区域运营人员姓名,多个用 \"/\" 拼接"
)
private
String
regionalOperators
;
private
String
regionalOperators
;
/**
/**
...
@@ -50,12 +50,12 @@ public class StoreItemResponse implements Serializable {
...
@@ -50,12 +50,12 @@ public class StoreItemResponse implements Serializable {
* - "「转化率」低于兜底目标「80%」"
* - "「转化率」低于兜底目标「80%」"
* - "「生态系数-活跃度」低于「0.6」"
* - "「生态系数-活跃度」低于「0.6」"
*/
*/
@ApiModelProperty
(
value
=
"预警事项摘要:最多展示2条,用于列表快速预览"
)
@ApiModelProperty
(
notes
=
"预警事项摘要:最多展示2条,用于列表快速预览"
)
private
List
<
String
>
warningSummary
;
private
List
<
String
>
warningSummary
;
/**
/**
* 当前门店在当前筛选条件下存在的预警事项总数量
* 当前门店在当前筛选条件下存在的预警事项总数量
*/
*/
@ApiModelProperty
(
value
=
"当前门店在当前筛选条件下存在的预警事项总数量"
)
@ApiModelProperty
(
notes
=
"当前门店在当前筛选条件下存在的预警事项总数量"
)
private
int
warningTotalCount
;
private
int
warningTotalCount
;
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/model/MonitorTypeDict.java
View file @
2cbd5ee
...
@@ -14,7 +14,7 @@ public class MonitorTypeDict implements Serializable {
...
@@ -14,7 +14,7 @@ public class MonitorTypeDict implements Serializable {
@Id
@Id
@Column
(
name
=
"id"
)
@Column
(
name
=
"id"
)
@ApiModelProperty
(
value
=
"盯防类型ID"
)
@ApiModelProperty
(
notes
=
"盯防类型ID"
)
private
Integer
id
;
private
Integer
id
;
/**
/**
...
@@ -22,42 +22,42 @@ public class MonitorTypeDict implements Serializable {
...
@@ -22,42 +22,42 @@ public class MonitorTypeDict implements Serializable {
*/
*/
@Id
@Id
@Column
(
name
=
"type_code"
)
@Column
(
name
=
"type_code"
)
@ApiModelProperty
(
value
=
"盯防类型编码:1-兜底指标,2-生态系数"
)
@ApiModelProperty
(
notes
=
"盯防类型编码:1-兜底指标,2-生态系数"
)
private
Byte
typeCode
;
private
Byte
typeCode
;
/**
/**
* 类型名称
* 类型名称
*/
*/
@Column
(
name
=
"type_name"
)
@Column
(
name
=
"type_name"
)
@ApiModelProperty
(
value
=
"类型名称"
)
@ApiModelProperty
(
notes
=
"类型名称"
)
private
String
typeName
;
private
String
typeName
;
/**
/**
* 描述
* 描述
*/
*/
@Column
(
name
=
"description"
)
@Column
(
name
=
"description"
)
@ApiModelProperty
(
value
=
"描述"
)
@ApiModelProperty
(
notes
=
"描述"
)
private
String
description
;
private
String
description
;
/**
/**
* 排序
* 排序
*/
*/
@Column
(
name
=
"sort_order"
)
@Column
(
name
=
"sort_order"
)
@ApiModelProperty
(
value
=
"排序"
)
@ApiModelProperty
(
notes
=
"排序"
)
private
Integer
sortOrder
;
private
Integer
sortOrder
;
/**
/**
* 是否启用:1-启用,0-禁用
* 是否启用:1-启用,0-禁用
*/
*/
@Column
(
name
=
"is_enabled"
)
@Column
(
name
=
"is_enabled"
)
@ApiModelProperty
(
value
=
"是否启用:1-启用,0-禁用"
)
@ApiModelProperty
(
notes
=
"是否启用:1-启用,0-禁用"
)
private
Boolean
enabled
;
private
Boolean
enabled
;
@Column
(
name
=
"create_time"
)
@Column
(
name
=
"create_time"
)
@ApiModelProperty
(
value
=
"创建时间"
)
@ApiModelProperty
(
notes
=
"创建时间"
)
private
Date
createTime
;
private
Date
createTime
;
@Transient
@Transient
@ApiModelProperty
(
value
=
"规则"
)
@ApiModelProperty
(
notes
=
"规则"
)
private
List
<
Rule
>
rules
;
private
List
<
Rule
>
rules
;
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/model/warning/LearningEffectAnalysisDTO.java
View file @
2cbd5ee
...
@@ -11,18 +11,17 @@ import lombok.Data;
...
@@ -11,18 +11,17 @@ import lombok.Data;
@Data
@Data
public
class
LearningEffectAnalysisDTO
implements
Serializable
{
public
class
LearningEffectAnalysisDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
/**
* 学习前指标
* 学习前指标
*/
*/
@ApiModelProperty
(
value
=
"学习前指标"
)
@ApiModelProperty
(
notes
=
"学习前指标"
)
private
MonMetricsDTO
beforeLearning
;
private
MonMetricsDTO
beforeLearning
;
/**
/**
* 学习后指标
* 学习后指标
*/
*/
@ApiModelProperty
(
value
=
"学习后指标"
)
@ApiModelProperty
(
notes
=
"学习后指标"
)
private
MonMetricsDTO
afterLearning
;
private
MonMetricsDTO
afterLearning
;
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/model/warning/MonMetricsDTO.java
View file @
2cbd5ee
...
@@ -13,25 +13,25 @@ public class MonMetricsDTO implements java.io.Serializable {
...
@@ -13,25 +13,25 @@ public class MonMetricsDTO implements java.io.Serializable {
/**
/**
* 转化率(百分比数值,如 55.0 表示 55%)
* 转化率(百分比数值,如 55.0 表示 55%)
*/
*/
@ApiModelProperty
(
value
=
"转化率"
)
@ApiModelProperty
(
notes
=
"转化率"
)
private
BigDecimal
conversionRate
;
// %
private
BigDecimal
conversionRate
;
// %
/**
/**
* 客单价(金额)
* 客单价(金额)
*/
*/
@ApiModelProperty
(
value
=
"客单价"
)
@ApiModelProperty
(
notes
=
"客单价"
)
private
BigDecimal
avgOrderAmount
;
// 元
private
BigDecimal
avgOrderAmount
;
// 元
/**
/**
* 套餐销售率(百分比)
* 套餐销售率(百分比)
*/
*/
@ApiModelProperty
(
value
=
"套餐销售率"
)
@ApiModelProperty
(
notes
=
"套餐销售率"
)
private
BigDecimal
packageSalesRate
;
// %
private
BigDecimal
packageSalesRate
;
// %
/**
/**
* 整车延保渗透率(百分比)
* 整车延保渗透率(百分比)
*/
*/
@ApiModelProperty
(
value
=
"整车延保渗透率"
)
@ApiModelProperty
(
notes
=
"整车延保渗透率"
)
private
BigDecimal
wholeVehicleWarrantyPenetration
;
// %
private
BigDecimal
wholeVehicleWarrantyPenetration
;
// %
/**
/**
...
@@ -45,18 +45,18 @@ public class MonMetricsDTO implements java.io.Serializable {
...
@@ -45,18 +45,18 @@ public class MonMetricsDTO implements java.io.Serializable {
*
*
* 此处按 **渗透率(百分比)** 设计,若实际是金额,请重命名字段!
* 此处按 **渗透率(百分比)** 设计,若实际是金额,请重命名字段!
*/
*/
@ApiModelProperty
(
value
=
"安心包渗透率"
)
@ApiModelProperty
(
notes
=
"安心包渗透率"
)
private
BigDecimal
anxinPackagePenetration
;
// %
private
BigDecimal
anxinPackagePenetration
;
// %
/**
/**
* 电池渗透率(百分比)
* 电池渗透率(百分比)
*/
*/
@ApiModelProperty
(
value
=
"电池渗透率"
)
@ApiModelProperty
(
notes
=
"电池渗透率"
)
private
BigDecimal
batteryPenetration
;
// %
private
BigDecimal
batteryPenetration
;
// %
/**
/**
* 轮胎渗透率(百分比)
* 轮胎渗透率(百分比)
*/
*/
@ApiModelProperty
(
value
=
"轮胎渗透率"
)
@ApiModelProperty
(
notes
=
"轮胎渗透率"
)
private
BigDecimal
tirePenetration
;
// %
private
BigDecimal
tirePenetration
;
// %
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-mindworkplate-api/src/main/java/cn/com/glsx/dj/mindworkplate/model/warning/Rule.java
View file @
2cbd5ee
package
cn
.
com
.
glsx
.
dj
.
mindworkplate
.
model
.
warning
;
package
cn
.
com
.
glsx
.
dj
.
mindworkplate
.
model
.
warning
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.List
;
import
java.util.List
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -17,63 +18,74 @@ public class Rule implements Serializable {
...
@@ -17,63 +18,74 @@ public class Rule implements Serializable {
*/
*/
@Id
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@ApiModelProperty
(
notes
=
"id"
)
private
Integer
id
;
private
Integer
id
;
/**
/**
* 监控对象(1-员工,2-门店)
* 监控对象(1-员工,2-门店)
*/
*/
@Column
(
name
=
"monitor_type"
)
@Column
(
name
=
"monitor_type"
)
@ApiModelProperty
(
notes
=
"监控对象(1-员工,2-门店)"
)
private
Byte
monitorType
;
private
Byte
monitorType
;
/**
/**
* 业务类型(2-轻改,3-权益,4-延保)
* 业务类型(2-轻改,3-权益,4-延保)
*/
*/
@Column
(
name
=
"business_type"
)
@Column
(
name
=
"business_type"
)
@ApiModelProperty
(
notes
=
"业务类型(2-轻改,3-权益,4-延保)"
)
private
Byte
businessType
;
private
Byte
businessType
;
/**
/**
* 数据统计类型(1-行为预警,2-业绩预警)
* 数据统计类型(1-行为预警,2-业绩预警)
*/
*/
@Column
(
name
=
"data_statistics_type"
)
@Column
(
name
=
"data_statistics_type"
)
@ApiModelProperty
(
notes
=
"数据统计类型(1-行为预警,2-业绩预警)"
)
private
Byte
dataStatisticsType
;
private
Byte
dataStatisticsType
;
/**
/**
* 优先级(从1往后排,数字越大优先级越高)
* 优先级(从1往后排,数字越大优先级越高)
*/
*/
@Column
(
name
=
"priority_level"
)
@Column
(
name
=
"priority_level"
)
@ApiModelProperty
(
notes
=
"优先级(从1往后排,数字越大优先级越高)"
)
private
Byte
priorityLevel
;
private
Byte
priorityLevel
;
/**
/**
* 预警阶段
* 预警阶段
*/
*/
private
Integer
stage
;
private
Integer
stage
;
/**
/**
* 预警类型
* 预警类型
*/
*/
@Column
(
name
=
"rule_type"
)
@Column
(
name
=
"rule_type"
)
@ApiModelProperty
(
notes
=
"预警类型"
)
private
String
ruleType
;
private
String
ruleType
;
/**
/**
* 规则定义
* 规则定义
*/
*/
@ApiModelProperty
(
notes
=
"规则定义"
)
private
String
rule
;
private
String
rule
;
/**
/**
* 规则sql
* 规则sql
*/
*/
@Column
(
name
=
"rule_sql"
)
@Column
(
name
=
"rule_sql"
)
@ApiModelProperty
(
notes
=
"规则sql"
)
private
String
ruleSql
;
private
String
ruleSql
;
/**
/**
* 规则描述
* 规则描述
*/
*/
@Column
(
name
=
"rule_describe"
)
@Column
(
name
=
"rule_describe"
)
@ApiModelProperty
(
notes
=
"规则描述"
)
private
String
ruleDescribe
;
private
String
ruleDescribe
;
/**
/**
* 统计天数,
* 统计天数,
*/
*/
@Column
(
name
=
"count_days"
)
@Column
(
name
=
"count_days"
)
@ApiModelProperty
(
notes
=
"统计天数,"
)
private
Integer
countDays
;
private
Integer
countDays
;
/**
/**
...
@@ -156,16 +168,20 @@ public class Rule implements Serializable {
...
@@ -156,16 +168,20 @@ public class Rule implements Serializable {
@Transient
@Transient
@ApiModelProperty
(
notes
=
"开始时间"
)
private
String
startTime
;
private
String
startTime
;
@Transient
@Transient
@ApiModelProperty
(
notes
=
"结束时间"
)
private
String
endTime
;
private
String
endTime
;
@Transient
@Transient
@ApiModelProperty
(
notes
=
"商户id"
)
private
List
<
Integer
>
merchantIds
;
private
List
<
Integer
>
merchantIds
;
@Transient
@Transient
@ApiModelProperty
(
notes
=
"uuid"
)
private
List
<
String
>
uuidList
;
private
List
<
String
>
uuidList
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment