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
43fa47c1
Commit
43fa47c1
authored
May 09, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jg新增根据父id查询字典值的接口
parent
24c72e02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+13
-0
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/controller/CommonController.java
View file @
43fa47c1
...
@@ -10,6 +10,8 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
...
@@ -10,6 +10,8 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
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.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.service.impl.DataDictionaryServiceImpl
;
import
com.yeejoin.amos.boot.module.jg.api.dto.CodeGenerateDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.CodeGenerateDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.EquipmentClassifyDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.EquipmentClassifyDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.UseFlagParamDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.UseFlagParamDto
;
...
@@ -66,6 +68,7 @@ public class CommonController extends BaseController {
...
@@ -66,6 +68,7 @@ public class CommonController extends BaseController {
private
final
JgUseRegistrationMapper
jgUseRegistrationMapper
;
private
final
JgUseRegistrationMapper
jgUseRegistrationMapper
;
private
final
IJgCertificateReplenishService
iJgCertificateReplenishService
;
private
final
IJgCertificateReplenishService
iJgCertificateReplenishService
;
private
final
CodeUtil
codeUtil
;
private
final
CodeUtil
codeUtil
;
private
final
DataDictionaryServiceImpl
iDataDictionaryService
;
/**
/**
* 监管机构
* 监管机构
...
@@ -905,4 +908,14 @@ public class CommonController extends BaseController {
...
@@ -905,4 +908,14 @@ public class CommonController extends BaseController {
}
}
return
ResponseHelper
.
buildResponse
(
null
);
return
ResponseHelper
.
buildResponse
(
null
);
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/getDictListWithParentIds"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据字典的父Ids获取字典值"
,
notes
=
"根据字典的父Ids获取字典值"
)
public
ResponseModel
<
List
<
DataDictionary
>>
getDictListWithParentIds
(
@RequestParam
(
value
=
"parentIds"
)
String
parentIds
)
{
return
ResponseHelper
.
buildResponse
(
iDataDictionaryService
.
lambdaQuery
()
.
eq
(
DataDictionary:
:
getIsDelete
,
Boolean
.
FALSE
)
.
in
(
DataDictionary:
:
getParent
,
new
ArrayList
<>(
Arrays
.
asList
(
parentIds
.
split
(
","
))))
.
list
());
}
}
}
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