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
26aa58e5
Commit
26aa58e5
authored
Nov 15, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加监管数据操作接口
parent
0de7aa58
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
EquipmentCategoryController.java
...odule/ymt/biz/controller/EquipmentCategoryController.java
+34
-2
EquipmentCategoryServiceImpl.java
...le/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
+0
-0
No files found.
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/controller/EquipmentCategoryController.java
View file @
26aa58e5
...
@@ -12,8 +12,9 @@ import com.yeejoin.amos.boot.biz.common.utils.TreeParser;
...
@@ -12,8 +12,9 @@ import com.yeejoin.amos.boot.biz.common.utils.TreeParser;
import
com.yeejoin.amos.boot.module.ymt.api.common.CommonException
;
import
com.yeejoin.amos.boot.module.ymt.api.common.CommonException
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.EquipExportDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.EquipExportDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.EquipmentCategory
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentMessageDto
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgOtherInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.IdxBizJgConstructionInfoDto
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.*
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ImageSizeEnums
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ImageSizeEnums
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgOtherInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgOtherInfoMapper
;
...
@@ -544,5 +545,36 @@ public class EquipmentCategoryController extends BaseController {
...
@@ -544,5 +545,36 @@ public class EquipmentCategoryController extends BaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/saveSupervisoryData"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"监管设备数据保存"
,
notes
=
"监管设备保存"
)
public
ResponseModel
<
Boolean
>
saveSupervisoryData
(
@RequestBody
EquipmentMessageDto
data
)
{
return
ResponseHelper
.
buildResponse
(
equipmentCategoryServiceImpl
.
saveSupervisoryData
(
data
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/saveConstructionInfoData"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"监管设备施工数据保存"
,
notes
=
"监管设备施工数据保存"
)
public
ResponseModel
<
Boolean
>
saveConstructionInfoData
(
@RequestBody
IdxBizJgConstructionInfo
data
)
{
return
ResponseHelper
.
buildResponse
(
equipmentCategoryServiceImpl
.
saveConstructionInfoData
(
data
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/saveMaintenanceRecordInfoData"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"监管设备维保数据保存"
,
notes
=
"监管设备维保数据保存"
)
public
ResponseModel
<
Boolean
>
saveMaintenanceRecordInfoData
(
@RequestBody
IdxBizJgMaintenanceRecordInfo
data
)
{
return
ResponseHelper
.
buildResponse
(
equipmentCategoryServiceImpl
.
saveMaintenanceRecordInfoData
(
data
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/saveDetectionInfoData"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"监管设备检验检测数据保存"
,
notes
=
"监管设备检验检测数据保存"
)
public
ResponseModel
<
Boolean
>
saveDetectionInfoData
(
@RequestBody
IdxBizJgInspectionDetectionInfo
data
)
{
return
ResponseHelper
.
buildResponse
(
equipmentCategoryServiceImpl
.
saveDetectionInfoData
(
data
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/deleteByRecord"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"数据异常回滚"
,
notes
=
"数据异常回滚"
)
public
ResponseModel
<
Boolean
>
saveDetectionInfoData
(
@RequestParam
(
"record"
)
String
record
)
{
return
ResponseHelper
.
buildResponse
(
equipmentCategoryServiceImpl
.
deleteByRecord
(
record
));
}
}
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
26aa58e5
This diff is collapsed.
Click to expand it.
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