Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
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
王飞
vehicle-quality-review
Commits
83370fcb
Commit
83370fcb
authored
Jul 02, 2024
by
wdy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wangdingyi' into 'dev'
查询用户照片存储列表 See merge request
!388
parents
6044bc64
27b7070f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
UserPhotoStorageService.java
.../main/java/com/ruoyi/service/UserPhotoStorageService.java
+1
-1
UserPhotoStorageServiceImpl.java
...a/com/ruoyi/service/impl/UserPhotoStorageServiceImpl.java
+5
-2
UserPhotoStorageController.java
...c/main/java/com/ruoyi/web/UserPhotoStorageController.java
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/service/UserPhotoStorageService.java
View file @
83370fcb
...
...
@@ -22,7 +22,7 @@ public interface UserPhotoStorageService extends IService<UserPhotoStorage>
* @param request 用户照片存储
* @return 用户照片存储集合
*/
public
List
<
PhotoStorageVO
>
selectUserPhotoStorageList
(
UserPhotoStorageListRequest
request
);
public
List
<
PhotoStorageVO
>
selectUserPhotoStorageList
();
/**
* 新增用户照片存储
...
...
quality-review/src/main/java/com/ruoyi/service/impl/UserPhotoStorageServiceImpl.java
View file @
83370fcb
...
...
@@ -34,12 +34,15 @@ public class UserPhotoStorageServiceImpl extends ServiceImpl<UserPhotoStorageMap
/**
* 查询用户照片存储列表
*
* @param request 用户照片存储
* @return 用户照片存储
*/
@Override
public
List
<
PhotoStorageVO
>
selectUserPhotoStorageList
(
UserPhotoStorageListRequest
request
)
public
List
<
PhotoStorageVO
>
selectUserPhotoStorageList
()
{
// 构建登录用户
LoginUser
loginUser
=
SecurityUtils
.
getLoginUser
();
UserPhotoStorageListRequest
request
=
new
UserPhotoStorageListRequest
();
request
.
setUserId
(
loginUser
.
getUserId
());
List
<
UserPhotoStorage
>
userPhotoStorages
=
userPhotoStorageMapper
.
selectUserPhotoStorageList
(
request
);
// 创建一个VOList,用于返回数据
List
<
PhotoStorageVO
>
photoStorageVOList
=
new
ArrayList
<>();
...
...
quality-review/src/main/java/com/ruoyi/web/UserPhotoStorageController.java
View file @
83370fcb
...
...
@@ -48,7 +48,7 @@ public class UserPhotoStorageController extends BaseController
public
TableDataInfo
<
PhotoStorageVO
>
list
(
@Validated
@RequestBody
UserPhotoStorageListRequest
request
)
{
// startPage();
List
<
PhotoStorageVO
>
list
=
userPhotoStorageService
.
selectUserPhotoStorageList
(
request
);
List
<
PhotoStorageVO
>
list
=
userPhotoStorageService
.
selectUserPhotoStorageList
();
return
getDataTable
(
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