From 78bee48c5555ca4c32f518fc252e11ab29598c07 Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Tue, 20 Jun 2023 17:15:08 +0800 Subject: [PATCH] =?UTF-8?q?6.20=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/huoran/iasf/entity/SysContent.java | 12 +++++++++++- .../huoran/iasf/mapper/xml/SysContentMapper.xml | 4 ++-- .../huoran/iasf/vo/resp/PageContentRespVO.java | 16 +++++++++++++++- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/huoran/iasf/entity/SysContent.java b/src/main/java/com/huoran/iasf/entity/SysContent.java index d977871..dda9b07 100644 --- a/src/main/java/com/huoran/iasf/entity/SysContent.java +++ b/src/main/java/com/huoran/iasf/entity/SysContent.java @@ -209,6 +209,16 @@ public class SysContent implements Serializable { private String writersAndEditors; @ApiModelProperty(value = "出版日期") - private String publicationTime; + private String publicationTime; + + @ApiModelProperty(value = "岗位") + private String post; + + @ApiModelProperty(value = "专业") + private String major; + @ApiModelProperty(value = "爱好") + private String hobby; + @ApiModelProperty(value = "荣誉") + private String honor; } \ No newline at end of file diff --git a/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml b/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml index 6b4cb82..2c4fbce 100644 --- a/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml +++ b/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml @@ -149,12 +149,12 @@ - AND ( patent_name LIKE CONCAT( '%',#{req.patentQueryKeyWord},'%' ) OR inventor LIKE CONCAT( '%',#{req.patentQueryKeyWord},'%' )OR application_number LIKE CONCAT( '%',#{req.patentQueryKeyWord},'%' )) + AND ( title LIKE CONCAT( '%',#{req.patentQueryKeyWord},'%' ) OR inventor LIKE CONCAT( '%',#{req.patentQueryKeyWord},'%' )OR application_number LIKE CONCAT( '%',#{req.patentQueryKeyWord},'%' )) - AND ( famous_works LIKE CONCAT( '%',#{req.monographQueryKeyWord},'%' ) OR writers_and_editors LIKE CONCAT( '%',#{req.monographQueryKeyWord},'%' )OR publishing_house LIKE CONCAT( '%',#{req.monographQueryKeyWord},'%' )) + AND ( title LIKE CONCAT( '%',#{req.monographQueryKeyWord},'%' ) OR writers_and_editors LIKE CONCAT( '%',#{req.monographQueryKeyWord},'%' )OR publishing_house LIKE CONCAT( '%',#{req.monographQueryKeyWord},'%' )) diff --git a/src/main/java/com/huoran/iasf/vo/resp/PageContentRespVO.java b/src/main/java/com/huoran/iasf/vo/resp/PageContentRespVO.java index 2f2e955..17a3c08 100644 --- a/src/main/java/com/huoran/iasf/vo/resp/PageContentRespVO.java +++ b/src/main/java/com/huoran/iasf/vo/resp/PageContentRespVO.java @@ -230,7 +230,21 @@ public class PageContentRespVO { @ApiModelProperty(value = "出版日期") - private String publicationTime; + private String publicationTime; + + + @ApiModelProperty(value = "岗位") + private String post; + + @ApiModelProperty(value = "专业") + private String major; + + @ApiModelProperty(value = "爱好") + private String hobby; + + + @ApiModelProperty(value = "荣誉") + private String honor; } \ No newline at end of file