Commit 260ca1ca authored by 高滢's avatar 高滢

更改

parent 5c597791
......@@ -91,7 +91,7 @@ public class TestPlanRecordController extends BaseController{
@Trace
@Tags({@Tag(key = "param", value = "arg[0]"), @Tag(key = "result", value = "returnedObj")})
@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));
}
......
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.ApiModelProperty;
import lombok.Data;
/**
* @author gaoying
*/
@Data
@ApiModel
public class TestPlanRecordGetInfoRequest {
@ApiModelProperty("ID")
@TableId(type = IdType.ASSIGN_ID)
private Long id;
/**
......
......@@ -74,8 +74,6 @@
update t_test_plan_record
<trim prefix="SET" suffixOverrides=",">
<if test="fileUrl != null">file_url = #{fileUrl},</if>
</trim>
<trim prefix="SET" suffixOverrides=",">
<if test="testResult != null">test_result = #{testResult},</if>
</trim>
where id = #{id}
......
......@@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 22032
port: 22033
servlet:
# 应用的访问路径
context-path: /
......
......@@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 22008
port: 22033
servlet:
# 应用的访问路径
context-path: /
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment