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
795b567d
Commit
795b567d
authored
Jan 10, 2024
by
王飞
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wangdingyi' into 'dev'
注解 See merge request
!40
parents
5a755960
29e0a6c3
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
12 deletions
+26
-12
Standard.java
quality-review/src/main/java/com/ruoyi/domain/Standard.java
+12
-0
CarReviewTaskController.java
.../src/main/java/com/ruoyi/web/CarReviewTaskController.java
+1
-1
ReviewDetailsResultController.java
...ain/java/com/ruoyi/web/ReviewDetailsResultController.java
+3
-3
ReviewSceneChangeTaskController.java
...n/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
+1
-1
ReviewTaskUserRelationController.java
.../java/com/ruoyi/web/ReviewTaskUserRelationController.java
+1
-1
StandardController.java
...eview/src/main/java/com/ruoyi/web/StandardController.java
+2
-2
SystemReviewTaskController.java
...c/main/java/com/ruoyi/web/SystemReviewTaskController.java
+2
-2
StandardMapper.xml
quality-review/src/main/resources/mapper/StandardMapper.xml
+4
-2
No files found.
quality-review/src/main/java/com/ruoyi/domain/Standard.java
View file @
795b567d
...
@@ -44,4 +44,16 @@ public class Standard {
...
@@ -44,4 +44,16 @@ public class Standard {
*/
*/
@ApiModelProperty
(
"文件路径"
)
@ApiModelProperty
(
"文件路径"
)
private
String
file
;
private
String
file
;
/**
* 符合
*/
@ApiModelProperty
(
"符合"
)
private
String
conformity
;
/**
* 不符合
*/
@ApiModelProperty
(
"不符合"
)
private
String
inconformity
;
}
}
quality-review/src/main/java/com/ruoyi/web/CarReviewTaskController.java
View file @
795b567d
...
@@ -22,7 +22,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -22,7 +22,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
@Api
(
"车辆审查任务"
)
@Api
(
tags
=
{
"车辆审查任务"
}
)
@RestController
@RestController
@RequestMapping
(
"/car/review/task"
)
@RequestMapping
(
"/car/review/task"
)
public
class
CarReviewTaskController
extends
BaseController
{
public
class
CarReviewTaskController
extends
BaseController
{
...
...
quality-review/src/main/java/com/ruoyi/web/ReviewDetailsResultController.java
View file @
795b567d
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
@Api
(
"审查细则的审查结果"
)
@Api
(
tags
=
"审查细则的审查结果"
)
@RestController
@RestController
@RequestMapping
(
"/review/details/result"
)
@RequestMapping
(
"/review/details/result"
)
public
class
ReviewDetailsResultController
extends
BaseController
{
public
class
ReviewDetailsResultController
extends
BaseController
{
...
@@ -26,10 +26,10 @@ public class ReviewDetailsResultController extends BaseController {
...
@@ -26,10 +26,10 @@ public class ReviewDetailsResultController extends BaseController {
@Autowired
@Autowired
private
ReviewDetailsResultService
reviewDetailsResultService
;
private
ReviewDetailsResultService
reviewDetailsResultService
;
@ApiOperation
(
"保存
审查结果
"
)
@ApiOperation
(
"保存
问卷审查结果(每题)
"
)
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Log
(
title
=
"保存审查结果"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"保存
问卷
审查结果"
,
businessType
=
BusinessType
.
INSERT
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/save"
)
public
R
<
String
>
save
(
@Validated
@RequestBody
ReviewDetailsResultSaveRequest
request
)
{
public
R
<
String
>
save
(
@Validated
@RequestBody
ReviewDetailsResultSaveRequest
request
)
{
reviewDetailsResultService
.
save
(
request
);
reviewDetailsResultService
.
save
(
request
);
...
...
quality-review/src/main/java/com/ruoyi/web/ReviewSceneChangeTaskController.java
View file @
795b567d
...
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
@Api
(
"场景变更任务"
)
@Api
(
tags
=
"场景变更任务"
)
@RestController
@RestController
@RequestMapping
(
"/review/scene/change/task"
)
@RequestMapping
(
"/review/scene/change/task"
)
public
class
ReviewSceneChangeTaskController
extends
BaseController
{
public
class
ReviewSceneChangeTaskController
extends
BaseController
{
...
...
quality-review/src/main/java/com/ruoyi/web/ReviewTaskUserRelationController.java
View file @
795b567d
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.List
;
import
java.util.List
;
@Api
(
"体系审查任务组成员"
)
@Api
(
tags
=
"体系审查任务组成员"
)
@RestController
@RestController
@RequestMapping
(
"/review/Task/User"
)
@RequestMapping
(
"/review/Task/User"
)
public
class
ReviewTaskUserRelationController
extends
BaseController
{
public
class
ReviewTaskUserRelationController
extends
BaseController
{
...
...
quality-review/src/main/java/com/ruoyi/web/StandardController.java
View file @
795b567d
...
@@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
@Api
(
"标准
"
)
@Api
(
tags
=
"标准库
"
)
@RestController
@RestController
@RequestMapping
(
"/standard"
)
@RequestMapping
(
"/standard"
)
public
class
StandardController
extends
BaseController
{
public
class
StandardController
extends
BaseController
{
...
@@ -31,7 +31,7 @@ public class StandardController extends BaseController {
...
@@ -31,7 +31,7 @@ public class StandardController extends BaseController {
* 分页查询
* 分页查询
* @return
* @return
*/
*/
@ApiOperation
(
"分页查询"
)
@ApiOperation
(
"
标准表
分页查询"
)
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/findStandardList"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/findStandardList"
)
...
...
quality-review/src/main/java/com/ruoyi/web/SystemReviewTaskController.java
View file @
795b567d
...
@@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RestController;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
@Api
(
"体系审查任务"
)
@Api
(
tags
=
"体系审查任务"
)
@RestController
@RestController
@RequestMapping
(
"/system/review/task"
)
@RequestMapping
(
"/system/review/task"
)
public
class
SystemReviewTaskController
extends
BaseController
{
public
class
SystemReviewTaskController
extends
BaseController
{
...
@@ -61,7 +61,7 @@ public class SystemReviewTaskController extends BaseController {
...
@@ -61,7 +61,7 @@ public class SystemReviewTaskController extends BaseController {
return
R
.
ok
();
return
R
.
ok
();
}
}
@ApiOperation
(
"提交
审查问卷
"
)
@ApiOperation
(
"提交
体系审查任务
"
)
@Trace
@Trace
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@Tags
({
@Tag
(
key
=
"param"
,
value
=
"arg[0]"
),
@Tag
(
key
=
"result"
,
value
=
"returnedObj"
)})
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/submit"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/submit"
)
...
...
quality-review/src/main/resources/mapper/StandardMapper.xml
View file @
795b567d
...
@@ -9,10 +9,12 @@
...
@@ -9,10 +9,12 @@
<result
property=
"name"
column=
"name"
jdbcType=
"VARCHAR"
/>
<result
property=
"name"
column=
"name"
jdbcType=
"VARCHAR"
/>
<result
property=
"standardNo"
column=
"standard_no"
jdbcType=
"VARCHAR"
/>
<result
property=
"standardNo"
column=
"standard_no"
jdbcType=
"VARCHAR"
/>
<result
property=
"file"
column=
"file"
jdbcType=
"VARCHAR"
/>
<result
property=
"file"
column=
"file"
jdbcType=
"VARCHAR"
/>
<result
property=
"conformity"
column=
"conformity"
jdbcType=
"VARCHAR"
/>
<result
property=
"inconformity"
column=
"inconformity"
jdbcType=
"VARCHAR"
/>
</resultMap>
</resultMap>
<select
id=
"findList"
parameterType=
"com.ruoyi.domain.Standard"
resultMap=
"BaseResultMap"
>
<select
id=
"findList"
parameterType=
"com.ruoyi.domain.Standard"
resultMap=
"BaseResultMap"
>
SELECT id, name, standard_no, file
SELECT id, name, standard_no, file
, conformity, inconformity
FROM t_standard
FROM t_standard
<where>
<where>
<if
test=
"params.name != null and params.name != ''"
>
<if
test=
"params.name != null and params.name != ''"
>
...
@@ -25,7 +27,7 @@
...
@@ -25,7 +27,7 @@
</select>
</select>
<select
id=
"findListById"
resultMap=
"BaseResultMap"
>
<select
id=
"findListById"
resultMap=
"BaseResultMap"
>
SELECT id, name, standard_no, file
SELECT id, name, standard_no, file
, conformity, inconformity
FROM t_standard WHERE id = #{id}
FROM t_standard WHERE id = #{id}
</select>
</select>
...
...
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