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
40a0b08f
Commit
40a0b08f
authored
Jul 31, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)修改问题模板跳转
parent
ebc93f74
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
DPSubController.java
...boot/module/statistcs/biz/controller/DPSubController.java
+6
-2
DPSubServiceImpl.java
...t/module/statistcs/biz/service/impl/DPSubServiceImpl.java
+1
-1
problem.json
...odule-statistics-biz/src/main/resources/json/problem.json
+4
-3
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 @
40a0b08f
...
...
@@ -40,8 +40,12 @@ public class DPSubController {
if
(
template
.
equals
(
"company"
))
{
Assert
.
notNull
(
param
.
get
(
"useUnitCode"
),
"企业统一信用代码不能为空"
);
}
else
if
(
template
.
equals
(
"equip"
))
{
param
.
put
(
"record"
,
param
.
get
(
"SEQUENCE_NBR"
));
param
.
put
(
"equList"
,
param
.
get
(
"EQU_LIST_CODE"
));
if
(
ValidationUtil
.
isEmpty
(
param
.
get
(
"record"
))){
param
.
put
(
"record"
,
param
.
get
(
"SEQUENCE_NBR"
));
}
if
(
ValidationUtil
.
isEmpty
(
param
.
get
(
"equList"
))){
param
.
put
(
"equList"
,
param
.
get
(
"EQU_LIST_CODE"
));
}
Assert
.
notNull
(
param
.
get
(
"record"
),
"设备ID不能为空"
);
Assert
.
notNull
(
param
.
get
(
"equList"
),
"设备种类不能为空"
);
template
=
template
+
"_"
+
param
.
get
(
"equList"
);
...
...
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 @
40a0b08f
...
...
@@ -133,7 +133,7 @@ public class DPSubServiceImpl {
log
.
info
(
"{}tab页获取详情接口,共耗时:{} 毫秒"
,
tab
.
get
(
"displayName"
),
(
e
-
s
));
}
if
(!
tab
.
getString
(
"template"
).
contains
(
"equip"
)
&&
!
tab
.
getString
(
"template"
).
contains
(
"company"
)
&&
tab
.
getString
(
"key"
).
equals
(
"keyinfo"
)){
if
(!
tab
.
getString
(
"template"
).
contains
(
"equip"
)
&&
!
tab
.
getString
(
"template"
).
contains
(
"company"
)
&&
!
tab
.
getString
(
"template"
).
contains
(
"problem"
)
&&
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/problem.json
View file @
40a0b08f
...
...
@@ -39,7 +39,8 @@
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"equCategory"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"设备类别"
,
"key"
:
"D1CB84A4-E037-446A-9469-65B76E381585"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"supervisoryCode"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"监管码"
,
"key"
:
"0BB7318F-5134-42B6-A835-FC86D68066C2"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"code96333"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"96333码"
,
"key"
:
"6EB924FB-EFEA-4779-ADF8-78F310818D2D"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"useUnitName"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"主体单位"
,
"key"
:
"87C53BEA-829C-4539-9FCA-E2AF6A53DA15"
}
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"useUnitName"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"主体单位"
,
"key"
:
"87C53BEA-829C-4539-9FCA-E2AF6A53DA15"
},
{
"dataRenderingMode"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
,
"conf"
:
{
"title"
:
"设备详情"
,
"linkModelKey"
:
"equip"
}}
]
}
},
...
...
@@ -60,7 +61,7 @@
}
},
"visualParams"
:
{
"rowKey"
:
"
record
"
,
"rowKey"
:
"
sequenceNbr
"
,
"columns"
:
[
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"problemStatusName"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"状态"
,
"key"
:
"AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"governingBody"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"企业名称"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
...
...
@@ -68,7 +69,7 @@
{
"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"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
}
{
"dataRenderingMode"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
,
"conf"
:
{
"title"
:
"企业详情"
,
"linkModelKey"
:
"company"
}
}
]
}
}
...
...
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