Commit a8908e4a authored by wdy's avatar wdy

用例编号添加

parent 02bd817c
......@@ -31,6 +31,9 @@ public class CaseResultVO {
@ApiModelProperty("用例编号")
private String serial_number;
@ApiModelProperty("用例编号")
private String sequence;
@ApiModelProperty("用例开始时间")
private Integer start_time;
......
......@@ -87,7 +87,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
testRecords.setRiskLevel(caseResultVO.getRisk_level() + "_risk");
testRecords.setTestResult(caseResultVO.getStatus());
testRecords.setRemediation(caseResultVO.getRemediation());
testRecords.setUsecaseNo(caseResultVO.getSerial_number());
testRecords.setUsecaseNo(caseResultVO.getSequence());
//测试开始时间
if (caseResultVO.getStart_time() != null) {
Date date = new Date(caseResultVO.getStart_time());
......@@ -192,7 +192,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
testRecords.setRiskLevel(caseResultVO.getRisk_level() + "_risk");
testRecords.setTestResult(caseResultVO.getStatus());
testRecords.setRemediation(caseResultVO.getRemediation());
testRecords.setUsecaseNo(caseResultVO.getSerial_number());
testRecords.setUsecaseNo(caseResultVO.getSequence());
//测试开始时间
if (caseResultVO.getStart_time() != null) {
Date date = new Date(caseResultVO.getStart_time());
......
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