|
@@ -4,6 +4,7 @@ import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import com.eco.common.mapper.annotation.FieldMapper;
|
|
|
import com.eco.common.mapper.constant.MapperConstant;
|
|
|
+import com.mybatisflex.annotation.RelationOneToOne;
|
|
|
import io.github.linpeilie.annotations.AutoMapper;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
@@ -34,6 +35,15 @@ public class AirInstallVo extends BaseEntity implements Serializable {
|
|
|
@ExcelProperty(value = "唯一ID")
|
|
|
private Long id;
|
|
|
|
|
|
+ @RelationOneToOne(
|
|
|
+ selfField = "configId",
|
|
|
+ targetTable = "als_air_configuration_t",
|
|
|
+ targetField = "id",
|
|
|
+ valueField = "name"
|
|
|
+ )
|
|
|
+ @ExcelProperty(value = "产品名称")
|
|
|
+ private String configName;
|
|
|
+
|
|
|
/**
|
|
|
* 构型Id
|
|
|
*/
|