|
|
@@ -11,6 +11,8 @@ import java.util.Date;
|
|
|
import lombok.Data;
|
|
|
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
|
|
import org.dromara.common.excel.convert.ExcelDictConvert;
|
|
|
+import org.dromara.common.translation.annotation.Translation;
|
|
|
+import org.dromara.common.translation.constant.TransConstant;
|
|
|
import org.dromara.risk.domain.RiskHiddenDanger;
|
|
|
|
|
|
/**
|
|
|
@@ -161,12 +163,24 @@ public class RiskHiddenDangerVo implements Serializable {
|
|
|
@ExcelProperty(value = "创建部门")
|
|
|
private Long createDept;
|
|
|
|
|
|
+ /**
|
|
|
+ * 提报部门名称(由 createDept 通过框架翻译自动填充)
|
|
|
+ */
|
|
|
+ @Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "createDept")
|
|
|
+ private String createDeptName;
|
|
|
+
|
|
|
/**
|
|
|
* 创建者
|
|
|
*/
|
|
|
@ExcelProperty(value = "创建者")
|
|
|
private Long createBy;
|
|
|
|
|
|
+ /**
|
|
|
+ * 隐患提报人姓名(由 createBy 通过框架翻译自动填充)
|
|
|
+ */
|
|
|
+ @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "createBy")
|
|
|
+ private String createByName;
|
|
|
+
|
|
|
/**
|
|
|
* 创建时间
|
|
|
*/
|