Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-api
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
中汽研标准应用数据库
car-database-api
Commits
922c4cb8
Commit
922c4cb8
authored
Sep 03, 2024
by
yuanshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1./getReviewerOpinion 添加注释
2./review/standard/list 章节排序
parent
ba1f1127
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
ReviewSceneChangeTaskMapper.java
...in/java/com/ruoyi/mapper/ReviewSceneChangeTaskMapper.java
+3
-0
ReviewSceneChangeTaskService.java
.../java/com/ruoyi/service/ReviewSceneChangeTaskService.java
+3
-0
ReviewSceneChangeTaskServiceImpl.java
.../ruoyi/service/impl/ReviewSceneChangeTaskServiceImpl.java
+3
-0
ReviewStandardMapper.xml
...review/src/main/resources/mapper/ReviewStandardMapper.xml
+6
-2
No files found.
quality-review/src/main/java/com/ruoyi/mapper/ReviewSceneChangeTaskMapper.java
View file @
922c4cb8
...
...
@@ -66,6 +66,9 @@ public interface ReviewSceneChangeTaskMapper extends BaseMapper<ReviewSceneChang
List
<
ReviewerListResponse
>
selectReviewerListByTaskId
(
@Param
(
"id"
)
Long
id
);
/*
* 查看评审人员评审意见
* */
List
<
ReviewOpinionResponse
>
getReviewerOpinion
(
@Param
(
"id"
)
Long
id
);
}
...
...
quality-review/src/main/java/com/ruoyi/service/ReviewSceneChangeTaskService.java
View file @
922c4cb8
...
...
@@ -122,6 +122,9 @@ public interface ReviewSceneChangeTaskService extends IService<ReviewSceneChange
* */
List
<
SysUser
>
getReviewList
();
/*
* 查看评审人员评审意见
* */
List
<
ReviewOpinionResponse
>
getReviewerOpinion
(
Long
id
);
}
quality-review/src/main/java/com/ruoyi/service/impl/ReviewSceneChangeTaskServiceImpl.java
View file @
922c4cb8
...
...
@@ -531,6 +531,9 @@ public class ReviewSceneChangeTaskServiceImpl extends ServiceImpl<ReviewSceneCha
return
reviewerList
;
}
/*
* 查看评审人员评审意见
* */
@Override
public
List
<
ReviewOpinionResponse
>
getReviewerOpinion
(
Long
id
)
{
List
<
ReviewOpinionResponse
>
list
=
reviewSceneChangeTaskMapper
.
getReviewerOpinion
(
id
);
...
...
quality-review/src/main/resources/mapper/ReviewStandardMapper.xml
View file @
922c4cb8
...
...
@@ -53,14 +53,18 @@
<where>
<if
test=
"standardId != null"
>
and standard_id = #{standardId}
</if>
<if
test=
"type != null and type != ''"
>
and `type` = #{type}
</if>
<if
test=
"chapter != null and chapter != ''"
>
and chapter
like concat('%', #{chapter}, '%')
</if>
<if
test=
"chapter != null and chapter != ''"
>
and chapter
=#{chapter}
</if>
<if
test=
"text != null and text != ''"
>
and text like concat('%', #{text}, '%')
</if>
<if
test=
"testMethod != null and testMethod != ''"
>
and test_method like concat('%', #{testMethod}, '%')
</if>
<if
test=
"name != null and text != ''"
>
and name like concat('%',#{name}, '%')
</if>
<if
test=
"standardNo != null and standardNo != ''"
>
and standard_no like concat('%',#{standardNo},'%')
</if>
</where>
/*ORDER BY
chapter*/
ORDER BY
chapter
CAST(SUBSTRING_INDEX(chapter, '.', 1) AS UNSIGNED),
CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(chapter, '.', 2), '.', -1) AS UNSIGNED),
CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(chapter, '.', 3), '.', -1) AS UNSIGNED)
</select>
<select
id=
"selectTestInspectionContent"
...
...
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