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
260ca1ca
Commit
260ca1ca
authored
Sep 03, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改
parent
5c597791
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
+9
-5
TestPlanRecordController.java
...src/main/java/com/ruoyi/web/TestPlanRecordController.java
+1
-1
TestPlanRecordGetInfoRequest.java
...a/com/ruoyi/web/request/TestPlanRecordGetInfoRequest.java
+6
-0
TTestPlanRecordMapper.xml
...eview/src/main/resources/mapper/TTestPlanRecordMapper.xml
+0
-2
application-prod.yml
ruoyi-admin/src/main/resources/application-prod.yml
+1
-1
application.yml
ruoyi-admin/src/main/resources/application.yml
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/web/TestPlanRecordController.java
View file @
260ca1ca
...
@@ -91,7 +91,7 @@ public class TestPlanRecordController extends BaseController{
...
@@ -91,7 +91,7 @@ public class TestPlanRecordController extends BaseController{
@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
=
"/update"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/update"
)
public
R
<
Integer
>
updateTestPlanRecord
(
TestPlanRecordGetInfoRequest
testPlanRecordGetInfoRequest
){
public
R
<
Integer
>
updateTestPlanRecord
(
@Validated
@RequestBody
TestPlanRecordGetInfoRequest
testPlanRecordGetInfoRequest
){
return
R
.
ok
(
tTestPlanRecordService
.
updateTestPlanRecord
(
testPlanRecordGetInfoRequest
));
return
R
.
ok
(
tTestPlanRecordService
.
updateTestPlanRecord
(
testPlanRecordGetInfoRequest
));
}
}
...
...
quality-review/src/main/java/com/ruoyi/web/request/TestPlanRecordGetInfoRequest.java
View file @
260ca1ca
package
com
.
ruoyi
.
web
.
request
;
package
com
.
ruoyi
.
web
.
request
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
/**
* @author gaoying
*/
@Data
@Data
@ApiModel
@ApiModel
public
class
TestPlanRecordGetInfoRequest
{
public
class
TestPlanRecordGetInfoRequest
{
@ApiModelProperty
(
"ID"
)
@ApiModelProperty
(
"ID"
)
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
private
Long
id
;
private
Long
id
;
/**
/**
...
...
quality-review/src/main/resources/mapper/TTestPlanRecordMapper.xml
View file @
260ca1ca
...
@@ -74,8 +74,6 @@
...
@@ -74,8 +74,6 @@
update t_test_plan_record
update t_test_plan_record
<trim
prefix=
"SET"
suffixOverrides=
","
>
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"fileUrl != null"
>
file_url = #{fileUrl},
</if>
<if
test=
"fileUrl != null"
>
file_url = #{fileUrl},
</if>
</trim>
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"testResult != null"
>
test_result = #{testResult},
</if>
<if
test=
"testResult != null"
>
test_result = #{testResult},
</if>
</trim>
</trim>
where id = #{id}
where id = #{id}
...
...
ruoyi-admin/src/main/resources/application-prod.yml
View file @
260ca1ca
...
@@ -18,7 +18,7 @@ ruoyi:
...
@@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
# 开发环境配置
server
:
server
:
# 服务器的HTTP端口,默认为8080
# 服务器的HTTP端口,默认为8080
port
:
2203
2
port
:
2203
3
servlet
:
servlet
:
# 应用的访问路径
# 应用的访问路径
context-path
:
/
context-path
:
/
...
...
ruoyi-admin/src/main/resources/application.yml
View file @
260ca1ca
...
@@ -18,7 +18,7 @@ ruoyi:
...
@@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
# 开发环境配置
server
:
server
:
# 服务器的HTTP端口,默认为8080
# 服务器的HTTP端口,默认为8080
port
:
220
08
port
:
220
33
servlet
:
servlet
:
# 应用的访问路径
# 应用的访问路径
context-path
:
/
context-path
:
/
...
...
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