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
95360a3d
Commit
95360a3d
authored
Sep 03, 2024
by
宋源硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'songyuanshuo' into 'dev'
/review/standard/list接口修改 See merge request
!438
parents
7818ef4f
50d33909
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
ReviewStandardMapper.java
.../src/main/java/com/ruoyi/mapper/ReviewStandardMapper.java
+1
-4
ReviewStandardService.java
...rc/main/java/com/ruoyi/service/ReviewStandardService.java
+1
-0
ReviewStandardServiceImpl.java
...ava/com/ruoyi/service/impl/ReviewStandardServiceImpl.java
+2
-0
ReviewStandardController.java
...src/main/java/com/ruoyi/web/ReviewStandardController.java
+1
-1
ReviewStandardMapper.xml
...review/src/main/resources/mapper/ReviewStandardMapper.xml
+1
-0
No files found.
quality-review/src/main/java/com/ruoyi/mapper/ReviewStandardMapper.java
View file @
95360a3d
...
@@ -3,10 +3,7 @@ package com.ruoyi.mapper;
...
@@ -3,10 +3,7 @@ package com.ruoyi.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.ruoyi.domain.ReviewKeyPoint
;
import
com.ruoyi.domain.ReviewKeyPoint
;
import
com.ruoyi.domain.ReviewStandard
;
import
com.ruoyi.domain.ReviewStandard
;
import
com.ruoyi.web.request.ReviewFindListRequest
;
import
com.ruoyi.web.request.*
;
import
com.ruoyi.web.request.ReviewStandardListByPageRequest
;
import
com.ruoyi.web.request.ReviewStandardListRequest
;
import
com.ruoyi.web.request.StandardListNewRequest
;
import
com.ruoyi.web.response.*
;
import
com.ruoyi.web.response.*
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
...
...
quality-review/src/main/java/com/ruoyi/service/ReviewStandardService.java
View file @
95360a3d
...
@@ -87,4 +87,5 @@ public interface ReviewStandardService extends IService<ReviewStandard> {
...
@@ -87,4 +87,5 @@ public interface ReviewStandardService extends IService<ReviewStandard> {
* 标准内容库新界面接口
* 标准内容库新界面接口
* */
* */
ReviewStandardListNewResponse
getListNew
(
StandardListNewRequest
request
);
ReviewStandardListNewResponse
getListNew
(
StandardListNewRequest
request
);
}
}
quality-review/src/main/java/com/ruoyi/service/impl/ReviewStandardServiceImpl.java
View file @
95360a3d
...
@@ -94,8 +94,10 @@ public class ReviewStandardServiceImpl extends ServiceImpl<ReviewStandardMapper,
...
@@ -94,8 +94,10 @@ public class ReviewStandardServiceImpl extends ServiceImpl<ReviewStandardMapper,
ReviewStandard
reviewStandard
=
ReviewStandard
.
builder
().
id
(
id
).
build
();
ReviewStandard
reviewStandard
=
ReviewStandard
.
builder
().
id
(
id
).
build
();
List
<
ReviewStandard
>
reviewStandardList
=
new
ArrayList
<>();
List
<
ReviewStandard
>
reviewStandardList
=
new
ArrayList
<>();
reviewStandardList
.
add
(
reviewStandard
);
reviewStandardList
.
add
(
reviewStandard
);
// 查询审查要点
// 查询审查要点
List
<
ReviewKeyPoint
>
reviewKeyPointList
=
reviewKeyPointService
.
findByStandardList
(
reviewStandardList
);
List
<
ReviewKeyPoint
>
reviewKeyPointList
=
reviewKeyPointService
.
findByStandardList
(
reviewStandardList
);
// 查询审查细则
// 查询审查细则
List
<
ReviewDetails
>
reivewDetailsList
=
reviewDetailsService
.
findByKeyPointsList
(
reviewKeyPointList
);
List
<
ReviewDetails
>
reivewDetailsList
=
reviewDetailsService
.
findByKeyPointsList
(
reviewKeyPointList
);
// 查询审查场景
// 查询审查场景
...
...
quality-review/src/main/java/com/ruoyi/web/ReviewStandardController.java
View file @
95360a3d
...
@@ -40,7 +40,7 @@ public class ReviewStandardController extends BaseController {
...
@@ -40,7 +40,7 @@ public class ReviewStandardController extends BaseController {
@Anonymous
@Anonymous
@ApiOperation
(
"分页查询标准(检验内容库)"
)
@ApiOperation
(
"分页查询标准(检验内容库)"
)
@PostMapping
(
"/list"
)
@PostMapping
(
"/list"
)
public
TableDataInfo
<
ReviewStandardResponse
>
listByPage
(
@
Validated
@
RequestBody
ReviewStandardListByPageRequest
request
)
{
public
TableDataInfo
<
ReviewStandardResponse
>
listByPage
(
@RequestBody
ReviewStandardListByPageRequest
request
)
{
startPage
(
request
);
startPage
(
request
);
List
<
ReviewStandardResponse
>
list
=
reviewStandardService
.
listByPage
(
request
);
List
<
ReviewStandardResponse
>
list
=
reviewStandardService
.
listByPage
(
request
);
return
getDataTable
(
list
);
return
getDataTable
(
list
);
...
...
quality-review/src/main/resources/mapper/ReviewStandardMapper.xml
View file @
95360a3d
...
@@ -116,4 +116,5 @@
...
@@ -116,4 +116,5 @@
</select>
</select>
</mapper>
</mapper>
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