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