1.技术监督试运行评估-试运行结束后生成试运行报告接线图片调整有则展示,没有则默认

This commit is contained in:
wr
2024-07-02 18:23:20 +08:00
parent 50cd5d3895
commit 8502421b91
3 changed files with 43 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
package com.njcn.supervision.pojo.vo.device;
import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
@@ -84,7 +85,19 @@ public class SupervisionTempLineRunTestVO extends BaseEntity{
/**
* 试运行成功报告地址
*/
@ApiModelProperty(value = "试运行成功报告地址")
private String testRunReport;
public void setTestRunReport(String testRunReport) {
if (StrUtil.isNotBlank(testRunReport)) {
this.testRunReport = "/" + testRunReport;
} else {
this.testRunReport = testRunReport;
}
}
}