From 9a8042b1d78007064a9493bbd8441d9f08fab10d Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 28 Jun 2023 15:41:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/requirementtype/RequirementTypeList.vue | 10 ++++++++++ .../demo/requirementtype/entity/RequirementType.java | 2 ++ 2 files changed, 12 insertions(+) diff --git a/ant-design-vue-jeecg/src/views/requirementtype/RequirementTypeList.vue b/ant-design-vue-jeecg/src/views/requirementtype/RequirementTypeList.vue index 62e6f94..23346e4 100644 --- a/ant-design-vue-jeecg/src/views/requirementtype/RequirementTypeList.vue +++ b/ant-design-vue-jeecg/src/views/requirementtype/RequirementTypeList.vue @@ -142,6 +142,16 @@ align:"center", dataIndex: 'typeName' }, + { + title:'创建人', + align:"center", + dataIndex: 'createBy_dictText' + }, + { + title:'修改人', + align:"center", + dataIndex: 'updateBy_dictText' + }, { title: '操作', dataIndex: 'action', diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/requirementtype/entity/RequirementType.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/requirementtype/entity/RequirementType.java index 12c250e..3a76744 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/requirementtype/entity/RequirementType.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/requirementtype/entity/RequirementType.java @@ -37,6 +37,7 @@ public class RequirementType implements Serializable { private java.lang.String id; /**创建人*/ @ApiModelProperty(value = "创建人") + @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") private java.lang.String createBy; /**创建日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @@ -45,6 +46,7 @@ public class RequirementType implements Serializable { private java.util.Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") + @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") private java.lang.String updateBy; /**更新日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")