Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
9589ce2c
Commit
9589ce2c
authored
Mar 18, 2022
by
龙于生
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改展示所有民族接口 不验证是否登录
parent
a7a93bb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+3
-3
No files found.
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
9589ce2c
...
@@ -1558,7 +1558,7 @@ public class YgglController {
...
@@ -1558,7 +1558,7 @@ public class YgglController {
@PostMapping
(
value
=
"/mz/{id}"
)
@PostMapping
(
value
=
"/mz/{id}"
)
@ApiOperation
(
value
=
"60.展示民族/展示所有民族"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"60.展示民族/展示所有民族"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
60
)
@ApiOperationSupport
(
order
=
60
)
public
Result
<
List
<
YgmzDto
>>
selectmzs
(
@
CurrentUser
UserBean
userBean
,
@
PathVariable
Integer
id
)
{
public
Result
<
List
<
YgmzDto
>>
selectmzs
(
@PathVariable
Integer
id
)
{
if
(
id
==
null
||
id
==
0
)
{
if
(
id
==
null
||
id
==
0
)
{
List
<
YgmzDto
>
allmz
=
new
LambdaQueryChainWrapper
<
YgmzDto
>(
ygMzDtoMapper
).
list
();
List
<
YgmzDto
>
allmz
=
new
LambdaQueryChainWrapper
<
YgmzDto
>(
ygMzDtoMapper
).
list
();
return
ResultUtil
.
data
(
allmz
,
"展示所有民族"
);
return
ResultUtil
.
data
(
allmz
,
"展示所有民族"
);
...
@@ -1841,7 +1841,7 @@ public class YgglController {
...
@@ -1841,7 +1841,7 @@ public class YgglController {
Integer
orgCode
=
userBean
.
getOrgCode
();
Integer
orgCode
=
userBean
.
getOrgCode
();
LoginInfoDto
loginInfo
=
LoginInfoDto
.
builder
().
build
();
LoginInfoDto
loginInfo
=
LoginInfoDto
.
builder
().
build
();
YgglMainEmp
ygglMainEmp
=
new
LambdaQueryChainWrapper
<
YgglMainEmp
>(
ygglMainEmpMapper
)
YgglMainEmp
ygglMainEmp
=
new
LambdaQueryChainWrapper
<
YgglMainEmp
>(
ygglMainEmpMapper
)
.
select
(
YgglMainEmp:
:
getBmgwId
,
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getRzTime
,
YgglMainEmp:
:
getZzTime
,
YgglMainEmp:
:
getSyq
,
.
select
(
YgglMainEmp:
:
getBmgwId
,
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getRzTime
,
YgglMainEmp:
:
getZzTime
,
YgglMainEmp:
:
getSyq
,
YgglMainEmp:
:
getEmpNum
)
YgglMainEmp:
:
getEmpNum
)
.
eq
(
YgglMainEmp:
:
getEmpNum
,
empNum
).
eq
(
YgglMainEmp:
:
getOrgCode
,
orgCode
).
one
();
.
eq
(
YgglMainEmp:
:
getEmpNum
,
empNum
).
eq
(
YgglMainEmp:
:
getOrgCode
,
orgCode
).
one
();
if
(
ygglMainEmp
!=
null
)
{
if
(
ygglMainEmp
!=
null
)
{
...
@@ -1979,7 +1979,7 @@ public class YgglController {
...
@@ -1979,7 +1979,7 @@ public class YgglController {
List
<
YgglMainEmp
>
yglList
=
YgglMainEmp
.
builder
().
build
()
List
<
YgglMainEmp
>
yglList
=
YgglMainEmp
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getOrgCode
,
userBean
.
getOrgCode
())
.
selectList
(
new
QueryWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getOrgCode
,
userBean
.
getOrgCode
())
.
in
(
YgglMainEmp:
:
getEmpNum
,
empNumList
)
.
in
(
YgglMainEmp:
:
getEmpNum
,
empNumList
)
.
select
(
YgglMainEmp:
:
getId
,
YgglMainEmp:
:
getEmpNum
,
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getHeadUrl
).
orderByDesc
(
YgglMainEmp:
:
getId
));
.
select
(
YgglMainEmp:
:
getId
,
YgglMainEmp:
:
getEmpNum
,
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getHeadUrl
).
orderByDesc
(
YgglMainEmp:
:
getId
));
for
(
YgglMainEmp
yg
:
yglList
)
{
for
(
YgglMainEmp
yg
:
yglList
)
{
if
(
StringUtil
.
isEmpty
(
yg
.
getHeadUrl
()))
{
if
(
StringUtil
.
isEmpty
(
yg
.
getHeadUrl
()))
{
yg
.
setHeadUrl
(
CommonEnum
.
NULL_STR
.
getDesc
());
yg
.
setHeadUrl
(
CommonEnum
.
NULL_STR
.
getDesc
());
...
...
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