master
rong.liu 1 year ago
parent 9159c0f50c
commit 78bee48c55
  1. 12
      src/main/java/com/huoran/iasf/entity/SysContent.java
  2. 4
      src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml
  3. 16
      src/main/java/com/huoran/iasf/vo/resp/PageContentRespVO.java

@ -209,6 +209,16 @@ public class SysContent implements Serializable {
private String writersAndEditors; private String writersAndEditors;
@ApiModelProperty(value = "出版日期") @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;
} }

@ -149,12 +149,12 @@
<if test="req.patentQueryKeyWord != null and req.patentQueryKeyWord != ''"> <if test="req.patentQueryKeyWord != null and req.patentQueryKeyWord != ''">
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},'%' ))
</if> </if>
<if test="req.monographQueryKeyWord != null and req.monographQueryKeyWord != ''"> <if test="req.monographQueryKeyWord != null and req.monographQueryKeyWord != ''">
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},'%' ))
</if> </if>

@ -230,7 +230,21 @@ public class PageContentRespVO {
@ApiModelProperty(value = "出版日期") @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;
} }
Loading…
Cancel
Save