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
cb7eea04
Commit
cb7eea04
authored
Jul 30, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题列表详情模板提交
parent
d49bf28a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
103 additions
and
1 deletion
+103
-1
DPSubController.java
...boot/module/statistcs/biz/controller/DPSubController.java
+3
-1
issue.json
...-module-statistics-biz/src/main/resources/json/issue.json
+100
-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 @
cb7eea04
...
...
@@ -47,7 +47,9 @@ public class DPSubController {
Assert
.
notNull
(
param
.
get
(
"record"
),
"设备ID不能为空"
);
Assert
.
notNull
(
param
.
get
(
"equList"
),
"设备种类不能为空"
);
template
=
template
+
"_"
+
param
.
get
(
"equList"
);
}
else
{
}
else
if
(
template
.
equals
(
"issue"
)){
Assert
.
notNull
(
param
.
get
(
"sequenceNbr"
),
"sequenceNbr不能为空"
);
}
else
{
throw
new
RuntimeException
(
"暂无模板"
);
}
return
ResponseHelper
.
buildResponse
(
subService
.
commonQuery
(
template
,
param
));
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/issue.json
0 → 100644
View file @
cb7eea04
{
"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"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equip/list"
,
"params"
:
{
"number"
:
1
,
"size"
:
14
,
"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"
}
]
}
},
{
"key"
:
"devtable1"
,
"displayName"
:
"关联企业"
,
"renderType"
:
"table"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/unit/list"
,
"params"
:
{
"number"
:
1
,
"size"
:
14
,
"sequenceNbr"
:
"{sequenceNbr}"
}
}
},
"visualParams"
:
{
"rowKey"
:
"record"
,
"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"
}
]
}
}
],
"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"
:
"设备种类"
}
]
},
"basic"
:
{
"columns"
:
2
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
}
}
}
\ 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