Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
张文彪
/
employmentBusinessPc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e19a9939
authored
Nov 27, 2025
by
zwb
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改查询简历列表的用户登录校验
parent
01f5f1ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/controller/NewEditionResumeController.java
employmentBusiness-pc-modules/employmentBusiness-pc-system/src/main/java/com/bkty/system/controller/NewEditionResumeController.java
View file @
e19a9939
package
com
.
bkty
.
system
.
controller
;
package
com
.
bkty
.
system
.
controller
;
import
com.bkty.system.api.model.LoginUser
;
import
com.bkty.system.domain.dto.ResumeByPdfDto
;
import
com.bkty.system.domain.dto.ResumeByPdfDto
;
import
com.bkty.system.domain.dto.ResumeListItemCache
;
import
com.bkty.system.domain.dto.ResumeListItemCache
;
import
com.bkty.system.domain.dto.ResumeMakeDto
;
import
com.bkty.system.domain.dto.ResumeMakeDto
;
...
@@ -19,6 +20,7 @@ import org.dromara.common.core.domain.UserLoginInfo;
...
@@ -19,6 +20,7 @@ import org.dromara.common.core.domain.UserLoginInfo;
import
org.dromara.common.core.exception.JxgException
;
import
org.dromara.common.core.exception.JxgException
;
import
org.dromara.common.core.exception.WarnException
;
import
org.dromara.common.core.exception.WarnException
;
import
org.dromara.common.core.utils.SecurityUtils
;
import
org.dromara.common.core.utils.SecurityUtils
;
import
org.dromara.common.satoken.utils.LoginHelper
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
...
@@ -99,10 +101,10 @@ public class NewEditionResumeController {
...
@@ -99,10 +101,10 @@ public class NewEditionResumeController {
*/
*/
@PostMapping
(
"/resumeList"
)
@PostMapping
(
"/resumeList"
)
public
R
<
List
<
ResumeListItemCache
>>
resumeList
(){
public
R
<
List
<
ResumeListItemCache
>>
resumeList
(){
UserLoginInfo
userLoginInfo
=
SecurityUtils
.
get
User
();
LoginUser
loginUser
=
LoginHelper
.
getLogin
User
();
Long
userId
=
1L
;
Long
userId
=
1L
;
if
(
null
!=
userLoginInfo
){
if
(
null
!=
loginUser
){
userId
=
userLoginInfo
.
get
Id
();
userId
=
loginUser
.
getUser
Id
();
}
}
List
<
ResumeListItemCache
>
result
=
this
.
newEditionResumeService
.
resumeList
(
userId
);
List
<
ResumeListItemCache
>
result
=
this
.
newEditionResumeService
.
resumeList
(
userId
);
return
new
R
<>(
result
);
return
new
R
<>(
result
);
...
...
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