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
d4360334
Commit
d4360334
authored
Aug 02, 2022
by
helinlin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
a68743d3
5f6ad2bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
UnitInfoController.java
...oot/module/tzs/flc/biz/controller/UnitInfoController.java
+17
-0
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/UnitInfoController.java
View file @
d4360334
...
@@ -323,6 +323,23 @@ public class UnitInfoController extends BaseController {
...
@@ -323,6 +323,23 @@ public class UnitInfoController extends BaseController {
return
ResponseHelper
.
buildResponse
(
unitInfoVoIPage
);
return
ResponseHelper
.
buildResponse
(
unitInfoVoIPage
);
}
}
/**
* 根据企业名称查询详情
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/queryByOrgName"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据企业名称查询详情"
,
notes
=
"根据企业名称查询详情"
)
public
ResponseModel
<
UnitInfoDto
>
queryForPage
(
@RequestParam
(
value
=
"orgName"
)
String
orgName
)
{
UnitInfoDto
unitInfoDto
=
new
UnitInfoDto
();
QueryWrapper
<
UnitInfo
>
unitInfoQueryWrapper
=
new
QueryWrapper
<
UnitInfo
>();
unitInfoDto
.
setOrgName
(
orgName
);
setQueryWrapper
(
unitInfoQueryWrapper
,
unitInfoDto
,
null
);
List
<
UnitInfo
>
list
=
unitInfoServiceImpl
.
list
(
unitInfoQueryWrapper
);
unitInfoDto
=
BeanDtoVoUtils
.
convert
(
list
.
get
(
0
),
UnitInfoDto
.
class
);
return
ResponseHelper
.
buildResponse
(
ValidationUtil
.
isEmpty
(
orgName
)
?
null
:
unitInfoDto
);
}
private
QueryWrapper
<
UnitInfo
>
setQueryWrapper
(
QueryWrapper
<
UnitInfo
>
queryWrapper
,
UnitInfoDto
unitInfoDto
,
String
sort
)
{
private
QueryWrapper
<
UnitInfo
>
setQueryWrapper
(
QueryWrapper
<
UnitInfo
>
queryWrapper
,
UnitInfoDto
unitInfoDto
,
String
sort
)
{
queryWrapper
.
eq
(
"is_delete"
,
false
);
queryWrapper
.
eq
(
"is_delete"
,
false
);
...
...
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