添加返回字段公司tags
This commit is contained in:
@@ -34,6 +34,9 @@ public class JobDto {
|
|||||||
/** 公司Logo */
|
/** 公司Logo */
|
||||||
private String companyLogoUrl;
|
private String companyLogoUrl;
|
||||||
|
|
||||||
|
/** 公司标签 */
|
||||||
|
private List<String> companyTags;
|
||||||
|
|
||||||
/** 地区名称 */
|
/** 地区名称 */
|
||||||
private String regionName;
|
private String regionName;
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,10 @@ public class JobListItemVo {
|
|||||||
/** 公司Logo */
|
/** 公司Logo */
|
||||||
private String companyLogoUrl;
|
private String companyLogoUrl;
|
||||||
|
|
||||||
|
/** 公司标签 */
|
||||||
|
@TableField(typeHandler = JacksonTypeHandler.class)
|
||||||
|
private List<String> companyTags;
|
||||||
|
|
||||||
/** 地区编码 */
|
/** 地区编码 */
|
||||||
private String regionCode;
|
private String regionCode;
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
<result column="company_short_name" property="companyShortName"/>
|
<result column="company_short_name" property="companyShortName"/>
|
||||||
<result column="company_type" property="companyType"/>
|
<result column="company_type" property="companyType"/>
|
||||||
<result column="company_logo_url" property="companyLogoUrl"/>
|
<result column="company_logo_url" property="companyLogoUrl"/>
|
||||||
|
<result column="company_tags" property="companyTags" typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
|
||||||
<result column="region_code" property="regionCode"/>
|
<result column="region_code" property="regionCode"/>
|
||||||
<result column="region_name" property="regionName"/>
|
<result column="region_name" property="regionName"/>
|
||||||
<result column="category_id" property="categoryId"/>
|
<result column="category_id" property="categoryId"/>
|
||||||
@@ -47,6 +48,7 @@
|
|||||||
c.short_name AS company_short_name,
|
c.short_name AS company_short_name,
|
||||||
c.company_type,
|
c.company_type,
|
||||||
c.logo_url AS company_logo_url,
|
c.logo_url AS company_logo_url,
|
||||||
|
c.tags AS company_tags,
|
||||||
c.region_code,
|
c.region_code,
|
||||||
r.name AS region_name,
|
r.name AS region_name,
|
||||||
cat.id AS category_id,
|
cat.id AS category_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user