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
b5be0d47
Commit
b5be0d47
authored
Oct 29, 2025
by
刘林
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/develop_tzs_bugfix' into develop_tzs_register
parents
5a13ce49
354040ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
BaseEnterpriseVideoServiceImpl.java
...mmon/biz/service/impl/BaseEnterpriseVideoServiceImpl.java
+2
-1
SafetyProblemTracingServiceImpl.java
.../jg/biz/service/impl/SafetyProblemTracingServiceImpl.java
+1
-1
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+15
-2
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/BaseEnterpriseVideoServiceImpl.java
View file @
b5be0d47
...
...
@@ -96,11 +96,12 @@ public class BaseEnterpriseVideoServiceImpl extends BaseService<BaseEnterpriseVi
Map
<
String
,
Object
>
artemisInfo
=
initArtemisConfigAndPath
(
baseEnterpriseVideo
,
baseEnterpriseVideo
.
getUrl
());
ArtemisConfig
config
=
(
ArtemisConfig
)
artemisInfo
.
get
(
"config"
);
Map
<
String
,
String
>
path
=
(
Map
<
String
,
String
>)
artemisInfo
.
get
(
"path"
);
JSONObject
param
=
JSONObject
.
parseObject
(
baseEnterpriseVideo
.
getChannelNo
());
// post请求Form表单参数
param
.
put
(
"cameraIndexCode"
,
video
.
getKey
());
log
.
info
(
"iSecureCenter视频对接平台摄像头预览url,config:{},path:{},param:{}"
,
config
,
path
,
param
);
String
body
=
param
.
toJSONString
();
String
resultStr
=
ArtemisHttpUtil
.
doPostStringArtemis
(
config
,
path
,
body
,
null
,
null
,
"application/json"
,
null
);
log
.
info
(
"iSecureCenter视频对接平台摄像头预览url返回结果:{}"
,
resultStr
);
if
(
ValidationUtil
.
isEmpty
(
resultStr
))
{
return
;
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/SafetyProblemTracingServiceImpl.java
View file @
b5be0d47
...
...
@@ -266,7 +266,7 @@ public class SafetyProblemTracingServiceImpl extends BaseService<SafetyProblemTr
item
.
setExtraInfo
(
extraInfo
.
toJSONString
());
deleteList
.
add
(
item
);
});
this
.
saveBatch
(
deleteList
);
this
.
updateBatchById
(
deleteList
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
b5be0d47
...
...
@@ -387,6 +387,9 @@ public class TzBaseEnterpriseInfoServiceImpl
if
(!
ObjectUtils
.
isEmpty
(
tzBaseEnterpriseInfo
.
getOfficeRegion
())){
List
<
Integer
>
officeRegion
=
new
ArrayList
<>();
for
(
String
s
:
tzBaseEnterpriseInfo
.
getOfficeRegion
().
split
(
"#"
))
{
if
(
StringUtils
.
isEmpty
(
s
)
||
"undefined"
.
equals
(
s
))
{
continue
;
}
officeRegion
.
add
(
Integer
.
valueOf
(
s
));
}
tzBaseEnterpriseInfoDto
.
setOfficeRegion
(
officeRegion
);
...
...
@@ -405,7 +408,7 @@ public class TzBaseEnterpriseInfoServiceImpl
// 判断是否可以让用户编辑工商及许可信息 事业单位、个人主体或省外企业都可编辑
tzBaseEnterpriseInfoDto
.
setCanEdit
(
"0"
);
tzBaseEnterpriseInfoDto
.
setLicenseCanEdit
(
"1"
);
Map
<
String
,
Object
>
resultMap
=
accessFeignService
.
getData
(
creditCode
).
getResult
(
);
Map
<
String
,
Object
>
resultMap
=
getAccessFeignResult
(
creditCode
);
if
(!
ValidationUtil
.
isEmpty
(
resultMap
))
{
String
area
=
String
.
valueOf
(
resultMap
.
get
(
"area"
));
String
city
=
area
.
substring
(
0
,
area
.
indexOf
(
"市"
)
+
1
);
...
...
@@ -472,6 +475,16 @@ public class TzBaseEnterpriseInfoServiceImpl
return
tzBaseEnterpriseInfoDto
;
}
private
Map
<
String
,
Object
>
getAccessFeignResult
(
String
creditCode
)
{
try
{
return
accessFeignService
.
getData
(
creditCode
).
getResult
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
error
(
"获取工商信息失败:accessFeignService.getData(creditCode) error:{}"
,
e
.
getMessage
());
return
null
;
}
}
@Override
public
IPage
<
TzBaseEnterpriseInfoDto
>
page
(
PageParam
pageParam
,
String
companyCode
)
{
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
=
tzBaseEnterpriseInfoMapper
.
selectOne
(
new
LambdaQueryWrapper
<
TzBaseEnterpriseInfo
>().
eq
(
TzBaseEnterpriseInfo:
:
getUseCode
,
companyCode
));
...
...
@@ -560,7 +573,7 @@ public class TzBaseEnterpriseInfoServiceImpl
queryWrapper
.
eq
(
"use_code"
,
speUseUnit
.
getCerCode
());
TzBaseEnterpriseInfo
tzBaseEnterprisePrivilegeInfo
=
this
.
getOne
(
queryWrapper
);
Map
<
String
,
Object
>
resultMap
=
accessFeignService
.
getData
(
speUseUnit
.
getCerCode
()).
getResult
(
);
Map
<
String
,
Object
>
resultMap
=
getAccessFeignResult
(
speUseUnit
.
getCerCode
()
);
if
(
ValidationUtil
.
isEmpty
(
resultMap
)){
if
(!
ValidationUtil
.
isEmpty
(
companyPrivilegeModel
)){
...
...
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