From db2e9c8dd469debb05eac95da91bf74baa2685ec Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Thu, 21 Dec 2023 18:04:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AE=80=E4=BB=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/huoran/users/entity/EnterpriseCertification.java | 3 +++ .../users/mapper/xml/EnterpriseCertificationMapper.xml | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java b/users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java index 8d7c98b..0749ac4 100644 --- a/users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java +++ b/users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java @@ -110,6 +110,9 @@ public class EnterpriseCertification implements Serializable { private String logoUrl; + @ApiModelProperty(value = "简介") + @TableField(exist = false) + private String briefIntroduction; @ApiModelProperty(value = "认证状态(0默认未认证 1.认证中2.已认证)") diff --git a/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml b/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml index 3d597a3..69002f4 100644 --- a/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml +++ b/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml @@ -16,7 +16,8 @@ IFNULL( cla.province, '未完善' ) AS province, IFNULL( cla.city, '未完善' ) AS city, cla.id AS teamId, - logo_url + logo_url, + brief_introduction FROM hr_enterprise_certification c INNER JOIN hr_user_account a ON a.id = c.account_id @@ -80,7 +81,8 @@ IFNULL( cla.province, '未完善' ) AS province, IFNULL( cla.city, '未完善' ) AS city, cla.id AS teamId, - logo_url + logo_url, + brief_introduction FROM hr_enterprise_certification c INNER JOIN hr_user_account a ON a.id = c.account_id