Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
c0d58380
Commit
c0d58380
authored
Feb 23, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.5.1-收入证明等
parent
521c340c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
LUnitInfoForProveController.java
...yifu/archives/controller/LUnitInfoForProveController.java
+44
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/LUnitInfoForProveController.java
0 → 100644
View file @
c0d58380
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LUnitInfoForProve
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.LUnitInfoForProveService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser
;
import
com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.AllArgsConstructor
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
/**
* @author pwang
* @date 2019-11-05 15:24:25
*/
@RestController
@AllArgsConstructor
@RequestMapping
(
"/lunitinfoforprove"
)
@Tag
(
name
=
"工资证明操作数据"
)
public
class
LUnitInfoForProveController
{
private
final
LUnitInfoForProveService
lUnitInfoForProveService
;
/**
* 简单分页查询
* 获取用户自己的操作数据
*
* @return
*/
@Operation
(
summary
=
"获取用户自己的操作数据"
)
@GetMapping
(
"/ownList"
)
public
R
<
List
<
LUnitInfoForProve
>>
getownList
()
{
YifuUser
user
=
SecurityUtils
.
getUser
();
return
new
R
<>(
lUnitInfoForProveService
.
list
(
Wrappers
.<
LUnitInfoForProve
>
lambdaQuery
().
eq
(
LUnitInfoForProve:
:
getCreatUser
,
user
.
getId
())));
}
}
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