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

@ -211,4 +211,14 @@ public class SysContent implements Serializable {
@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>

@ -233,4 +233,18 @@ public class PageContentRespVO {
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