Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
3db4d641
Commit
3db4d641
authored
Jul 31, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)修改模板
parent
fbc177e4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
9 deletions
+11
-9
DPSubController.java
...boot/module/statistcs/biz/controller/DPSubController.java
+1
-1
DPSubServiceImpl.java
...t/module/statistcs/biz/service/impl/DPSubServiceImpl.java
+1
-1
company.json
...odule-statistics-biz/src/main/resources/json/company.json
+1
-1
emergency.json
...ule-statistics-biz/src/main/resources/json/emergency.json
+4
-4
problem.json
...odule-statistics-biz/src/main/resources/json/problem.json
+2
-1
registration.json
...-statistics-biz/src/main/resources/json/registration.json
+2
-1
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/controller/DPSubController.java
View file @
3db4d641
...
...
@@ -44,7 +44,7 @@ public class DPSubController {
Assert
.
notNull
(
param
.
get
(
"record"
),
"设备ID不能为空"
);
Assert
.
notNull
(
param
.
get
(
"equList"
),
"设备种类不能为空"
);
template
=
template
+
"_"
+
param
.
get
(
"equList"
);
}
else
if
(
template
.
equals
(
"emergency"
)
||
template
.
equals
(
"problem"
))
{
}
else
if
(
template
.
equals
(
"emergency"
)
||
template
.
equals
(
"problem"
)
||
template
.
equals
(
"registration"
)
)
{
Assert
.
notNull
(
param
.
get
(
"sequenceNbr"
),
"sequenceNbr不能为空"
);
}
else
{
throw
new
RuntimeException
(
"暂无模板"
);
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/DPSubServiceImpl.java
View file @
3db4d641
...
...
@@ -133,7 +133,7 @@ public class DPSubServiceImpl {
log
.
info
(
"{}tab页获取详情接口,共耗时:{} 毫秒"
,
tab
.
get
(
"displayName"
),
(
e
-
s
));
}
if
(
tab
.
getString
(
"template"
).
contains
(
"emergency"
)
&&
tab
.
getString
(
"key"
).
equals
(
"keyinfo"
)){
if
(
(!
tab
.
getString
(
"template"
).
contains
(
"equip"
)
||
!
tab
.
getString
(
"template"
).
contains
(
"company"
)
)
&&
tab
.
getString
(
"key"
).
equals
(
"keyinfo"
)){
content
.
put
(
tab
.
getString
(
"key"
),
JSONObject
.
parseObject
(
apiResult
.
toString
()));
return
;
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/company.json
View file @
3db4d641
...
...
@@ -68,7 +68,7 @@
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"FACTORY_NUM"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"出厂编号/产品编码"
,
"key"
:
"6"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"PRODUCE_UNIT_NAME"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"制造单位"
,
"key"
:
"7"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"USE_UNIT_NAME"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"使用单位"
,
"key"
:
"8"
},
{
"dataRenderingMode"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
}
{
"dataRenderingMode"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
,
"conf"
:
{
"title"
:
"设备详情"
,
"linkModelKey"
:
"equip"
}
}
]
}
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/emergency.json
View file @
3db4d641
...
...
@@ -65,10 +65,10 @@
"rowKey"
:
"sequenceNbr"
,
"showPage"
:
true
,
"columns"
:
[
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"recDate"
,
"width"
:
2
00
,
"align"
:
"left"
,
"title"
:
"通话时间"
,
"key"
:
"1"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"fileType"
,
"width"
:
2
00
,
"align"
:
"left"
,
"title"
:
"通话类型"
,
"key"
:
"2"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"tel"
,
"width"
:
2
00
,
"align"
:
"left"
,
"title"
:
"电话号码"
,
"key"
:
"3"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"telTime"
,
"width"
:
2
00
,
"align"
:
"left"
,
"title"
:
"通话时长"
,
"key"
:
"4"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"recDate"
,
"width"
:
3
00
,
"align"
:
"left"
,
"title"
:
"通话时间"
,
"key"
:
"1"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"fileType"
,
"width"
:
3
00
,
"align"
:
"left"
,
"title"
:
"通话类型"
,
"key"
:
"2"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"tel"
,
"width"
:
3
00
,
"align"
:
"left"
,
"title"
:
"电话号码"
,
"key"
:
"3"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"telTime"
,
"width"
:
3
00
,
"align"
:
"left"
,
"title"
:
"通话时长"
,
"key"
:
"4"
},
{
"dataRenderingMode"
:
"audioDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"5"
}
]
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/problem.json
View file @
3db4d641
...
...
@@ -67,7 +67,8 @@
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"unitType"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"企业类型"
,
"key"
:
"D1CB84A4-E037-446A-9469-65B76E381585"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"useUnitCode"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"企业统一信用代码"
,
"key"
:
"0BB7318F-5134-42B6-A835-FC86D68066C2"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"useContact"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"企业联系人"
,
"key"
:
"6EB924FB-EFEA-4779-ADF8-78F310818D2D"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"contactPhone"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"联系电话"
,
"key"
:
"87C53BEA-829C-4539-9FCA-E2AF6A53DA15"
}
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"contactPhone"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"联系电话"
,
"key"
:
"87C53BEA-829C-4539-9FCA-E2AF6A53DA15"
},
{
"dataRenderingMode"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
}
]
}
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/registration.json
View file @
3db4d641
...
...
@@ -39,7 +39,8 @@
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"FACTORY_NUM"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"产品编号"
,
"key"
:
"0BB7318F-5134-42B6-A835-FC86D68066C2"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"USE_INNER_CODE"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"单位内编号"
,
"key"
:
"0BB7318F-5134-42B6-A835-FC86D68066C3"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"EQU_CODE"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"设备代码"
,
"key"
:
"0BB7318F-5134-42B6-A835-FC86D68066C4"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"SUPERVISORY_CODE"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"监管码"
,
"key"
:
"0BB7318F-5134-42B6-A835-FC86D68066C5"
}
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"SUPERVISORY_CODE"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"监管码"
,
"key"
:
"0BB7318F-5134-42B6-A835-FC86D68066C5"
},
{
"dataRenderingMode"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
,
"conf"
:
{
"title"
:
"设备详情"
,
"linkModelKey"
:
"equip"
}
}
]
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment