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
a9f1ab98
Commit
a9f1ab98
authored
Mar 06, 2024
by
王飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wangdingyi' into 'dev'
模糊查询 See merge request
!131
parents
beff6744
c01766c2
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
47 additions
and
15 deletions
+47
-15
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
TaskMapper.xml
quality-review/src/main/resources/mapper/TaskMapper.xml
+9
-9
No files found.
quality-review/src/main/java/com/ruoyi/domain/ReviewSceneChangeTask.java
View file @
a9f1ab98
...
@@ -74,6 +74,12 @@ public class ReviewSceneChangeTask {
...
@@ -74,6 +74,12 @@ public class ReviewSceneChangeTask {
@ApiModelProperty
(
"任务编号"
)
@ApiModelProperty
(
"任务编号"
)
private
String
taskNo
;
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 @
a9f1ab98
...
@@ -12,7 +12,7 @@ public class ReviewSceneChangeTaskFindCreateRequest extends PageDomain {
...
@@ -12,7 +12,7 @@ public class ReviewSceneChangeTaskFindCreateRequest extends PageDomain {
@ApiModelProperty
(
"评审类型"
)
@ApiModelProperty
(
"评审类型"
)
private
String
operationSort
;
private
String
operationSort
;
@ApiModelProperty
(
"
条款
分类[system(体系审查)、car(车型审查)]"
)
@ApiModelProperty
(
"
标准要求
分类[system(体系审查)、car(车型审查)]"
)
private
String
type
;
private
String
type
;
@ApiModelProperty
(
"关键词"
)
@ApiModelProperty
(
"关键词"
)
...
@@ -20,4 +20,8 @@ public class ReviewSceneChangeTaskFindCreateRequest extends PageDomain {
...
@@ -20,4 +20,8 @@ public class ReviewSceneChangeTaskFindCreateRequest extends PageDomain {
@ApiModelProperty
(
"评审状态"
)
@ApiModelProperty
(
"评审状态"
)
private
String
taskStatus
;
private
String
taskStatus
;
@ApiModelProperty
(
"检验标准"
)
private
Long
inspectStandardId
;
}
}
quality-review/src/main/java/com/ruoyi/web/request/ReviewSceneChangeTaskFindFinishRequest.java
View file @
a9f1ab98
...
@@ -17,4 +17,7 @@ public class ReviewSceneChangeTaskFindFinishRequest extends PageDomain {
...
@@ -17,4 +17,7 @@ public class ReviewSceneChangeTaskFindFinishRequest extends PageDomain {
@ApiModelProperty
(
"关键词"
)
@ApiModelProperty
(
"关键词"
)
private
String
keyword
;
private
String
keyword
;
@ApiModelProperty
(
"检验标准"
)
private
Long
inspectStandardId
;
}
}
quality-review/src/main/java/com/ruoyi/web/request/ReviewSceneChangeTaskFindPendingRequest.java
View file @
a9f1ab98
...
@@ -17,4 +17,7 @@ public class ReviewSceneChangeTaskFindPendingRequest extends PageDomain {
...
@@ -17,4 +17,7 @@ public class ReviewSceneChangeTaskFindPendingRequest extends PageDomain {
@ApiModelProperty
(
"关键词"
)
@ApiModelProperty
(
"关键词"
)
private
String
keyword
;
private
String
keyword
;
@ApiModelProperty
(
"检验标准"
)
private
Long
inspectStandardId
;
}
}
quality-review/src/main/java/com/ruoyi/web/response/ReviewSceneChangeTaskResponse.java
View file @
a9f1ab98
...
@@ -22,6 +22,12 @@ public class ReviewSceneChangeTaskResponse {
...
@@ -22,6 +22,12 @@ public class ReviewSceneChangeTaskResponse {
@ApiModelProperty
(
"任务编号"
)
@ApiModelProperty
(
"任务编号"
)
private
String
taskNo
;
private
String
taskNo
;
@ApiModelProperty
(
"检验标准id"
)
private
String
inspectStandardId
;
@ApiModelProperty
(
"检验标准名称"
)
private
String
inspectStandardName
;
/**
/**
* 章节
* 章节
*/
*/
...
...
quality-review/src/main/resources/mapper/ReviewEnterpriseArchiveMapper.xml
View file @
a9f1ab98
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
and status = #{status}
and status = #{status}
</if>
</if>
<if
test=
"identifyNumber != null and identifyNumber != ''"
>
<if
test=
"identifyNumber != null and identifyNumber != ''"
>
and identify_number
= #{identifyNumber}
and identify_number
like concat('%',#{identifyNumber},'%')
</if>
</if>
</where>
</where>
</select>
</select>
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
and status = #{status}
and status = #{status}
</if>
</if>
<if
test=
"identifyNumber != null and identifyNumber != ''"
>
<if
test=
"identifyNumber != null and identifyNumber != ''"
>
and identify_number
= #{identifyNumber}
and identify_number
like concat('%',#{identifyNumber},'%')
</if>
</if>
</where>
</where>
</select>
</select>
...
...
quality-review/src/main/resources/mapper/ReviewSceneChangeTaskMapper.xml
View file @
a9f1ab98
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
<result
property=
"taskResult"
column=
"task_result"
jdbcType=
"VARCHAR"
/>
<result
property=
"taskResult"
column=
"task_result"
jdbcType=
"VARCHAR"
/>
<result
property=
"taskBeginTime"
column=
"task_begin_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"taskBeginTime"
column=
"task_begin_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"taskEndTime"
column=
"task_end_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>
<resultMap
id=
"ResponseResultMap"
type=
"com.ruoyi.web.response.ReviewSceneChangeTaskResponse"
>
<resultMap
id=
"ResponseResultMap"
type=
"com.ruoyi.web.response.ReviewSceneChangeTaskResponse"
>
...
@@ -43,6 +45,8 @@
...
@@ -43,6 +45,8 @@
<result
property=
"taskBeginTime"
column=
"task_begin_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"taskBeginTime"
column=
"task_begin_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"taskEndTime"
column=
"task_end_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"taskEndTime"
column=
"task_end_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"decision"
column=
"decision"
jdbcType=
"VARCHAR"
/>
<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>
</resultMap>
<select
id=
"findLastChangeByTaskId"
resultType=
"com.ruoyi.domain.ReviewSceneChangeTask"
>
<select
id=
"findLastChangeByTaskId"
resultType=
"com.ruoyi.domain.ReviewSceneChangeTask"
>
...
@@ -65,7 +69,9 @@
...
@@ -65,7 +69,9 @@
<if
test=
"request.keyword != null and request.keyword != ''"
>
<if
test=
"request.keyword != null and request.keyword != ''"
>
and (sct.old_text like concat('%',#{request.keyword},'%') || sct.new_text like concat('%',#{request.keyword},'%'))
and (sct.old_text like concat('%',#{request.keyword},'%') || sct.new_text like concat('%',#{request.keyword},'%'))
</if>
</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>
<select
id=
"findFinishListByUserId"
resultType=
"com.ruoyi.web.response.ReviewSceneChangeTaskResponse"
>
<select
id=
"findFinishListByUserId"
resultType=
"com.ruoyi.web.response.ReviewSceneChangeTaskResponse"
>
...
@@ -81,7 +87,9 @@
...
@@ -81,7 +87,9 @@
<if
test=
"request.keyword != null and request.keyword != ''"
>
<if
test=
"request.keyword != null and request.keyword != ''"
>
and (sct.old_text like concat('%',#{request.keyword},'%') || sct.new_text like concat('%',#{request.keyword},'%'))
and (sct.old_text like concat('%',#{request.keyword},'%') || sct.new_text like concat('%',#{request.keyword},'%'))
</if>
</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>
<select
id=
"findCreateListByUserId"
resultType=
"com.ruoyi.domain.ReviewSceneChangeTask"
>
<select
id=
"findCreateListByUserId"
resultType=
"com.ruoyi.domain.ReviewSceneChangeTask"
>
...
@@ -99,7 +107,9 @@
...
@@ -99,7 +107,9 @@
<if
test=
"request.taskStatus != null and request.taskStatus != ''"
>
<if
test=
"request.taskStatus != null and request.taskStatus != ''"
>
and task_status = #{request.taskStatus}
and task_status = #{request.taskStatus}
</if>
</if>
order by task_begin_time desc
<if
test=
"request.inspectStandardId != null and request.inspectStandardId != ''"
>
and inspect_standard_id = #{request.inspectStandardId}
</if>
</select>
</select>
</mapper>
</mapper>
quality-review/src/main/resources/mapper/TaskMapper.xml
View file @
a9f1ab98
...
@@ -102,13 +102,13 @@
...
@@ -102,13 +102,13 @@
and t.standard_id = #{standardId}
and t.standard_id = #{standardId}
</if>
</if>
<if
test=
"taskNo != null and taskNo != ''"
>
<if
test=
"taskNo != null and taskNo != ''"
>
and t.task_no
= #{taskNo}
and t.task_no
like concat('%',#{taskNo},'%')
</if>
</if>
<if
test=
"taskName != null and taskName != ''"
>
<if
test=
"taskName != null and taskName != ''"
>
and t.task_name like concat('%',#{taskName},'%')
and t.task_name like concat('%',#{taskName},'%')
</if>
</if>
<if
test=
"productModel != null and productModel != ''"
>
<if
test=
"productModel != null and productModel != ''"
>
and t.product_model
= #{productModel}
and t.product_model
like concat('%',#{productModel},'%')
</if>
</if>
<if
test=
"inspectionItem != null and inspectionItem != ''"
>
<if
test=
"inspectionItem != null and inspectionItem != ''"
>
AND(
AND(
...
@@ -133,13 +133,13 @@
...
@@ -133,13 +133,13 @@
and t.standard_id = #{standardId}
and t.standard_id = #{standardId}
</if>
</if>
<if
test=
"taskNo != null and taskNo != ''"
>
<if
test=
"taskNo != null and taskNo != ''"
>
and t.task_no
= #{taskNo}
and t.task_no
like concat('%',#{taskNo},'%')
</if>
</if>
<if
test=
"taskName != null and taskName != ''"
>
<if
test=
"taskName != null and taskName != ''"
>
and t.task_name like concat('%',#{taskName},'%')
and t.task_name like concat('%',#{taskName},'%')
</if>
</if>
<if
test=
"productModel != null and productModel != ''"
>
<if
test=
"productModel != null and productModel != ''"
>
and t.product_model
= #{productModel}
and t.product_model
like concat('%',#{productModel},'%')
</if>
</if>
<if
test=
"inspectionItem != null and inspectionItem != ''"
>
<if
test=
"inspectionItem != null and inspectionItem != ''"
>
AND (
AND (
...
@@ -183,13 +183,13 @@
...
@@ -183,13 +183,13 @@
and t.standard_id = #{request.standardId}
and t.standard_id = #{request.standardId}
</if>
</if>
<if
test=
"request.taskNo != null and request.taskNo != ''"
>
<if
test=
"request.taskNo != null and request.taskNo != ''"
>
and t.task_no
= #{request.taskNo}
and t.task_no
like concat('%',#{request.taskNo},'%')
</if>
</if>
<if
test=
"request.taskName != null and request.taskName != ''"
>
<if
test=
"request.taskName != null and request.taskName != ''"
>
and t.task_name like concat('%',#{request.taskName},'%')
and t.task_name like concat('%',#{request.taskName},'%')
</if>
</if>
<if
test=
"request.productModel != null and request.productModel != ''"
>
<if
test=
"request.productModel != null and request.productModel != ''"
>
and t.product_model
= #{request.productModel}
and t.product_model
like concat('%',#{request.productModel},'%')
</if>
</if>
<if
test=
"request.inspectionItem != null and request.inspectionItem != ''"
>
<if
test=
"request.inspectionItem != null and request.inspectionItem != ''"
>
AND (
AND (
...
@@ -220,13 +220,13 @@
...
@@ -220,13 +220,13 @@
and t.standard_id = #{standardId}
and t.standard_id = #{standardId}
</if>
</if>
<if
test=
"request.taskNo != null and request.taskNo != ''"
>
<if
test=
"request.taskNo != null and request.taskNo != ''"
>
and t.task_no
= #{taskNo}
and t.task_no
like concat('%',#{request.taskNo},'%')
</if>
</if>
<if
test=
"request.taskName != null and request.taskName != ''"
>
<if
test=
"request.taskName != null and request.taskName != ''"
>
and t.task_name like concat('%',#{taskName},'%')
and t.task_name like concat('%',#{
request.
taskName},'%')
</if>
</if>
<if
test=
"request.productModel != null and request.productModel != ''"
>
<if
test=
"request.productModel != null and request.productModel != ''"
>
and t.product_model
= #{productModel}
and t.product_model
like concat('%',#{request.productModel},'%')
</if>
</if>
<if
test=
"request.inspectionItem != null and request.inspectionItem != ''"
>
<if
test=
"request.inspectionItem != null and request.inspectionItem != ''"
>
AND (
AND (
...
...
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