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
85ac4add
Commit
85ac4add
authored
May 13, 2025
by
刘林
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
74df6d5c
259dc624
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+5
-4
No files found.
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/CommonServiceImpl.java
View file @
85ac4add
...
@@ -827,10 +827,12 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -827,10 +827,12 @@ public class CommonServiceImpl implements ICommonService {
@Override
@Override
public
List
<
Map
<
String
,
Object
>>
getUnitListByType
(
String
type
,
String
business
,
Boolean
needAuth
)
{
public
List
<
Map
<
String
,
Object
>>
getUnitListByType
(
String
type
,
String
business
,
Boolean
needAuth
)
{
List
<
Map
<
String
,
Object
>>
unitList
=
new
ArrayList
<>(
Collections
.
emptyList
());
if
(
Objects
.
equals
(
type
,
"use"
))
{
// 该接口不暴露使用单位信息,返回空列表
return
unitList
;
}
switch
(
type
)
{
switch
(
type
)
{
case
"use"
:
type
=
"使用单位"
;
break
;
case
"maintenance"
:
case
"maintenance"
:
type
=
"安装改造维修单位"
;
type
=
"安装改造维修单位"
;
break
;
break
;
...
@@ -844,7 +846,6 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -844,7 +846,6 @@ public class CommonServiceImpl implements ICommonService {
type
=
"all"
;
type
=
"all"
;
break
;
break
;
}
}
List
<
Map
<
String
,
Object
>>
unitList
=
new
ArrayList
<>(
Collections
.
emptyList
());
// 检验检测机构 追加车用气瓶
// 检验检测机构 追加车用气瓶
if
(
"检验检测机构"
.
equals
(
type
)
&&
"gasCylindersForCars"
.
equals
(
business
))
{
if
(
"检验检测机构"
.
equals
(
type
)
&&
"gasCylindersForCars"
.
equals
(
business
))
{
List
<
DictionarieValueModel
>
result
=
Systemctl
.
dictionarieClient
.
dictValues
(
"OLD_INSPECTION_TESTING_UNIT"
).
getResult
();
List
<
DictionarieValueModel
>
result
=
Systemctl
.
dictionarieClient
.
dictValues
(
"OLD_INSPECTION_TESTING_UNIT"
).
getResult
();
...
...
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