Browse Source

参考文献完成

master
ccsens_zhengzhichuan 1 month ago
parent
commit
c661adcad7
  1. 71
      research-admin/src/main/java/com/research/web/controller/client/shs/ShsCkwxController.java
  2. 32
      research-generator/src/main/resources/mbg.xml
  3. 75
      research-system/src/main/java/com/research/system/domain/dto/ShsCkwxDto.java
  4. 117
      research-system/src/main/java/com/research/system/domain/po/ShsCkwxInfo.java
  5. 554
      research-system/src/main/java/com/research/system/domain/po/ShsCkwxInfoExample.java
  6. 68
      research-system/src/main/java/com/research/system/domain/vo/ShsCkwxVo.java
  7. 21
      research-system/src/main/java/com/research/system/persist/dao/ShsCkwxDao.java
  8. 29
      research-system/src/main/java/com/research/system/service/ShsCkwxService.java
  9. 120
      research-system/src/main/java/com/research/system/service/impl/ShsCkwxServiceImpl.java
  10. 64
      research-system/src/main/resources/mapper/dao/ShsCkwxDao.xml
  11. 236
      research-system/src/main/resources/mapper/system/ShsCkwxInfoMapper.xml

71
research-admin/src/main/java/com/research/web/controller/client/shs/ShsCkwxController.java

@ -0,0 +1,71 @@
package com.research.web.controller.client.shs;
import com.github.pagehelper.PageInfo;
import com.research.common.core.domain.BaseDto;
import com.research.common.core.domain.JsonResponse;
import com.research.system.domain.dto.CommonDto;
import com.research.system.domain.dto.ShsCkwxDto;
import com.research.system.domain.vo.ShsCkwxVo;
import com.research.system.service.ShsCkwxService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* @Author zzc
* @Package com.research.web.controller.client.shs
* @Date 2025/8/16 14:40
* @description:
*/
@RestController
@RequestMapping("/literature")
@Api(tags = "参考文献相关")
@Slf4j
public class ShsCkwxController {
@Resource
private ShsCkwxService service;
@ApiOperation(value = "查询平台")
@RequestMapping(value = "/query", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
public JsonResponse<PageInfo<ShsCkwxVo.Result>> queryList(BaseDto<ShsCkwxDto.Query> query){
return JsonResponse.ok(new PageInfo<>(service.queryList(query.getParam(), query.getPageNum(), query.getPageSize())));
}
@ApiOperation(value = "查询平台")
@RequestMapping(value = "/add", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
public JsonResponse<Integer> add(ShsCkwxDto.Add dto){
return JsonResponse.ok(service.add(dto));
}
@ApiOperation(value = "查询平台")
@RequestMapping(value = "/del", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
public JsonResponse<Integer> del(CommonDto.DelDto dto){
return JsonResponse.ok(service.del(dto));
}
@ApiOperation(value = "查询平台")
@RequestMapping(value = "/classify/query", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
public JsonResponse<PageInfo<ShsCkwxVo.CategoryResult>> queryCategoryList(BaseDto<ShsCkwxDto.CategoryQuery> query){
return JsonResponse.ok(new PageInfo<>(service.queryCategoryList(query.getParam(), query.getPageNum(), query.getPageSize())));
}
@ApiOperation(value = "查询平台")
@RequestMapping(value = "/classify/add", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
public JsonResponse<Integer> addCategory(ShsCkwxDto.CategoryAdd dto){
return JsonResponse.ok(service.addCategory(dto));
}
@ApiOperation(value = "查询平台")
@RequestMapping(value = "/classify/del", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
public JsonResponse<Integer> delCategory(CommonDto.DelDto dto){
return JsonResponse.ok(service.delCategory(dto));
}
}

32
research-generator/src/main/resources/mbg.xml

@ -63,23 +63,23 @@
<!-- <table tableName="tms_tenant_config" domainObjectName="TmsTenantConfig" enableDeleteByExample="false"/>--> <!-- <table tableName="tms_tenant_config" domainObjectName="TmsTenantConfig" enableDeleteByExample="false"/>-->
<!-- <table tableName="tms_tenant_srv_relation" domainObjectName="TmsTenantSrvRelation" enableDeleteByExample="false"/>--> <!-- <table tableName="tms_tenant_srv_relation" domainObjectName="TmsTenantSrvRelation" enableDeleteByExample="false"/>-->
<table tableName="ach_achievement" domainObjectName="AchAchievement" enableDeleteByExample="false"/> <!-- <table tableName="ach_achievement" domainObjectName="AchAchievement" enableDeleteByExample="false"/>-->
<table tableName="ach_achievement_category" domainObjectName="AchAchievementCategory" enableDeleteByExample="false"/> <!-- <table tableName="ach_achievement_category" domainObjectName="AchAchievementCategory" enableDeleteByExample="false"/>-->
<table tableName="fud_fund_record" domainObjectName="FudFundRecord" enableDeleteByExample="false"/> <!-- <table tableName="fud_fund_record" domainObjectName="FudFundRecord" enableDeleteByExample="false"/>-->
<table tableName="kts_kt_group" domainObjectName="KtsKtGroup" enableDeleteByExample="false"/> <!-- <table tableName="kts_kt_group" domainObjectName="KtsKtGroup" enableDeleteByExample="false"/>-->
<table tableName="kts_kt_group_member" domainObjectName="KtsKtGroupMember" enableDeleteByExample="false"/> <!-- <table tableName="kts_kt_group_member" domainObjectName="KtsKtGroupMember" enableDeleteByExample="false"/>-->
<table tableName="met_meeting_participant" domainObjectName="MetMeetingParticipant" enableDeleteByExample="false"/> <!-- <table tableName="met_meeting_participant" domainObjectName="MetMeetingParticipant" enableDeleteByExample="false"/>-->
<table tableName="met_meeting_record" domainObjectName="MetMeetingRecord" enableDeleteByExample="false"/> <!-- <table tableName="met_meeting_record" domainObjectName="MetMeetingRecord" enableDeleteByExample="false"/>-->
<table tableName="prj_proj_document" domainObjectName="PrjProjDocument" enableDeleteByExample="false"/> <!-- <table tableName="prj_proj_document" domainObjectName="PrjProjDocument" enableDeleteByExample="false"/>-->
<table tableName="prj_proj_info" domainObjectName="PrjProjInfo" enableDeleteByExample="false"/> <!-- <table tableName="prj_proj_info" domainObjectName="PrjProjInfo" enableDeleteByExample="false"/>-->
<table tableName="prj_proj_org" domainObjectName="PrjProjOrg" enableDeleteByExample="false"/> <!-- <table tableName="prj_proj_org" domainObjectName="PrjProjOrg" enableDeleteByExample="false"/>-->
<table tableName="shs_ckwx_category" domainObjectName="ShsCkwxCategory" enableDeleteByExample="false"/> <!-- <table tableName="shs_ckwx_category" domainObjectName="ShsCkwxCategory" enableDeleteByExample="false"/>-->
<table tableName="shs_ckwx_info" domainObjectName="ShsCkwxInfo" enableDeleteByExample="false"/> <table tableName="shs_ckwx_info" domainObjectName="ShsCkwxInfo" enableDeleteByExample="false"/>
<table tableName="shs_lib_info" domainObjectName="ShsLibInfo" enableDeleteByExample="false"/> <!-- <table tableName="shs_lib_info" domainObjectName="ShsLibInfo" enableDeleteByExample="false"/>-->
<table tableName="shs_syff_category" domainObjectName="ShsSyffCategory" enableDeleteByExample="false"/> <!-- <table tableName="shs_syff_category" domainObjectName="ShsSyffCategory" enableDeleteByExample="false"/>-->
<table tableName="srv_modules" domainObjectName="SrvModules" enableDeleteByExample="false"/> <!-- <table tableName="srv_modules" domainObjectName="SrvModules" enableDeleteByExample="false"/>-->
<table tableName="res_platform" domainObjectName="ResPlatform" enableDeleteByExample="false"/> <!-- <table tableName="res_platform" domainObjectName="ResPlatform" enableDeleteByExample="false"/>-->
<table tableName="shs_res_device" domainObjectName="ShsResDevice" enableDeleteByExample="false"/> <!-- <table tableName="shs_res_device" domainObjectName="ShsResDevice" enableDeleteByExample="false"/>-->
<!-- 有些表的字段需要指定java类型 <!-- 有些表的字段需要指定java类型
<table schema="" tableName=""> <table schema="" tableName="">
<columnOverride column="" javaType="" /> <columnOverride column="" javaType="" />

75
research-system/src/main/java/com/research/system/domain/dto/ShsCkwxDto.java

@ -0,0 +1,75 @@
package com.research.system.domain.dto;
import com.research.system.domain.po.ShsCkwxCategory;
import com.research.system.domain.po.ShsCkwxInfo;
import lombok.Data;
/**
* @Author zzc
* @Package com.research.system.domain.dto
* @Date 2025/8/16 14:47
* @description:
*/
public class ShsCkwxDto {
@Data
public static class Query {
private String title;
private Byte categoryId;
private String keyword;
}
@Data
public static class Add {
private Long id;
private Long projId;
private Byte categoryId;
private String title;
private String authors;
private String keywords;
private String source;
private String abstracts;
private String paperLink;
private String pdfDownloadUrl;
private Long uploaderName;
private Long uploaderOrg;
}
@Data
public static class CategoryQuery {
private String categoryCode;
private String categoryName;
}
@Data
public static class CategoryAdd {
private Long id;
private Long projId;
private Long parentId;
private String categoryCode;
private String categoryName;
private Integer sort;
private String remark;
}
}

117
research-system/src/main/java/com/research/system/domain/po/ShsCkwxInfo.java

@ -8,23 +8,25 @@ public class ShsCkwxInfo implements Serializable {
private Long projId; private Long projId;
private Long projOrgId; private Byte categoryId;
private Long ktGroupId; private String title;
private Long tplId; private String authors;
private Byte category; private String keywords;
private Long businessId; private String source;
private String title; private String abstracts;
private String signUsername; private String paperLink;
private String signTime; private String pdfDownloadUrl;
private String tplDownloadUrl; private Long uploaderName;
private Long uploaderOrg;
private Byte delFlag; private Byte delFlag;
@ -54,76 +56,84 @@ public class ShsCkwxInfo implements Serializable {
this.projId = projId; this.projId = projId;
} }
public Long getProjOrgId() { public Byte getCategoryId() {
return projOrgId; return categoryId;
} }
public void setProjOrgId(Long projOrgId) { public void setCategoryId(Byte categoryId) {
this.projOrgId = projOrgId; this.categoryId = categoryId;
} }
public Long getKtGroupId() { public String getTitle() {
return ktGroupId; return title;
} }
public void setKtGroupId(Long ktGroupId) { public void setTitle(String title) {
this.ktGroupId = ktGroupId; this.title = title == null ? null : title.trim();
} }
public Long getTplId() { public String getAuthors() {
return tplId; return authors;
} }
public void setTplId(Long tplId) { public void setAuthors(String authors) {
this.tplId = tplId; this.authors = authors == null ? null : authors.trim();
} }
public Byte getCategory() { public String getKeywords() {
return category; return keywords;
} }
public void setCategory(Byte category) { public void setKeywords(String keywords) {
this.category = category; this.keywords = keywords == null ? null : keywords.trim();
} }
public Long getBusinessId() { public String getSource() {
return businessId; return source;
} }
public void setBusinessId(Long businessId) { public void setSource(String source) {
this.businessId = businessId; this.source = source == null ? null : source.trim();
} }
public String getTitle() { public String getAbstracts() {
return title; return abstracts;
} }
public void setTitle(String title) { public void setAbstracts(String abstracts) {
this.title = title == null ? null : title.trim(); this.abstracts = abstracts == null ? null : abstracts.trim();
}
public String getPaperLink() {
return paperLink;
}
public void setPaperLink(String paperLink) {
this.paperLink = paperLink == null ? null : paperLink.trim();
} }
public String getSignUsername() { public String getPdfDownloadUrl() {
return signUsername; return pdfDownloadUrl;
} }
public void setSignUsername(String signUsername) { public void setPdfDownloadUrl(String pdfDownloadUrl) {
this.signUsername = signUsername == null ? null : signUsername.trim(); this.pdfDownloadUrl = pdfDownloadUrl == null ? null : pdfDownloadUrl.trim();
} }
public String getSignTime() { public Long getUploaderName() {
return signTime; return uploaderName;
} }
public void setSignTime(String signTime) { public void setUploaderName(Long uploaderName) {
this.signTime = signTime == null ? null : signTime.trim(); this.uploaderName = uploaderName;
} }
public String getTplDownloadUrl() { public Long getUploaderOrg() {
return tplDownloadUrl; return uploaderOrg;
} }
public void setTplDownloadUrl(String tplDownloadUrl) { public void setUploaderOrg(Long uploaderOrg) {
this.tplDownloadUrl = tplDownloadUrl == null ? null : tplDownloadUrl.trim(); this.uploaderOrg = uploaderOrg;
} }
public Byte getDelFlag() { public Byte getDelFlag() {
@ -174,15 +184,16 @@ public class ShsCkwxInfo implements Serializable {
sb.append("Hash = ").append(hashCode()); sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id); sb.append(", id=").append(id);
sb.append(", projId=").append(projId); sb.append(", projId=").append(projId);
sb.append(", projOrgId=").append(projOrgId); sb.append(", categoryId=").append(categoryId);
sb.append(", ktGroupId=").append(ktGroupId);
sb.append(", tplId=").append(tplId);
sb.append(", category=").append(category);
sb.append(", businessId=").append(businessId);
sb.append(", title=").append(title); sb.append(", title=").append(title);
sb.append(", signUsername=").append(signUsername); sb.append(", authors=").append(authors);
sb.append(", signTime=").append(signTime); sb.append(", keywords=").append(keywords);
sb.append(", tplDownloadUrl=").append(tplDownloadUrl); sb.append(", source=").append(source);
sb.append(", abstracts=").append(abstracts);
sb.append(", paperLink=").append(paperLink);
sb.append(", pdfDownloadUrl=").append(pdfDownloadUrl);
sb.append(", uploaderName=").append(uploaderName);
sb.append(", uploaderOrg=").append(uploaderOrg);
sb.append(", delFlag=").append(delFlag); sb.append(", delFlag=").append(delFlag);
sb.append(", createBy=").append(createBy); sb.append(", createBy=").append(createBy);
sb.append(", createTime=").append(createTime); sb.append(", createTime=").append(createTime);

554
research-system/src/main/java/com/research/system/domain/po/ShsCkwxInfoExample.java

@ -225,583 +225,673 @@ public class ShsCkwxInfoExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdIsNull() { public Criteria andCategoryIdIsNull() {
addCriterion("proj_org_id is null"); addCriterion("category_id is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdIsNotNull() { public Criteria andCategoryIdIsNotNull() {
addCriterion("proj_org_id is not null"); addCriterion("category_id is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdEqualTo(Long value) { public Criteria andCategoryIdEqualTo(Byte value) {
addCriterion("proj_org_id =", value, "projOrgId"); addCriterion("category_id =", value, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdNotEqualTo(Long value) { public Criteria andCategoryIdNotEqualTo(Byte value) {
addCriterion("proj_org_id <>", value, "projOrgId"); addCriterion("category_id <>", value, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdGreaterThan(Long value) { public Criteria andCategoryIdGreaterThan(Byte value) {
addCriterion("proj_org_id >", value, "projOrgId"); addCriterion("category_id >", value, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdGreaterThanOrEqualTo(Long value) { public Criteria andCategoryIdGreaterThanOrEqualTo(Byte value) {
addCriterion("proj_org_id >=", value, "projOrgId"); addCriterion("category_id >=", value, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdLessThan(Long value) { public Criteria andCategoryIdLessThan(Byte value) {
addCriterion("proj_org_id <", value, "projOrgId"); addCriterion("category_id <", value, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdLessThanOrEqualTo(Long value) { public Criteria andCategoryIdLessThanOrEqualTo(Byte value) {
addCriterion("proj_org_id <=", value, "projOrgId"); addCriterion("category_id <=", value, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdIn(List<Long> values) { public Criteria andCategoryIdIn(List<Byte> values) {
addCriterion("proj_org_id in", values, "projOrgId"); addCriterion("category_id in", values, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdNotIn(List<Long> values) { public Criteria andCategoryIdNotIn(List<Byte> values) {
addCriterion("proj_org_id not in", values, "projOrgId"); addCriterion("category_id not in", values, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdBetween(Long value1, Long value2) { public Criteria andCategoryIdBetween(Byte value1, Byte value2) {
addCriterion("proj_org_id between", value1, value2, "projOrgId"); addCriterion("category_id between", value1, value2, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andProjOrgIdNotBetween(Long value1, Long value2) { public Criteria andCategoryIdNotBetween(Byte value1, Byte value2) {
addCriterion("proj_org_id not between", value1, value2, "projOrgId"); addCriterion("category_id not between", value1, value2, "categoryId");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdIsNull() { public Criteria andTitleIsNull() {
addCriterion("kt_group_id is null"); addCriterion("title is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdIsNotNull() { public Criteria andTitleIsNotNull() {
addCriterion("kt_group_id is not null"); addCriterion("title is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdEqualTo(Long value) { public Criteria andTitleEqualTo(String value) {
addCriterion("kt_group_id =", value, "ktGroupId"); addCriterion("title =", value, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdNotEqualTo(Long value) { public Criteria andTitleNotEqualTo(String value) {
addCriterion("kt_group_id <>", value, "ktGroupId"); addCriterion("title <>", value, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdGreaterThan(Long value) { public Criteria andTitleGreaterThan(String value) {
addCriterion("kt_group_id >", value, "ktGroupId"); addCriterion("title >", value, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdGreaterThanOrEqualTo(Long value) { public Criteria andTitleGreaterThanOrEqualTo(String value) {
addCriterion("kt_group_id >=", value, "ktGroupId"); addCriterion("title >=", value, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdLessThan(Long value) { public Criteria andTitleLessThan(String value) {
addCriterion("kt_group_id <", value, "ktGroupId"); addCriterion("title <", value, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdLessThanOrEqualTo(Long value) { public Criteria andTitleLessThanOrEqualTo(String value) {
addCriterion("kt_group_id <=", value, "ktGroupId"); addCriterion("title <=", value, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdIn(List<Long> values) { public Criteria andTitleLike(String value) {
addCriterion("kt_group_id in", values, "ktGroupId"); addCriterion("title like", value, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdNotIn(List<Long> values) { public Criteria andTitleNotLike(String value) {
addCriterion("kt_group_id not in", values, "ktGroupId"); addCriterion("title not like", value, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdBetween(Long value1, Long value2) { public Criteria andTitleIn(List<String> values) {
addCriterion("kt_group_id between", value1, value2, "ktGroupId"); addCriterion("title in", values, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andKtGroupIdNotBetween(Long value1, Long value2) { public Criteria andTitleNotIn(List<String> values) {
addCriterion("kt_group_id not between", value1, value2, "ktGroupId"); addCriterion("title not in", values, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdIsNull() { public Criteria andTitleBetween(String value1, String value2) {
addCriterion("tpl_id is null"); addCriterion("title between", value1, value2, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdIsNotNull() { public Criteria andTitleNotBetween(String value1, String value2) {
addCriterion("tpl_id is not null"); addCriterion("title not between", value1, value2, "title");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdEqualTo(Long value) { public Criteria andAuthorsIsNull() {
addCriterion("tpl_id =", value, "tplId"); addCriterion("authors is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdNotEqualTo(Long value) { public Criteria andAuthorsIsNotNull() {
addCriterion("tpl_id <>", value, "tplId"); addCriterion("authors is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdGreaterThan(Long value) { public Criteria andAuthorsEqualTo(String value) {
addCriterion("tpl_id >", value, "tplId"); addCriterion("authors =", value, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdGreaterThanOrEqualTo(Long value) { public Criteria andAuthorsNotEqualTo(String value) {
addCriterion("tpl_id >=", value, "tplId"); addCriterion("authors <>", value, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdLessThan(Long value) { public Criteria andAuthorsGreaterThan(String value) {
addCriterion("tpl_id <", value, "tplId"); addCriterion("authors >", value, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdLessThanOrEqualTo(Long value) { public Criteria andAuthorsGreaterThanOrEqualTo(String value) {
addCriterion("tpl_id <=", value, "tplId"); addCriterion("authors >=", value, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdIn(List<Long> values) { public Criteria andAuthorsLessThan(String value) {
addCriterion("tpl_id in", values, "tplId"); addCriterion("authors <", value, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdNotIn(List<Long> values) { public Criteria andAuthorsLessThanOrEqualTo(String value) {
addCriterion("tpl_id not in", values, "tplId"); addCriterion("authors <=", value, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdBetween(Long value1, Long value2) { public Criteria andAuthorsLike(String value) {
addCriterion("tpl_id between", value1, value2, "tplId"); addCriterion("authors like", value, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplIdNotBetween(Long value1, Long value2) { public Criteria andAuthorsNotLike(String value) {
addCriterion("tpl_id not between", value1, value2, "tplId"); addCriterion("authors not like", value, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryIsNull() { public Criteria andAuthorsIn(List<String> values) {
addCriterion("category is null"); addCriterion("authors in", values, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryIsNotNull() { public Criteria andAuthorsNotIn(List<String> values) {
addCriterion("category is not null"); addCriterion("authors not in", values, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryEqualTo(Byte value) { public Criteria andAuthorsBetween(String value1, String value2) {
addCriterion("category =", value, "category"); addCriterion("authors between", value1, value2, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryNotEqualTo(Byte value) { public Criteria andAuthorsNotBetween(String value1, String value2) {
addCriterion("category <>", value, "category"); addCriterion("authors not between", value1, value2, "authors");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryGreaterThan(Byte value) { public Criteria andKeywordsIsNull() {
addCriterion("category >", value, "category"); addCriterion("keywords is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryGreaterThanOrEqualTo(Byte value) { public Criteria andKeywordsIsNotNull() {
addCriterion("category >=", value, "category"); addCriterion("keywords is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryLessThan(Byte value) { public Criteria andKeywordsEqualTo(String value) {
addCriterion("category <", value, "category"); addCriterion("keywords =", value, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryLessThanOrEqualTo(Byte value) { public Criteria andKeywordsNotEqualTo(String value) {
addCriterion("category <=", value, "category"); addCriterion("keywords <>", value, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryIn(List<Byte> values) { public Criteria andKeywordsGreaterThan(String value) {
addCriterion("category in", values, "category"); addCriterion("keywords >", value, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryNotIn(List<Byte> values) { public Criteria andKeywordsGreaterThanOrEqualTo(String value) {
addCriterion("category not in", values, "category"); addCriterion("keywords >=", value, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryBetween(Byte value1, Byte value2) { public Criteria andKeywordsLessThan(String value) {
addCriterion("category between", value1, value2, "category"); addCriterion("keywords <", value, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCategoryNotBetween(Byte value1, Byte value2) { public Criteria andKeywordsLessThanOrEqualTo(String value) {
addCriterion("category not between", value1, value2, "category"); addCriterion("keywords <=", value, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdIsNull() { public Criteria andKeywordsLike(String value) {
addCriterion("business_id is null"); addCriterion("keywords like", value, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdIsNotNull() { public Criteria andKeywordsNotLike(String value) {
addCriterion("business_id is not null"); addCriterion("keywords not like", value, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdEqualTo(Long value) { public Criteria andKeywordsIn(List<String> values) {
addCriterion("business_id =", value, "businessId"); addCriterion("keywords in", values, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdNotEqualTo(Long value) { public Criteria andKeywordsNotIn(List<String> values) {
addCriterion("business_id <>", value, "businessId"); addCriterion("keywords not in", values, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdGreaterThan(Long value) { public Criteria andKeywordsBetween(String value1, String value2) {
addCriterion("business_id >", value, "businessId"); addCriterion("keywords between", value1, value2, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdGreaterThanOrEqualTo(Long value) { public Criteria andKeywordsNotBetween(String value1, String value2) {
addCriterion("business_id >=", value, "businessId"); addCriterion("keywords not between", value1, value2, "keywords");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdLessThan(Long value) { public Criteria andSourceIsNull() {
addCriterion("business_id <", value, "businessId"); addCriterion("source is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdLessThanOrEqualTo(Long value) { public Criteria andSourceIsNotNull() {
addCriterion("business_id <=", value, "businessId"); addCriterion("source is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdIn(List<Long> values) { public Criteria andSourceEqualTo(String value) {
addCriterion("business_id in", values, "businessId"); addCriterion("source =", value, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdNotIn(List<Long> values) { public Criteria andSourceNotEqualTo(String value) {
addCriterion("business_id not in", values, "businessId"); addCriterion("source <>", value, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdBetween(Long value1, Long value2) { public Criteria andSourceGreaterThan(String value) {
addCriterion("business_id between", value1, value2, "businessId"); addCriterion("source >", value, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andBusinessIdNotBetween(Long value1, Long value2) { public Criteria andSourceGreaterThanOrEqualTo(String value) {
addCriterion("business_id not between", value1, value2, "businessId"); addCriterion("source >=", value, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleIsNull() { public Criteria andSourceLessThan(String value) {
addCriterion("title is null"); addCriterion("source <", value, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleIsNotNull() { public Criteria andSourceLessThanOrEqualTo(String value) {
addCriterion("title is not null"); addCriterion("source <=", value, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleEqualTo(String value) { public Criteria andSourceLike(String value) {
addCriterion("title =", value, "title"); addCriterion("source like", value, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleNotEqualTo(String value) { public Criteria andSourceNotLike(String value) {
addCriterion("title <>", value, "title"); addCriterion("source not like", value, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleGreaterThan(String value) { public Criteria andSourceIn(List<String> values) {
addCriterion("title >", value, "title"); addCriterion("source in", values, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleGreaterThanOrEqualTo(String value) { public Criteria andSourceNotIn(List<String> values) {
addCriterion("title >=", value, "title"); addCriterion("source not in", values, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleLessThan(String value) { public Criteria andSourceBetween(String value1, String value2) {
addCriterion("title <", value, "title"); addCriterion("source between", value1, value2, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleLessThanOrEqualTo(String value) { public Criteria andSourceNotBetween(String value1, String value2) {
addCriterion("title <=", value, "title"); addCriterion("source not between", value1, value2, "source");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleLike(String value) { public Criteria andAbstractsIsNull() {
addCriterion("title like", value, "title"); addCriterion("abstracts is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleNotLike(String value) { public Criteria andAbstractsIsNotNull() {
addCriterion("title not like", value, "title"); addCriterion("abstracts is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleIn(List<String> values) { public Criteria andAbstractsEqualTo(String value) {
addCriterion("title in", values, "title"); addCriterion("abstracts =", value, "abstracts");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleNotIn(List<String> values) { public Criteria andAbstractsNotEqualTo(String value) {
addCriterion("title not in", values, "title"); addCriterion("abstracts <>", value, "abstracts");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleBetween(String value1, String value2) { public Criteria andAbstractsGreaterThan(String value) {
addCriterion("title between", value1, value2, "title"); addCriterion("abstracts >", value, "abstracts");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTitleNotBetween(String value1, String value2) { public Criteria andAbstractsGreaterThanOrEqualTo(String value) {
addCriterion("title not between", value1, value2, "title"); addCriterion("abstracts >=", value, "abstracts");
return (Criteria) this;
}
public Criteria andAbstractsLessThan(String value) {
addCriterion("abstracts <", value, "abstracts");
return (Criteria) this;
}
public Criteria andAbstractsLessThanOrEqualTo(String value) {
addCriterion("abstracts <=", value, "abstracts");
return (Criteria) this;
}
public Criteria andAbstractsLike(String value) {
addCriterion("abstracts like", value, "abstracts");
return (Criteria) this;
}
public Criteria andAbstractsNotLike(String value) {
addCriterion("abstracts not like", value, "abstracts");
return (Criteria) this;
}
public Criteria andAbstractsIn(List<String> values) {
addCriterion("abstracts in", values, "abstracts");
return (Criteria) this;
}
public Criteria andAbstractsNotIn(List<String> values) {
addCriterion("abstracts not in", values, "abstracts");
return (Criteria) this;
}
public Criteria andAbstractsBetween(String value1, String value2) {
addCriterion("abstracts between", value1, value2, "abstracts");
return (Criteria) this;
}
public Criteria andAbstractsNotBetween(String value1, String value2) {
addCriterion("abstracts not between", value1, value2, "abstracts");
return (Criteria) this;
}
public Criteria andPaperLinkIsNull() {
addCriterion("paper_link is null");
return (Criteria) this;
}
public Criteria andPaperLinkIsNotNull() {
addCriterion("paper_link is not null");
return (Criteria) this;
}
public Criteria andPaperLinkEqualTo(String value) {
addCriterion("paper_link =", value, "paperLink");
return (Criteria) this;
}
public Criteria andPaperLinkNotEqualTo(String value) {
addCriterion("paper_link <>", value, "paperLink");
return (Criteria) this;
}
public Criteria andPaperLinkGreaterThan(String value) {
addCriterion("paper_link >", value, "paperLink");
return (Criteria) this;
}
public Criteria andPaperLinkGreaterThanOrEqualTo(String value) {
addCriterion("paper_link >=", value, "paperLink");
return (Criteria) this;
}
public Criteria andPaperLinkLessThan(String value) {
addCriterion("paper_link <", value, "paperLink");
return (Criteria) this;
}
public Criteria andPaperLinkLessThanOrEqualTo(String value) {
addCriterion("paper_link <=", value, "paperLink");
return (Criteria) this;
}
public Criteria andPaperLinkLike(String value) {
addCriterion("paper_link like", value, "paperLink");
return (Criteria) this;
}
public Criteria andPaperLinkNotLike(String value) {
addCriterion("paper_link not like", value, "paperLink");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameIsNull() { public Criteria andPaperLinkIn(List<String> values) {
addCriterion("sign_username is null"); addCriterion("paper_link in", values, "paperLink");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameIsNotNull() { public Criteria andPaperLinkNotIn(List<String> values) {
addCriterion("sign_username is not null"); addCriterion("paper_link not in", values, "paperLink");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameEqualTo(String value) { public Criteria andPaperLinkBetween(String value1, String value2) {
addCriterion("sign_username =", value, "signUsername"); addCriterion("paper_link between", value1, value2, "paperLink");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameNotEqualTo(String value) { public Criteria andPaperLinkNotBetween(String value1, String value2) {
addCriterion("sign_username <>", value, "signUsername"); addCriterion("paper_link not between", value1, value2, "paperLink");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameGreaterThan(String value) { public Criteria andPdfDownloadUrlIsNull() {
addCriterion("sign_username >", value, "signUsername"); addCriterion("pdf_download_url is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameGreaterThanOrEqualTo(String value) { public Criteria andPdfDownloadUrlIsNotNull() {
addCriterion("sign_username >=", value, "signUsername"); addCriterion("pdf_download_url is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameLessThan(String value) { public Criteria andPdfDownloadUrlEqualTo(String value) {
addCriterion("sign_username <", value, "signUsername"); addCriterion("pdf_download_url =", value, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameLessThanOrEqualTo(String value) { public Criteria andPdfDownloadUrlNotEqualTo(String value) {
addCriterion("sign_username <=", value, "signUsername"); addCriterion("pdf_download_url <>", value, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameLike(String value) { public Criteria andPdfDownloadUrlGreaterThan(String value) {
addCriterion("sign_username like", value, "signUsername"); addCriterion("pdf_download_url >", value, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameNotLike(String value) { public Criteria andPdfDownloadUrlGreaterThanOrEqualTo(String value) {
addCriterion("sign_username not like", value, "signUsername"); addCriterion("pdf_download_url >=", value, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameIn(List<String> values) { public Criteria andPdfDownloadUrlLessThan(String value) {
addCriterion("sign_username in", values, "signUsername"); addCriterion("pdf_download_url <", value, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameNotIn(List<String> values) { public Criteria andPdfDownloadUrlLessThanOrEqualTo(String value) {
addCriterion("sign_username not in", values, "signUsername"); addCriterion("pdf_download_url <=", value, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameBetween(String value1, String value2) { public Criteria andPdfDownloadUrlLike(String value) {
addCriterion("sign_username between", value1, value2, "signUsername"); addCriterion("pdf_download_url like", value, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignUsernameNotBetween(String value1, String value2) { public Criteria andPdfDownloadUrlNotLike(String value) {
addCriterion("sign_username not between", value1, value2, "signUsername"); addCriterion("pdf_download_url not like", value, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeIsNull() { public Criteria andPdfDownloadUrlIn(List<String> values) {
addCriterion("sign_time is null"); addCriterion("pdf_download_url in", values, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeIsNotNull() { public Criteria andPdfDownloadUrlNotIn(List<String> values) {
addCriterion("sign_time is not null"); addCriterion("pdf_download_url not in", values, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeEqualTo(String value) { public Criteria andPdfDownloadUrlBetween(String value1, String value2) {
addCriterion("sign_time =", value, "signTime"); addCriterion("pdf_download_url between", value1, value2, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeNotEqualTo(String value) { public Criteria andPdfDownloadUrlNotBetween(String value1, String value2) {
addCriterion("sign_time <>", value, "signTime"); addCriterion("pdf_download_url not between", value1, value2, "pdfDownloadUrl");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeGreaterThan(String value) { public Criteria andUploaderNameIsNull() {
addCriterion("sign_time >", value, "signTime"); addCriterion("uploader_name is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeGreaterThanOrEqualTo(String value) { public Criteria andUploaderNameIsNotNull() {
addCriterion("sign_time >=", value, "signTime"); addCriterion("uploader_name is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeLessThan(String value) { public Criteria andUploaderNameEqualTo(Long value) {
addCriterion("sign_time <", value, "signTime"); addCriterion("uploader_name =", value, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeLessThanOrEqualTo(String value) { public Criteria andUploaderNameNotEqualTo(Long value) {
addCriterion("sign_time <=", value, "signTime"); addCriterion("uploader_name <>", value, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeLike(String value) { public Criteria andUploaderNameGreaterThan(Long value) {
addCriterion("sign_time like", value, "signTime"); addCriterion("uploader_name >", value, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeNotLike(String value) { public Criteria andUploaderNameGreaterThanOrEqualTo(Long value) {
addCriterion("sign_time not like", value, "signTime"); addCriterion("uploader_name >=", value, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeIn(List<String> values) { public Criteria andUploaderNameLessThan(Long value) {
addCriterion("sign_time in", values, "signTime"); addCriterion("uploader_name <", value, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeNotIn(List<String> values) { public Criteria andUploaderNameLessThanOrEqualTo(Long value) {
addCriterion("sign_time not in", values, "signTime"); addCriterion("uploader_name <=", value, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeBetween(String value1, String value2) { public Criteria andUploaderNameIn(List<Long> values) {
addCriterion("sign_time between", value1, value2, "signTime"); addCriterion("uploader_name in", values, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andSignTimeNotBetween(String value1, String value2) { public Criteria andUploaderNameNotIn(List<Long> values) {
addCriterion("sign_time not between", value1, value2, "signTime"); addCriterion("uploader_name not in", values, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlIsNull() { public Criteria andUploaderNameBetween(Long value1, Long value2) {
addCriterion("tpl_download_url is null"); addCriterion("uploader_name between", value1, value2, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlIsNotNull() { public Criteria andUploaderNameNotBetween(Long value1, Long value2) {
addCriterion("tpl_download_url is not null"); addCriterion("uploader_name not between", value1, value2, "uploaderName");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlEqualTo(String value) { public Criteria andUploaderOrgIsNull() {
addCriterion("tpl_download_url =", value, "tplDownloadUrl"); addCriterion("uploader_org is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlNotEqualTo(String value) { public Criteria andUploaderOrgIsNotNull() {
addCriterion("tpl_download_url <>", value, "tplDownloadUrl"); addCriterion("uploader_org is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlGreaterThan(String value) { public Criteria andUploaderOrgEqualTo(Long value) {
addCriterion("tpl_download_url >", value, "tplDownloadUrl"); addCriterion("uploader_org =", value, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlGreaterThanOrEqualTo(String value) { public Criteria andUploaderOrgNotEqualTo(Long value) {
addCriterion("tpl_download_url >=", value, "tplDownloadUrl"); addCriterion("uploader_org <>", value, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlLessThan(String value) { public Criteria andUploaderOrgGreaterThan(Long value) {
addCriterion("tpl_download_url <", value, "tplDownloadUrl"); addCriterion("uploader_org >", value, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlLessThanOrEqualTo(String value) { public Criteria andUploaderOrgGreaterThanOrEqualTo(Long value) {
addCriterion("tpl_download_url <=", value, "tplDownloadUrl"); addCriterion("uploader_org >=", value, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlLike(String value) { public Criteria andUploaderOrgLessThan(Long value) {
addCriterion("tpl_download_url like", value, "tplDownloadUrl"); addCriterion("uploader_org <", value, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlNotLike(String value) { public Criteria andUploaderOrgLessThanOrEqualTo(Long value) {
addCriterion("tpl_download_url not like", value, "tplDownloadUrl"); addCriterion("uploader_org <=", value, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlIn(List<String> values) { public Criteria andUploaderOrgIn(List<Long> values) {
addCriterion("tpl_download_url in", values, "tplDownloadUrl"); addCriterion("uploader_org in", values, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlNotIn(List<String> values) { public Criteria andUploaderOrgNotIn(List<Long> values) {
addCriterion("tpl_download_url not in", values, "tplDownloadUrl"); addCriterion("uploader_org not in", values, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlBetween(String value1, String value2) { public Criteria andUploaderOrgBetween(Long value1, Long value2) {
addCriterion("tpl_download_url between", value1, value2, "tplDownloadUrl"); addCriterion("uploader_org between", value1, value2, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andTplDownloadUrlNotBetween(String value1, String value2) { public Criteria andUploaderOrgNotBetween(Long value1, Long value2) {
addCriterion("tpl_download_url not between", value1, value2, "tplDownloadUrl"); addCriterion("uploader_org not between", value1, value2, "uploaderOrg");
return (Criteria) this; return (Criteria) this;
} }

68
research-system/src/main/java/com/research/system/domain/vo/ShsCkwxVo.java

@ -0,0 +1,68 @@
package com.research.system.domain.vo;
import lombok.Data;
import java.util.Date;
/**
* @Author zzc
* @Package com.research.system.domain.vo
* @Date 2025/8/16 14:50
* @description:
*/
public class ShsCkwxVo {
@Data
public static class Result {
private Long id;
private Long projId;
private Byte categoryId;
private String title;
private String authors;
private String keywords;
private String source;
private String abstracts;
private String paperLink;
private String pdfDownloadUrl;
private Long uploaderName;
private Long uploaderOrg;
private String createBy;
private Date createTime;
private String categoryName;
}
@Data
public static class CategoryResult {
private Long id;
private Long projId;
private Long parentId;
private String categoryCode;
private String categoryName;
private Integer sort;
private String remark;
private String createBy;
private Date createTime;
}
}

21
research-system/src/main/java/com/research/system/persist/dao/ShsCkwxDao.java

@ -0,0 +1,21 @@
package com.research.system.persist.dao;
import com.research.system.domain.dto.ShsCkwxDto;
import com.research.system.domain.vo.ShsCkwxVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @Author zzc
* @Package com.research.system.persist.dao
* @Date 2025/8/11 14:31
* @description:
*/
public interface ShsCkwxDao {
List<ShsCkwxVo.Result> queryList(@Param("dto") ShsCkwxDto.Query dto, @Param("projId") Long projId);
List<ShsCkwxVo.CategoryResult> queryCategoryList(@Param("dto") ShsCkwxDto.CategoryQuery dto, @Param("projId") Long projId);
}

29
research-system/src/main/java/com/research/system/service/ShsCkwxService.java

@ -0,0 +1,29 @@
package com.research.system.service;
import com.research.system.domain.dto.CommonDto;
import com.research.system.domain.dto.ShsCkwxDto;
import com.research.system.domain.vo.ShsCkwxVo;
import java.util.List;
/**
* @Author zzc
* @Package com.research.system.service
* @Date 2025/8/16 14:47
* @description:
*/
public interface ShsCkwxService {
List<ShsCkwxVo.Result> queryList(ShsCkwxDto.Query query, Integer pageNum, Integer pageSize);
Integer add(ShsCkwxDto.Add dto);
Integer del(CommonDto.DelDto dto);
List<ShsCkwxVo.CategoryResult> queryCategoryList(ShsCkwxDto.CategoryQuery query, Integer pageNum, Integer pageSize);
Integer addCategory(ShsCkwxDto.CategoryAdd dto);
Integer delCategory(CommonDto.DelDto dto);
}

120
research-system/src/main/java/com/research/system/service/impl/ShsCkwxServiceImpl.java

@ -0,0 +1,120 @@
package com.research.system.service.impl;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.IdUtil;
import com.github.pagehelper.PageHelper;
import com.research.common.exception.base.BaseException;
import com.research.common.utils.SecurityUtils;
import com.research.system.domain.dto.CommonDto;
import com.research.system.domain.dto.ShsCkwxDto;
import com.research.system.domain.po.*;
import com.research.system.domain.vo.ShsCkwxVo;
import com.research.system.persist.dao.ShsCkwxDao;
import com.research.system.persist.mapper.ShsCkwxCategoryMapper;
import com.research.system.persist.mapper.ShsCkwxInfoMapper;
import com.research.system.service.ClientPrjProjInfoService;
import com.research.system.service.ShsCkwxService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Date;
import java.util.List;
/**
* @Author zzc
* @Package com.research.system.service.impl
* @Date 2025/8/16 14:53
* @description:
*/
@Service
public class ShsCkwxServiceImpl implements ShsCkwxService {
@Resource
private ShsCkwxCategoryMapper shsCkwxCategoryMapper;
@Resource
private ShsCkwxInfoMapper shsCkwxInfoMapper;
@Resource
private ClientPrjProjInfoService clientPrjProjInfoService;
@Resource
private ShsCkwxDao shsCkwxDao;
@Override
public List<ShsCkwxVo.Result> queryList(ShsCkwxDto.Query query, Integer pageNum, Integer pageSize) {
PrjProjInfo proInfoByTenantId = clientPrjProjInfoService.getProInfoByTenantId(SecurityUtils.getTenantId());
if (proInfoByTenantId == null) {
throw new BaseException("未查询到项目");
}
PageHelper.startPage(pageNum, pageSize);
return shsCkwxDao.queryList(query, proInfoByTenantId.getId());
}
@Override
public Integer add(ShsCkwxDto.Add dto) {
ShsCkwxInfo shsCkwxInfo = BeanUtil.copyProperties(dto, ShsCkwxInfo.class);
if (dto.getId() == null) {
PrjProjInfo proInfoByTenantId = clientPrjProjInfoService.getProInfoByTenantId(SecurityUtils.getTenantId());
if (proInfoByTenantId == null) {
throw new BaseException("未查询到项目");
}
shsCkwxInfo.setId(IdUtil.getSnowflakeNextId());
shsCkwxInfo.setCreateBy(SecurityUtils.getUsername());
shsCkwxInfo.setCreateTime(new Date());
shsCkwxInfo.setProjId(proInfoByTenantId.getId());
shsCkwxInfo.setDelFlag((byte) 0);
return shsCkwxInfoMapper.insertSelective(shsCkwxInfo);
} else {
shsCkwxInfo.setUpdateBy(SecurityUtils.getUsername());
shsCkwxInfo.setUpdateTime(new Date());
return shsCkwxInfoMapper.updateByPrimaryKeySelective(shsCkwxInfo);
}
}
@Override
public Integer del(CommonDto.DelDto dto) {
ShsCkwxInfo shsCkwxInfo = new ShsCkwxInfo();
shsCkwxInfo.setDelFlag((byte) 1);
ShsCkwxInfoExample shsCkwxInfoExample = new ShsCkwxInfoExample();
shsCkwxInfoExample.createCriteria().andIdIn(dto.getIdList());
return shsCkwxInfoMapper.updateByExampleSelective(shsCkwxInfo, shsCkwxInfoExample);
}
@Override
public List<ShsCkwxVo.CategoryResult> queryCategoryList(ShsCkwxDto.CategoryQuery query, Integer pageNum, Integer pageSize) {
PrjProjInfo proInfoByTenantId = clientPrjProjInfoService.getProInfoByTenantId(SecurityUtils.getTenantId());
if (proInfoByTenantId == null) {
throw new BaseException("未查询到项目");
}
PageHelper.startPage(pageNum, pageSize);
return shsCkwxDao.queryCategoryList(query, proInfoByTenantId.getId());
}
@Override
public Integer addCategory(ShsCkwxDto.CategoryAdd dto) {
ShsCkwxCategory shsCkwxInfo = BeanUtil.copyProperties(dto, ShsCkwxCategory.class);
if (dto.getId() == null) {
PrjProjInfo proInfoByTenantId = clientPrjProjInfoService.getProInfoByTenantId(SecurityUtils.getTenantId());
if (proInfoByTenantId == null) {
throw new BaseException("未查询到项目");
}
shsCkwxInfo.setId(IdUtil.getSnowflakeNextId());
shsCkwxInfo.setCreateBy(SecurityUtils.getUsername());
shsCkwxInfo.setCreateTime(new Date());
shsCkwxInfo.setProjId(proInfoByTenantId.getId());
shsCkwxInfo.setDelFlag((byte) 0);
return shsCkwxCategoryMapper.insertSelective(shsCkwxInfo);
} else {
shsCkwxInfo.setUpdateBy(SecurityUtils.getUsername());
shsCkwxInfo.setUpdateTime(new Date());
return shsCkwxCategoryMapper.updateByPrimaryKeySelective(shsCkwxInfo);
}
}
@Override
public Integer delCategory(CommonDto.DelDto dto) {
ShsCkwxCategory shsCkwxCategory = new ShsCkwxCategory();
shsCkwxCategory.setDelFlag((byte) 1);
ShsCkwxCategoryExample example = new ShsCkwxCategoryExample();
example.createCriteria().andIdIn(dto.getIdList());
return shsCkwxCategoryMapper.updateByExampleSelective(shsCkwxCategory, example);
}
}

64
research-system/src/main/resources/mapper/dao/ShsCkwxDao.xml

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.research.system.persist.dao.ShsCkwxDao">
<select id="queryList" resultType="com.research.system.domain.vo.ShsCkwxVo$Result">
select
s.id,
s.proj_id as projId,
s.category_id as categoryId,
s.title,
s.authors,
s.keywords,
s.source,
s.abstracts,
s.paper_link as paperLink,
s.pdf_download_url as pdfDownloadUrl,
s.uploader_name as uploaderName,
s.uploader_org as uploaderOrg,
s.create_by as createBy,
s.create_time as createTime,
c.category_name as categoryName
from
shs_ckwx_info s
left join shs_ckwx_category c on s.category_id = c.id
where
s.del_flag = 0
<if test="dto.categoryId != null">
and s.category_id = #{dto.categoryId}
</if>
<if test="dto.title != null">
and s.title like concat('%',#{dto.title},'%')
</if>
<if test="dto.keyword != null">
and (s.title like concat('%',#{dto.keyword},'%')
or s.authors like concat('%',#{dto.keyword},'%')
or s.keywords like concat('%',#{dto.keyword},'%')
)
</if>
order by s.id desc
</select>
<select id="queryCategoryList" resultType="com.research.system.domain.vo.ShsCkwxVo$CategoryResult">
select
id,
proj_id as projId,
parent_id as parentId,
category_code as categoryCode,
category_name as categoryName,
sort,
remark,
create_by as createBy,
create_time as createTime
from
shs_ckwx_category
where
del_flag = 0
<if test="dto.categoryCode != null">
and category_code like concat('%',#{dto.categoryCode},'%')
</if>
<if test="dto.categoryName != null">
and category_name like concat('%',#{dto.categoryName},'%')
</if>
</select>
</mapper>

236
research-system/src/main/resources/mapper/system/ShsCkwxInfoMapper.xml

@ -4,15 +4,16 @@
<resultMap id="BaseResultMap" type="com.research.system.domain.po.ShsCkwxInfo"> <resultMap id="BaseResultMap" type="com.research.system.domain.po.ShsCkwxInfo">
<id column="id" jdbcType="BIGINT" property="id" /> <id column="id" jdbcType="BIGINT" property="id" />
<result column="proj_id" jdbcType="BIGINT" property="projId" /> <result column="proj_id" jdbcType="BIGINT" property="projId" />
<result column="proj_org_id" jdbcType="BIGINT" property="projOrgId" /> <result column="category_id" jdbcType="TINYINT" property="categoryId" />
<result column="kt_group_id" jdbcType="BIGINT" property="ktGroupId" />
<result column="tpl_id" jdbcType="BIGINT" property="tplId" />
<result column="category" jdbcType="TINYINT" property="category" />
<result column="business_id" jdbcType="BIGINT" property="businessId" />
<result column="title" jdbcType="VARCHAR" property="title" /> <result column="title" jdbcType="VARCHAR" property="title" />
<result column="sign_username" jdbcType="VARCHAR" property="signUsername" /> <result column="authors" jdbcType="VARCHAR" property="authors" />
<result column="sign_time" jdbcType="VARCHAR" property="signTime" /> <result column="keywords" jdbcType="VARCHAR" property="keywords" />
<result column="tpl_download_url" jdbcType="VARCHAR" property="tplDownloadUrl" /> <result column="source" jdbcType="VARCHAR" property="source" />
<result column="abstracts" jdbcType="VARCHAR" property="abstracts" />
<result column="paper_link" jdbcType="VARCHAR" property="paperLink" />
<result column="pdf_download_url" jdbcType="VARCHAR" property="pdfDownloadUrl" />
<result column="uploader_name" jdbcType="BIGINT" property="uploaderName" />
<result column="uploader_org" jdbcType="BIGINT" property="uploaderOrg" />
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> <result column="del_flag" jdbcType="TINYINT" property="delFlag" />
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> <result column="create_by" jdbcType="VARCHAR" property="createBy" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
@ -78,8 +79,9 @@
</where> </where>
</sql> </sql>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, proj_id, proj_org_id, kt_group_id, tpl_id, category, business_id, title, sign_username, id, proj_id, category_id, title, authors, keywords, source, abstracts, paper_link,
sign_time, tpl_download_url, del_flag, create_by, create_time, update_by, update_time pdf_download_url, uploader_name, uploader_org, del_flag, create_by, create_time,
update_by, update_time
</sql> </sql>
<select id="selectByExample" parameterType="com.research.system.domain.po.ShsCkwxInfoExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="com.research.system.domain.po.ShsCkwxInfoExample" resultMap="BaseResultMap">
select select
@ -106,18 +108,18 @@
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
</delete> </delete>
<insert id="insert" parameterType="com.research.system.domain.po.ShsCkwxInfo"> <insert id="insert" parameterType="com.research.system.domain.po.ShsCkwxInfo">
insert into shs_ckwx_info (id, proj_id, proj_org_id, insert into shs_ckwx_info (id, proj_id, category_id,
kt_group_id, tpl_id, category, title, authors, keywords,
business_id, title, sign_username, source, abstracts, paper_link,
sign_time, tpl_download_url, del_flag, pdf_download_url, uploader_name, uploader_org,
create_by, create_time, update_by, del_flag, create_by, create_time,
update_time) update_by, update_time)
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{categoryId,jdbcType=TINYINT},
#{ktGroupId,jdbcType=BIGINT}, #{tplId,jdbcType=BIGINT}, #{category,jdbcType=TINYINT}, #{title,jdbcType=VARCHAR}, #{authors,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR},
#{businessId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{signUsername,jdbcType=VARCHAR}, #{source,jdbcType=VARCHAR}, #{abstracts,jdbcType=VARCHAR}, #{paperLink,jdbcType=VARCHAR},
#{signTime,jdbcType=VARCHAR}, #{tplDownloadUrl,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{pdfDownloadUrl,jdbcType=VARCHAR}, #{uploaderName,jdbcType=BIGINT}, #{uploaderOrg,jdbcType=BIGINT},
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}) #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP})
</insert> </insert>
<insert id="insertSelective" parameterType="com.research.system.domain.po.ShsCkwxInfo"> <insert id="insertSelective" parameterType="com.research.system.domain.po.ShsCkwxInfo">
insert into shs_ckwx_info insert into shs_ckwx_info
@ -128,32 +130,35 @@
<if test="projId != null"> <if test="projId != null">
proj_id, proj_id,
</if> </if>
<if test="projOrgId != null"> <if test="categoryId != null">
proj_org_id, category_id,
</if> </if>
<if test="ktGroupId != null"> <if test="title != null">
kt_group_id, title,
</if> </if>
<if test="tplId != null"> <if test="authors != null">
tpl_id, authors,
</if> </if>
<if test="category != null"> <if test="keywords != null">
category, keywords,
</if> </if>
<if test="businessId != null"> <if test="source != null">
business_id, source,
</if> </if>
<if test="title != null"> <if test="abstracts != null">
title, abstracts,
</if>
<if test="paperLink != null">
paper_link,
</if> </if>
<if test="signUsername != null"> <if test="pdfDownloadUrl != null">
sign_username, pdf_download_url,
</if> </if>
<if test="signTime != null"> <if test="uploaderName != null">
sign_time, uploader_name,
</if> </if>
<if test="tplDownloadUrl != null"> <if test="uploaderOrg != null">
tpl_download_url, uploader_org,
</if> </if>
<if test="delFlag != null"> <if test="delFlag != null">
del_flag, del_flag,
@ -178,32 +183,35 @@
<if test="projId != null"> <if test="projId != null">
#{projId,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT},
</if> </if>
<if test="projOrgId != null"> <if test="categoryId != null">
#{projOrgId,jdbcType=BIGINT}, #{categoryId,jdbcType=TINYINT},
</if> </if>
<if test="ktGroupId != null"> <if test="title != null">
#{ktGroupId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR},
</if> </if>
<if test="tplId != null"> <if test="authors != null">
#{tplId,jdbcType=BIGINT}, #{authors,jdbcType=VARCHAR},
</if> </if>
<if test="category != null"> <if test="keywords != null">
#{category,jdbcType=TINYINT}, #{keywords,jdbcType=VARCHAR},
</if> </if>
<if test="businessId != null"> <if test="source != null">
#{businessId,jdbcType=BIGINT}, #{source,jdbcType=VARCHAR},
</if> </if>
<if test="title != null"> <if test="abstracts != null">
#{title,jdbcType=VARCHAR}, #{abstracts,jdbcType=VARCHAR},
</if>
<if test="paperLink != null">
#{paperLink,jdbcType=VARCHAR},
</if> </if>
<if test="signUsername != null"> <if test="pdfDownloadUrl != null">
#{signUsername,jdbcType=VARCHAR}, #{pdfDownloadUrl,jdbcType=VARCHAR},
</if> </if>
<if test="signTime != null"> <if test="uploaderName != null">
#{signTime,jdbcType=VARCHAR}, #{uploaderName,jdbcType=BIGINT},
</if> </if>
<if test="tplDownloadUrl != null"> <if test="uploaderOrg != null">
#{tplDownloadUrl,jdbcType=VARCHAR}, #{uploaderOrg,jdbcType=BIGINT},
</if> </if>
<if test="delFlag != null"> <if test="delFlag != null">
#{delFlag,jdbcType=TINYINT}, #{delFlag,jdbcType=TINYINT},
@ -237,32 +245,35 @@
<if test="record.projId != null"> <if test="record.projId != null">
proj_id = #{record.projId,jdbcType=BIGINT}, proj_id = #{record.projId,jdbcType=BIGINT},
</if> </if>
<if test="record.projOrgId != null"> <if test="record.categoryId != null">
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=TINYINT},
</if> </if>
<if test="record.ktGroupId != null"> <if test="record.title != null">
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR},
</if> </if>
<if test="record.tplId != null"> <if test="record.authors != null">
tpl_id = #{record.tplId,jdbcType=BIGINT}, authors = #{record.authors,jdbcType=VARCHAR},
</if> </if>
<if test="record.category != null"> <if test="record.keywords != null">
category = #{record.category,jdbcType=TINYINT}, keywords = #{record.keywords,jdbcType=VARCHAR},
</if> </if>
<if test="record.businessId != null"> <if test="record.source != null">
business_id = #{record.businessId,jdbcType=BIGINT}, source = #{record.source,jdbcType=VARCHAR},
</if> </if>
<if test="record.title != null"> <if test="record.abstracts != null">
title = #{record.title,jdbcType=VARCHAR}, abstracts = #{record.abstracts,jdbcType=VARCHAR},
</if>
<if test="record.paperLink != null">
paper_link = #{record.paperLink,jdbcType=VARCHAR},
</if> </if>
<if test="record.signUsername != null"> <if test="record.pdfDownloadUrl != null">
sign_username = #{record.signUsername,jdbcType=VARCHAR}, pdf_download_url = #{record.pdfDownloadUrl,jdbcType=VARCHAR},
</if> </if>
<if test="record.signTime != null"> <if test="record.uploaderName != null">
sign_time = #{record.signTime,jdbcType=VARCHAR}, uploader_name = #{record.uploaderName,jdbcType=BIGINT},
</if> </if>
<if test="record.tplDownloadUrl != null"> <if test="record.uploaderOrg != null">
tpl_download_url = #{record.tplDownloadUrl,jdbcType=VARCHAR}, uploader_org = #{record.uploaderOrg,jdbcType=BIGINT},
</if> </if>
<if test="record.delFlag != null"> <if test="record.delFlag != null">
del_flag = #{record.delFlag,jdbcType=TINYINT}, del_flag = #{record.delFlag,jdbcType=TINYINT},
@ -288,15 +299,16 @@
update shs_ckwx_info update shs_ckwx_info
set id = #{record.id,jdbcType=BIGINT}, set id = #{record.id,jdbcType=BIGINT},
proj_id = #{record.projId,jdbcType=BIGINT}, proj_id = #{record.projId,jdbcType=BIGINT},
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=TINYINT},
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT},
tpl_id = #{record.tplId,jdbcType=BIGINT},
category = #{record.category,jdbcType=TINYINT},
business_id = #{record.businessId,jdbcType=BIGINT},
title = #{record.title,jdbcType=VARCHAR}, title = #{record.title,jdbcType=VARCHAR},
sign_username = #{record.signUsername,jdbcType=VARCHAR}, authors = #{record.authors,jdbcType=VARCHAR},
sign_time = #{record.signTime,jdbcType=VARCHAR}, keywords = #{record.keywords,jdbcType=VARCHAR},
tpl_download_url = #{record.tplDownloadUrl,jdbcType=VARCHAR}, source = #{record.source,jdbcType=VARCHAR},
abstracts = #{record.abstracts,jdbcType=VARCHAR},
paper_link = #{record.paperLink,jdbcType=VARCHAR},
pdf_download_url = #{record.pdfDownloadUrl,jdbcType=VARCHAR},
uploader_name = #{record.uploaderName,jdbcType=BIGINT},
uploader_org = #{record.uploaderOrg,jdbcType=BIGINT},
del_flag = #{record.delFlag,jdbcType=TINYINT}, del_flag = #{record.delFlag,jdbcType=TINYINT},
create_by = #{record.createBy,jdbcType=VARCHAR}, create_by = #{record.createBy,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP}, create_time = #{record.createTime,jdbcType=TIMESTAMP},
@ -312,32 +324,35 @@
<if test="projId != null"> <if test="projId != null">
proj_id = #{projId,jdbcType=BIGINT}, proj_id = #{projId,jdbcType=BIGINT},
</if> </if>
<if test="projOrgId != null"> <if test="categoryId != null">
proj_org_id = #{projOrgId,jdbcType=BIGINT}, category_id = #{categoryId,jdbcType=TINYINT},
</if> </if>
<if test="ktGroupId != null"> <if test="title != null">
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR},
</if> </if>
<if test="tplId != null"> <if test="authors != null">
tpl_id = #{tplId,jdbcType=BIGINT}, authors = #{authors,jdbcType=VARCHAR},
</if> </if>
<if test="category != null"> <if test="keywords != null">
category = #{category,jdbcType=TINYINT}, keywords = #{keywords,jdbcType=VARCHAR},
</if> </if>
<if test="businessId != null"> <if test="source != null">
business_id = #{businessId,jdbcType=BIGINT}, source = #{source,jdbcType=VARCHAR},
</if> </if>
<if test="title != null"> <if test="abstracts != null">
title = #{title,jdbcType=VARCHAR}, abstracts = #{abstracts,jdbcType=VARCHAR},
</if>
<if test="paperLink != null">
paper_link = #{paperLink,jdbcType=VARCHAR},
</if> </if>
<if test="signUsername != null"> <if test="pdfDownloadUrl != null">
sign_username = #{signUsername,jdbcType=VARCHAR}, pdf_download_url = #{pdfDownloadUrl,jdbcType=VARCHAR},
</if> </if>
<if test="signTime != null"> <if test="uploaderName != null">
sign_time = #{signTime,jdbcType=VARCHAR}, uploader_name = #{uploaderName,jdbcType=BIGINT},
</if> </if>
<if test="tplDownloadUrl != null"> <if test="uploaderOrg != null">
tpl_download_url = #{tplDownloadUrl,jdbcType=VARCHAR}, uploader_org = #{uploaderOrg,jdbcType=BIGINT},
</if> </if>
<if test="delFlag != null"> <if test="delFlag != null">
del_flag = #{delFlag,jdbcType=TINYINT}, del_flag = #{delFlag,jdbcType=TINYINT},
@ -360,15 +375,16 @@
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.ShsCkwxInfo"> <update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.ShsCkwxInfo">
update shs_ckwx_info update shs_ckwx_info
set proj_id = #{projId,jdbcType=BIGINT}, set proj_id = #{projId,jdbcType=BIGINT},
proj_org_id = #{projOrgId,jdbcType=BIGINT}, category_id = #{categoryId,jdbcType=TINYINT},
kt_group_id = #{ktGroupId,jdbcType=BIGINT},
tpl_id = #{tplId,jdbcType=BIGINT},
category = #{category,jdbcType=TINYINT},
business_id = #{businessId,jdbcType=BIGINT},
title = #{title,jdbcType=VARCHAR}, title = #{title,jdbcType=VARCHAR},
sign_username = #{signUsername,jdbcType=VARCHAR}, authors = #{authors,jdbcType=VARCHAR},
sign_time = #{signTime,jdbcType=VARCHAR}, keywords = #{keywords,jdbcType=VARCHAR},
tpl_download_url = #{tplDownloadUrl,jdbcType=VARCHAR}, source = #{source,jdbcType=VARCHAR},
abstracts = #{abstracts,jdbcType=VARCHAR},
paper_link = #{paperLink,jdbcType=VARCHAR},
pdf_download_url = #{pdfDownloadUrl,jdbcType=VARCHAR},
uploader_name = #{uploaderName,jdbcType=BIGINT},
uploader_org = #{uploaderOrg,jdbcType=BIGINT},
del_flag = #{delFlag,jdbcType=TINYINT}, del_flag = #{delFlag,jdbcType=TINYINT},
create_by = #{createBy,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},

Loading…
Cancel
Save