Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张雷
/
skboot-zhongye
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
5c6e48f0
由
康伟
编写于
2025-03-18 15:36:07 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
kangwei: 风险点巡检时,点击开始巡检加属性
1 个父辈
dff1be60
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
sk-module-biz/src/main/java/com/skua/modules/safe/controller/app/APPDangerInspectionController.java
sk-module-biz/src/main/java/com/skua/modules/safe/controller/app/APPDangerInspectionController.java
查看文件 @
5c6e48f
...
...
@@ -105,11 +105,12 @@ public class APPDangerInspectionController {
@AutoLog
(
value
=
"开始巡检-->开始巡检"
)
@ApiOperation
(
value
=
"开始巡检-->开始巡检"
,
notes
=
"开始巡检-->开始巡检"
)
@GetMapping
(
value
=
"/startInspection"
)
public
Result
<
DangerInspectionRecord
>
startInspection
(
@RequestParam
(
name
=
"dangerId"
,
required
=
true
)
String
dangerId
)
{
public
Result
<
DangerInspectionRecord
>
startInspection
(
@RequestParam
(
name
=
"dangerId"
,
required
=
true
)
String
dangerId
,
String
inspectionType
)
{
Result
<
DangerInspectionRecord
>
result
=
new
Result
<
DangerInspectionRecord
>();
//开始巡检,将风险点下的检查内容(检查项目)插入到巡检、巡检项目,并创建巡检记录
DangerInspectionRecord
dangerInspection
=
inspectionRecordService
.
startInspection
(
dangerId
,
"1"
,
BaseContextHandler
.
getUserId
());
dangerInspection
.
setInspectionType
(
inspectionType
);
if
(
dangerInspection
==
null
)
{
result
.
error500
(
"未找到对应实体"
);
}
else
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论