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
727cb857
Commit
727cb857
authored
Dec 15, 2023
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jyjc): 检验结果相关接口
parent
139a4db5
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
292 additions
and
0 deletions
+292
-0
IJyjcInspectionResultParamService.java
...e/jyjc/api/service/IJyjcInspectionResultParamService.java
+8
-0
IJyjcInspectionResultService.java
...module/jyjc/api/service/IJyjcInspectionResultService.java
+11
-0
JyjcInspectionResultController.java
...e/jyjc/biz/controller/JyjcInspectionResultController.java
+13
-0
JyjcInspectionResultParamController.java
...c/biz/controller/JyjcInspectionResultParamController.java
+14
-0
JyjcInspectionResultParamServiceImpl.java
...iz/service/impl/JyjcInspectionResultParamServiceImpl.java
+23
-0
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+49
-0
JsonUtils.java
...om/yeejoin/amos/boot/module/jyjc/biz/utils/JsonUtils.java
+23
-0
equipCategory.json
...odule-jyjc-biz/src/main/resources/json/equipCategory.json
+119
-0
equipParam.json
...t-module-jyjc-biz/src/main/resources/json/equipParam.json
+32
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/service/IJyjcInspectionResultParamService.java
View file @
727cb857
...
@@ -3,6 +3,7 @@ package com.yeejoin.amos.boot.module.jyjc.api.service;
...
@@ -3,6 +3,7 @@ package com.yeejoin.amos.boot.module.jyjc.api.service;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResultParam
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResultParam
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* 检验结果技术参数表接口类
* 检验结果技术参数表接口类
...
@@ -17,4 +18,11 @@ public interface IJyjcInspectionResultParamService {
...
@@ -17,4 +18,11 @@ public interface IJyjcInspectionResultParamService {
* @return
* @return
*/
*/
List
<
JyjcInspectionResultParam
>
getParamByResultSeq
(
Long
sequenceNbr
);
List
<
JyjcInspectionResultParam
>
getParamByResultSeq
(
Long
sequenceNbr
);
/**
* 根据设备code获取技术参数字段
* @param equipTypeCode 设备code
* @return 字段列表
*/
List
<
Map
<
String
,
Object
>>
getParamByEquipTypeCode
(
String
equipTypeCode
);
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/service/IJyjcInspectionResultService.java
View file @
727cb857
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
service
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
service
;
import
com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionResultModel
;
import
com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionResultModel
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.EquipmentCategory
;
import
java.util.LinkedHashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
/**
/**
...
@@ -18,4 +21,12 @@ public interface IJyjcInspectionResultService {
...
@@ -18,4 +21,12 @@ public interface IJyjcInspectionResultService {
* @return 检验结果实体
* @return 检验结果实体
*/
*/
Map
<
String
,
Object
>
queryDetailBySeq
(
Long
sequenceNbr
);
Map
<
String
,
Object
>
queryDetailBySeq
(
Long
sequenceNbr
);
/**
* 获取设备种类
* @param type 获取的类型
* @param notNode 不需要节点
* @return 列表
*/
List
<
Map
<
String
,
Object
>>
equipList
(
String
type
,
String
notNode
);
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcInspectionResultController.java
View file @
727cb857
...
@@ -148,4 +148,17 @@ public class JyjcInspectionResultController extends BaseController {
...
@@ -148,4 +148,17 @@ public class JyjcInspectionResultController extends BaseController {
public
ResponseModel
<
JyjcInspectionResultModel
>
updateJyjcInspectionResult
(
@RequestBody
JyjcInspectionResultModel
model
)
{
public
ResponseModel
<
JyjcInspectionResultModel
>
updateJyjcInspectionResult
(
@RequestBody
JyjcInspectionResultModel
model
)
{
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultServiceImpl
.
updateJyjcInspectionResult
(
model
));
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultServiceImpl
.
updateJyjcInspectionResult
(
model
));
}
}
/**
* 获取设备种类列表
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取设备种类列表"
,
notes
=
"获取设备种类列表"
)
@GetMapping
(
value
=
"/equipTypeList"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
equipTypeList
(
@RequestParam
(
required
=
false
)
String
type
,
@RequestParam
(
required
=
false
)
String
notNode
)
{
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultServiceImpl
.
equipList
(
type
,
notNode
));
}
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcInspectionResultParamController.java
View file @
727cb857
...
@@ -6,6 +6,8 @@ import io.swagger.annotations.Api;
...
@@ -6,6 +6,8 @@ import io.swagger.annotations.Api;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.impl.JyjcInspectionResultParamServiceImpl
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.impl.JyjcInspectionResultParamServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
...
@@ -113,4 +115,16 @@ public class JyjcInspectionResultParamController extends BaseController {
...
@@ -113,4 +115,16 @@ public class JyjcInspectionResultParamController extends BaseController {
public
ResponseModel
<
List
<
JyjcInspectionResultParamModel
>>
selectForList
()
{
public
ResponseModel
<
List
<
JyjcInspectionResultParamModel
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultParamServiceImpl
.
queryForJyjcInspectionResultParamList
());
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultParamServiceImpl
.
queryForJyjcInspectionResultParamList
());
}
}
/**
* 获取某一类设备的技术参数
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取某一类设备的技术参数"
,
notes
=
"获取某一类设备的技术参数"
)
@GetMapping
(
value
=
"/getParamByEquipTypeCode"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
getParamByEquipTypeCode
(
@RequestParam
String
equipTypeCode
)
{
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultParamServiceImpl
.
getParamByEquipTypeCode
(
equipTypeCode
));
}
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionResultParamServiceImpl.java
View file @
727cb857
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
service
.
impl
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.yeejoin.amos.boot.module.jyjc.api.common.StringUtil
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResultParam
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResultParam
;
import
com.yeejoin.amos.boot.module.jyjc.api.mapper.JyjcInspectionResultParamMapper
;
import
com.yeejoin.amos.boot.module.jyjc.api.mapper.JyjcInspectionResultParamMapper
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultParamService
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultParamService
;
import
com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionResultParamModel
;
import
com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionResultParamModel
;
import
com.yeejoin.amos.boot.module.jyjc.biz.utils.JsonUtils
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.core.io.Resource
;
import
org.springframework.util.ObjectUtils
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* 检验结果技术参数表服务实现类
* 检验结果技术参数表服务实现类
...
@@ -18,6 +26,10 @@ import java.util.List;
...
@@ -18,6 +26,10 @@ import java.util.List;
*/
*/
@Service
@Service
public
class
JyjcInspectionResultParamServiceImpl
extends
BaseService
<
JyjcInspectionResultParamModel
,
JyjcInspectionResultParam
,
JyjcInspectionResultParamMapper
>
implements
IJyjcInspectionResultParamService
{
public
class
JyjcInspectionResultParamServiceImpl
extends
BaseService
<
JyjcInspectionResultParamModel
,
JyjcInspectionResultParam
,
JyjcInspectionResultParamMapper
>
implements
IJyjcInspectionResultParamService
{
@Value
(
"classpath:/json/equipParam.json"
)
private
Resource
equipParam
;
/**
/**
* 分页查询
* 分页查询
*/
*/
...
@@ -38,4 +50,14 @@ public class JyjcInspectionResultParamServiceImpl extends BaseService<JyjcInspec
...
@@ -38,4 +50,14 @@ public class JyjcInspectionResultParamServiceImpl extends BaseService<JyjcInspec
wrapper
.
eq
(
JyjcInspectionResultParam:
:
getResultSeq
,
sequenceNbr
);
wrapper
.
eq
(
JyjcInspectionResultParam:
:
getResultSeq
,
sequenceNbr
);
return
this
.
baseMapper
.
selectList
(
wrapper
);
return
this
.
baseMapper
.
selectList
(
wrapper
);
}
}
@Override
public
List
<
Map
<
String
,
Object
>>
getParamByEquipTypeCode
(
String
equipTypeCode
)
{
List
<
Map
<
String
,
Object
>>
paramList
=
new
ArrayList
<>();
Map
<
String
,
List
<
Map
<
String
,
Object
>>>
paramJson
=
JsonUtils
.
getResourceJson
(
equipParam
);
if
(
StringUtil
.
isNotEmpty
(
equipTypeCode
))
{
paramList
=
ObjectUtils
.
isEmpty
(
paramJson
.
get
(
equipTypeCode
))
?
new
ArrayList
<>()
:
paramJson
.
get
(
equipTypeCode
);
}
return
paramList
;
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
View file @
727cb857
...
@@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResult
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResult
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResultAttachment
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResultAttachment
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResultParam
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResultParam
;
...
@@ -16,16 +18,28 @@ import com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionResultModel;
...
@@ -16,16 +18,28 @@ import com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionResultModel;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultAttachmentService
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultAttachmentService
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultParamService
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultParamService
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultService
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionResultService
;
import
com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionResultModel
;
import
com.yeejoin.amos.boot.module.jyjc.biz.utils.JsonUtils
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.EquipmentCategory
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquipmentClassifityEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper
;
import
com.yeejoin.amos.boot.module.ymt.flc.api.feign.PrivilegeFeginService
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.core.io.Resource
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
/**
/**
...
@@ -44,6 +58,12 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -44,6 +58,12 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
private
IJyjcInspectionResultParamService
iJyjcInspectionResultParamService
;
private
IJyjcInspectionResultParamService
iJyjcInspectionResultParamService
;
@Autowired
@Autowired
EquipmentCategoryMapper
equipmentCategoryMapper
;
@Value
(
"classpath:/json/equipCategory.json"
)
private
Resource
equipCategory
;
@Autowired
JyjcInspectionResultMapper
resultMapper
;
JyjcInspectionResultMapper
resultMapper
;
@Autowired
@Autowired
...
@@ -123,4 +143,32 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -123,4 +143,32 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
}
}
return
map
;
return
map
;
}
}
@Override
public
List
<
Map
<
String
,
Object
>>
equipList
(
String
type
,
String
notNode
)
{
List
<
Map
<
String
,
Object
>>
menus
=
new
ArrayList
<>();
Map
<
String
,
List
<
Map
<
String
,
Object
>>>
resourceJson
=
JsonUtils
.
getResourceJson
(
equipCategory
);
List
<
Map
<
String
,
Object
>>
mapList
;
if
(
ValidationUtil
.
isEmpty
(
type
))
{
mapList
=
resourceJson
.
get
(
EquipmentClassifityEnum
.
BDLS
.
getCode
());
}
else
{
mapList
=
resourceJson
.
get
(
type
);
}
mapList
.
stream
().
filter
(
map
->
{
if
(!
ObjectUtils
.
isEmpty
(
notNode
))
{
String
[]
code
=
notNode
.
split
(
","
);
List
<
String
>
codeList
=
Arrays
.
asList
(
code
);
return
!
codeList
.
contains
(
map
.
get
(
"code"
));
}
return
true
;
}).
forEach
(
obj
->
{
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>(
2
);
resultMap
.
put
(
"instanceName"
,
obj
.
get
(
"name"
));
resultMap
.
put
(
"instanceId"
,
obj
.
get
(
"code"
));
menus
.
add
(
resultMap
);
});
return
menus
;
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/utils/JsonUtils.java
0 → 100644
View file @
727cb857
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
utils
;
import
com.alibaba.fastjson.JSONObject
;
import
org.apache.commons.io.IOUtils
;
import
org.springframework.core.io.Resource
;
import
java.io.IOException
;
import
java.nio.charset.StandardCharsets
;
import
java.util.Map
;
public
class
JsonUtils
{
//将json文件转化为Map<list<Map<>>>
public
static
Map
getResourceJson
(
Resource
resource
)
{
String
json
=
null
;
try
{
json
=
IOUtils
.
toString
(
resource
.
getInputStream
(),
String
.
valueOf
(
StandardCharsets
.
UTF_8
));
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
resource
+
"json文件转化失败"
);
}
return
JSONObject
.
parseObject
(
json
,
Map
.
class
);
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equipCategory.json
0 → 100644
View file @
727cb857
{
"eightCategory"
:
[
{
"name"
:
"电梯"
,
"code"
:
"3000"
,
"image"
:
"upload/tzs/common/image/总览电梯.png"
,
"waitClaim"
:
"0"
,
"alreadyClaim"
:
"0"
,
"refuseClaim"
:
"0"
,
"sum"
:
"0"
,
"type"
:
"elevator"
},
{
"name"
:
"起重机械"
,
"code"
:
"4000"
,
"image"
:
"upload/tzs/common/image/总览起重机械.png"
,
"waitClaim"
:
"0"
,
"alreadyClaim"
:
"0"
,
"refuseClaim"
:
"0"
,
"sum"
:
"0"
,
"type"
:
"lifting"
},
{
"name"
:
"场内机动车辆"
,
"code"
:
"5000"
,
"image"
:
"upload/tzs/common/image/总览厂车.png"
,
"waitClaim"
:
"0"
,
"alreadyClaim"
:
"0"
,
"refuseClaim"
:
"0"
,
"sum"
:
"0"
,
"type"
:
"vehicle"
},
{
"name"
:
"锅炉"
,
"code"
:
"1000"
,
"image"
:
"upload/tzs/common/image/总览锅炉.png"
,
"waitClaim"
:
"0"
,
"alreadyClaim"
:
"0"
,
"refuseClaim"
:
"0"
,
"sum"
:
"0"
,
"type"
:
"boiler"
},
{
"name"
:
"压力容器"
,
"code"
:
"2000"
,
"image"
:
"upload/tzs/common/image/总览压力容器.png"
,
"waitClaim"
:
"0"
,
"alreadyClaim"
:
"0"
,
"refuseClaim"
:
"0"
,
"sum"
:
"0"
,
"type"
:
"vessel"
},
{
"name"
:
"压力管道"
,
"code"
:
"8000"
,
"image"
:
"upload/tzs/common/image/总览压力管道.png"
,
"waitClaim"
:
"0"
,
"alreadyClaim"
:
"0"
,
"refuseClaim"
:
"0"
,
"sum"
:
"0"
,
"type"
:
"pipeline"
},
{
"name"
:
"大型游乐设施"
,
"code"
:
"6000"
,
"image"
:
"upload/tzs/common/image/总览游乐设施.png"
,
"waitClaim"
:
"0"
,
"alreadyClaim"
:
"0"
,
"refuseClaim"
:
"0"
,
"sum"
:
"0"
,
"type"
:
"rides"
},
{
"name"
:
"客运索道"
,
"code"
:
"9000"
,
"image"
:
"upload/tzs/common/image/总览索道.png"
,
"waitClaim"
:
"0"
,
"alreadyClaim"
:
"0"
,
"refuseClaim"
:
"0"
,
"sum"
:
"0"
,
"type"
:
"ropeway"
}
],
"other"
:
[
{
"name"
:
"电梯"
,
"code"
:
"3000"
},
{
"name"
:
"起重机械"
,
"code"
:
"4000"
},
{
"name"
:
"场内机动车辆"
,
"code"
:
"5000"
},
{
"name"
:
"锅炉"
,
"code"
:
"1000"
},
{
"name"
:
"压力容器"
,
"code"
:
"2000"
},
{
"name"
:
"压力管道"
,
"code"
:
"8000"
},
{
"name"
:
"大型游乐设施"
,
"code"
:
"6000"
},
{
"name"
:
"客运索道"
,
"code"
:
"9000"
}
]
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equipParam.json
0 → 100644
View file @
727cb857
{
"3000"
:
[
{
"label"
:
"使用年限"
,
"key"
:
"synx"
,
"type"
:
"input"
},
{
"label"
:
"控制方式"
,
"key"
:
"kzfs"
,
"type"
:
"select"
,
"data"
:
[
{
"name"
:
"选项1"
,
"value"
:
"1"
},
{
"name"
:
"选项1"
,
"value"
:
"1"
}
]
}
],
"4000"
:
[
{
"label"
:
"使用年限4000"
,
"key"
:
"synx"
,
"type"
:
"input"
}
]
}
\ 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