修改保存metric
This commit is contained in:
parent
b623a34631
commit
23ef8714a7
|
@ -14,8 +14,6 @@ public interface ExtLoadTestReportMapper {
|
|||
|
||||
ReportDTO getReportTestAndProInfo(@Param("id") String id);
|
||||
|
||||
int appendLine(@Param("testId") String id, @Param("line") String line);
|
||||
|
||||
LoadTestReport selectByPrimaryKey(String id);
|
||||
|
||||
List<DashboardTestDTO> selectDashboardTests(@Param("workspaceId") String workspaceId, @Param("startTimestamp") long startTimestamp);
|
||||
|
|
|
@ -41,12 +41,6 @@
|
|||
where ltr.id = #{id}
|
||||
</select>
|
||||
|
||||
<update id="appendLine">
|
||||
UPDATE load_test_report
|
||||
SET content = concat(content, #{line})
|
||||
WHERE id = #{testId}
|
||||
</update>
|
||||
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="Base_Column_List"/>
|
||||
|
|
|
@ -227,8 +227,6 @@ public class PerformanceTestService {
|
|||
reportDetail.setPart(1L);
|
||||
loadTestReportDetailMapper.insertSelective(reportDetail);
|
||||
// append \n
|
||||
extLoadTestReportMapper.appendLine(testReport.getId(), "\n");
|
||||
// append \n
|
||||
extLoadTestReportDetailMapper.appendLine(testReport.getId(), "\n");
|
||||
// 保存 load_test_report_log
|
||||
String resourcePoolId = loadTest.getTestResourcePoolId();
|
||||
|
|
Loading…
Reference in New Issue