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
69c70f23
Commit
69c70f23
authored
Jul 18, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)新增二级详情接口
parent
40f305da
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
1070 additions
and
0 deletions
+1070
-0
pom.xml
...s/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/pom.xml
+5
-0
RestTemplateConfig.java
.../amos/boot/module/jyjc/biz/config/RestTemplateConfig.java
+22
-0
DPSubController.java
...amos/boot/module/jyjc/biz/controller/DPSubController.java
+50
-0
DPSubServiceImpl.java
...s/boot/module/jyjc/biz/service/impl/DPSubServiceImpl.java
+0
-0
DpSubUtils.java
...om/yeejoin/amos/boot/module/jyjc/biz/util/DpSubUtils.java
+41
-0
JsonValueUtils.java
...eejoin/amos/boot/module/jyjc/biz/util/JsonValueUtils.java
+69
-0
RestTemplateUtils.java
...oin/amos/boot/module/jyjc/biz/util/RestTemplateUtils.java
+143
-0
StringUtils.java
...m/yeejoin/amos/boot/module/jyjc/biz/util/StringUtils.java
+67
-0
company.json
...boot-module-jyjc-biz/src/main/resources/json/company.json
+47
-0
equip_1000.json
...t-module-jyjc-biz/src/main/resources/json/equip_1000.json
+72
-0
equip_2000.json
...t-module-jyjc-biz/src/main/resources/json/equip_2000.json
+72
-0
equip_3000.json
...t-module-jyjc-biz/src/main/resources/json/equip_3000.json
+72
-0
equip_4000.json
...t-module-jyjc-biz/src/main/resources/json/equip_4000.json
+72
-0
equip_5000.json
...t-module-jyjc-biz/src/main/resources/json/equip_5000.json
+72
-0
equip_6000.json
...t-module-jyjc-biz/src/main/resources/json/equip_6000.json
+72
-0
equip_8000.json
...t-module-jyjc-biz/src/main/resources/json/equip_8000.json
+72
-0
equip_9000.json
...t-module-jyjc-biz/src/main/resources/json/equip_9000.json
+72
-0
untest_company.json
...dule-jyjc-biz/src/main/resources/json/untest_company.json
+50
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/pom.xml
View file @
69c70f23
...
@@ -34,6 +34,11 @@
...
@@ -34,6 +34,11 @@
<groupId>
net.javacrumbs.shedlock
</groupId>
<groupId>
net.javacrumbs.shedlock
</groupId>
<artifactId>
shedlock-provider-redis-spring
</artifactId>
<artifactId>
shedlock-provider-redis-spring
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
com.yeejoin
</groupId>
<artifactId>
visual-feign-morphic
</artifactId>
<version>
1.9.0-SNAPSHOT
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/config/RestTemplateConfig.java
0 → 100644
View file @
69c70f23
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
config
;
import
org.springframework.cloud.client.loadbalancer.LoadBalanced
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.web.client.RestTemplate
;
/**
* @Author: xl
* @Description:
* @Date: 2022/9/21 18:04
*/
@Configuration
public
class
RestTemplateConfig
{
@Bean
@LoadBalanced
public
RestTemplate
getRestTemplate
()
{
return
new
RestTemplate
();
}
}
\ 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/controller/DPSubController.java
0 → 100644
View file @
69c70f23
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
controller
;
import
com.alibaba.fastjson.JSONObject
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.impl.DPSubServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.util.Assert
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.util.Map
;
/**
* 大屏统计controller
*
* @author Administrator
*/
@RestController
@RequestMapping
(
"/dp/sub"
)
@Api
(
tags
=
"大屏二级弹窗"
)
public
class
DPSubController
{
private
DPSubServiceImpl
subService
;
public
DPSubController
(
DPSubServiceImpl
subService
)
{
this
.
subService
=
subService
;
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"动态详情页"
,
notes
=
"动态详情页"
)
@PostMapping
(
value
=
"/{template}"
)
public
ResponseModel
<
JSONObject
>
commonQuery
(
@PathVariable
String
template
,
@RequestBody
Map
<
String
,
Object
>
param
)
{
if
(
template
.
equals
(
"company"
)){
Assert
.
notNull
(
param
.
get
(
"useUnitCode"
),
"企业统一信用代码不能为空"
);
}
else
if
(
template
.
equals
(
"equip"
)){
param
.
put
(
"record"
,
param
.
get
(
"SEQUENCE_NBR"
));
param
.
put
(
"equList"
,
param
.
get
(
"EQU_LIST_CODE"
));
Assert
.
notNull
(
param
.
get
(
"record"
),
"设备ID不能为空"
);
Assert
.
notNull
(
param
.
get
(
"equList"
),
"设备种类不能为空"
);
template
=
template
+
"_"
+
param
.
get
(
"equList"
);
}
else
{
throw
new
RuntimeException
(
"暂无模板"
);
}
return
ResponseHelper
.
buildResponse
(
subService
.
commonQuery
(
template
,
param
));
}
}
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/DPSubServiceImpl.java
0 → 100644
View file @
69c70f23
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/util/DpSubUtils.java
0 → 100644
View file @
69c70f23
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
util
;
import
org.springframework.core.io.ClassPathResource
;
import
java.io.BufferedReader
;
import
java.io.InputStreamReader
;
public
class
DpSubUtils
{
public
static
String
companyJson
=
null
;
public
static
String
textJson
=
null
;
public
static
String
imageJson
=
null
;
public
static
String
circleJson
=
null
;
public
static
String
rectJson
=
null
;
static
{
// companyJson = getFileContent("company.json");
// textJson = getFileContent("text.json");
// imageJson = getFileContent("image.json");
// circleJson = getFileContent("circle.json");
// rectJson = getFileContent("rect.json");
}
public
static
String
getFileContent
(
String
filename
){
try
{
BufferedReader
br
=
new
BufferedReader
(
new
InputStreamReader
(
new
ClassPathResource
(
"json/"
+
filename
).
getInputStream
()));
StringBuffer
sb
=
new
StringBuffer
();
String
line
=
null
;
while
((
line
=
br
.
readLine
())!=
null
){
if
(
line
.
trim
().
length
()>
0
)
sb
.
append
(
line
);
}
br
.
close
();
return
sb
.
toString
();
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
// return null;
}
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/util/JsonValueUtils.java
0 → 100644
View file @
69c70f23
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
util
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.google.common.base.Strings
;
/**
* @Author: xl
* @Description: json快速取值
* @Date: 2022/5/12 11:11
*/
public
class
JsonValueUtils
{
public
static
Object
getValueByKey
(
Object
originObject
,
String
startKey
,
String
targetKey
)
{
if
(
Strings
.
isNullOrEmpty
(
startKey
))
{
return
originObject
;
}
if
(
originObject
instanceof
JSONObject
)
{
return
getValueFromJSONObjectByKey
((
JSONObject
)
originObject
,
startKey
,
targetKey
);
}
if
(
originObject
instanceof
JSONArray
)
{
return
getValueFromJSONArrayByKey
((
JSONArray
)
originObject
,
startKey
,
targetKey
);
}
return
null
;
}
private
static
String
getNextKey
(
String
startKey
,
String
targetKey
)
{
if
(
Strings
.
isNullOrEmpty
(
targetKey
))
{
return
null
;
}
String
[]
keys
=
targetKey
.
split
(
"\\."
);
for
(
int
i
=
0
;
i
<
keys
.
length
;
i
++)
{
if
(
keys
[
i
].
equals
(
startKey
)
&&
(
i
<
keys
.
length
-
1
))
{
return
keys
[
i
+
1
];
}
}
return
null
;
}
private
static
Object
getValueFromJSONArrayByKey
(
JSONArray
originObject
,
String
startKey
,
String
targetKey
)
{
try
{
Integer
integer
=
Integer
.
valueOf
(
startKey
);
JSONObject
jsonObject
=
originObject
.
getJSONObject
(
integer
);
Object
targetObject
=
getValueFromJSONObjectByKey
(
jsonObject
,
getNextKey
(
startKey
,
targetKey
),
targetKey
);
if
(
targetObject
!=
null
)
{
return
targetObject
;
}
}
catch
(
NumberFormatException
e
)
{
e
.
printStackTrace
();
}
return
null
;
}
private
static
Object
getValueFromJSONObjectByKey
(
JSONObject
originObject
,
String
startKey
,
String
targetKey
)
{
Object
object
=
originObject
.
get
(
startKey
);
return
object
!=
null
?
getValueByKey
(
object
,
getNextKey
(
startKey
,
targetKey
),
targetKey
)
:
null
;
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/util/RestTemplateUtils.java
0 → 100644
View file @
69c70f23
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
util
;
import
org.springframework.http.HttpEntity
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.HttpMethod
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.web.client.RestTemplate
;
import
java.net.URI
;
import
java.util.Map
;
/**
* @Author: xl
* @Description: 远程调用工具类
* @Date: 2021/10/8 13:46
*/
public
class
RestTemplateUtils
{
private
static
class
SingletonRestTemplate
{
static
final
RestTemplate
INSTANCE
=
new
RestTemplate
();
}
private
RestTemplateUtils
()
{
}
public
static
RestTemplate
getInstance
()
{
return
SingletonRestTemplate
.
INSTANCE
;
}
/**
* 带请求头的GET请求调用方式
*
* @param uri 请求URL
* @param headers 请求头参数
* @param responseType 返回对象类型
* @param uriVariables URL中的变量,与Map中的key对应
* @return ResponseEntity 响应对象封装类
*/
public
static
<
T
>
ResponseEntity
<
T
>
get
(
URI
uri
,
HttpHeaders
headers
,
Object
requestBody
,
Class
<
T
>
responseType
,
Map
<
String
,
?>
uriVariables
)
{
HttpEntity
<?>
requestEntity
=
new
HttpEntity
<>(
headers
);
return
RestTemplateUtils
.
getInstance
().
exchange
(
uri
,
HttpMethod
.
GET
,
requestEntity
,
responseType
);
}
/**
* @param restTemplate 可传入负载均衡的restTemplate
* @param uri
* @param headers
* @param responseType
* @param uriVariables
* @param <T>
* @return
*/
public
static
<
T
>
ResponseEntity
<
T
>
get
(
RestTemplate
restTemplate
,
URI
uri
,
HttpHeaders
headers
,
Object
requestBody
,
Class
<
T
>
responseType
,
Map
<
String
,
?>
uriVariables
)
{
HttpEntity
<?>
requestEntity
=
new
HttpEntity
<>(
headers
);
return
restTemplate
.
exchange
(
uri
,
HttpMethod
.
GET
,
requestEntity
,
responseType
);
}
/**
* 带请求头的POST请求调用方式
*
* @param uri 请求URL
* @param headers 请求头参数
* @param requestBody 请求参数体
* @param responseType 返回对象类型
* @param uriVariables URL中的变量,与Map中的key对应
* @return ResponseEntity 响应对象封装类
*/
public
static
<
T
>
ResponseEntity
<
T
>
post
(
URI
uri
,
HttpHeaders
headers
,
Object
requestBody
,
Class
<
T
>
responseType
,
Map
<
String
,
?>
uriVariables
)
{
HttpEntity
<
Object
>
requestEntity
=
new
HttpEntity
<
Object
>(
requestBody
,
headers
);
return
RestTemplateUtils
.
getInstance
().
postForEntity
(
uri
,
requestEntity
,
responseType
);
}
/**
* @param restTemplate 可传入负载均衡的restTemplate
* @param uri
* @param headers
* @param requestBody
* @param responseType
* @param uriVariables
* @param <T>
* @return
*/
public
static
<
T
>
ResponseEntity
<
T
>
post
(
RestTemplate
restTemplate
,
URI
uri
,
HttpHeaders
headers
,
Object
requestBody
,
Class
<
T
>
responseType
,
Map
<
String
,
?>
uriVariables
)
{
HttpEntity
<
Object
>
requestEntity
=
new
HttpEntity
<
Object
>(
requestBody
,
headers
);
return
restTemplate
.
postForEntity
(
uri
,
requestEntity
,
responseType
);
}
/**
* 带请求头的PUT请求调用方式
*
* @param uri 请求URL
* @param headers 请求头参数
* @param requestBody 请求参数体
* @param responseType 返回对象类型
* @return ResponseEntity 响应对象封装类
*/
public
static
<
T
>
ResponseEntity
<
T
>
put
(
URI
uri
,
HttpHeaders
headers
,
Object
requestBody
,
Class
<
T
>
responseType
)
{
HttpEntity
<
Object
>
requestEntity
=
new
HttpEntity
<
Object
>(
requestBody
,
headers
);
return
RestTemplateUtils
.
getInstance
().
exchange
(
uri
,
HttpMethod
.
PUT
,
requestEntity
,
responseType
);
}
/**
* @param restTemplate 可传入负载均衡的restTemplate
* @param uri
* @param headers
* @param requestBody
* @param responseType
* @param <T>
* @return
*/
public
static
<
T
>
ResponseEntity
<
T
>
put
(
RestTemplate
restTemplate
,
URI
uri
,
HttpHeaders
headers
,
Object
requestBody
,
Class
<
T
>
responseType
)
{
HttpEntity
<
Object
>
requestEntity
=
new
HttpEntity
<
Object
>(
requestBody
,
headers
);
return
restTemplate
.
exchange
(
uri
,
HttpMethod
.
PUT
,
requestEntity
,
responseType
);
}
/**
* 带请求头的DELETE请求调用方式
*
* @param uri 请求URL
* @param headers 请求头参数
* @param requestBody 请求参数体
* @param responseType 返回对象类型
* @return ResponseEntity 响应对象封装类
*/
public
static
<
T
>
ResponseEntity
<
T
>
delete
(
URI
uri
,
HttpHeaders
headers
,
Object
requestBody
,
Class
<
T
>
responseType
)
{
HttpEntity
<
Object
>
requestEntity
=
new
HttpEntity
<
Object
>(
requestBody
,
headers
);
return
RestTemplateUtils
.
getInstance
().
exchange
(
uri
,
HttpMethod
.
DELETE
,
requestEntity
,
responseType
);
}
/**
* @param restTemplate 可传入负载均衡的restTemplate
* @param uri
* @param headers
* @param requestBody
* @param responseType
* @param <T>
* @return
*/
public
static
<
T
>
ResponseEntity
<
T
>
delete
(
RestTemplate
restTemplate
,
URI
uri
,
HttpHeaders
headers
,
Object
requestBody
,
Class
<
T
>
responseType
)
{
HttpEntity
<
Object
>
requestEntity
=
new
HttpEntity
<
Object
>(
requestBody
,
headers
);
return
restTemplate
.
exchange
(
uri
,
HttpMethod
.
DELETE
,
requestEntity
,
responseType
);
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/util/StringUtils.java
0 → 100644
View file @
69c70f23
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
util
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
java.io.UnsupportedEncodingException
;
import
java.net.URLEncoder
;
import
java.util.List
;
import
java.util.Map
;
/**
* @Author: xinglei
* @Description:
* @Date: 2020/8/24 9:58
*/
public
class
StringUtils
{
public
static
boolean
contrastLowerStr
(
String
str1
,
String
str2
)
{
boolean
flag
=
false
;
if
(
str1
.
toLowerCase
().
equals
(
str2
.
toLowerCase
()))
{
flag
=
true
;
}
return
flag
;
}
/**
* 将map转换成url
*
* @param map
* @return
*/
public
static
String
transMap2UrlParam
(
Map
<
String
,
Object
>
map
)
{
StringBuilder
stringBuilder
=
new
StringBuilder
();
for
(
Map
.
Entry
entry
:
map
.
entrySet
())
{
// 值为空或匹配total不拼接
if
(
ValidationUtil
.
isEmpty
(
entry
.
getValue
())
||
"total"
.
equals
(
entry
.
getKey
()))
continue
;
try
{
stringBuilder
.
append
(
"&"
).
append
(
entry
.
getKey
()).
append
(
"="
).
append
(
URLEncoder
.
encode
(
entry
.
getValue
().
toString
(),
"UTF-8"
));
}
catch
(
UnsupportedEncodingException
e
)
{
e
.
printStackTrace
();
}
}
return
stringBuilder
.
toString
();
}
/**
* 将list转换成url
*
* @param list
* @return
*/
public
static
String
transList2UrlParam
(
List
<
Map
<
String
,
Object
>>
list
)
{
StringBuilder
stringBuilder
=
new
StringBuilder
();
list
.
forEach
(
x
->
{
Map
<
String
,
Object
>
map
=
JSONObject
.
parseObject
(
JSON
.
toJSONString
(
x
));
try
{
stringBuilder
.
append
(
"&"
).
append
(
map
.
get
(
"key"
)).
append
(
"="
).
append
(
URLEncoder
.
encode
(
map
.
get
(
"value"
).
toString
(),
"UTF-8"
));
}
catch
(
UnsupportedEncodingException
e
)
{
e
.
printStackTrace
();
}
});
return
stringBuilder
.
toString
();
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/company.json
0 → 100644
View file @
69c70f23
{
"name"
:
"检验检测机构模板"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793454184889085953"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/tcm/baseEnterprise/getInfoByUseCode"
,
"params"
:
{
"useCode"
:
"{useUnitCode}"
}
},
"resultConvert"
:
""
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"设备列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1792821076963651585"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"USE_UNIT_CREDIT_CODE"
:
"{useUnitCode}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
2
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_1000.json
0 → 100644
View file @
69c70f23
{
"name"
:
"设备-锅炉"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"设备信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/{record}"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result.equipInfo"
}
}
}
},
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"问题列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1793458819301404673"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equipId/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"record"
:
"{record}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
},
"dianti"
:
{
"columns"
:
3
,
"datas"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_2000.json
0 → 100644
View file @
69c70f23
{
"name"
:
"设备-压力容器"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"设备信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/{record}"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result.equipInfo"
}
}
}
},
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"问题列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1793458819301404673"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equipId/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"record"
:
"{record}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
},
"dianti"
:
{
"columns"
:
3
,
"datas"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_3000.json
0 → 100644
View file @
69c70f23
{
"name"
:
"设备-电梯"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"设备信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/{record}"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result.equipInfo"
}
}
}
},
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"问题列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1793458819301404673"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equipId/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"record"
:
"{record}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
},
"dianti"
:
{
"columns"
:
3
,
"datas"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_4000.json
0 → 100644
View file @
69c70f23
{
"name"
:
"设备-起重机械"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"设备信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/{record}"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result.equipInfo"
}
}
}
},
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"问题列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1793458819301404673"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equipId/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"record"
:
"{record}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
},
"dianti"
:
{
"columns"
:
3
,
"datas"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_5000.json
0 → 100644
View file @
69c70f23
{
"name"
:
"设备-场(厂)内机动车"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"设备信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/{record}"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result.equipInfo"
}
}
}
},
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"问题列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1793458819301404673"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equipId/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"record"
:
"{record}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
},
"dianti"
:
{
"columns"
:
3
,
"datas"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_6000.json
0 → 100644
View file @
69c70f23
{
"name"
:
"设备-大型游乐设施"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"设备信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/{record}"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result.equipInfo"
}
}
}
},
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"问题列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1793458819301404673"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equipId/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"record"
:
"{record}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
},
"dianti"
:
{
"columns"
:
3
,
"datas"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_8000.json
0 → 100644
View file @
69c70f23
{
"name"
:
"设备-压力管道"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"设备信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/{record}"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result.equipInfo"
}
}
}
},
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"问题列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1793458819301404673"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equipId/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"record"
:
"{record}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
},
"dianti"
:
{
"columns"
:
3
,
"datas"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_9000.json
0 → 100644
View file @
69c70f23
{
"name"
:
"设备-客运索道"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"设备信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/equipment-register/{record}"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result.equipInfo"
}
}
}
},
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"问题列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1793458819301404673"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/safety-problem-tracing/equipId/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"record"
:
"{record}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
"qrcode"
:
{},
"subs"
:
[]
},
"dianti"
:
{
"columns"
:
3
,
"datas"
:
[]
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/untest_company.json
0 → 100644
View file @
69c70f23
{
"name"
:
"非检验检测机构模板"
,
"tabs"
:
[
{
"key"
:
"basic"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793454184889085953"
,
"dataConfig"
:
{
"api"
:
{
"reqType"
:
"GET"
,
"url"
:
"/tcm/baseEnterprise/getInfoByUseCode"
,
"params"
:
{
"useCode"
:
"{useUnitCode}"
}
}
}
},
{
"key"
:
"devtable"
,
"displayName"
:
"设备列表"
,
"renderType"
:
"table"
,
"formSeq"
:
"1792821076963651585"
,
"dataConfig"
:
{
"api"
:
{
"reqType"
:
"GET"
,
"url"
:
"/jg/equipment-register/page"
,
"params"
:
{
"number"
:
1
,
"size"
:
10
,
"USE_UNIT_CREDIT_CODE"
:
"{useUnitCode}"
}
}
}
}
],
"content"
:
{
"basic"
:
{
"columns"
:
2
,
"datas"
:
[],
"qrcode"
:
{
"src"
:
"/public/ag/zongshu.png"
,
"text"
:
"2023/12/26"
,
"subtext"
:
"23:10:16"
},
"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