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
de42eac4
Commit
de42eac4
authored
Aug 01, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)增加气瓶问题模板
parent
11dae803
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
99 additions
and
0 deletions
+99
-0
DPSubController.java
...boot/module/statistcs/biz/controller/DPSubController.java
+3
-0
problem_cylinder.json
...tistics-biz/src/main/resources/json/problem_cylinder.json
+96
-0
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 @
de42eac4
...
@@ -56,6 +56,9 @@ public class DPSubController {
...
@@ -56,6 +56,9 @@ public class DPSubController {
param
.
put
(
"sequenceNbr"
,
param
.
get
(
"alertId"
));
param
.
put
(
"sequenceNbr"
,
param
.
get
(
"alertId"
));
}
}
Assert
.
notNull
(
param
.
get
(
"sequenceNbr"
),
"sequenceNbr不能为空"
);
Assert
.
notNull
(
param
.
get
(
"sequenceNbr"
),
"sequenceNbr不能为空"
);
}
else
if
(
template
.
equals
(
"cylinderProblem"
))
{
template
=
"problem_cylinder"
;
Assert
.
notNull
(
param
.
get
(
"sequenceNbr"
),
"sequenceNbr不能为空"
);
}
else
{
}
else
{
throw
new
RuntimeException
(
"暂无模板"
);
throw
new
RuntimeException
(
"暂无模板"
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/problem_cylinder.json
0 → 100644
View file @
de42eac4
{
"name"
:
"气瓶问题模板"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/{sequenceNbr}"
,
"params"
:
{
"sequenceNbr"
:
"{sequenceNbr}"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"关联设备"
,
"renderType"
:
"table"
,
"useAloneApi"
:
true
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equip/list"
,
"params"
:
{
"current"
:
1
,
"size"
:
10
,
"sequenceNbr"
:
"{sequenceNbr}"
}
}
},
"visualParams"
:
{
"rowKey"
:
"record"
,
"columns"
:
[
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"problemStatusName"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"状态"
,
"key"
:
"AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"equList"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"设备种类"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
{
"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"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
,
"conf"
:
{
"title"
:
"设备详情"
,
"linkModelKey"
:
"equip"
}}
]
}
},
{
"key"
:
"devtable1"
,
"displayName"
:
"关联企业"
,
"renderType"
:
"table"
,
"useAloneApi"
:
true
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/unit/list"
,
"params"
:
{
"current"
:
1
,
"size"
:
10
,
"sequenceNbr"
:
"{sequenceNbr}"
}
}
},
"visualParams"
:
{
"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"
},
{
"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"
:
"actionDetailBtn"
,
"dataIndex"
:
"action"
,
"width"
:
60
,
"align"
:
"left"
,
"title"
:
"操作"
,
"key"
:
"9"
,
"conf"
:
{
"title"
:
"企业详情"
,
"linkModelKey"
:
"company"
}}
]
}
}
],
"content"
:
{
"keyinfo"
:
{
"keyParams"
:
[
{
"key"
:
"sourceType"
,
"label"
:
"问题主体类型"
},
{
"key"
:
"problemType"
,
"label"
:
"问题类型"
},
{
"key"
:
"problemDesc"
,
"label"
:
"问题描述"
},
{
"key"
:
"problemTime"
,
"label"
:
"问题时间"
},
{
"key"
:
"problemLevel"
,
"label"
:
"问题等级"
,
"value"
:
"重大"
},
{
"key"
:
"principalUnit"
,
"label"
:
"主体单位"
},
{
"key"
:
"principalUnitType"
,
"label"
:
"单位类型"
},
{
"key"
:
"governingBody"
,
"label"
:
"管辖机构"
},
{
"key"
:
"governingBodyCode"
,
"label"
:
"所属区域"
},
{
"key"
:
"problemStatus"
,
"label"
:
"问题状态"
},
{
"key"
:
"equipSuperviseCode"
,
"label"
:
"监管吗"
},
{
"key"
:
"equipList"
,
"label"
:
"设备种类"
}
]
}
}
}
\ No newline at end of file
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