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
ef0f9248
Commit
ef0f9248
authored
Mar 06, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模糊查询
parent
8da03c0e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
6 deletions
+38
-6
ReviewSceneChangeTask.java
...src/main/java/com/ruoyi/domain/ReviewSceneChangeTask.java
+6
-0
ReviewSceneChangeTaskFindCreateRequest.java
...i/web/request/ReviewSceneChangeTaskFindCreateRequest.java
+5
-1
ReviewSceneChangeTaskFindFinishRequest.java
...i/web/request/ReviewSceneChangeTaskFindFinishRequest.java
+3
-0
ReviewSceneChangeTaskFindPendingRequest.java
.../web/request/ReviewSceneChangeTaskFindPendingRequest.java
+3
-0
ReviewSceneChangeTaskResponse.java
...com/ruoyi/web/response/ReviewSceneChangeTaskResponse.java
+6
-0
ReviewEnterpriseArchiveMapper.xml
...c/main/resources/mapper/ReviewEnterpriseArchiveMapper.xml
+2
-2
ReviewSceneChangeTaskMapper.xml
...src/main/resources/mapper/ReviewSceneChangeTaskMapper.xml
+13
-3
No files found.
quality-review/src/main/java/com/ruoyi/domain/ReviewSceneChangeTask.java
View file @
ef0f9248
...
...
@@ -74,6 +74,12 @@ public class ReviewSceneChangeTask {
@ApiModelProperty
(
"任务编号"
)
private
String
taskNo
;
@ApiModelProperty
(
"检验标准id"
)
private
String
inspectStandardId
;
@ApiModelProperty
(
"检验标准名称"
)
private
String
inspectStandardName
;
/**
* 章节
*/
...
...
quality-review/src/main/java/com/ruoyi/web/request/ReviewSceneChangeTaskFindCreateRequest.java
View file @
ef0f9248
...
...
@@ -12,7 +12,7 @@ public class ReviewSceneChangeTaskFindCreateRequest extends PageDomain {
@ApiModelProperty
(
"评审类型"
)
private
String
operationSort
;
@ApiModelProperty
(
"
条款
分类[system(体系审查)、car(车型审查)]"
)
@ApiModelProperty
(
"
标准要求
分类[system(体系审查)、car(车型审查)]"
)
private
String
type
;
@ApiModelProperty
(
"关键词"
)
...
...
@@ -20,4 +20,8 @@ public class ReviewSceneChangeTaskFindCreateRequest extends PageDomain {
@ApiModelProperty
(
"评审状态"
)
private
String
taskStatus
;
@ApiModelProperty
(
"检验标准"
)
private
Long
inspectStandardId
;
}
quality-review/src/main/java/com/ruoyi/web/request/ReviewSceneChangeTaskFindFinishRequest.java
View file @
ef0f9248
...
...
@@ -17,4 +17,7 @@ public class ReviewSceneChangeTaskFindFinishRequest extends PageDomain {
@ApiModelProperty
(
"关键词"
)
private
String
keyword
;
@ApiModelProperty
(
"检验标准"
)
private
Long
inspectStandardId
;
}
quality-review/src/main/java/com/ruoyi/web/request/ReviewSceneChangeTaskFindPendingRequest.java
View file @
ef0f9248
...
...
@@ -17,4 +17,7 @@ public class ReviewSceneChangeTaskFindPendingRequest extends PageDomain {
@ApiModelProperty
(
"关键词"
)
private
String
keyword
;
@ApiModelProperty
(
"检验标准"
)
private
Long
inspectStandardId
;
}
quality-review/src/main/java/com/ruoyi/web/response/ReviewSceneChangeTaskResponse.java
View file @
ef0f9248
...
...
@@ -22,6 +22,12 @@ public class ReviewSceneChangeTaskResponse {
@ApiModelProperty
(
"任务编号"
)
private
String
taskNo
;
@ApiModelProperty
(
"检验标准id"
)
private
String
inspectStandardId
;
@ApiModelProperty
(
"检验标准名称"
)
private
String
inspectStandardName
;
/**
* 章节
*/
...
...
quality-review/src/main/resources/mapper/ReviewEnterpriseArchiveMapper.xml
View file @
ef0f9248
...
...
@@ -51,7 +51,7 @@
and status = #{status}
</if>
<if
test=
"identifyNumber != null and identifyNumber != ''"
>
and identify_number
= #{identifyNumber}
and identify_number
like concat('%',#{identifyNumber},'%')
</if>
</where>
</select>
...
...
@@ -77,7 +77,7 @@
and status = #{status}
</if>
<if
test=
"identifyNumber != null and identifyNumber != ''"
>
and identify_number
= #{identifyNumber}
and identify_number
like concat('%',#{identifyNumber},'%')
</if>
</where>
</select>
...
...
quality-review/src/main/resources/mapper/ReviewSceneChangeTaskMapper.xml
View file @
ef0f9248
...
...
@@ -22,6 +22,8 @@
<result
property=
"taskResult"
column=
"task_result"
jdbcType=
"VARCHAR"
/>
<result
property=
"taskBeginTime"
column=
"task_begin_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"taskEndTime"
column=
"task_end_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"inspectStandardId"
column=
"inspect_standard_id"
jdbcType=
"BIGINT"
/>
<result
property=
"inspectStandardName"
column=
"inspect_standard_name"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"ResponseResultMap"
type=
"com.ruoyi.web.response.ReviewSceneChangeTaskResponse"
>
...
...
@@ -43,6 +45,8 @@
<result
property=
"taskBeginTime"
column=
"task_begin_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"taskEndTime"
column=
"task_end_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"decision"
column=
"decision"
jdbcType=
"VARCHAR"
/>
<result
property=
"inspectStandardId"
column=
"inspect_standard_id"
jdbcType=
"BIGINT"
/>
<result
property=
"inspectStandardName"
column=
"inspect_standard_name"
jdbcType=
"VARCHAR"
/>
</resultMap>
<select
id=
"findLastChangeByTaskId"
resultType=
"com.ruoyi.domain.ReviewSceneChangeTask"
>
...
...
@@ -65,7 +69,9 @@
<if
test=
"request.keyword != null and request.keyword != ''"
>
and (sct.old_text like concat('%',#{request.keyword},'%') || sct.new_text like concat('%',#{request.keyword},'%'))
</if>
order by sct.task_begin_time desc
<if
test=
"request.inspectStandardId != null and request.inspectStandardId != ''"
>
and inspect_standard_id = #{request.inspectStandardId}
</if>
</select>
<select
id=
"findFinishListByUserId"
resultType=
"com.ruoyi.web.response.ReviewSceneChangeTaskResponse"
>
...
...
@@ -81,7 +87,9 @@
<if
test=
"request.keyword != null and request.keyword != ''"
>
and (sct.old_text like concat('%',#{request.keyword},'%') || sct.new_text like concat('%',#{request.keyword},'%'))
</if>
order by sct.task_begin_time desc
<if
test=
"request.inspectStandardId != null and request.inspectStandardId != ''"
>
and inspect_standard_id = #{request.inspectStandardId}
</if>
</select>
<select
id=
"findCreateListByUserId"
resultType=
"com.ruoyi.domain.ReviewSceneChangeTask"
>
...
...
@@ -99,7 +107,9 @@
<if
test=
"request.taskStatus != null and request.taskStatus != ''"
>
and task_status = #{request.taskStatus}
</if>
order by task_begin_time desc
<if
test=
"request.inspectStandardId != null and request.inspectStandardId != ''"
>
and inspect_standard_id = #{request.inspectStandardId}
</if>
</select>
</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