58 changed files with 26380 additions and 8 deletions
@ -0,0 +1,19 @@ |
|||
package com.research.web.controller.client.tenant; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* @Author zzc |
|||
* @Package com.research.web.controller.client.tenant |
|||
* @Date 2025/8/11 10:54 |
|||
* @description: |
|||
*/ |
|||
@Slf4j |
|||
@Api(tags = "填报端登录") |
|||
@RestController |
|||
@RequestMapping("/project") |
|||
public class TmsTenantController { |
|||
} |
|||
@ -0,0 +1,348 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class AchAchievement implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long projOrgId; |
|||
|
|||
private Long ktGroupId; |
|||
|
|||
private Long categoryId1; |
|||
|
|||
private Long categoryId2; |
|||
|
|||
private String title; |
|||
|
|||
private String no; |
|||
|
|||
private String authors; |
|||
|
|||
private Date applyDate; |
|||
|
|||
private Date publishDate; |
|||
|
|||
private String place; |
|||
|
|||
private Byte achType; |
|||
|
|||
private String source; |
|||
|
|||
private Byte paperSourceType; |
|||
|
|||
private String ysktXmfzr; |
|||
|
|||
private String ysktFunds; |
|||
|
|||
private String ysktLxpzwh; |
|||
|
|||
private Byte ysktStatus; |
|||
|
|||
private String abstract; |
|||
|
|||
private String keywords; |
|||
|
|||
private String paperLink; |
|||
|
|||
private String pdfDownloadUrl; |
|||
|
|||
private String commitmentLetterUrl; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String remark; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getProjOrgId() { |
|||
return projOrgId; |
|||
} |
|||
|
|||
public void setProjOrgId(Long projOrgId) { |
|||
this.projOrgId = projOrgId; |
|||
} |
|||
|
|||
public Long getKtGroupId() { |
|||
return ktGroupId; |
|||
} |
|||
|
|||
public void setKtGroupId(Long ktGroupId) { |
|||
this.ktGroupId = ktGroupId; |
|||
} |
|||
|
|||
public Long getCategoryId1() { |
|||
return categoryId1; |
|||
} |
|||
|
|||
public void setCategoryId1(Long categoryId1) { |
|||
this.categoryId1 = categoryId1; |
|||
} |
|||
|
|||
public Long getCategoryId2() { |
|||
return categoryId2; |
|||
} |
|||
|
|||
public void setCategoryId2(Long categoryId2) { |
|||
this.categoryId2 = categoryId2; |
|||
} |
|||
|
|||
public String getTitle() { |
|||
return title; |
|||
} |
|||
|
|||
public void setTitle(String title) { |
|||
this.title = title == null ? null : title.trim(); |
|||
} |
|||
|
|||
public String getNo() { |
|||
return no; |
|||
} |
|||
|
|||
public void setNo(String no) { |
|||
this.no = no == null ? null : no.trim(); |
|||
} |
|||
|
|||
public String getAuthors() { |
|||
return authors; |
|||
} |
|||
|
|||
public void setAuthors(String authors) { |
|||
this.authors = authors == null ? null : authors.trim(); |
|||
} |
|||
|
|||
public Date getApplyDate() { |
|||
return applyDate; |
|||
} |
|||
|
|||
public void setApplyDate(Date applyDate) { |
|||
this.applyDate = applyDate; |
|||
} |
|||
|
|||
public Date getPublishDate() { |
|||
return publishDate; |
|||
} |
|||
|
|||
public void setPublishDate(Date publishDate) { |
|||
this.publishDate = publishDate; |
|||
} |
|||
|
|||
public String getPlace() { |
|||
return place; |
|||
} |
|||
|
|||
public void setPlace(String place) { |
|||
this.place = place == null ? null : place.trim(); |
|||
} |
|||
|
|||
public Byte getAchType() { |
|||
return achType; |
|||
} |
|||
|
|||
public void setAchType(Byte achType) { |
|||
this.achType = achType; |
|||
} |
|||
|
|||
public String getSource() { |
|||
return source; |
|||
} |
|||
|
|||
public void setSource(String source) { |
|||
this.source = source == null ? null : source.trim(); |
|||
} |
|||
|
|||
public Byte getPaperSourceType() { |
|||
return paperSourceType; |
|||
} |
|||
|
|||
public void setPaperSourceType(Byte paperSourceType) { |
|||
this.paperSourceType = paperSourceType; |
|||
} |
|||
|
|||
public String getYsktXmfzr() { |
|||
return ysktXmfzr; |
|||
} |
|||
|
|||
public void setYsktXmfzr(String ysktXmfzr) { |
|||
this.ysktXmfzr = ysktXmfzr == null ? null : ysktXmfzr.trim(); |
|||
} |
|||
|
|||
public String getYsktFunds() { |
|||
return ysktFunds; |
|||
} |
|||
|
|||
public void setYsktFunds(String ysktFunds) { |
|||
this.ysktFunds = ysktFunds == null ? null : ysktFunds.trim(); |
|||
} |
|||
|
|||
public String getYsktLxpzwh() { |
|||
return ysktLxpzwh; |
|||
} |
|||
|
|||
public void setYsktLxpzwh(String ysktLxpzwh) { |
|||
this.ysktLxpzwh = ysktLxpzwh == null ? null : ysktLxpzwh.trim(); |
|||
} |
|||
|
|||
public Byte getYsktStatus() { |
|||
return ysktStatus; |
|||
} |
|||
|
|||
public void setYsktStatus(Byte ysktStatus) { |
|||
this.ysktStatus = ysktStatus; |
|||
} |
|||
|
|||
public String getAbstract() { |
|||
return abstract; |
|||
} |
|||
|
|||
public void setAbstract(String abstract) { |
|||
this.abstract = abstract == null ? null : abstract.trim(); |
|||
} |
|||
|
|||
public String getKeywords() { |
|||
return keywords; |
|||
} |
|||
|
|||
public void setKeywords(String keywords) { |
|||
this.keywords = keywords == null ? null : keywords.trim(); |
|||
} |
|||
|
|||
public String getPaperLink() { |
|||
return paperLink; |
|||
} |
|||
|
|||
public void setPaperLink(String paperLink) { |
|||
this.paperLink = paperLink == null ? null : paperLink.trim(); |
|||
} |
|||
|
|||
public String getPdfDownloadUrl() { |
|||
return pdfDownloadUrl; |
|||
} |
|||
|
|||
public void setPdfDownloadUrl(String pdfDownloadUrl) { |
|||
this.pdfDownloadUrl = pdfDownloadUrl == null ? null : pdfDownloadUrl.trim(); |
|||
} |
|||
|
|||
public String getCommitmentLetterUrl() { |
|||
return commitmentLetterUrl; |
|||
} |
|||
|
|||
public void setCommitmentLetterUrl(String commitmentLetterUrl) { |
|||
this.commitmentLetterUrl = commitmentLetterUrl == null ? null : commitmentLetterUrl.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", projOrgId=").append(projOrgId); |
|||
sb.append(", ktGroupId=").append(ktGroupId); |
|||
sb.append(", categoryId1=").append(categoryId1); |
|||
sb.append(", categoryId2=").append(categoryId2); |
|||
sb.append(", title=").append(title); |
|||
sb.append(", no=").append(no); |
|||
sb.append(", authors=").append(authors); |
|||
sb.append(", applyDate=").append(applyDate); |
|||
sb.append(", publishDate=").append(publishDate); |
|||
sb.append(", place=").append(place); |
|||
sb.append(", achType=").append(achType); |
|||
sb.append(", source=").append(source); |
|||
sb.append(", paperSourceType=").append(paperSourceType); |
|||
sb.append(", ysktXmfzr=").append(ysktXmfzr); |
|||
sb.append(", ysktFunds=").append(ysktFunds); |
|||
sb.append(", ysktLxpzwh=").append(ysktLxpzwh); |
|||
sb.append(", ysktStatus=").append(ysktStatus); |
|||
sb.append(", abstract=").append(abstract); |
|||
sb.append(", keywords=").append(keywords); |
|||
sb.append(", paperLink=").append(paperLink); |
|||
sb.append(", pdfDownloadUrl=").append(pdfDownloadUrl); |
|||
sb.append(", commitmentLetterUrl=").append(commitmentLetterUrl); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
@ -0,0 +1,150 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class AchAchievementCategory implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long parentId; |
|||
|
|||
private String categoryCode; |
|||
|
|||
private String categoryName; |
|||
|
|||
private Integer sort; |
|||
|
|||
private String remark; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getParentId() { |
|||
return parentId; |
|||
} |
|||
|
|||
public void setParentId(Long parentId) { |
|||
this.parentId = parentId; |
|||
} |
|||
|
|||
public String getCategoryCode() { |
|||
return categoryCode; |
|||
} |
|||
|
|||
public void setCategoryCode(String categoryCode) { |
|||
this.categoryCode = categoryCode == null ? null : categoryCode.trim(); |
|||
} |
|||
|
|||
public String getCategoryName() { |
|||
return categoryName; |
|||
} |
|||
|
|||
public void setCategoryName(String categoryName) { |
|||
this.categoryName = categoryName == null ? null : categoryName.trim(); |
|||
} |
|||
|
|||
public Integer getSort() { |
|||
return sort; |
|||
} |
|||
|
|||
public void setSort(Integer sort) { |
|||
this.sort = sort; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", parentId=").append(parentId); |
|||
sb.append(", categoryCode=").append(categoryCode); |
|||
sb.append(", categoryName=").append(categoryName); |
|||
sb.append(", sort=").append(sort); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
@ -0,0 +1,971 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class AchAchievementCategoryExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public AchAchievementCategoryExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIsNull() { |
|||
addCriterion("proj_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIsNotNull() { |
|||
addCriterion("proj_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdEqualTo(Long value) { |
|||
addCriterion("proj_id =", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotEqualTo(Long value) { |
|||
addCriterion("proj_id <>", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdGreaterThan(Long value) { |
|||
addCriterion("proj_id >", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("proj_id >=", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdLessThan(Long value) { |
|||
addCriterion("proj_id <", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("proj_id <=", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIn(List<Long> values) { |
|||
addCriterion("proj_id in", values, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotIn(List<Long> values) { |
|||
addCriterion("proj_id not in", values, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdBetween(Long value1, Long value2) { |
|||
addCriterion("proj_id between", value1, value2, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("proj_id not between", value1, value2, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIsNull() { |
|||
addCriterion("parent_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIsNotNull() { |
|||
addCriterion("parent_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdEqualTo(Long value) { |
|||
addCriterion("parent_id =", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotEqualTo(Long value) { |
|||
addCriterion("parent_id <>", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdGreaterThan(Long value) { |
|||
addCriterion("parent_id >", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("parent_id >=", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdLessThan(Long value) { |
|||
addCriterion("parent_id <", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("parent_id <=", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIn(List<Long> values) { |
|||
addCriterion("parent_id in", values, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotIn(List<Long> values) { |
|||
addCriterion("parent_id not in", values, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdBetween(Long value1, Long value2) { |
|||
addCriterion("parent_id between", value1, value2, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("parent_id not between", value1, value2, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIsNull() { |
|||
addCriterion("category_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIsNotNull() { |
|||
addCriterion("category_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeEqualTo(String value) { |
|||
addCriterion("category_code =", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotEqualTo(String value) { |
|||
addCriterion("category_code <>", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeGreaterThan(String value) { |
|||
addCriterion("category_code >", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("category_code >=", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLessThan(String value) { |
|||
addCriterion("category_code <", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("category_code <=", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLike(String value) { |
|||
addCriterion("category_code like", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotLike(String value) { |
|||
addCriterion("category_code not like", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIn(List<String> values) { |
|||
addCriterion("category_code in", values, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotIn(List<String> values) { |
|||
addCriterion("category_code not in", values, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeBetween(String value1, String value2) { |
|||
addCriterion("category_code between", value1, value2, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotBetween(String value1, String value2) { |
|||
addCriterion("category_code not between", value1, value2, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIsNull() { |
|||
addCriterion("category_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIsNotNull() { |
|||
addCriterion("category_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameEqualTo(String value) { |
|||
addCriterion("category_name =", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotEqualTo(String value) { |
|||
addCriterion("category_name <>", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameGreaterThan(String value) { |
|||
addCriterion("category_name >", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("category_name >=", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLessThan(String value) { |
|||
addCriterion("category_name <", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLessThanOrEqualTo(String value) { |
|||
addCriterion("category_name <=", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLike(String value) { |
|||
addCriterion("category_name like", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotLike(String value) { |
|||
addCriterion("category_name not like", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIn(List<String> values) { |
|||
addCriterion("category_name in", values, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotIn(List<String> values) { |
|||
addCriterion("category_name not in", values, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameBetween(String value1, String value2) { |
|||
addCriterion("category_name between", value1, value2, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotBetween(String value1, String value2) { |
|||
addCriterion("category_name not between", value1, value2, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIsNull() { |
|||
addCriterion("sort is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIsNotNull() { |
|||
addCriterion("sort is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortEqualTo(Integer value) { |
|||
addCriterion("sort =", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotEqualTo(Integer value) { |
|||
addCriterion("sort <>", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortGreaterThan(Integer value) { |
|||
addCriterion("sort >", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortGreaterThanOrEqualTo(Integer value) { |
|||
addCriterion("sort >=", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortLessThan(Integer value) { |
|||
addCriterion("sort <", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortLessThanOrEqualTo(Integer value) { |
|||
addCriterion("sort <=", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIn(List<Integer> values) { |
|||
addCriterion("sort in", values, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotIn(List<Integer> values) { |
|||
addCriterion("sort not in", values, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortBetween(Integer value1, Integer value2) { |
|||
addCriterion("sort between", value1, value2, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotBetween(Integer value1, Integer value2) { |
|||
addCriterion("sort not between", value1, value2, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIsNull() { |
|||
addCriterion("remark is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIsNotNull() { |
|||
addCriterion("remark is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkEqualTo(String value) { |
|||
addCriterion("remark =", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotEqualTo(String value) { |
|||
addCriterion("remark <>", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkGreaterThan(String value) { |
|||
addCriterion("remark >", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkGreaterThanOrEqualTo(String value) { |
|||
addCriterion("remark >=", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLessThan(String value) { |
|||
addCriterion("remark <", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLessThanOrEqualTo(String value) { |
|||
addCriterion("remark <=", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLike(String value) { |
|||
addCriterion("remark like", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotLike(String value) { |
|||
addCriterion("remark not like", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIn(List<String> values) { |
|||
addCriterion("remark in", values, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotIn(List<String> values) { |
|||
addCriterion("remark not in", values, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkBetween(String value1, String value2) { |
|||
addCriterion("remark between", value1, value2, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotBetween(String value1, String value2) { |
|||
addCriterion("remark not between", value1, value2, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(Byte value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(Byte value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(Byte value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(Byte value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<Byte> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<Byte> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,250 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
public class FudFundRecord implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long projOrgId; |
|||
|
|||
private Long ktGroupId; |
|||
|
|||
private Byte payType; |
|||
|
|||
private String paySource; |
|||
|
|||
private String paySubject; |
|||
|
|||
private String payAbstract; |
|||
|
|||
private Date payTime; |
|||
|
|||
private BigDecimal incomeAmount; |
|||
|
|||
private BigDecimal payAmount; |
|||
|
|||
private String jsr; |
|||
|
|||
private String spr; |
|||
|
|||
private String pzh; |
|||
|
|||
private String pzhUrl; |
|||
|
|||
private String remark; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getProjOrgId() { |
|||
return projOrgId; |
|||
} |
|||
|
|||
public void setProjOrgId(Long projOrgId) { |
|||
this.projOrgId = projOrgId; |
|||
} |
|||
|
|||
public Long getKtGroupId() { |
|||
return ktGroupId; |
|||
} |
|||
|
|||
public void setKtGroupId(Long ktGroupId) { |
|||
this.ktGroupId = ktGroupId; |
|||
} |
|||
|
|||
public Byte getPayType() { |
|||
return payType; |
|||
} |
|||
|
|||
public void setPayType(Byte payType) { |
|||
this.payType = payType; |
|||
} |
|||
|
|||
public String getPaySource() { |
|||
return paySource; |
|||
} |
|||
|
|||
public void setPaySource(String paySource) { |
|||
this.paySource = paySource == null ? null : paySource.trim(); |
|||
} |
|||
|
|||
public String getPaySubject() { |
|||
return paySubject; |
|||
} |
|||
|
|||
public void setPaySubject(String paySubject) { |
|||
this.paySubject = paySubject == null ? null : paySubject.trim(); |
|||
} |
|||
|
|||
public String getPayAbstract() { |
|||
return payAbstract; |
|||
} |
|||
|
|||
public void setPayAbstract(String payAbstract) { |
|||
this.payAbstract = payAbstract == null ? null : payAbstract.trim(); |
|||
} |
|||
|
|||
public Date getPayTime() { |
|||
return payTime; |
|||
} |
|||
|
|||
public void setPayTime(Date payTime) { |
|||
this.payTime = payTime; |
|||
} |
|||
|
|||
public BigDecimal getIncomeAmount() { |
|||
return incomeAmount; |
|||
} |
|||
|
|||
public void setIncomeAmount(BigDecimal incomeAmount) { |
|||
this.incomeAmount = incomeAmount; |
|||
} |
|||
|
|||
public BigDecimal getPayAmount() { |
|||
return payAmount; |
|||
} |
|||
|
|||
public void setPayAmount(BigDecimal payAmount) { |
|||
this.payAmount = payAmount; |
|||
} |
|||
|
|||
public String getJsr() { |
|||
return jsr; |
|||
} |
|||
|
|||
public void setJsr(String jsr) { |
|||
this.jsr = jsr == null ? null : jsr.trim(); |
|||
} |
|||
|
|||
public String getSpr() { |
|||
return spr; |
|||
} |
|||
|
|||
public void setSpr(String spr) { |
|||
this.spr = spr == null ? null : spr.trim(); |
|||
} |
|||
|
|||
public String getPzh() { |
|||
return pzh; |
|||
} |
|||
|
|||
public void setPzh(String pzh) { |
|||
this.pzh = pzh == null ? null : pzh.trim(); |
|||
} |
|||
|
|||
public String getPzhUrl() { |
|||
return pzhUrl; |
|||
} |
|||
|
|||
public void setPzhUrl(String pzhUrl) { |
|||
this.pzhUrl = pzhUrl == null ? null : pzhUrl.trim(); |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", projOrgId=").append(projOrgId); |
|||
sb.append(", ktGroupId=").append(ktGroupId); |
|||
sb.append(", payType=").append(payType); |
|||
sb.append(", paySource=").append(paySource); |
|||
sb.append(", paySubject=").append(paySubject); |
|||
sb.append(", payAbstract=").append(payAbstract); |
|||
sb.append(", payTime=").append(payTime); |
|||
sb.append(", incomeAmount=").append(incomeAmount); |
|||
sb.append(", payAmount=").append(payAmount); |
|||
sb.append(", jsr=").append(jsr); |
|||
sb.append(", spr=").append(spr); |
|||
sb.append(", pzh=").append(pzh); |
|||
sb.append(", pzhUrl=").append(pzhUrl); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,172 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class KtsKtGroup implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long projOrgId; |
|||
|
|||
private Long parentKtId; |
|||
|
|||
private String ktGroupName; |
|||
|
|||
private Integer sort; |
|||
|
|||
private String intro; |
|||
|
|||
private Byte ktGroupStatus; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String remark; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getProjOrgId() { |
|||
return projOrgId; |
|||
} |
|||
|
|||
public void setProjOrgId(Long projOrgId) { |
|||
this.projOrgId = projOrgId; |
|||
} |
|||
|
|||
public Long getParentKtId() { |
|||
return parentKtId; |
|||
} |
|||
|
|||
public void setParentKtId(Long parentKtId) { |
|||
this.parentKtId = parentKtId; |
|||
} |
|||
|
|||
public String getKtGroupName() { |
|||
return ktGroupName; |
|||
} |
|||
|
|||
public void setKtGroupName(String ktGroupName) { |
|||
this.ktGroupName = ktGroupName == null ? null : ktGroupName.trim(); |
|||
} |
|||
|
|||
public Integer getSort() { |
|||
return sort; |
|||
} |
|||
|
|||
public void setSort(Integer sort) { |
|||
this.sort = sort; |
|||
} |
|||
|
|||
public String getIntro() { |
|||
return intro; |
|||
} |
|||
|
|||
public void setIntro(String intro) { |
|||
this.intro = intro == null ? null : intro.trim(); |
|||
} |
|||
|
|||
public Byte getKtGroupStatus() { |
|||
return ktGroupStatus; |
|||
} |
|||
|
|||
public void setKtGroupStatus(Byte ktGroupStatus) { |
|||
this.ktGroupStatus = ktGroupStatus; |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", projOrgId=").append(projOrgId); |
|||
sb.append(", parentKtId=").append(parentKtId); |
|||
sb.append(", ktGroupName=").append(ktGroupName); |
|||
sb.append(", sort=").append(sort); |
|||
sb.append(", intro=").append(intro); |
|||
sb.append(", ktGroupStatus=").append(ktGroupStatus); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,271 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class KtsKtGroupMember implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long userId; |
|||
|
|||
private Long ktGroupId; |
|||
|
|||
private String parentMemberId; |
|||
|
|||
private String memberName; |
|||
|
|||
private String memberPhone; |
|||
|
|||
private String memberEmail; |
|||
|
|||
private Byte memberGender; |
|||
|
|||
private Date memberBirth; |
|||
|
|||
private Byte type; |
|||
|
|||
private Byte category; |
|||
|
|||
private Integer qualification; |
|||
|
|||
private Integer title; |
|||
|
|||
private Integer sort; |
|||
|
|||
private String intro; |
|||
|
|||
private Byte auditStatus; |
|||
|
|||
private Byte memberStatus; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String remark; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getUserId() { |
|||
return userId; |
|||
} |
|||
|
|||
public void setUserId(Long userId) { |
|||
this.userId = userId; |
|||
} |
|||
|
|||
public Long getKtGroupId() { |
|||
return ktGroupId; |
|||
} |
|||
|
|||
public void setKtGroupId(Long ktGroupId) { |
|||
this.ktGroupId = ktGroupId; |
|||
} |
|||
|
|||
public String getParentMemberId() { |
|||
return parentMemberId; |
|||
} |
|||
|
|||
public void setParentMemberId(String parentMemberId) { |
|||
this.parentMemberId = parentMemberId == null ? null : parentMemberId.trim(); |
|||
} |
|||
|
|||
public String getMemberName() { |
|||
return memberName; |
|||
} |
|||
|
|||
public void setMemberName(String memberName) { |
|||
this.memberName = memberName == null ? null : memberName.trim(); |
|||
} |
|||
|
|||
public String getMemberPhone() { |
|||
return memberPhone; |
|||
} |
|||
|
|||
public void setMemberPhone(String memberPhone) { |
|||
this.memberPhone = memberPhone == null ? null : memberPhone.trim(); |
|||
} |
|||
|
|||
public String getMemberEmail() { |
|||
return memberEmail; |
|||
} |
|||
|
|||
public void setMemberEmail(String memberEmail) { |
|||
this.memberEmail = memberEmail == null ? null : memberEmail.trim(); |
|||
} |
|||
|
|||
public Byte getMemberGender() { |
|||
return memberGender; |
|||
} |
|||
|
|||
public void setMemberGender(Byte memberGender) { |
|||
this.memberGender = memberGender; |
|||
} |
|||
|
|||
public Date getMemberBirth() { |
|||
return memberBirth; |
|||
} |
|||
|
|||
public void setMemberBirth(Date memberBirth) { |
|||
this.memberBirth = memberBirth; |
|||
} |
|||
|
|||
public Byte getType() { |
|||
return type; |
|||
} |
|||
|
|||
public void setType(Byte type) { |
|||
this.type = type; |
|||
} |
|||
|
|||
public Byte getCategory() { |
|||
return category; |
|||
} |
|||
|
|||
public void setCategory(Byte category) { |
|||
this.category = category; |
|||
} |
|||
|
|||
public Integer getQualification() { |
|||
return qualification; |
|||
} |
|||
|
|||
public void setQualification(Integer qualification) { |
|||
this.qualification = qualification; |
|||
} |
|||
|
|||
public Integer getTitle() { |
|||
return title; |
|||
} |
|||
|
|||
public void setTitle(Integer title) { |
|||
this.title = title; |
|||
} |
|||
|
|||
public Integer getSort() { |
|||
return sort; |
|||
} |
|||
|
|||
public void setSort(Integer sort) { |
|||
this.sort = sort; |
|||
} |
|||
|
|||
public String getIntro() { |
|||
return intro; |
|||
} |
|||
|
|||
public void setIntro(String intro) { |
|||
this.intro = intro == null ? null : intro.trim(); |
|||
} |
|||
|
|||
public Byte getAuditStatus() { |
|||
return auditStatus; |
|||
} |
|||
|
|||
public void setAuditStatus(Byte auditStatus) { |
|||
this.auditStatus = auditStatus; |
|||
} |
|||
|
|||
public Byte getMemberStatus() { |
|||
return memberStatus; |
|||
} |
|||
|
|||
public void setMemberStatus(Byte memberStatus) { |
|||
this.memberStatus = memberStatus; |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", userId=").append(userId); |
|||
sb.append(", ktGroupId=").append(ktGroupId); |
|||
sb.append(", parentMemberId=").append(parentMemberId); |
|||
sb.append(", memberName=").append(memberName); |
|||
sb.append(", memberPhone=").append(memberPhone); |
|||
sb.append(", memberEmail=").append(memberEmail); |
|||
sb.append(", memberGender=").append(memberGender); |
|||
sb.append(", memberBirth=").append(memberBirth); |
|||
sb.append(", type=").append(type); |
|||
sb.append(", category=").append(category); |
|||
sb.append(", qualification=").append(qualification); |
|||
sb.append(", title=").append(title); |
|||
sb.append(", sort=").append(sort); |
|||
sb.append(", intro=").append(intro); |
|||
sb.append(", auditStatus=").append(auditStatus); |
|||
sb.append(", memberStatus=").append(memberStatus); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,117 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class MetMeetingParticipant implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long meetingId; |
|||
|
|||
private Long userId; |
|||
|
|||
private String remark; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getMeetingId() { |
|||
return meetingId; |
|||
} |
|||
|
|||
public void setMeetingId(Long meetingId) { |
|||
this.meetingId = meetingId; |
|||
} |
|||
|
|||
public Long getUserId() { |
|||
return userId; |
|||
} |
|||
|
|||
public void setUserId(Long userId) { |
|||
this.userId = userId; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", meetingId=").append(meetingId); |
|||
sb.append(", userId=").append(userId); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
@ -0,0 +1,771 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class MetMeetingParticipantExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public MetMeetingParticipantExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdIsNull() { |
|||
addCriterion("meeting_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdIsNotNull() { |
|||
addCriterion("meeting_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdEqualTo(Long value) { |
|||
addCriterion("meeting_id =", value, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdNotEqualTo(Long value) { |
|||
addCriterion("meeting_id <>", value, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdGreaterThan(Long value) { |
|||
addCriterion("meeting_id >", value, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("meeting_id >=", value, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdLessThan(Long value) { |
|||
addCriterion("meeting_id <", value, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("meeting_id <=", value, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdIn(List<Long> values) { |
|||
addCriterion("meeting_id in", values, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdNotIn(List<Long> values) { |
|||
addCriterion("meeting_id not in", values, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdBetween(Long value1, Long value2) { |
|||
addCriterion("meeting_id between", value1, value2, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMeetingIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("meeting_id not between", value1, value2, "meetingId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdIsNull() { |
|||
addCriterion("user_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdIsNotNull() { |
|||
addCriterion("user_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdEqualTo(Long value) { |
|||
addCriterion("user_id =", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdNotEqualTo(Long value) { |
|||
addCriterion("user_id <>", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdGreaterThan(Long value) { |
|||
addCriterion("user_id >", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("user_id >=", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdLessThan(Long value) { |
|||
addCriterion("user_id <", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("user_id <=", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdIn(List<Long> values) { |
|||
addCriterion("user_id in", values, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdNotIn(List<Long> values) { |
|||
addCriterion("user_id not in", values, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdBetween(Long value1, Long value2) { |
|||
addCriterion("user_id between", value1, value2, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("user_id not between", value1, value2, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIsNull() { |
|||
addCriterion("remark is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIsNotNull() { |
|||
addCriterion("remark is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkEqualTo(String value) { |
|||
addCriterion("remark =", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotEqualTo(String value) { |
|||
addCriterion("remark <>", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkGreaterThan(String value) { |
|||
addCriterion("remark >", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkGreaterThanOrEqualTo(String value) { |
|||
addCriterion("remark >=", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLessThan(String value) { |
|||
addCriterion("remark <", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLessThanOrEqualTo(String value) { |
|||
addCriterion("remark <=", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLike(String value) { |
|||
addCriterion("remark like", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotLike(String value) { |
|||
addCriterion("remark not like", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIn(List<String> values) { |
|||
addCriterion("remark in", values, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotIn(List<String> values) { |
|||
addCriterion("remark not in", values, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkBetween(String value1, String value2) { |
|||
addCriterion("remark between", value1, value2, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotBetween(String value1, String value2) { |
|||
addCriterion("remark not between", value1, value2, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(Byte value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(Byte value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(Byte value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(Byte value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<Byte> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<Byte> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,194 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class MetMeetingRecord implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long projOrgId; |
|||
|
|||
private Long ktGroupId; |
|||
|
|||
private String meetingTitle; |
|||
|
|||
private String meetingFqr; |
|||
|
|||
private Date meetingBeginTime; |
|||
|
|||
private Date meetingEndTime; |
|||
|
|||
private String meetingAbstract; |
|||
|
|||
private String meetingNoteUrl; |
|||
|
|||
private String remark; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getProjOrgId() { |
|||
return projOrgId; |
|||
} |
|||
|
|||
public void setProjOrgId(Long projOrgId) { |
|||
this.projOrgId = projOrgId; |
|||
} |
|||
|
|||
public Long getKtGroupId() { |
|||
return ktGroupId; |
|||
} |
|||
|
|||
public void setKtGroupId(Long ktGroupId) { |
|||
this.ktGroupId = ktGroupId; |
|||
} |
|||
|
|||
public String getMeetingTitle() { |
|||
return meetingTitle; |
|||
} |
|||
|
|||
public void setMeetingTitle(String meetingTitle) { |
|||
this.meetingTitle = meetingTitle == null ? null : meetingTitle.trim(); |
|||
} |
|||
|
|||
public String getMeetingFqr() { |
|||
return meetingFqr; |
|||
} |
|||
|
|||
public void setMeetingFqr(String meetingFqr) { |
|||
this.meetingFqr = meetingFqr == null ? null : meetingFqr.trim(); |
|||
} |
|||
|
|||
public Date getMeetingBeginTime() { |
|||
return meetingBeginTime; |
|||
} |
|||
|
|||
public void setMeetingBeginTime(Date meetingBeginTime) { |
|||
this.meetingBeginTime = meetingBeginTime; |
|||
} |
|||
|
|||
public Date getMeetingEndTime() { |
|||
return meetingEndTime; |
|||
} |
|||
|
|||
public void setMeetingEndTime(Date meetingEndTime) { |
|||
this.meetingEndTime = meetingEndTime; |
|||
} |
|||
|
|||
public String getMeetingAbstract() { |
|||
return meetingAbstract; |
|||
} |
|||
|
|||
public void setMeetingAbstract(String meetingAbstract) { |
|||
this.meetingAbstract = meetingAbstract == null ? null : meetingAbstract.trim(); |
|||
} |
|||
|
|||
public String getMeetingNoteUrl() { |
|||
return meetingNoteUrl; |
|||
} |
|||
|
|||
public void setMeetingNoteUrl(String meetingNoteUrl) { |
|||
this.meetingNoteUrl = meetingNoteUrl == null ? null : meetingNoteUrl.trim(); |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", projOrgId=").append(projOrgId); |
|||
sb.append(", ktGroupId=").append(ktGroupId); |
|||
sb.append(", meetingTitle=").append(meetingTitle); |
|||
sb.append(", meetingFqr=").append(meetingFqr); |
|||
sb.append(", meetingBeginTime=").append(meetingBeginTime); |
|||
sb.append(", meetingEndTime=").append(meetingEndTime); |
|||
sb.append(", meetingAbstract=").append(meetingAbstract); |
|||
sb.append(", meetingNoteUrl=").append(meetingNoteUrl); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,183 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class PrjProjDocument implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private String docName; |
|||
|
|||
private String docType; |
|||
|
|||
private String docVisitPath; |
|||
|
|||
private String docPreviewImg; |
|||
|
|||
private String docLabels; |
|||
|
|||
private String uploader; |
|||
|
|||
private String uploadTime; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String remark; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public String getDocName() { |
|||
return docName; |
|||
} |
|||
|
|||
public void setDocName(String docName) { |
|||
this.docName = docName == null ? null : docName.trim(); |
|||
} |
|||
|
|||
public String getDocType() { |
|||
return docType; |
|||
} |
|||
|
|||
public void setDocType(String docType) { |
|||
this.docType = docType == null ? null : docType.trim(); |
|||
} |
|||
|
|||
public String getDocVisitPath() { |
|||
return docVisitPath; |
|||
} |
|||
|
|||
public void setDocVisitPath(String docVisitPath) { |
|||
this.docVisitPath = docVisitPath == null ? null : docVisitPath.trim(); |
|||
} |
|||
|
|||
public String getDocPreviewImg() { |
|||
return docPreviewImg; |
|||
} |
|||
|
|||
public void setDocPreviewImg(String docPreviewImg) { |
|||
this.docPreviewImg = docPreviewImg == null ? null : docPreviewImg.trim(); |
|||
} |
|||
|
|||
public String getDocLabels() { |
|||
return docLabels; |
|||
} |
|||
|
|||
public void setDocLabels(String docLabels) { |
|||
this.docLabels = docLabels == null ? null : docLabels.trim(); |
|||
} |
|||
|
|||
public String getUploader() { |
|||
return uploader; |
|||
} |
|||
|
|||
public void setUploader(String uploader) { |
|||
this.uploader = uploader == null ? null : uploader.trim(); |
|||
} |
|||
|
|||
public String getUploadTime() { |
|||
return uploadTime; |
|||
} |
|||
|
|||
public void setUploadTime(String uploadTime) { |
|||
this.uploadTime = uploadTime == null ? null : uploadTime.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", docName=").append(docName); |
|||
sb.append(", docType=").append(docType); |
|||
sb.append(", docVisitPath=").append(docVisitPath); |
|||
sb.append(", docPreviewImg=").append(docPreviewImg); |
|||
sb.append(", docLabels=").append(docLabels); |
|||
sb.append(", uploader=").append(uploader); |
|||
sb.append(", uploadTime=").append(uploadTime); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,282 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class PrjProjInfo implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long tenantId; |
|||
|
|||
private String title; |
|||
|
|||
private String titleEn; |
|||
|
|||
private String code; |
|||
|
|||
private String org; |
|||
|
|||
private String leader; |
|||
|
|||
private String leaderPhone; |
|||
|
|||
private String leaderEmail; |
|||
|
|||
private Date beginTime; |
|||
|
|||
private Date endTime; |
|||
|
|||
private String intro; |
|||
|
|||
private String fundingCategory; |
|||
|
|||
private String fundingCategorySub; |
|||
|
|||
private String fundingCategoryDeputy; |
|||
|
|||
private String funding; |
|||
|
|||
private String projSource; |
|||
|
|||
private String projCatgegory; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String remark; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getTenantId() { |
|||
return tenantId; |
|||
} |
|||
|
|||
public void setTenantId(Long tenantId) { |
|||
this.tenantId = tenantId; |
|||
} |
|||
|
|||
public String getTitle() { |
|||
return title; |
|||
} |
|||
|
|||
public void setTitle(String title) { |
|||
this.title = title == null ? null : title.trim(); |
|||
} |
|||
|
|||
public String getTitleEn() { |
|||
return titleEn; |
|||
} |
|||
|
|||
public void setTitleEn(String titleEn) { |
|||
this.titleEn = titleEn == null ? null : titleEn.trim(); |
|||
} |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = code == null ? null : code.trim(); |
|||
} |
|||
|
|||
public String getOrg() { |
|||
return org; |
|||
} |
|||
|
|||
public void setOrg(String org) { |
|||
this.org = org == null ? null : org.trim(); |
|||
} |
|||
|
|||
public String getLeader() { |
|||
return leader; |
|||
} |
|||
|
|||
public void setLeader(String leader) { |
|||
this.leader = leader == null ? null : leader.trim(); |
|||
} |
|||
|
|||
public String getLeaderPhone() { |
|||
return leaderPhone; |
|||
} |
|||
|
|||
public void setLeaderPhone(String leaderPhone) { |
|||
this.leaderPhone = leaderPhone == null ? null : leaderPhone.trim(); |
|||
} |
|||
|
|||
public String getLeaderEmail() { |
|||
return leaderEmail; |
|||
} |
|||
|
|||
public void setLeaderEmail(String leaderEmail) { |
|||
this.leaderEmail = leaderEmail == null ? null : leaderEmail.trim(); |
|||
} |
|||
|
|||
public Date getBeginTime() { |
|||
return beginTime; |
|||
} |
|||
|
|||
public void setBeginTime(Date beginTime) { |
|||
this.beginTime = beginTime; |
|||
} |
|||
|
|||
public Date getEndTime() { |
|||
return endTime; |
|||
} |
|||
|
|||
public void setEndTime(Date endTime) { |
|||
this.endTime = endTime; |
|||
} |
|||
|
|||
public String getIntro() { |
|||
return intro; |
|||
} |
|||
|
|||
public void setIntro(String intro) { |
|||
this.intro = intro == null ? null : intro.trim(); |
|||
} |
|||
|
|||
public String getFundingCategory() { |
|||
return fundingCategory; |
|||
} |
|||
|
|||
public void setFundingCategory(String fundingCategory) { |
|||
this.fundingCategory = fundingCategory == null ? null : fundingCategory.trim(); |
|||
} |
|||
|
|||
public String getFundingCategorySub() { |
|||
return fundingCategorySub; |
|||
} |
|||
|
|||
public void setFundingCategorySub(String fundingCategorySub) { |
|||
this.fundingCategorySub = fundingCategorySub == null ? null : fundingCategorySub.trim(); |
|||
} |
|||
|
|||
public String getFundingCategoryDeputy() { |
|||
return fundingCategoryDeputy; |
|||
} |
|||
|
|||
public void setFundingCategoryDeputy(String fundingCategoryDeputy) { |
|||
this.fundingCategoryDeputy = fundingCategoryDeputy == null ? null : fundingCategoryDeputy.trim(); |
|||
} |
|||
|
|||
public String getFunding() { |
|||
return funding; |
|||
} |
|||
|
|||
public void setFunding(String funding) { |
|||
this.funding = funding == null ? null : funding.trim(); |
|||
} |
|||
|
|||
public String getProjSource() { |
|||
return projSource; |
|||
} |
|||
|
|||
public void setProjSource(String projSource) { |
|||
this.projSource = projSource == null ? null : projSource.trim(); |
|||
} |
|||
|
|||
public String getProjCatgegory() { |
|||
return projCatgegory; |
|||
} |
|||
|
|||
public void setProjCatgegory(String projCatgegory) { |
|||
this.projCatgegory = projCatgegory == null ? null : projCatgegory.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", tenantId=").append(tenantId); |
|||
sb.append(", title=").append(title); |
|||
sb.append(", titleEn=").append(titleEn); |
|||
sb.append(", code=").append(code); |
|||
sb.append(", org=").append(org); |
|||
sb.append(", leader=").append(leader); |
|||
sb.append(", leaderPhone=").append(leaderPhone); |
|||
sb.append(", leaderEmail=").append(leaderEmail); |
|||
sb.append(", beginTime=").append(beginTime); |
|||
sb.append(", endTime=").append(endTime); |
|||
sb.append(", intro=").append(intro); |
|||
sb.append(", fundingCategory=").append(fundingCategory); |
|||
sb.append(", fundingCategorySub=").append(fundingCategorySub); |
|||
sb.append(", fundingCategoryDeputy=").append(fundingCategoryDeputy); |
|||
sb.append(", funding=").append(funding); |
|||
sb.append(", projSource=").append(projSource); |
|||
sb.append(", projCatgegory=").append(projCatgegory); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,194 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class PrjProjOrg implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Byte category; |
|||
|
|||
private Integer sort; |
|||
|
|||
private String orgName; |
|||
|
|||
private String orgLeader; |
|||
|
|||
private String orgLeaderPhone; |
|||
|
|||
private String orgLeaderEmail; |
|||
|
|||
private String projRespIntro; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String remark; |
|||
|
|||
private String orgIntro; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Byte getCategory() { |
|||
return category; |
|||
} |
|||
|
|||
public void setCategory(Byte category) { |
|||
this.category = category; |
|||
} |
|||
|
|||
public Integer getSort() { |
|||
return sort; |
|||
} |
|||
|
|||
public void setSort(Integer sort) { |
|||
this.sort = sort; |
|||
} |
|||
|
|||
public String getOrgName() { |
|||
return orgName; |
|||
} |
|||
|
|||
public void setOrgName(String orgName) { |
|||
this.orgName = orgName == null ? null : orgName.trim(); |
|||
} |
|||
|
|||
public String getOrgLeader() { |
|||
return orgLeader; |
|||
} |
|||
|
|||
public void setOrgLeader(String orgLeader) { |
|||
this.orgLeader = orgLeader == null ? null : orgLeader.trim(); |
|||
} |
|||
|
|||
public String getOrgLeaderPhone() { |
|||
return orgLeaderPhone; |
|||
} |
|||
|
|||
public void setOrgLeaderPhone(String orgLeaderPhone) { |
|||
this.orgLeaderPhone = orgLeaderPhone == null ? null : orgLeaderPhone.trim(); |
|||
} |
|||
|
|||
public String getOrgLeaderEmail() { |
|||
return orgLeaderEmail; |
|||
} |
|||
|
|||
public void setOrgLeaderEmail(String orgLeaderEmail) { |
|||
this.orgLeaderEmail = orgLeaderEmail == null ? null : orgLeaderEmail.trim(); |
|||
} |
|||
|
|||
public String getProjRespIntro() { |
|||
return projRespIntro; |
|||
} |
|||
|
|||
public void setProjRespIntro(String projRespIntro) { |
|||
this.projRespIntro = projRespIntro == null ? null : projRespIntro.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
public String getOrgIntro() { |
|||
return orgIntro; |
|||
} |
|||
|
|||
public void setOrgIntro(String orgIntro) { |
|||
this.orgIntro = orgIntro == null ? null : orgIntro.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", category=").append(category); |
|||
sb.append(", sort=").append(sort); |
|||
sb.append(", orgName=").append(orgName); |
|||
sb.append(", orgLeader=").append(orgLeader); |
|||
sb.append(", orgLeaderPhone=").append(orgLeaderPhone); |
|||
sb.append(", orgLeaderEmail=").append(orgLeaderEmail); |
|||
sb.append(", projRespIntro=").append(projRespIntro); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append(", orgIntro=").append(orgIntro); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,150 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ShsCkwxCategory implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long parentId; |
|||
|
|||
private String categoryCode; |
|||
|
|||
private String categoryName; |
|||
|
|||
private Integer sort; |
|||
|
|||
private String remark; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getParentId() { |
|||
return parentId; |
|||
} |
|||
|
|||
public void setParentId(Long parentId) { |
|||
this.parentId = parentId; |
|||
} |
|||
|
|||
public String getCategoryCode() { |
|||
return categoryCode; |
|||
} |
|||
|
|||
public void setCategoryCode(String categoryCode) { |
|||
this.categoryCode = categoryCode == null ? null : categoryCode.trim(); |
|||
} |
|||
|
|||
public String getCategoryName() { |
|||
return categoryName; |
|||
} |
|||
|
|||
public void setCategoryName(String categoryName) { |
|||
this.categoryName = categoryName == null ? null : categoryName.trim(); |
|||
} |
|||
|
|||
public Integer getSort() { |
|||
return sort; |
|||
} |
|||
|
|||
public void setSort(Integer sort) { |
|||
this.sort = sort; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", parentId=").append(parentId); |
|||
sb.append(", categoryCode=").append(categoryCode); |
|||
sb.append(", categoryName=").append(categoryName); |
|||
sb.append(", sort=").append(sort); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
@ -0,0 +1,971 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ShsCkwxCategoryExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ShsCkwxCategoryExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIsNull() { |
|||
addCriterion("proj_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIsNotNull() { |
|||
addCriterion("proj_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdEqualTo(Long value) { |
|||
addCriterion("proj_id =", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotEqualTo(Long value) { |
|||
addCriterion("proj_id <>", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdGreaterThan(Long value) { |
|||
addCriterion("proj_id >", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("proj_id >=", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdLessThan(Long value) { |
|||
addCriterion("proj_id <", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("proj_id <=", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIn(List<Long> values) { |
|||
addCriterion("proj_id in", values, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotIn(List<Long> values) { |
|||
addCriterion("proj_id not in", values, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdBetween(Long value1, Long value2) { |
|||
addCriterion("proj_id between", value1, value2, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("proj_id not between", value1, value2, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIsNull() { |
|||
addCriterion("parent_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIsNotNull() { |
|||
addCriterion("parent_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdEqualTo(Long value) { |
|||
addCriterion("parent_id =", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotEqualTo(Long value) { |
|||
addCriterion("parent_id <>", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdGreaterThan(Long value) { |
|||
addCriterion("parent_id >", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("parent_id >=", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdLessThan(Long value) { |
|||
addCriterion("parent_id <", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("parent_id <=", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIn(List<Long> values) { |
|||
addCriterion("parent_id in", values, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotIn(List<Long> values) { |
|||
addCriterion("parent_id not in", values, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdBetween(Long value1, Long value2) { |
|||
addCriterion("parent_id between", value1, value2, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("parent_id not between", value1, value2, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIsNull() { |
|||
addCriterion("category_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIsNotNull() { |
|||
addCriterion("category_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeEqualTo(String value) { |
|||
addCriterion("category_code =", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotEqualTo(String value) { |
|||
addCriterion("category_code <>", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeGreaterThan(String value) { |
|||
addCriterion("category_code >", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("category_code >=", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLessThan(String value) { |
|||
addCriterion("category_code <", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("category_code <=", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLike(String value) { |
|||
addCriterion("category_code like", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotLike(String value) { |
|||
addCriterion("category_code not like", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIn(List<String> values) { |
|||
addCriterion("category_code in", values, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotIn(List<String> values) { |
|||
addCriterion("category_code not in", values, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeBetween(String value1, String value2) { |
|||
addCriterion("category_code between", value1, value2, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotBetween(String value1, String value2) { |
|||
addCriterion("category_code not between", value1, value2, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIsNull() { |
|||
addCriterion("category_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIsNotNull() { |
|||
addCriterion("category_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameEqualTo(String value) { |
|||
addCriterion("category_name =", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotEqualTo(String value) { |
|||
addCriterion("category_name <>", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameGreaterThan(String value) { |
|||
addCriterion("category_name >", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("category_name >=", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLessThan(String value) { |
|||
addCriterion("category_name <", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLessThanOrEqualTo(String value) { |
|||
addCriterion("category_name <=", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLike(String value) { |
|||
addCriterion("category_name like", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotLike(String value) { |
|||
addCriterion("category_name not like", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIn(List<String> values) { |
|||
addCriterion("category_name in", values, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotIn(List<String> values) { |
|||
addCriterion("category_name not in", values, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameBetween(String value1, String value2) { |
|||
addCriterion("category_name between", value1, value2, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotBetween(String value1, String value2) { |
|||
addCriterion("category_name not between", value1, value2, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIsNull() { |
|||
addCriterion("sort is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIsNotNull() { |
|||
addCriterion("sort is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortEqualTo(Integer value) { |
|||
addCriterion("sort =", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotEqualTo(Integer value) { |
|||
addCriterion("sort <>", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortGreaterThan(Integer value) { |
|||
addCriterion("sort >", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortGreaterThanOrEqualTo(Integer value) { |
|||
addCriterion("sort >=", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortLessThan(Integer value) { |
|||
addCriterion("sort <", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortLessThanOrEqualTo(Integer value) { |
|||
addCriterion("sort <=", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIn(List<Integer> values) { |
|||
addCriterion("sort in", values, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotIn(List<Integer> values) { |
|||
addCriterion("sort not in", values, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortBetween(Integer value1, Integer value2) { |
|||
addCriterion("sort between", value1, value2, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotBetween(Integer value1, Integer value2) { |
|||
addCriterion("sort not between", value1, value2, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIsNull() { |
|||
addCriterion("remark is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIsNotNull() { |
|||
addCriterion("remark is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkEqualTo(String value) { |
|||
addCriterion("remark =", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotEqualTo(String value) { |
|||
addCriterion("remark <>", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkGreaterThan(String value) { |
|||
addCriterion("remark >", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkGreaterThanOrEqualTo(String value) { |
|||
addCriterion("remark >=", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLessThan(String value) { |
|||
addCriterion("remark <", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLessThanOrEqualTo(String value) { |
|||
addCriterion("remark <=", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLike(String value) { |
|||
addCriterion("remark like", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotLike(String value) { |
|||
addCriterion("remark not like", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIn(List<String> values) { |
|||
addCriterion("remark in", values, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotIn(List<String> values) { |
|||
addCriterion("remark not in", values, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkBetween(String value1, String value2) { |
|||
addCriterion("remark between", value1, value2, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotBetween(String value1, String value2) { |
|||
addCriterion("remark not between", value1, value2, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(Byte value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(Byte value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(Byte value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(Byte value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<Byte> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<Byte> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,194 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ShsCkwxInfo implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long projOrgId; |
|||
|
|||
private Long ktGroupId; |
|||
|
|||
private Long tplId; |
|||
|
|||
private Byte category; |
|||
|
|||
private Long businessId; |
|||
|
|||
private String title; |
|||
|
|||
private String signUsername; |
|||
|
|||
private String signTime; |
|||
|
|||
private String tplDownloadUrl; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getProjOrgId() { |
|||
return projOrgId; |
|||
} |
|||
|
|||
public void setProjOrgId(Long projOrgId) { |
|||
this.projOrgId = projOrgId; |
|||
} |
|||
|
|||
public Long getKtGroupId() { |
|||
return ktGroupId; |
|||
} |
|||
|
|||
public void setKtGroupId(Long ktGroupId) { |
|||
this.ktGroupId = ktGroupId; |
|||
} |
|||
|
|||
public Long getTplId() { |
|||
return tplId; |
|||
} |
|||
|
|||
public void setTplId(Long tplId) { |
|||
this.tplId = tplId; |
|||
} |
|||
|
|||
public Byte getCategory() { |
|||
return category; |
|||
} |
|||
|
|||
public void setCategory(Byte category) { |
|||
this.category = category; |
|||
} |
|||
|
|||
public Long getBusinessId() { |
|||
return businessId; |
|||
} |
|||
|
|||
public void setBusinessId(Long businessId) { |
|||
this.businessId = businessId; |
|||
} |
|||
|
|||
public String getTitle() { |
|||
return title; |
|||
} |
|||
|
|||
public void setTitle(String title) { |
|||
this.title = title == null ? null : title.trim(); |
|||
} |
|||
|
|||
public String getSignUsername() { |
|||
return signUsername; |
|||
} |
|||
|
|||
public void setSignUsername(String signUsername) { |
|||
this.signUsername = signUsername == null ? null : signUsername.trim(); |
|||
} |
|||
|
|||
public String getSignTime() { |
|||
return signTime; |
|||
} |
|||
|
|||
public void setSignTime(String signTime) { |
|||
this.signTime = signTime == null ? null : signTime.trim(); |
|||
} |
|||
|
|||
public String getTplDownloadUrl() { |
|||
return tplDownloadUrl; |
|||
} |
|||
|
|||
public void setTplDownloadUrl(String tplDownloadUrl) { |
|||
this.tplDownloadUrl = tplDownloadUrl == null ? null : tplDownloadUrl.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", projOrgId=").append(projOrgId); |
|||
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(", signUsername=").append(signUsername); |
|||
sb.append(", signTime=").append(signTime); |
|||
sb.append(", tplDownloadUrl=").append(tplDownloadUrl); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,128 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ShsLibInfo implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long projOrgId; |
|||
|
|||
private String title; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String intro; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getProjOrgId() { |
|||
return projOrgId; |
|||
} |
|||
|
|||
public void setProjOrgId(Long projOrgId) { |
|||
this.projOrgId = projOrgId; |
|||
} |
|||
|
|||
public String getTitle() { |
|||
return title; |
|||
} |
|||
|
|||
public void setTitle(String title) { |
|||
this.title = title == null ? null : title.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getIntro() { |
|||
return intro; |
|||
} |
|||
|
|||
public void setIntro(String intro) { |
|||
this.intro = intro == null ? null : intro.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", projOrgId=").append(projOrgId); |
|||
sb.append(", title=").append(title); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", intro=").append(intro); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
@ -0,0 +1,771 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ShsLibInfoExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ShsLibInfoExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIsNull() { |
|||
addCriterion("proj_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIsNotNull() { |
|||
addCriterion("proj_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdEqualTo(Long value) { |
|||
addCriterion("proj_id =", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotEqualTo(Long value) { |
|||
addCriterion("proj_id <>", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdGreaterThan(Long value) { |
|||
addCriterion("proj_id >", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("proj_id >=", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdLessThan(Long value) { |
|||
addCriterion("proj_id <", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("proj_id <=", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIn(List<Long> values) { |
|||
addCriterion("proj_id in", values, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotIn(List<Long> values) { |
|||
addCriterion("proj_id not in", values, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdBetween(Long value1, Long value2) { |
|||
addCriterion("proj_id between", value1, value2, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("proj_id not between", value1, value2, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdIsNull() { |
|||
addCriterion("proj_org_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdIsNotNull() { |
|||
addCriterion("proj_org_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdEqualTo(Long value) { |
|||
addCriterion("proj_org_id =", value, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdNotEqualTo(Long value) { |
|||
addCriterion("proj_org_id <>", value, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdGreaterThan(Long value) { |
|||
addCriterion("proj_org_id >", value, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("proj_org_id >=", value, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdLessThan(Long value) { |
|||
addCriterion("proj_org_id <", value, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("proj_org_id <=", value, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdIn(List<Long> values) { |
|||
addCriterion("proj_org_id in", values, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdNotIn(List<Long> values) { |
|||
addCriterion("proj_org_id not in", values, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdBetween(Long value1, Long value2) { |
|||
addCriterion("proj_org_id between", value1, value2, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjOrgIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("proj_org_id not between", value1, value2, "projOrgId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleIsNull() { |
|||
addCriterion("title is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleIsNotNull() { |
|||
addCriterion("title is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleEqualTo(String value) { |
|||
addCriterion("title =", value, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleNotEqualTo(String value) { |
|||
addCriterion("title <>", value, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleGreaterThan(String value) { |
|||
addCriterion("title >", value, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleGreaterThanOrEqualTo(String value) { |
|||
addCriterion("title >=", value, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleLessThan(String value) { |
|||
addCriterion("title <", value, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleLessThanOrEqualTo(String value) { |
|||
addCriterion("title <=", value, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleLike(String value) { |
|||
addCriterion("title like", value, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleNotLike(String value) { |
|||
addCriterion("title not like", value, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleIn(List<String> values) { |
|||
addCriterion("title in", values, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleNotIn(List<String> values) { |
|||
addCriterion("title not in", values, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleBetween(String value1, String value2) { |
|||
addCriterion("title between", value1, value2, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTitleNotBetween(String value1, String value2) { |
|||
addCriterion("title not between", value1, value2, "title"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(Byte value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(Byte value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(Byte value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(Byte value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<Byte> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<Byte> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,150 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ShsSyffCategory implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long projId; |
|||
|
|||
private Long parentId; |
|||
|
|||
private String categoryCode; |
|||
|
|||
private String categoryName; |
|||
|
|||
private Integer sort; |
|||
|
|||
private String remark; |
|||
|
|||
private Byte delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getProjId() { |
|||
return projId; |
|||
} |
|||
|
|||
public void setProjId(Long projId) { |
|||
this.projId = projId; |
|||
} |
|||
|
|||
public Long getParentId() { |
|||
return parentId; |
|||
} |
|||
|
|||
public void setParentId(Long parentId) { |
|||
this.parentId = parentId; |
|||
} |
|||
|
|||
public String getCategoryCode() { |
|||
return categoryCode; |
|||
} |
|||
|
|||
public void setCategoryCode(String categoryCode) { |
|||
this.categoryCode = categoryCode == null ? null : categoryCode.trim(); |
|||
} |
|||
|
|||
public String getCategoryName() { |
|||
return categoryName; |
|||
} |
|||
|
|||
public void setCategoryName(String categoryName) { |
|||
this.categoryName = categoryName == null ? null : categoryName.trim(); |
|||
} |
|||
|
|||
public Integer getSort() { |
|||
return sort; |
|||
} |
|||
|
|||
public void setSort(Integer sort) { |
|||
this.sort = sort; |
|||
} |
|||
|
|||
public String getRemark() { |
|||
return remark; |
|||
} |
|||
|
|||
public void setRemark(String remark) { |
|||
this.remark = remark == null ? null : remark.trim(); |
|||
} |
|||
|
|||
public Byte getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(Byte delFlag) { |
|||
this.delFlag = delFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", projId=").append(projId); |
|||
sb.append(", parentId=").append(parentId); |
|||
sb.append(", categoryCode=").append(categoryCode); |
|||
sb.append(", categoryName=").append(categoryName); |
|||
sb.append(", sort=").append(sort); |
|||
sb.append(", remark=").append(remark); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
|||
@ -0,0 +1,971 @@ |
|||
package com.research.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ShsSyffCategoryExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ShsSyffCategoryExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIsNull() { |
|||
addCriterion("proj_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIsNotNull() { |
|||
addCriterion("proj_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdEqualTo(Long value) { |
|||
addCriterion("proj_id =", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotEqualTo(Long value) { |
|||
addCriterion("proj_id <>", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdGreaterThan(Long value) { |
|||
addCriterion("proj_id >", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("proj_id >=", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdLessThan(Long value) { |
|||
addCriterion("proj_id <", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("proj_id <=", value, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdIn(List<Long> values) { |
|||
addCriterion("proj_id in", values, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotIn(List<Long> values) { |
|||
addCriterion("proj_id not in", values, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdBetween(Long value1, Long value2) { |
|||
addCriterion("proj_id between", value1, value2, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andProjIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("proj_id not between", value1, value2, "projId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIsNull() { |
|||
addCriterion("parent_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIsNotNull() { |
|||
addCriterion("parent_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdEqualTo(Long value) { |
|||
addCriterion("parent_id =", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotEqualTo(Long value) { |
|||
addCriterion("parent_id <>", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdGreaterThan(Long value) { |
|||
addCriterion("parent_id >", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("parent_id >=", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdLessThan(Long value) { |
|||
addCriterion("parent_id <", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("parent_id <=", value, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdIn(List<Long> values) { |
|||
addCriterion("parent_id in", values, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotIn(List<Long> values) { |
|||
addCriterion("parent_id not in", values, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdBetween(Long value1, Long value2) { |
|||
addCriterion("parent_id between", value1, value2, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andParentIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("parent_id not between", value1, value2, "parentId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIsNull() { |
|||
addCriterion("category_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIsNotNull() { |
|||
addCriterion("category_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeEqualTo(String value) { |
|||
addCriterion("category_code =", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotEqualTo(String value) { |
|||
addCriterion("category_code <>", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeGreaterThan(String value) { |
|||
addCriterion("category_code >", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("category_code >=", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLessThan(String value) { |
|||
addCriterion("category_code <", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("category_code <=", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeLike(String value) { |
|||
addCriterion("category_code like", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotLike(String value) { |
|||
addCriterion("category_code not like", value, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeIn(List<String> values) { |
|||
addCriterion("category_code in", values, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotIn(List<String> values) { |
|||
addCriterion("category_code not in", values, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeBetween(String value1, String value2) { |
|||
addCriterion("category_code between", value1, value2, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryCodeNotBetween(String value1, String value2) { |
|||
addCriterion("category_code not between", value1, value2, "categoryCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIsNull() { |
|||
addCriterion("category_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIsNotNull() { |
|||
addCriterion("category_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameEqualTo(String value) { |
|||
addCriterion("category_name =", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotEqualTo(String value) { |
|||
addCriterion("category_name <>", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameGreaterThan(String value) { |
|||
addCriterion("category_name >", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("category_name >=", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLessThan(String value) { |
|||
addCriterion("category_name <", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLessThanOrEqualTo(String value) { |
|||
addCriterion("category_name <=", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameLike(String value) { |
|||
addCriterion("category_name like", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotLike(String value) { |
|||
addCriterion("category_name not like", value, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameIn(List<String> values) { |
|||
addCriterion("category_name in", values, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotIn(List<String> values) { |
|||
addCriterion("category_name not in", values, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameBetween(String value1, String value2) { |
|||
addCriterion("category_name between", value1, value2, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCategoryNameNotBetween(String value1, String value2) { |
|||
addCriterion("category_name not between", value1, value2, "categoryName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIsNull() { |
|||
addCriterion("sort is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIsNotNull() { |
|||
addCriterion("sort is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortEqualTo(Integer value) { |
|||
addCriterion("sort =", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotEqualTo(Integer value) { |
|||
addCriterion("sort <>", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortGreaterThan(Integer value) { |
|||
addCriterion("sort >", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortGreaterThanOrEqualTo(Integer value) { |
|||
addCriterion("sort >=", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortLessThan(Integer value) { |
|||
addCriterion("sort <", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortLessThanOrEqualTo(Integer value) { |
|||
addCriterion("sort <=", value, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortIn(List<Integer> values) { |
|||
addCriterion("sort in", values, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotIn(List<Integer> values) { |
|||
addCriterion("sort not in", values, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortBetween(Integer value1, Integer value2) { |
|||
addCriterion("sort between", value1, value2, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andSortNotBetween(Integer value1, Integer value2) { |
|||
addCriterion("sort not between", value1, value2, "sort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIsNull() { |
|||
addCriterion("remark is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIsNotNull() { |
|||
addCriterion("remark is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkEqualTo(String value) { |
|||
addCriterion("remark =", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotEqualTo(String value) { |
|||
addCriterion("remark <>", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkGreaterThan(String value) { |
|||
addCriterion("remark >", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkGreaterThanOrEqualTo(String value) { |
|||
addCriterion("remark >=", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLessThan(String value) { |
|||
addCriterion("remark <", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLessThanOrEqualTo(String value) { |
|||
addCriterion("remark <=", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkLike(String value) { |
|||
addCriterion("remark like", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotLike(String value) { |
|||
addCriterion("remark not like", value, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkIn(List<String> values) { |
|||
addCriterion("remark in", values, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotIn(List<String> values) { |
|||
addCriterion("remark not in", values, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkBetween(String value1, String value2) { |
|||
addCriterion("remark between", value1, value2, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRemarkNotBetween(String value1, String value2) { |
|||
addCriterion("remark not between", value1, value2, "remark"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(Byte value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(Byte value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(Byte value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(Byte value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(Byte value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<Byte> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<Byte> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(Byte value1, Byte value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.AchAchievementCategory; |
|||
import com.research.system.domain.po.AchAchievementCategoryExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface AchAchievementCategoryMapper { |
|||
long countByExample(AchAchievementCategoryExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(AchAchievementCategory record); |
|||
|
|||
int insertSelective(AchAchievementCategory record); |
|||
|
|||
List<AchAchievementCategory> selectByExample(AchAchievementCategoryExample example); |
|||
|
|||
AchAchievementCategory selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") AchAchievementCategory record, @Param("example") AchAchievementCategoryExample example); |
|||
|
|||
int updateByExample(@Param("record") AchAchievementCategory record, @Param("example") AchAchievementCategoryExample example); |
|||
|
|||
int updateByPrimaryKeySelective(AchAchievementCategory record); |
|||
|
|||
int updateByPrimaryKey(AchAchievementCategory record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.AchAchievement; |
|||
import com.research.system.domain.po.AchAchievementExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface AchAchievementMapper { |
|||
long countByExample(AchAchievementExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(AchAchievement record); |
|||
|
|||
int insertSelective(AchAchievement record); |
|||
|
|||
List<AchAchievement> selectByExample(AchAchievementExample example); |
|||
|
|||
AchAchievement selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") AchAchievement record, @Param("example") AchAchievementExample example); |
|||
|
|||
int updateByExample(@Param("record") AchAchievement record, @Param("example") AchAchievementExample example); |
|||
|
|||
int updateByPrimaryKeySelective(AchAchievement record); |
|||
|
|||
int updateByPrimaryKey(AchAchievement record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.FudFundRecord; |
|||
import com.research.system.domain.po.FudFundRecordExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface FudFundRecordMapper { |
|||
long countByExample(FudFundRecordExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(FudFundRecord record); |
|||
|
|||
int insertSelective(FudFundRecord record); |
|||
|
|||
List<FudFundRecord> selectByExample(FudFundRecordExample example); |
|||
|
|||
FudFundRecord selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") FudFundRecord record, @Param("example") FudFundRecordExample example); |
|||
|
|||
int updateByExample(@Param("record") FudFundRecord record, @Param("example") FudFundRecordExample example); |
|||
|
|||
int updateByPrimaryKeySelective(FudFundRecord record); |
|||
|
|||
int updateByPrimaryKey(FudFundRecord record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.KtsKtGroup; |
|||
import com.research.system.domain.po.KtsKtGroupExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface KtsKtGroupMapper { |
|||
long countByExample(KtsKtGroupExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(KtsKtGroup record); |
|||
|
|||
int insertSelective(KtsKtGroup record); |
|||
|
|||
List<KtsKtGroup> selectByExample(KtsKtGroupExample example); |
|||
|
|||
KtsKtGroup selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") KtsKtGroup record, @Param("example") KtsKtGroupExample example); |
|||
|
|||
int updateByExample(@Param("record") KtsKtGroup record, @Param("example") KtsKtGroupExample example); |
|||
|
|||
int updateByPrimaryKeySelective(KtsKtGroup record); |
|||
|
|||
int updateByPrimaryKey(KtsKtGroup record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.KtsKtGroupMember; |
|||
import com.research.system.domain.po.KtsKtGroupMemberExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface KtsKtGroupMemberMapper { |
|||
long countByExample(KtsKtGroupMemberExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(KtsKtGroupMember record); |
|||
|
|||
int insertSelective(KtsKtGroupMember record); |
|||
|
|||
List<KtsKtGroupMember> selectByExample(KtsKtGroupMemberExample example); |
|||
|
|||
KtsKtGroupMember selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") KtsKtGroupMember record, @Param("example") KtsKtGroupMemberExample example); |
|||
|
|||
int updateByExample(@Param("record") KtsKtGroupMember record, @Param("example") KtsKtGroupMemberExample example); |
|||
|
|||
int updateByPrimaryKeySelective(KtsKtGroupMember record); |
|||
|
|||
int updateByPrimaryKey(KtsKtGroupMember record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.MetMeetingParticipant; |
|||
import com.research.system.domain.po.MetMeetingParticipantExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface MetMeetingParticipantMapper { |
|||
long countByExample(MetMeetingParticipantExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(MetMeetingParticipant record); |
|||
|
|||
int insertSelective(MetMeetingParticipant record); |
|||
|
|||
List<MetMeetingParticipant> selectByExample(MetMeetingParticipantExample example); |
|||
|
|||
MetMeetingParticipant selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") MetMeetingParticipant record, @Param("example") MetMeetingParticipantExample example); |
|||
|
|||
int updateByExample(@Param("record") MetMeetingParticipant record, @Param("example") MetMeetingParticipantExample example); |
|||
|
|||
int updateByPrimaryKeySelective(MetMeetingParticipant record); |
|||
|
|||
int updateByPrimaryKey(MetMeetingParticipant record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.MetMeetingRecord; |
|||
import com.research.system.domain.po.MetMeetingRecordExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface MetMeetingRecordMapper { |
|||
long countByExample(MetMeetingRecordExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(MetMeetingRecord record); |
|||
|
|||
int insertSelective(MetMeetingRecord record); |
|||
|
|||
List<MetMeetingRecord> selectByExample(MetMeetingRecordExample example); |
|||
|
|||
MetMeetingRecord selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") MetMeetingRecord record, @Param("example") MetMeetingRecordExample example); |
|||
|
|||
int updateByExample(@Param("record") MetMeetingRecord record, @Param("example") MetMeetingRecordExample example); |
|||
|
|||
int updateByPrimaryKeySelective(MetMeetingRecord record); |
|||
|
|||
int updateByPrimaryKey(MetMeetingRecord record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.PrjProjDocument; |
|||
import com.research.system.domain.po.PrjProjDocumentExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface PrjProjDocumentMapper { |
|||
long countByExample(PrjProjDocumentExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(PrjProjDocument record); |
|||
|
|||
int insertSelective(PrjProjDocument record); |
|||
|
|||
List<PrjProjDocument> selectByExample(PrjProjDocumentExample example); |
|||
|
|||
PrjProjDocument selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") PrjProjDocument record, @Param("example") PrjProjDocumentExample example); |
|||
|
|||
int updateByExample(@Param("record") PrjProjDocument record, @Param("example") PrjProjDocumentExample example); |
|||
|
|||
int updateByPrimaryKeySelective(PrjProjDocument record); |
|||
|
|||
int updateByPrimaryKey(PrjProjDocument record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.PrjProjInfo; |
|||
import com.research.system.domain.po.PrjProjInfoExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface PrjProjInfoMapper { |
|||
long countByExample(PrjProjInfoExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(PrjProjInfo record); |
|||
|
|||
int insertSelective(PrjProjInfo record); |
|||
|
|||
List<PrjProjInfo> selectByExample(PrjProjInfoExample example); |
|||
|
|||
PrjProjInfo selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") PrjProjInfo record, @Param("example") PrjProjInfoExample example); |
|||
|
|||
int updateByExample(@Param("record") PrjProjInfo record, @Param("example") PrjProjInfoExample example); |
|||
|
|||
int updateByPrimaryKeySelective(PrjProjInfo record); |
|||
|
|||
int updateByPrimaryKey(PrjProjInfo record); |
|||
} |
|||
@ -0,0 +1,34 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.PrjProjOrg; |
|||
import com.research.system.domain.po.PrjProjOrgExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface PrjProjOrgMapper { |
|||
long countByExample(PrjProjOrgExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(PrjProjOrg record); |
|||
|
|||
int insertSelective(PrjProjOrg record); |
|||
|
|||
List<PrjProjOrg> selectByExampleWithBLOBs(PrjProjOrgExample example); |
|||
|
|||
List<PrjProjOrg> selectByExample(PrjProjOrgExample example); |
|||
|
|||
PrjProjOrg selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") PrjProjOrg record, @Param("example") PrjProjOrgExample example); |
|||
|
|||
int updateByExampleWithBLOBs(@Param("record") PrjProjOrg record, @Param("example") PrjProjOrgExample example); |
|||
|
|||
int updateByExample(@Param("record") PrjProjOrg record, @Param("example") PrjProjOrgExample example); |
|||
|
|||
int updateByPrimaryKeySelective(PrjProjOrg record); |
|||
|
|||
int updateByPrimaryKeyWithBLOBs(PrjProjOrg record); |
|||
|
|||
int updateByPrimaryKey(PrjProjOrg record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.ShsCkwxCategory; |
|||
import com.research.system.domain.po.ShsCkwxCategoryExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ShsCkwxCategoryMapper { |
|||
long countByExample(ShsCkwxCategoryExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ShsCkwxCategory record); |
|||
|
|||
int insertSelective(ShsCkwxCategory record); |
|||
|
|||
List<ShsCkwxCategory> selectByExample(ShsCkwxCategoryExample example); |
|||
|
|||
ShsCkwxCategory selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ShsCkwxCategory record, @Param("example") ShsCkwxCategoryExample example); |
|||
|
|||
int updateByExample(@Param("record") ShsCkwxCategory record, @Param("example") ShsCkwxCategoryExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ShsCkwxCategory record); |
|||
|
|||
int updateByPrimaryKey(ShsCkwxCategory record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.ShsCkwxInfo; |
|||
import com.research.system.domain.po.ShsCkwxInfoExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ShsCkwxInfoMapper { |
|||
long countByExample(ShsCkwxInfoExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ShsCkwxInfo record); |
|||
|
|||
int insertSelective(ShsCkwxInfo record); |
|||
|
|||
List<ShsCkwxInfo> selectByExample(ShsCkwxInfoExample example); |
|||
|
|||
ShsCkwxInfo selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ShsCkwxInfo record, @Param("example") ShsCkwxInfoExample example); |
|||
|
|||
int updateByExample(@Param("record") ShsCkwxInfo record, @Param("example") ShsCkwxInfoExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ShsCkwxInfo record); |
|||
|
|||
int updateByPrimaryKey(ShsCkwxInfo record); |
|||
} |
|||
@ -0,0 +1,34 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.ShsLibInfo; |
|||
import com.research.system.domain.po.ShsLibInfoExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ShsLibInfoMapper { |
|||
long countByExample(ShsLibInfoExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ShsLibInfo record); |
|||
|
|||
int insertSelective(ShsLibInfo record); |
|||
|
|||
List<ShsLibInfo> selectByExampleWithBLOBs(ShsLibInfoExample example); |
|||
|
|||
List<ShsLibInfo> selectByExample(ShsLibInfoExample example); |
|||
|
|||
ShsLibInfo selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ShsLibInfo record, @Param("example") ShsLibInfoExample example); |
|||
|
|||
int updateByExampleWithBLOBs(@Param("record") ShsLibInfo record, @Param("example") ShsLibInfoExample example); |
|||
|
|||
int updateByExample(@Param("record") ShsLibInfo record, @Param("example") ShsLibInfoExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ShsLibInfo record); |
|||
|
|||
int updateByPrimaryKeyWithBLOBs(ShsLibInfo record); |
|||
|
|||
int updateByPrimaryKey(ShsLibInfo record); |
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.research.system.persist.mapper; |
|||
|
|||
import com.research.system.domain.po.ShsSyffCategory; |
|||
import com.research.system.domain.po.ShsSyffCategoryExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ShsSyffCategoryMapper { |
|||
long countByExample(ShsSyffCategoryExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ShsSyffCategory record); |
|||
|
|||
int insertSelective(ShsSyffCategory record); |
|||
|
|||
List<ShsSyffCategory> selectByExample(ShsSyffCategoryExample example); |
|||
|
|||
ShsSyffCategory selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ShsSyffCategory record, @Param("example") ShsSyffCategoryExample example); |
|||
|
|||
int updateByExample(@Param("record") ShsSyffCategory record, @Param("example") ShsSyffCategoryExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ShsSyffCategory record); |
|||
|
|||
int updateByPrimaryKey(ShsSyffCategory record); |
|||
} |
|||
@ -0,0 +1,317 @@ |
|||
<?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.mapper.AchAchievementCategoryMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.AchAchievementCategory"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="parent_id" jdbcType="BIGINT" property="parentId" /> |
|||
<result column="category_code" jdbcType="VARCHAR" property="categoryCode" /> |
|||
<result column="category_name" jdbcType="VARCHAR" property="categoryName" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, parent_id, category_code, category_name, sort, remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.AchAchievementCategoryExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from ach_achievement_category |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from ach_achievement_category |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from ach_achievement_category |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.AchAchievementCategory"> |
|||
insert into ach_achievement_category (id, proj_id, parent_id, |
|||
category_code, category_name, sort, |
|||
remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, |
|||
#{categoryCode,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, |
|||
#{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, |
|||
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.AchAchievementCategory"> |
|||
insert into ach_achievement_category |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
parent_id, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
category_code, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
category_name, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
#{parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
#{categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
#{categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
#{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.AchAchievementCategoryExample" resultType="java.lang.Long"> |
|||
select count(*) from ach_achievement_category |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update ach_achievement_category |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.parentId != null"> |
|||
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.categoryCode != null"> |
|||
category_code = #{record.categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.categoryName != null"> |
|||
category_name = #{record.categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.sort != null"> |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update ach_achievement_category |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|||
category_code = #{record.categoryCode,jdbcType=VARCHAR}, |
|||
category_name = #{record.categoryName,jdbcType=VARCHAR}, |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.AchAchievementCategory"> |
|||
update ach_achievement_category |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
parent_id = #{parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
category_code = #{categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
category_name = #{categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.AchAchievementCategory"> |
|||
update ach_achievement_category |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
parent_id = #{parentId,jdbcType=BIGINT}, |
|||
category_code = #{categoryCode,jdbcType=VARCHAR}, |
|||
category_name = #{categoryName,jdbcType=VARCHAR}, |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,602 @@ |
|||
<?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.mapper.AchAchievementMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.AchAchievement"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="proj_org_id" jdbcType="BIGINT" property="projOrgId" /> |
|||
<result column="kt_group_id" jdbcType="BIGINT" property="ktGroupId" /> |
|||
<result column="category_id_1" jdbcType="BIGINT" property="categoryId1" /> |
|||
<result column="category_id_2" jdbcType="BIGINT" property="categoryId2" /> |
|||
<result column="title" jdbcType="VARCHAR" property="title" /> |
|||
<result column="no" jdbcType="VARCHAR" property="no" /> |
|||
<result column="authors" jdbcType="VARCHAR" property="authors" /> |
|||
<result column="apply_date" jdbcType="DATE" property="applyDate" /> |
|||
<result column="publish_date" jdbcType="DATE" property="publishDate" /> |
|||
<result column="place" jdbcType="VARCHAR" property="place" /> |
|||
<result column="ach_type" jdbcType="TINYINT" property="achType" /> |
|||
<result column="source" jdbcType="VARCHAR" property="source" /> |
|||
<result column="paper_source_type" jdbcType="TINYINT" property="paperSourceType" /> |
|||
<result column="yskt_xmfzr" jdbcType="VARCHAR" property="ysktXmfzr" /> |
|||
<result column="yskt_funds" jdbcType="VARCHAR" property="ysktFunds" /> |
|||
<result column="yskt_lxpzwh" jdbcType="VARCHAR" property="ysktLxpzwh" /> |
|||
<result column="yskt_status" jdbcType="TINYINT" property="ysktStatus" /> |
|||
<result column="abstract" jdbcType="VARCHAR" property="abstract" /> |
|||
<result column="keywords" jdbcType="VARCHAR" property="keywords" /> |
|||
<result column="paper_link" jdbcType="VARCHAR" property="paperLink" /> |
|||
<result column="pdf_download_url" jdbcType="VARCHAR" property="pdfDownloadUrl" /> |
|||
<result column="commitment_letter_url" jdbcType="VARCHAR" property="commitmentLetterUrl" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, proj_org_id, kt_group_id, category_id_1, category_id_2, title, no, authors, |
|||
apply_date, publish_date, place, ach_type, source, paper_source_type, yskt_xmfzr, |
|||
yskt_funds, yskt_lxpzwh, yskt_status, abstract, keywords, paper_link, pdf_download_url, |
|||
commitment_letter_url, del_flag, create_by, create_time, update_by, update_time, |
|||
remark |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.AchAchievementExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from ach_achievement |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from ach_achievement |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from ach_achievement |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.AchAchievement"> |
|||
insert into ach_achievement (id, proj_id, proj_org_id, |
|||
kt_group_id, category_id_1, category_id_2, |
|||
title, no, authors, |
|||
apply_date, publish_date, place, |
|||
ach_type, source, paper_source_type, |
|||
yskt_xmfzr, yskt_funds, yskt_lxpzwh, |
|||
yskt_status, abstract, keywords, |
|||
paper_link, pdf_download_url, commitment_letter_url, |
|||
del_flag, create_by, create_time, |
|||
update_by, update_time, remark |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, |
|||
#{ktGroupId,jdbcType=BIGINT}, #{categoryId1,jdbcType=BIGINT}, #{categoryId2,jdbcType=BIGINT}, |
|||
#{title,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR}, #{authors,jdbcType=VARCHAR}, |
|||
#{applyDate,jdbcType=DATE}, #{publishDate,jdbcType=DATE}, #{place,jdbcType=VARCHAR}, |
|||
#{achType,jdbcType=TINYINT}, #{source,jdbcType=VARCHAR}, #{paperSourceType,jdbcType=TINYINT}, |
|||
#{ysktXmfzr,jdbcType=VARCHAR}, #{ysktFunds,jdbcType=VARCHAR}, #{ysktLxpzwh,jdbcType=VARCHAR}, |
|||
#{ysktStatus,jdbcType=TINYINT}, #{abstract,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, |
|||
#{paperLink,jdbcType=VARCHAR}, #{pdfDownloadUrl,jdbcType=VARCHAR}, #{commitmentLetterUrl,jdbcType=VARCHAR}, |
|||
#{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|||
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.AchAchievement"> |
|||
insert into ach_achievement |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id, |
|||
</if> |
|||
<if test="categoryId1 != null"> |
|||
category_id_1, |
|||
</if> |
|||
<if test="categoryId2 != null"> |
|||
category_id_2, |
|||
</if> |
|||
<if test="title != null"> |
|||
title, |
|||
</if> |
|||
<if test="no != null"> |
|||
no, |
|||
</if> |
|||
<if test="authors != null"> |
|||
authors, |
|||
</if> |
|||
<if test="applyDate != null"> |
|||
apply_date, |
|||
</if> |
|||
<if test="publishDate != null"> |
|||
publish_date, |
|||
</if> |
|||
<if test="place != null"> |
|||
place, |
|||
</if> |
|||
<if test="achType != null"> |
|||
ach_type, |
|||
</if> |
|||
<if test="source != null"> |
|||
source, |
|||
</if> |
|||
<if test="paperSourceType != null"> |
|||
paper_source_type, |
|||
</if> |
|||
<if test="ysktXmfzr != null"> |
|||
yskt_xmfzr, |
|||
</if> |
|||
<if test="ysktFunds != null"> |
|||
yskt_funds, |
|||
</if> |
|||
<if test="ysktLxpzwh != null"> |
|||
yskt_lxpzwh, |
|||
</if> |
|||
<if test="ysktStatus != null"> |
|||
yskt_status, |
|||
</if> |
|||
<if test="abstract != null"> |
|||
abstract, |
|||
</if> |
|||
<if test="keywords != null"> |
|||
keywords, |
|||
</if> |
|||
<if test="paperLink != null"> |
|||
paper_link, |
|||
</if> |
|||
<if test="pdfDownloadUrl != null"> |
|||
pdf_download_url, |
|||
</if> |
|||
<if test="commitmentLetterUrl != null"> |
|||
commitment_letter_url, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
#{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
#{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryId1 != null"> |
|||
#{categoryId1,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryId2 != null"> |
|||
#{categoryId2,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="title != null"> |
|||
#{title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="no != null"> |
|||
#{no,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="authors != null"> |
|||
#{authors,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="applyDate != null"> |
|||
#{applyDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="publishDate != null"> |
|||
#{publishDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="place != null"> |
|||
#{place,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="achType != null"> |
|||
#{achType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="source != null"> |
|||
#{source,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paperSourceType != null"> |
|||
#{paperSourceType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="ysktXmfzr != null"> |
|||
#{ysktXmfzr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ysktFunds != null"> |
|||
#{ysktFunds,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ysktLxpzwh != null"> |
|||
#{ysktLxpzwh,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ysktStatus != null"> |
|||
#{ysktStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="abstract != null"> |
|||
#{abstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="keywords != null"> |
|||
#{keywords,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paperLink != null"> |
|||
#{paperLink,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="pdfDownloadUrl != null"> |
|||
#{pdfDownloadUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="commitmentLetterUrl != null"> |
|||
#{commitmentLetterUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.AchAchievementExample" resultType="java.lang.Long"> |
|||
select count(*) from ach_achievement |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update ach_achievement |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projOrgId != null"> |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.ktGroupId != null"> |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.categoryId1 != null"> |
|||
category_id_1 = #{record.categoryId1,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.categoryId2 != null"> |
|||
category_id_2 = #{record.categoryId2,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.title != null"> |
|||
title = #{record.title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.no != null"> |
|||
no = #{record.no,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.authors != null"> |
|||
authors = #{record.authors,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.applyDate != null"> |
|||
apply_date = #{record.applyDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="record.publishDate != null"> |
|||
publish_date = #{record.publishDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="record.place != null"> |
|||
place = #{record.place,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.achType != null"> |
|||
ach_type = #{record.achType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.source != null"> |
|||
source = #{record.source,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paperSourceType != null"> |
|||
paper_source_type = #{record.paperSourceType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.ysktXmfzr != null"> |
|||
yskt_xmfzr = #{record.ysktXmfzr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ysktFunds != null"> |
|||
yskt_funds = #{record.ysktFunds,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ysktLxpzwh != null"> |
|||
yskt_lxpzwh = #{record.ysktLxpzwh,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ysktStatus != null"> |
|||
yskt_status = #{record.ysktStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.abstract != null"> |
|||
abstract = #{record.abstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.keywords != null"> |
|||
keywords = #{record.keywords,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paperLink != null"> |
|||
paper_link = #{record.paperLink,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.pdfDownloadUrl != null"> |
|||
pdf_download_url = #{record.pdfDownloadUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.commitmentLetterUrl != null"> |
|||
commitment_letter_url = #{record.commitmentLetterUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update ach_achievement |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
category_id_1 = #{record.categoryId1,jdbcType=BIGINT}, |
|||
category_id_2 = #{record.categoryId2,jdbcType=BIGINT}, |
|||
title = #{record.title,jdbcType=VARCHAR}, |
|||
no = #{record.no,jdbcType=VARCHAR}, |
|||
authors = #{record.authors,jdbcType=VARCHAR}, |
|||
apply_date = #{record.applyDate,jdbcType=DATE}, |
|||
publish_date = #{record.publishDate,jdbcType=DATE}, |
|||
place = #{record.place,jdbcType=VARCHAR}, |
|||
ach_type = #{record.achType,jdbcType=TINYINT}, |
|||
source = #{record.source,jdbcType=VARCHAR}, |
|||
paper_source_type = #{record.paperSourceType,jdbcType=TINYINT}, |
|||
yskt_xmfzr = #{record.ysktXmfzr,jdbcType=VARCHAR}, |
|||
yskt_funds = #{record.ysktFunds,jdbcType=VARCHAR}, |
|||
yskt_lxpzwh = #{record.ysktLxpzwh,jdbcType=VARCHAR}, |
|||
yskt_status = #{record.ysktStatus,jdbcType=TINYINT}, |
|||
abstract = #{record.abstract,jdbcType=VARCHAR}, |
|||
keywords = #{record.keywords,jdbcType=VARCHAR}, |
|||
paper_link = #{record.paperLink,jdbcType=VARCHAR}, |
|||
pdf_download_url = #{record.pdfDownloadUrl,jdbcType=VARCHAR}, |
|||
commitment_letter_url = #{record.commitmentLetterUrl,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{record.remark,jdbcType=VARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.AchAchievement"> |
|||
update ach_achievement |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryId1 != null"> |
|||
category_id_1 = #{categoryId1,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryId2 != null"> |
|||
category_id_2 = #{categoryId2,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="title != null"> |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="no != null"> |
|||
no = #{no,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="authors != null"> |
|||
authors = #{authors,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="applyDate != null"> |
|||
apply_date = #{applyDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="publishDate != null"> |
|||
publish_date = #{publishDate,jdbcType=DATE}, |
|||
</if> |
|||
<if test="place != null"> |
|||
place = #{place,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="achType != null"> |
|||
ach_type = #{achType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="source != null"> |
|||
source = #{source,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paperSourceType != null"> |
|||
paper_source_type = #{paperSourceType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="ysktXmfzr != null"> |
|||
yskt_xmfzr = #{ysktXmfzr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ysktFunds != null"> |
|||
yskt_funds = #{ysktFunds,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ysktLxpzwh != null"> |
|||
yskt_lxpzwh = #{ysktLxpzwh,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ysktStatus != null"> |
|||
yskt_status = #{ysktStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="abstract != null"> |
|||
abstract = #{abstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="keywords != null"> |
|||
keywords = #{keywords,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paperLink != null"> |
|||
paper_link = #{paperLink,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="pdfDownloadUrl != null"> |
|||
pdf_download_url = #{pdfDownloadUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="commitmentLetterUrl != null"> |
|||
commitment_letter_url = #{commitmentLetterUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.AchAchievement"> |
|||
update ach_achievement |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
category_id_1 = #{categoryId1,jdbcType=BIGINT}, |
|||
category_id_2 = #{categoryId2,jdbcType=BIGINT}, |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
no = #{no,jdbcType=VARCHAR}, |
|||
authors = #{authors,jdbcType=VARCHAR}, |
|||
apply_date = #{applyDate,jdbcType=DATE}, |
|||
publish_date = #{publishDate,jdbcType=DATE}, |
|||
place = #{place,jdbcType=VARCHAR}, |
|||
ach_type = #{achType,jdbcType=TINYINT}, |
|||
source = #{source,jdbcType=VARCHAR}, |
|||
paper_source_type = #{paperSourceType,jdbcType=TINYINT}, |
|||
yskt_xmfzr = #{ysktXmfzr,jdbcType=VARCHAR}, |
|||
yskt_funds = #{ysktFunds,jdbcType=VARCHAR}, |
|||
yskt_lxpzwh = #{ysktLxpzwh,jdbcType=VARCHAR}, |
|||
yskt_status = #{ysktStatus,jdbcType=TINYINT}, |
|||
abstract = #{abstract,jdbcType=VARCHAR}, |
|||
keywords = #{keywords,jdbcType=VARCHAR}, |
|||
paper_link = #{paperLink,jdbcType=VARCHAR}, |
|||
pdf_download_url = #{pdfDownloadUrl,jdbcType=VARCHAR}, |
|||
commitment_letter_url = #{commitmentLetterUrl,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{remark,jdbcType=VARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,457 @@ |
|||
<?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.mapper.FudFundRecordMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.FudFundRecord"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="proj_org_id" jdbcType="BIGINT" property="projOrgId" /> |
|||
<result column="kt_group_id" jdbcType="BIGINT" property="ktGroupId" /> |
|||
<result column="pay_type" jdbcType="TINYINT" property="payType" /> |
|||
<result column="pay_source" jdbcType="VARCHAR" property="paySource" /> |
|||
<result column="pay_subject" jdbcType="VARCHAR" property="paySubject" /> |
|||
<result column="pay_abstract" jdbcType="VARCHAR" property="payAbstract" /> |
|||
<result column="pay_time" jdbcType="TIMESTAMP" property="payTime" /> |
|||
<result column="income_amount" jdbcType="DECIMAL" property="incomeAmount" /> |
|||
<result column="pay_amount" jdbcType="DECIMAL" property="payAmount" /> |
|||
<result column="jsr" jdbcType="VARCHAR" property="jsr" /> |
|||
<result column="spr" jdbcType="VARCHAR" property="spr" /> |
|||
<result column="pzh" jdbcType="VARCHAR" property="pzh" /> |
|||
<result column="pzh_url" jdbcType="VARCHAR" property="pzhUrl" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, proj_org_id, kt_group_id, pay_type, pay_source, pay_subject, pay_abstract, |
|||
pay_time, income_amount, pay_amount, jsr, spr, pzh, pzh_url, remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.FudFundRecordExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from fud_fund_record |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from fud_fund_record |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from fud_fund_record |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.FudFundRecord"> |
|||
insert into fud_fund_record (id, proj_id, proj_org_id, |
|||
kt_group_id, pay_type, pay_source, |
|||
pay_subject, pay_abstract, pay_time, |
|||
income_amount, pay_amount, jsr, |
|||
spr, pzh, pzh_url, remark, |
|||
del_flag, create_by, create_time, |
|||
update_by, update_time) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, |
|||
#{ktGroupId,jdbcType=BIGINT}, #{payType,jdbcType=TINYINT}, #{paySource,jdbcType=VARCHAR}, |
|||
#{paySubject,jdbcType=VARCHAR}, #{payAbstract,jdbcType=VARCHAR}, #{payTime,jdbcType=TIMESTAMP}, |
|||
#{incomeAmount,jdbcType=DECIMAL}, #{payAmount,jdbcType=DECIMAL}, #{jsr,jdbcType=VARCHAR}, |
|||
#{spr,jdbcType=VARCHAR}, #{pzh,jdbcType=VARCHAR}, #{pzhUrl,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, |
|||
#{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|||
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.FudFundRecord"> |
|||
insert into fud_fund_record |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id, |
|||
</if> |
|||
<if test="payType != null"> |
|||
pay_type, |
|||
</if> |
|||
<if test="paySource != null"> |
|||
pay_source, |
|||
</if> |
|||
<if test="paySubject != null"> |
|||
pay_subject, |
|||
</if> |
|||
<if test="payAbstract != null"> |
|||
pay_abstract, |
|||
</if> |
|||
<if test="payTime != null"> |
|||
pay_time, |
|||
</if> |
|||
<if test="incomeAmount != null"> |
|||
income_amount, |
|||
</if> |
|||
<if test="payAmount != null"> |
|||
pay_amount, |
|||
</if> |
|||
<if test="jsr != null"> |
|||
jsr, |
|||
</if> |
|||
<if test="spr != null"> |
|||
spr, |
|||
</if> |
|||
<if test="pzh != null"> |
|||
pzh, |
|||
</if> |
|||
<if test="pzhUrl != null"> |
|||
pzh_url, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
#{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
#{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="payType != null"> |
|||
#{payType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="paySource != null"> |
|||
#{paySource,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paySubject != null"> |
|||
#{paySubject,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="payAbstract != null"> |
|||
#{payAbstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="payTime != null"> |
|||
#{payTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="incomeAmount != null"> |
|||
#{incomeAmount,jdbcType=DECIMAL}, |
|||
</if> |
|||
<if test="payAmount != null"> |
|||
#{payAmount,jdbcType=DECIMAL}, |
|||
</if> |
|||
<if test="jsr != null"> |
|||
#{jsr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="spr != null"> |
|||
#{spr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="pzh != null"> |
|||
#{pzh,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="pzhUrl != null"> |
|||
#{pzhUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.FudFundRecordExample" resultType="java.lang.Long"> |
|||
select count(*) from fud_fund_record |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update fud_fund_record |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projOrgId != null"> |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.ktGroupId != null"> |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.payType != null"> |
|||
pay_type = #{record.payType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.paySource != null"> |
|||
pay_source = #{record.paySource,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.paySubject != null"> |
|||
pay_subject = #{record.paySubject,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.payAbstract != null"> |
|||
pay_abstract = #{record.payAbstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.payTime != null"> |
|||
pay_time = #{record.payTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.incomeAmount != null"> |
|||
income_amount = #{record.incomeAmount,jdbcType=DECIMAL}, |
|||
</if> |
|||
<if test="record.payAmount != null"> |
|||
pay_amount = #{record.payAmount,jdbcType=DECIMAL}, |
|||
</if> |
|||
<if test="record.jsr != null"> |
|||
jsr = #{record.jsr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.spr != null"> |
|||
spr = #{record.spr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.pzh != null"> |
|||
pzh = #{record.pzh,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.pzhUrl != null"> |
|||
pzh_url = #{record.pzhUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update fud_fund_record |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
pay_type = #{record.payType,jdbcType=TINYINT}, |
|||
pay_source = #{record.paySource,jdbcType=VARCHAR}, |
|||
pay_subject = #{record.paySubject,jdbcType=VARCHAR}, |
|||
pay_abstract = #{record.payAbstract,jdbcType=VARCHAR}, |
|||
pay_time = #{record.payTime,jdbcType=TIMESTAMP}, |
|||
income_amount = #{record.incomeAmount,jdbcType=DECIMAL}, |
|||
pay_amount = #{record.payAmount,jdbcType=DECIMAL}, |
|||
jsr = #{record.jsr,jdbcType=VARCHAR}, |
|||
spr = #{record.spr,jdbcType=VARCHAR}, |
|||
pzh = #{record.pzh,jdbcType=VARCHAR}, |
|||
pzh_url = #{record.pzhUrl,jdbcType=VARCHAR}, |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.FudFundRecord"> |
|||
update fud_fund_record |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="payType != null"> |
|||
pay_type = #{payType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="paySource != null"> |
|||
pay_source = #{paySource,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="paySubject != null"> |
|||
pay_subject = #{paySubject,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="payAbstract != null"> |
|||
pay_abstract = #{payAbstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="payTime != null"> |
|||
pay_time = #{payTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="incomeAmount != null"> |
|||
income_amount = #{incomeAmount,jdbcType=DECIMAL}, |
|||
</if> |
|||
<if test="payAmount != null"> |
|||
pay_amount = #{payAmount,jdbcType=DECIMAL}, |
|||
</if> |
|||
<if test="jsr != null"> |
|||
jsr = #{jsr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="spr != null"> |
|||
spr = #{spr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="pzh != null"> |
|||
pzh = #{pzh,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="pzhUrl != null"> |
|||
pzh_url = #{pzhUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.FudFundRecord"> |
|||
update fud_fund_record |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
pay_type = #{payType,jdbcType=TINYINT}, |
|||
pay_source = #{paySource,jdbcType=VARCHAR}, |
|||
pay_subject = #{paySubject,jdbcType=VARCHAR}, |
|||
pay_abstract = #{payAbstract,jdbcType=VARCHAR}, |
|||
pay_time = #{payTime,jdbcType=TIMESTAMP}, |
|||
income_amount = #{incomeAmount,jdbcType=DECIMAL}, |
|||
pay_amount = #{payAmount,jdbcType=DECIMAL}, |
|||
jsr = #{jsr,jdbcType=VARCHAR}, |
|||
spr = #{spr,jdbcType=VARCHAR}, |
|||
pzh = #{pzh,jdbcType=VARCHAR}, |
|||
pzh_url = #{pzhUrl,jdbcType=VARCHAR}, |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,347 @@ |
|||
<?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.mapper.KtsKtGroupMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.KtsKtGroup"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="proj_org_id" jdbcType="BIGINT" property="projOrgId" /> |
|||
<result column="parent_kt_id" jdbcType="BIGINT" property="parentKtId" /> |
|||
<result column="kt_group_name" jdbcType="VARCHAR" property="ktGroupName" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
<result column="intro" jdbcType="VARCHAR" property="intro" /> |
|||
<result column="kt_group_status" jdbcType="TINYINT" property="ktGroupStatus" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, proj_org_id, parent_kt_id, kt_group_name, sort, intro, kt_group_status, |
|||
del_flag, create_by, create_time, update_by, update_time, remark |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.KtsKtGroupExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from kts_kt_group |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from kts_kt_group |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from kts_kt_group |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.KtsKtGroup"> |
|||
insert into kts_kt_group (id, proj_id, proj_org_id, |
|||
parent_kt_id, kt_group_name, sort, |
|||
intro, kt_group_status, del_flag, |
|||
create_by, create_time, update_by, |
|||
update_time, remark) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, |
|||
#{parentKtId,jdbcType=BIGINT}, #{ktGroupName,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, |
|||
#{intro,jdbcType=VARCHAR}, #{ktGroupStatus,jdbcType=TINYINT}, #{delFlag,jdbcType=TINYINT}, |
|||
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, |
|||
#{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.KtsKtGroup"> |
|||
insert into kts_kt_group |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id, |
|||
</if> |
|||
<if test="parentKtId != null"> |
|||
parent_kt_id, |
|||
</if> |
|||
<if test="ktGroupName != null"> |
|||
kt_group_name, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort, |
|||
</if> |
|||
<if test="intro != null"> |
|||
intro, |
|||
</if> |
|||
<if test="ktGroupStatus != null"> |
|||
kt_group_status, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
#{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentKtId != null"> |
|||
#{parentKtId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupName != null"> |
|||
#{ktGroupName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
#{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="intro != null"> |
|||
#{intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ktGroupStatus != null"> |
|||
#{ktGroupStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.KtsKtGroupExample" resultType="java.lang.Long"> |
|||
select count(*) from kts_kt_group |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update kts_kt_group |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projOrgId != null"> |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.parentKtId != null"> |
|||
parent_kt_id = #{record.parentKtId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.ktGroupName != null"> |
|||
kt_group_name = #{record.ktGroupName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.sort != null"> |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.intro != null"> |
|||
intro = #{record.intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.ktGroupStatus != null"> |
|||
kt_group_status = #{record.ktGroupStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update kts_kt_group |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
parent_kt_id = #{record.parentKtId,jdbcType=BIGINT}, |
|||
kt_group_name = #{record.ktGroupName,jdbcType=VARCHAR}, |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
intro = #{record.intro,jdbcType=VARCHAR}, |
|||
kt_group_status = #{record.ktGroupStatus,jdbcType=TINYINT}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{record.remark,jdbcType=VARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.KtsKtGroup"> |
|||
update kts_kt_group |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentKtId != null"> |
|||
parent_kt_id = #{parentKtId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupName != null"> |
|||
kt_group_name = #{ktGroupName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="intro != null"> |
|||
intro = #{intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="ktGroupStatus != null"> |
|||
kt_group_status = #{ktGroupStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.KtsKtGroup"> |
|||
update kts_kt_group |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
parent_kt_id = #{parentKtId,jdbcType=BIGINT}, |
|||
kt_group_name = #{ktGroupName,jdbcType=VARCHAR}, |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
intro = #{intro,jdbcType=VARCHAR}, |
|||
kt_group_status = #{ktGroupStatus,jdbcType=TINYINT}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{remark,jdbcType=VARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,489 @@ |
|||
<?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.mapper.KtsKtGroupMemberMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.KtsKtGroupMember"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|||
<result column="kt_group_id" jdbcType="BIGINT" property="ktGroupId" /> |
|||
<result column="parent_member_id" jdbcType="VARCHAR" property="parentMemberId" /> |
|||
<result column="member_name" jdbcType="VARCHAR" property="memberName" /> |
|||
<result column="member_phone" jdbcType="VARCHAR" property="memberPhone" /> |
|||
<result column="member_email" jdbcType="VARCHAR" property="memberEmail" /> |
|||
<result column="member_gender" jdbcType="TINYINT" property="memberGender" /> |
|||
<result column="member_birth" jdbcType="DATE" property="memberBirth" /> |
|||
<result column="type" jdbcType="TINYINT" property="type" /> |
|||
<result column="category" jdbcType="TINYINT" property="category" /> |
|||
<result column="qualification" jdbcType="INTEGER" property="qualification" /> |
|||
<result column="title" jdbcType="INTEGER" property="title" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
<result column="intro" jdbcType="VARCHAR" property="intro" /> |
|||
<result column="audit_status" jdbcType="TINYINT" property="auditStatus" /> |
|||
<result column="member_status" jdbcType="TINYINT" property="memberStatus" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, user_id, kt_group_id, parent_member_id, member_name, member_phone, member_email, |
|||
member_gender, member_birth, type, category, qualification, title, sort, intro, audit_status, |
|||
member_status, del_flag, create_by, create_time, update_by, update_time, remark |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.KtsKtGroupMemberExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from kts_kt_group_member |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from kts_kt_group_member |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from kts_kt_group_member |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.KtsKtGroupMember"> |
|||
insert into kts_kt_group_member (id, user_id, kt_group_id, |
|||
parent_member_id, member_name, member_phone, |
|||
member_email, member_gender, member_birth, |
|||
type, category, qualification, |
|||
title, sort, intro, |
|||
audit_status, member_status, del_flag, |
|||
create_by, create_time, update_by, |
|||
update_time, remark) |
|||
values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{ktGroupId,jdbcType=BIGINT}, |
|||
#{parentMemberId,jdbcType=VARCHAR}, #{memberName,jdbcType=VARCHAR}, #{memberPhone,jdbcType=VARCHAR}, |
|||
#{memberEmail,jdbcType=VARCHAR}, #{memberGender,jdbcType=TINYINT}, #{memberBirth,jdbcType=DATE}, |
|||
#{type,jdbcType=TINYINT}, #{category,jdbcType=TINYINT}, #{qualification,jdbcType=INTEGER}, |
|||
#{title,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{intro,jdbcType=VARCHAR}, |
|||
#{auditStatus,jdbcType=TINYINT}, #{memberStatus,jdbcType=TINYINT}, #{delFlag,jdbcType=TINYINT}, |
|||
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, |
|||
#{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.KtsKtGroupMember"> |
|||
insert into kts_kt_group_member |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id, |
|||
</if> |
|||
<if test="parentMemberId != null"> |
|||
parent_member_id, |
|||
</if> |
|||
<if test="memberName != null"> |
|||
member_name, |
|||
</if> |
|||
<if test="memberPhone != null"> |
|||
member_phone, |
|||
</if> |
|||
<if test="memberEmail != null"> |
|||
member_email, |
|||
</if> |
|||
<if test="memberGender != null"> |
|||
member_gender, |
|||
</if> |
|||
<if test="memberBirth != null"> |
|||
member_birth, |
|||
</if> |
|||
<if test="type != null"> |
|||
type, |
|||
</if> |
|||
<if test="category != null"> |
|||
category, |
|||
</if> |
|||
<if test="qualification != null"> |
|||
qualification, |
|||
</if> |
|||
<if test="title != null"> |
|||
title, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort, |
|||
</if> |
|||
<if test="intro != null"> |
|||
intro, |
|||
</if> |
|||
<if test="auditStatus != null"> |
|||
audit_status, |
|||
</if> |
|||
<if test="memberStatus != null"> |
|||
member_status, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
#{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
#{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentMemberId != null"> |
|||
#{parentMemberId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="memberName != null"> |
|||
#{memberName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="memberPhone != null"> |
|||
#{memberPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="memberEmail != null"> |
|||
#{memberEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="memberGender != null"> |
|||
#{memberGender,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="memberBirth != null"> |
|||
#{memberBirth,jdbcType=DATE}, |
|||
</if> |
|||
<if test="type != null"> |
|||
#{type,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="category != null"> |
|||
#{category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="qualification != null"> |
|||
#{qualification,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="title != null"> |
|||
#{title,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
#{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="intro != null"> |
|||
#{intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="auditStatus != null"> |
|||
#{auditStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="memberStatus != null"> |
|||
#{memberStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.KtsKtGroupMemberExample" resultType="java.lang.Long"> |
|||
select count(*) from kts_kt_group_member |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update kts_kt_group_member |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.userId != null"> |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.ktGroupId != null"> |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.parentMemberId != null"> |
|||
parent_member_id = #{record.parentMemberId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.memberName != null"> |
|||
member_name = #{record.memberName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.memberPhone != null"> |
|||
member_phone = #{record.memberPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.memberEmail != null"> |
|||
member_email = #{record.memberEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.memberGender != null"> |
|||
member_gender = #{record.memberGender,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.memberBirth != null"> |
|||
member_birth = #{record.memberBirth,jdbcType=DATE}, |
|||
</if> |
|||
<if test="record.type != null"> |
|||
type = #{record.type,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.category != null"> |
|||
category = #{record.category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.qualification != null"> |
|||
qualification = #{record.qualification,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.title != null"> |
|||
title = #{record.title,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.sort != null"> |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.intro != null"> |
|||
intro = #{record.intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.auditStatus != null"> |
|||
audit_status = #{record.auditStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.memberStatus != null"> |
|||
member_status = #{record.memberStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update kts_kt_group_member |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
parent_member_id = #{record.parentMemberId,jdbcType=VARCHAR}, |
|||
member_name = #{record.memberName,jdbcType=VARCHAR}, |
|||
member_phone = #{record.memberPhone,jdbcType=VARCHAR}, |
|||
member_email = #{record.memberEmail,jdbcType=VARCHAR}, |
|||
member_gender = #{record.memberGender,jdbcType=TINYINT}, |
|||
member_birth = #{record.memberBirth,jdbcType=DATE}, |
|||
type = #{record.type,jdbcType=TINYINT}, |
|||
category = #{record.category,jdbcType=TINYINT}, |
|||
qualification = #{record.qualification,jdbcType=INTEGER}, |
|||
title = #{record.title,jdbcType=INTEGER}, |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
intro = #{record.intro,jdbcType=VARCHAR}, |
|||
audit_status = #{record.auditStatus,jdbcType=TINYINT}, |
|||
member_status = #{record.memberStatus,jdbcType=TINYINT}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{record.remark,jdbcType=VARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.KtsKtGroupMember"> |
|||
update kts_kt_group_member |
|||
<set> |
|||
<if test="userId != null"> |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentMemberId != null"> |
|||
parent_member_id = #{parentMemberId,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="memberName != null"> |
|||
member_name = #{memberName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="memberPhone != null"> |
|||
member_phone = #{memberPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="memberEmail != null"> |
|||
member_email = #{memberEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="memberGender != null"> |
|||
member_gender = #{memberGender,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="memberBirth != null"> |
|||
member_birth = #{memberBirth,jdbcType=DATE}, |
|||
</if> |
|||
<if test="type != null"> |
|||
type = #{type,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="category != null"> |
|||
category = #{category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="qualification != null"> |
|||
qualification = #{qualification,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="title != null"> |
|||
title = #{title,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="intro != null"> |
|||
intro = #{intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="auditStatus != null"> |
|||
audit_status = #{auditStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="memberStatus != null"> |
|||
member_status = #{memberStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.KtsKtGroupMember"> |
|||
update kts_kt_group_member |
|||
set user_id = #{userId,jdbcType=BIGINT}, |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
parent_member_id = #{parentMemberId,jdbcType=VARCHAR}, |
|||
member_name = #{memberName,jdbcType=VARCHAR}, |
|||
member_phone = #{memberPhone,jdbcType=VARCHAR}, |
|||
member_email = #{memberEmail,jdbcType=VARCHAR}, |
|||
member_gender = #{memberGender,jdbcType=TINYINT}, |
|||
member_birth = #{memberBirth,jdbcType=DATE}, |
|||
type = #{type,jdbcType=TINYINT}, |
|||
category = #{category,jdbcType=TINYINT}, |
|||
qualification = #{qualification,jdbcType=INTEGER}, |
|||
title = #{title,jdbcType=INTEGER}, |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
intro = #{intro,jdbcType=VARCHAR}, |
|||
audit_status = #{auditStatus,jdbcType=TINYINT}, |
|||
member_status = #{memberStatus,jdbcType=TINYINT}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{remark,jdbcType=VARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,269 @@ |
|||
<?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.mapper.MetMeetingParticipantMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.MetMeetingParticipant"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="meeting_id" jdbcType="BIGINT" property="meetingId" /> |
|||
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, meeting_id, user_id, remark, del_flag, create_by, create_time, update_by, update_time |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.MetMeetingParticipantExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from met_meeting_participant |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from met_meeting_participant |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from met_meeting_participant |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.MetMeetingParticipant"> |
|||
insert into met_meeting_participant (id, meeting_id, user_id, |
|||
remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{meetingId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, |
|||
#{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, |
|||
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.MetMeetingParticipant"> |
|||
insert into met_meeting_participant |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="meetingId != null"> |
|||
meeting_id, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="meetingId != null"> |
|||
#{meetingId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
#{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.MetMeetingParticipantExample" resultType="java.lang.Long"> |
|||
select count(*) from met_meeting_participant |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update met_meeting_participant |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.meetingId != null"> |
|||
meeting_id = #{record.meetingId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.userId != null"> |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update met_meeting_participant |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
meeting_id = #{record.meetingId,jdbcType=BIGINT}, |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.MetMeetingParticipant"> |
|||
update met_meeting_participant |
|||
<set> |
|||
<if test="meetingId != null"> |
|||
meeting_id = #{meetingId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.MetMeetingParticipant"> |
|||
update met_meeting_participant |
|||
set meeting_id = #{meetingId,jdbcType=BIGINT}, |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,380 @@ |
|||
<?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.mapper.MetMeetingRecordMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.MetMeetingRecord"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="proj_org_id" jdbcType="BIGINT" property="projOrgId" /> |
|||
<result column="kt_group_id" jdbcType="BIGINT" property="ktGroupId" /> |
|||
<result column="meeting_title" jdbcType="VARCHAR" property="meetingTitle" /> |
|||
<result column="meeting_fqr" jdbcType="VARCHAR" property="meetingFqr" /> |
|||
<result column="meeting_begin_time" jdbcType="TIMESTAMP" property="meetingBeginTime" /> |
|||
<result column="meeting_end_time" jdbcType="TIMESTAMP" property="meetingEndTime" /> |
|||
<result column="meeting_abstract" jdbcType="VARCHAR" property="meetingAbstract" /> |
|||
<result column="meeting_note_url" jdbcType="VARCHAR" property="meetingNoteUrl" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, proj_org_id, kt_group_id, meeting_title, meeting_fqr, meeting_begin_time, |
|||
meeting_end_time, meeting_abstract, meeting_note_url, remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.MetMeetingRecordExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from met_meeting_record |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from met_meeting_record |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from met_meeting_record |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.MetMeetingRecord"> |
|||
insert into met_meeting_record (id, proj_id, proj_org_id, |
|||
kt_group_id, meeting_title, meeting_fqr, |
|||
meeting_begin_time, meeting_end_time, meeting_abstract, |
|||
meeting_note_url, remark, del_flag, |
|||
create_by, create_time, update_by, |
|||
update_time) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, |
|||
#{ktGroupId,jdbcType=BIGINT}, #{meetingTitle,jdbcType=VARCHAR}, #{meetingFqr,jdbcType=VARCHAR}, |
|||
#{meetingBeginTime,jdbcType=TIMESTAMP}, #{meetingEndTime,jdbcType=TIMESTAMP}, #{meetingAbstract,jdbcType=VARCHAR}, |
|||
#{meetingNoteUrl,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, |
|||
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, |
|||
#{updateTime,jdbcType=TIMESTAMP}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.MetMeetingRecord"> |
|||
insert into met_meeting_record |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id, |
|||
</if> |
|||
<if test="meetingTitle != null"> |
|||
meeting_title, |
|||
</if> |
|||
<if test="meetingFqr != null"> |
|||
meeting_fqr, |
|||
</if> |
|||
<if test="meetingBeginTime != null"> |
|||
meeting_begin_time, |
|||
</if> |
|||
<if test="meetingEndTime != null"> |
|||
meeting_end_time, |
|||
</if> |
|||
<if test="meetingAbstract != null"> |
|||
meeting_abstract, |
|||
</if> |
|||
<if test="meetingNoteUrl != null"> |
|||
meeting_note_url, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
#{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
#{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="meetingTitle != null"> |
|||
#{meetingTitle,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="meetingFqr != null"> |
|||
#{meetingFqr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="meetingBeginTime != null"> |
|||
#{meetingBeginTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="meetingEndTime != null"> |
|||
#{meetingEndTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="meetingAbstract != null"> |
|||
#{meetingAbstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="meetingNoteUrl != null"> |
|||
#{meetingNoteUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.MetMeetingRecordExample" resultType="java.lang.Long"> |
|||
select count(*) from met_meeting_record |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update met_meeting_record |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projOrgId != null"> |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.ktGroupId != null"> |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.meetingTitle != null"> |
|||
meeting_title = #{record.meetingTitle,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.meetingFqr != null"> |
|||
meeting_fqr = #{record.meetingFqr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.meetingBeginTime != null"> |
|||
meeting_begin_time = #{record.meetingBeginTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.meetingEndTime != null"> |
|||
meeting_end_time = #{record.meetingEndTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.meetingAbstract != null"> |
|||
meeting_abstract = #{record.meetingAbstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.meetingNoteUrl != null"> |
|||
meeting_note_url = #{record.meetingNoteUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update met_meeting_record |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
meeting_title = #{record.meetingTitle,jdbcType=VARCHAR}, |
|||
meeting_fqr = #{record.meetingFqr,jdbcType=VARCHAR}, |
|||
meeting_begin_time = #{record.meetingBeginTime,jdbcType=TIMESTAMP}, |
|||
meeting_end_time = #{record.meetingEndTime,jdbcType=TIMESTAMP}, |
|||
meeting_abstract = #{record.meetingAbstract,jdbcType=VARCHAR}, |
|||
meeting_note_url = #{record.meetingNoteUrl,jdbcType=VARCHAR}, |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.MetMeetingRecord"> |
|||
update met_meeting_record |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="meetingTitle != null"> |
|||
meeting_title = #{meetingTitle,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="meetingFqr != null"> |
|||
meeting_fqr = #{meetingFqr,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="meetingBeginTime != null"> |
|||
meeting_begin_time = #{meetingBeginTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="meetingEndTime != null"> |
|||
meeting_end_time = #{meetingEndTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="meetingAbstract != null"> |
|||
meeting_abstract = #{meetingAbstract,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="meetingNoteUrl != null"> |
|||
meeting_note_url = #{meetingNoteUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.MetMeetingRecord"> |
|||
update met_meeting_record |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
meeting_title = #{meetingTitle,jdbcType=VARCHAR}, |
|||
meeting_fqr = #{meetingFqr,jdbcType=VARCHAR}, |
|||
meeting_begin_time = #{meetingBeginTime,jdbcType=TIMESTAMP}, |
|||
meeting_end_time = #{meetingEndTime,jdbcType=TIMESTAMP}, |
|||
meeting_abstract = #{meetingAbstract,jdbcType=VARCHAR}, |
|||
meeting_note_url = #{meetingNoteUrl,jdbcType=VARCHAR}, |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,364 @@ |
|||
<?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.mapper.PrjProjDocumentMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.PrjProjDocument"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="doc_name" jdbcType="VARCHAR" property="docName" /> |
|||
<result column="doc_type" jdbcType="VARCHAR" property="docType" /> |
|||
<result column="doc_visit_path" jdbcType="VARCHAR" property="docVisitPath" /> |
|||
<result column="doc_preview_img" jdbcType="VARCHAR" property="docPreviewImg" /> |
|||
<result column="doc_labels" jdbcType="VARCHAR" property="docLabels" /> |
|||
<result column="uploader" jdbcType="VARCHAR" property="uploader" /> |
|||
<result column="upload_time" jdbcType="VARCHAR" property="uploadTime" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, doc_name, doc_type, doc_visit_path, doc_preview_img, doc_labels, uploader, |
|||
upload_time, del_flag, create_by, create_time, update_by, update_time, remark |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.PrjProjDocumentExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from prj_proj_document |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from prj_proj_document |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from prj_proj_document |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.PrjProjDocument"> |
|||
insert into prj_proj_document (id, proj_id, doc_name, |
|||
doc_type, doc_visit_path, doc_preview_img, |
|||
doc_labels, uploader, upload_time, |
|||
del_flag, create_by, create_time, |
|||
update_by, update_time, remark |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{docName,jdbcType=VARCHAR}, |
|||
#{docType,jdbcType=VARCHAR}, #{docVisitPath,jdbcType=VARCHAR}, #{docPreviewImg,jdbcType=VARCHAR}, |
|||
#{docLabels,jdbcType=VARCHAR}, #{uploader,jdbcType=VARCHAR}, #{uploadTime,jdbcType=VARCHAR}, |
|||
#{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|||
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.PrjProjDocument"> |
|||
insert into prj_proj_document |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="docName != null"> |
|||
doc_name, |
|||
</if> |
|||
<if test="docType != null"> |
|||
doc_type, |
|||
</if> |
|||
<if test="docVisitPath != null"> |
|||
doc_visit_path, |
|||
</if> |
|||
<if test="docPreviewImg != null"> |
|||
doc_preview_img, |
|||
</if> |
|||
<if test="docLabels != null"> |
|||
doc_labels, |
|||
</if> |
|||
<if test="uploader != null"> |
|||
uploader, |
|||
</if> |
|||
<if test="uploadTime != null"> |
|||
upload_time, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="docName != null"> |
|||
#{docName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="docType != null"> |
|||
#{docType,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="docVisitPath != null"> |
|||
#{docVisitPath,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="docPreviewImg != null"> |
|||
#{docPreviewImg,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="docLabels != null"> |
|||
#{docLabels,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="uploader != null"> |
|||
#{uploader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="uploadTime != null"> |
|||
#{uploadTime,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.PrjProjDocumentExample" resultType="java.lang.Long"> |
|||
select count(*) from prj_proj_document |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update prj_proj_document |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.docName != null"> |
|||
doc_name = #{record.docName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.docType != null"> |
|||
doc_type = #{record.docType,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.docVisitPath != null"> |
|||
doc_visit_path = #{record.docVisitPath,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.docPreviewImg != null"> |
|||
doc_preview_img = #{record.docPreviewImg,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.docLabels != null"> |
|||
doc_labels = #{record.docLabels,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.uploader != null"> |
|||
uploader = #{record.uploader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.uploadTime != null"> |
|||
upload_time = #{record.uploadTime,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update prj_proj_document |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
doc_name = #{record.docName,jdbcType=VARCHAR}, |
|||
doc_type = #{record.docType,jdbcType=VARCHAR}, |
|||
doc_visit_path = #{record.docVisitPath,jdbcType=VARCHAR}, |
|||
doc_preview_img = #{record.docPreviewImg,jdbcType=VARCHAR}, |
|||
doc_labels = #{record.docLabels,jdbcType=VARCHAR}, |
|||
uploader = #{record.uploader,jdbcType=VARCHAR}, |
|||
upload_time = #{record.uploadTime,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{record.remark,jdbcType=VARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.PrjProjDocument"> |
|||
update prj_proj_document |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="docName != null"> |
|||
doc_name = #{docName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="docType != null"> |
|||
doc_type = #{docType,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="docVisitPath != null"> |
|||
doc_visit_path = #{docVisitPath,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="docPreviewImg != null"> |
|||
doc_preview_img = #{docPreviewImg,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="docLabels != null"> |
|||
doc_labels = #{docLabels,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="uploader != null"> |
|||
uploader = #{uploader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="uploadTime != null"> |
|||
upload_time = #{uploadTime,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.PrjProjDocument"> |
|||
update prj_proj_document |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
doc_name = #{docName,jdbcType=VARCHAR}, |
|||
doc_type = #{docType,jdbcType=VARCHAR}, |
|||
doc_visit_path = #{docVisitPath,jdbcType=VARCHAR}, |
|||
doc_preview_img = #{docPreviewImg,jdbcType=VARCHAR}, |
|||
doc_labels = #{docLabels,jdbcType=VARCHAR}, |
|||
uploader = #{uploader,jdbcType=VARCHAR}, |
|||
upload_time = #{uploadTime,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{remark,jdbcType=VARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,507 @@ |
|||
<?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.mapper.PrjProjInfoMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.PrjProjInfo"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="tenant_id" jdbcType="BIGINT" property="tenantId" /> |
|||
<result column="title" jdbcType="VARCHAR" property="title" /> |
|||
<result column="title_en" jdbcType="VARCHAR" property="titleEn" /> |
|||
<result column="code" jdbcType="VARCHAR" property="code" /> |
|||
<result column="org" jdbcType="VARCHAR" property="org" /> |
|||
<result column="leader" jdbcType="VARCHAR" property="leader" /> |
|||
<result column="leader_phone" jdbcType="VARCHAR" property="leaderPhone" /> |
|||
<result column="leader_email" jdbcType="VARCHAR" property="leaderEmail" /> |
|||
<result column="begin_time" jdbcType="TIMESTAMP" property="beginTime" /> |
|||
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" /> |
|||
<result column="intro" jdbcType="VARCHAR" property="intro" /> |
|||
<result column="funding_category" jdbcType="VARCHAR" property="fundingCategory" /> |
|||
<result column="funding_category_sub" jdbcType="VARCHAR" property="fundingCategorySub" /> |
|||
<result column="funding_category_deputy" jdbcType="VARCHAR" property="fundingCategoryDeputy" /> |
|||
<result column="funding" jdbcType="VARCHAR" property="funding" /> |
|||
<result column="proj_source" jdbcType="VARCHAR" property="projSource" /> |
|||
<result column="proj_catgegory" jdbcType="VARCHAR" property="projCatgegory" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, tenant_id, title, title_en, code, org, leader, leader_phone, leader_email, begin_time, |
|||
end_time, intro, funding_category, funding_category_sub, funding_category_deputy, |
|||
funding, proj_source, proj_catgegory, del_flag, create_by, create_time, update_by, |
|||
update_time, remark |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.PrjProjInfoExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from prj_proj_info |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from prj_proj_info |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from prj_proj_info |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.PrjProjInfo"> |
|||
insert into prj_proj_info (id, tenant_id, title, |
|||
title_en, code, org, |
|||
leader, leader_phone, leader_email, |
|||
begin_time, end_time, intro, |
|||
funding_category, funding_category_sub, funding_category_deputy, |
|||
funding, proj_source, proj_catgegory, |
|||
del_flag, create_by, create_time, |
|||
update_by, update_time, remark |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{tenantId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, |
|||
#{titleEn,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{org,jdbcType=VARCHAR}, |
|||
#{leader,jdbcType=VARCHAR}, #{leaderPhone,jdbcType=VARCHAR}, #{leaderEmail,jdbcType=VARCHAR}, |
|||
#{beginTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{intro,jdbcType=VARCHAR}, |
|||
#{fundingCategory,jdbcType=VARCHAR}, #{fundingCategorySub,jdbcType=VARCHAR}, #{fundingCategoryDeputy,jdbcType=VARCHAR}, |
|||
#{funding,jdbcType=VARCHAR}, #{projSource,jdbcType=VARCHAR}, #{projCatgegory,jdbcType=VARCHAR}, |
|||
#{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|||
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.PrjProjInfo"> |
|||
insert into prj_proj_info |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="tenantId != null"> |
|||
tenant_id, |
|||
</if> |
|||
<if test="title != null"> |
|||
title, |
|||
</if> |
|||
<if test="titleEn != null"> |
|||
title_en, |
|||
</if> |
|||
<if test="code != null"> |
|||
code, |
|||
</if> |
|||
<if test="org != null"> |
|||
org, |
|||
</if> |
|||
<if test="leader != null"> |
|||
leader, |
|||
</if> |
|||
<if test="leaderPhone != null"> |
|||
leader_phone, |
|||
</if> |
|||
<if test="leaderEmail != null"> |
|||
leader_email, |
|||
</if> |
|||
<if test="beginTime != null"> |
|||
begin_time, |
|||
</if> |
|||
<if test="endTime != null"> |
|||
end_time, |
|||
</if> |
|||
<if test="intro != null"> |
|||
intro, |
|||
</if> |
|||
<if test="fundingCategory != null"> |
|||
funding_category, |
|||
</if> |
|||
<if test="fundingCategorySub != null"> |
|||
funding_category_sub, |
|||
</if> |
|||
<if test="fundingCategoryDeputy != null"> |
|||
funding_category_deputy, |
|||
</if> |
|||
<if test="funding != null"> |
|||
funding, |
|||
</if> |
|||
<if test="projSource != null"> |
|||
proj_source, |
|||
</if> |
|||
<if test="projCatgegory != null"> |
|||
proj_catgegory, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="tenantId != null"> |
|||
#{tenantId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="title != null"> |
|||
#{title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="titleEn != null"> |
|||
#{titleEn,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="code != null"> |
|||
#{code,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="org != null"> |
|||
#{org,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="leader != null"> |
|||
#{leader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="leaderPhone != null"> |
|||
#{leaderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="leaderEmail != null"> |
|||
#{leaderEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="beginTime != null"> |
|||
#{beginTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="endTime != null"> |
|||
#{endTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="intro != null"> |
|||
#{intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="fundingCategory != null"> |
|||
#{fundingCategory,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="fundingCategorySub != null"> |
|||
#{fundingCategorySub,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="fundingCategoryDeputy != null"> |
|||
#{fundingCategoryDeputy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="funding != null"> |
|||
#{funding,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projSource != null"> |
|||
#{projSource,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projCatgegory != null"> |
|||
#{projCatgegory,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.PrjProjInfoExample" resultType="java.lang.Long"> |
|||
select count(*) from prj_proj_info |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update prj_proj_info |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.tenantId != null"> |
|||
tenant_id = #{record.tenantId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.title != null"> |
|||
title = #{record.title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.titleEn != null"> |
|||
title_en = #{record.titleEn,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.code != null"> |
|||
code = #{record.code,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.org != null"> |
|||
org = #{record.org,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.leader != null"> |
|||
leader = #{record.leader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.leaderPhone != null"> |
|||
leader_phone = #{record.leaderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.leaderEmail != null"> |
|||
leader_email = #{record.leaderEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.beginTime != null"> |
|||
begin_time = #{record.beginTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.endTime != null"> |
|||
end_time = #{record.endTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.intro != null"> |
|||
intro = #{record.intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.fundingCategory != null"> |
|||
funding_category = #{record.fundingCategory,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.fundingCategorySub != null"> |
|||
funding_category_sub = #{record.fundingCategorySub,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.fundingCategoryDeputy != null"> |
|||
funding_category_deputy = #{record.fundingCategoryDeputy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.funding != null"> |
|||
funding = #{record.funding,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.projSource != null"> |
|||
proj_source = #{record.projSource,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.projCatgegory != null"> |
|||
proj_catgegory = #{record.projCatgegory,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update prj_proj_info |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
tenant_id = #{record.tenantId,jdbcType=BIGINT}, |
|||
title = #{record.title,jdbcType=VARCHAR}, |
|||
title_en = #{record.titleEn,jdbcType=VARCHAR}, |
|||
code = #{record.code,jdbcType=VARCHAR}, |
|||
org = #{record.org,jdbcType=VARCHAR}, |
|||
leader = #{record.leader,jdbcType=VARCHAR}, |
|||
leader_phone = #{record.leaderPhone,jdbcType=VARCHAR}, |
|||
leader_email = #{record.leaderEmail,jdbcType=VARCHAR}, |
|||
begin_time = #{record.beginTime,jdbcType=TIMESTAMP}, |
|||
end_time = #{record.endTime,jdbcType=TIMESTAMP}, |
|||
intro = #{record.intro,jdbcType=VARCHAR}, |
|||
funding_category = #{record.fundingCategory,jdbcType=VARCHAR}, |
|||
funding_category_sub = #{record.fundingCategorySub,jdbcType=VARCHAR}, |
|||
funding_category_deputy = #{record.fundingCategoryDeputy,jdbcType=VARCHAR}, |
|||
funding = #{record.funding,jdbcType=VARCHAR}, |
|||
proj_source = #{record.projSource,jdbcType=VARCHAR}, |
|||
proj_catgegory = #{record.projCatgegory,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{record.remark,jdbcType=VARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.PrjProjInfo"> |
|||
update prj_proj_info |
|||
<set> |
|||
<if test="tenantId != null"> |
|||
tenant_id = #{tenantId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="title != null"> |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="titleEn != null"> |
|||
title_en = #{titleEn,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="code != null"> |
|||
code = #{code,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="org != null"> |
|||
org = #{org,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="leader != null"> |
|||
leader = #{leader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="leaderPhone != null"> |
|||
leader_phone = #{leaderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="leaderEmail != null"> |
|||
leader_email = #{leaderEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="beginTime != null"> |
|||
begin_time = #{beginTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="endTime != null"> |
|||
end_time = #{endTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="intro != null"> |
|||
intro = #{intro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="fundingCategory != null"> |
|||
funding_category = #{fundingCategory,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="fundingCategorySub != null"> |
|||
funding_category_sub = #{fundingCategorySub,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="fundingCategoryDeputy != null"> |
|||
funding_category_deputy = #{fundingCategoryDeputy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="funding != null"> |
|||
funding = #{funding,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projSource != null"> |
|||
proj_source = #{projSource,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projCatgegory != null"> |
|||
proj_catgegory = #{projCatgegory,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.PrjProjInfo"> |
|||
update prj_proj_info |
|||
set tenant_id = #{tenantId,jdbcType=BIGINT}, |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
title_en = #{titleEn,jdbcType=VARCHAR}, |
|||
code = #{code,jdbcType=VARCHAR}, |
|||
org = #{org,jdbcType=VARCHAR}, |
|||
leader = #{leader,jdbcType=VARCHAR}, |
|||
leader_phone = #{leaderPhone,jdbcType=VARCHAR}, |
|||
leader_email = #{leaderEmail,jdbcType=VARCHAR}, |
|||
begin_time = #{beginTime,jdbcType=TIMESTAMP}, |
|||
end_time = #{endTime,jdbcType=TIMESTAMP}, |
|||
intro = #{intro,jdbcType=VARCHAR}, |
|||
funding_category = #{fundingCategory,jdbcType=VARCHAR}, |
|||
funding_category_sub = #{fundingCategorySub,jdbcType=VARCHAR}, |
|||
funding_category_deputy = #{fundingCategoryDeputy,jdbcType=VARCHAR}, |
|||
funding = #{funding,jdbcType=VARCHAR}, |
|||
proj_source = #{projSource,jdbcType=VARCHAR}, |
|||
proj_catgegory = #{projCatgegory,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{remark,jdbcType=VARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,441 @@ |
|||
<?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.mapper.PrjProjOrgMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.PrjProjOrg"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="category" jdbcType="TINYINT" property="category" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
<result column="org_name" jdbcType="VARCHAR" property="orgName" /> |
|||
<result column="org_leader" jdbcType="VARCHAR" property="orgLeader" /> |
|||
<result column="org_leader_phone" jdbcType="VARCHAR" property="orgLeaderPhone" /> |
|||
<result column="org_leader_email" jdbcType="VARCHAR" property="orgLeaderEmail" /> |
|||
<result column="proj_resp_intro" jdbcType="VARCHAR" property="projRespIntro" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
</resultMap> |
|||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.research.system.domain.po.PrjProjOrg"> |
|||
<result column="org_intro" jdbcType="LONGVARCHAR" property="orgIntro" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, category, sort, org_name, org_leader, org_leader_phone, org_leader_email, |
|||
proj_resp_intro, del_flag, create_by, create_time, update_by, update_time, remark |
|||
</sql> |
|||
<sql id="Blob_Column_List"> |
|||
org_intro |
|||
</sql> |
|||
<select id="selectByExampleWithBLOBs" parameterType="com.research.system.domain.po.PrjProjOrgExample" resultMap="ResultMapWithBLOBs"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
, |
|||
<include refid="Blob_Column_List" /> |
|||
from prj_proj_org |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.PrjProjOrgExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from prj_proj_org |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
, |
|||
<include refid="Blob_Column_List" /> |
|||
from prj_proj_org |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from prj_proj_org |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.PrjProjOrg"> |
|||
insert into prj_proj_org (id, proj_id, category, |
|||
sort, org_name, org_leader, |
|||
org_leader_phone, org_leader_email, proj_resp_intro, |
|||
del_flag, create_by, create_time, |
|||
update_by, update_time, remark, |
|||
org_intro) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{category,jdbcType=TINYINT}, |
|||
#{sort,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{orgLeader,jdbcType=VARCHAR}, |
|||
#{orgLeaderPhone,jdbcType=VARCHAR}, #{orgLeaderEmail,jdbcType=VARCHAR}, #{projRespIntro,jdbcType=VARCHAR}, |
|||
#{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|||
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, |
|||
#{orgIntro,jdbcType=LONGVARCHAR}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.PrjProjOrg"> |
|||
insert into prj_proj_org |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="category != null"> |
|||
category, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort, |
|||
</if> |
|||
<if test="orgName != null"> |
|||
org_name, |
|||
</if> |
|||
<if test="orgLeader != null"> |
|||
org_leader, |
|||
</if> |
|||
<if test="orgLeaderPhone != null"> |
|||
org_leader_phone, |
|||
</if> |
|||
<if test="orgLeaderEmail != null"> |
|||
org_leader_email, |
|||
</if> |
|||
<if test="projRespIntro != null"> |
|||
proj_resp_intro, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
<if test="orgIntro != null"> |
|||
org_intro, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="category != null"> |
|||
#{category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
#{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="orgName != null"> |
|||
#{orgName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="orgLeader != null"> |
|||
#{orgLeader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="orgLeaderPhone != null"> |
|||
#{orgLeaderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="orgLeaderEmail != null"> |
|||
#{orgLeaderEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projRespIntro != null"> |
|||
#{projRespIntro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="orgIntro != null"> |
|||
#{orgIntro,jdbcType=LONGVARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.PrjProjOrgExample" resultType="java.lang.Long"> |
|||
select count(*) from prj_proj_org |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update prj_proj_org |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.category != null"> |
|||
category = #{record.category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.sort != null"> |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.orgName != null"> |
|||
org_name = #{record.orgName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.orgLeader != null"> |
|||
org_leader = #{record.orgLeader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.orgLeaderPhone != null"> |
|||
org_leader_phone = #{record.orgLeaderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.orgLeaderEmail != null"> |
|||
org_leader_email = #{record.orgLeaderEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.projRespIntro != null"> |
|||
proj_resp_intro = #{record.projRespIntro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.orgIntro != null"> |
|||
org_intro = #{record.orgIntro,jdbcType=LONGVARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExampleWithBLOBs" parameterType="map"> |
|||
update prj_proj_org |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
category = #{record.category,jdbcType=TINYINT}, |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
org_name = #{record.orgName,jdbcType=VARCHAR}, |
|||
org_leader = #{record.orgLeader,jdbcType=VARCHAR}, |
|||
org_leader_phone = #{record.orgLeaderPhone,jdbcType=VARCHAR}, |
|||
org_leader_email = #{record.orgLeaderEmail,jdbcType=VARCHAR}, |
|||
proj_resp_intro = #{record.projRespIntro,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
org_intro = #{record.orgIntro,jdbcType=LONGVARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update prj_proj_org |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
category = #{record.category,jdbcType=TINYINT}, |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
org_name = #{record.orgName,jdbcType=VARCHAR}, |
|||
org_leader = #{record.orgLeader,jdbcType=VARCHAR}, |
|||
org_leader_phone = #{record.orgLeaderPhone,jdbcType=VARCHAR}, |
|||
org_leader_email = #{record.orgLeaderEmail,jdbcType=VARCHAR}, |
|||
proj_resp_intro = #{record.projRespIntro,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{record.remark,jdbcType=VARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.PrjProjOrg"> |
|||
update prj_proj_org |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="category != null"> |
|||
category = #{category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="orgName != null"> |
|||
org_name = #{orgName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="orgLeader != null"> |
|||
org_leader = #{orgLeader,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="orgLeaderPhone != null"> |
|||
org_leader_phone = #{orgLeaderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="orgLeaderEmail != null"> |
|||
org_leader_email = #{orgLeaderEmail,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projRespIntro != null"> |
|||
proj_resp_intro = #{projRespIntro,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="orgIntro != null"> |
|||
org_intro = #{orgIntro,jdbcType=LONGVARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.research.system.domain.po.PrjProjOrg"> |
|||
update prj_proj_org |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
category = #{category,jdbcType=TINYINT}, |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
org_name = #{orgName,jdbcType=VARCHAR}, |
|||
org_leader = #{orgLeader,jdbcType=VARCHAR}, |
|||
org_leader_phone = #{orgLeaderPhone,jdbcType=VARCHAR}, |
|||
org_leader_email = #{orgLeaderEmail,jdbcType=VARCHAR}, |
|||
proj_resp_intro = #{projRespIntro,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
org_intro = #{orgIntro,jdbcType=LONGVARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.PrjProjOrg"> |
|||
update prj_proj_org |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
category = #{category,jdbcType=TINYINT}, |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
org_name = #{orgName,jdbcType=VARCHAR}, |
|||
org_leader = #{orgLeader,jdbcType=VARCHAR}, |
|||
org_leader_phone = #{orgLeaderPhone,jdbcType=VARCHAR}, |
|||
org_leader_email = #{orgLeaderEmail,jdbcType=VARCHAR}, |
|||
proj_resp_intro = #{projRespIntro,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
remark = #{remark,jdbcType=VARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,317 @@ |
|||
<?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.mapper.ShsCkwxCategoryMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.ShsCkwxCategory"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="parent_id" jdbcType="BIGINT" property="parentId" /> |
|||
<result column="category_code" jdbcType="VARCHAR" property="categoryCode" /> |
|||
<result column="category_name" jdbcType="VARCHAR" property="categoryName" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, parent_id, category_code, category_name, sort, remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.ShsCkwxCategoryExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from shs_ckwx_category |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from shs_ckwx_category |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from shs_ckwx_category |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.ShsCkwxCategory"> |
|||
insert into shs_ckwx_category (id, proj_id, parent_id, |
|||
category_code, category_name, sort, |
|||
remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, |
|||
#{categoryCode,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, |
|||
#{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, |
|||
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.ShsCkwxCategory"> |
|||
insert into shs_ckwx_category |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
parent_id, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
category_code, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
category_name, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
#{parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
#{categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
#{categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
#{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.ShsCkwxCategoryExample" resultType="java.lang.Long"> |
|||
select count(*) from shs_ckwx_category |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update shs_ckwx_category |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.parentId != null"> |
|||
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.categoryCode != null"> |
|||
category_code = #{record.categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.categoryName != null"> |
|||
category_name = #{record.categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.sort != null"> |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update shs_ckwx_category |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|||
category_code = #{record.categoryCode,jdbcType=VARCHAR}, |
|||
category_name = #{record.categoryName,jdbcType=VARCHAR}, |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.ShsCkwxCategory"> |
|||
update shs_ckwx_category |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
parent_id = #{parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
category_code = #{categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
category_name = #{categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.ShsCkwxCategory"> |
|||
update shs_ckwx_category |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
parent_id = #{parentId,jdbcType=BIGINT}, |
|||
category_code = #{categoryCode,jdbcType=VARCHAR}, |
|||
category_name = #{categoryName,jdbcType=VARCHAR}, |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,379 @@ |
|||
<?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.mapper.ShsCkwxInfoMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.ShsCkwxInfo"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="proj_org_id" jdbcType="BIGINT" property="projOrgId" /> |
|||
<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="sign_username" jdbcType="VARCHAR" property="signUsername" /> |
|||
<result column="sign_time" jdbcType="VARCHAR" property="signTime" /> |
|||
<result column="tpl_download_url" jdbcType="VARCHAR" property="tplDownloadUrl" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, proj_org_id, kt_group_id, tpl_id, category, business_id, title, sign_username, |
|||
sign_time, tpl_download_url, del_flag, create_by, create_time, update_by, update_time |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.ShsCkwxInfoExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from shs_ckwx_info |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from shs_ckwx_info |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from shs_ckwx_info |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.ShsCkwxInfo"> |
|||
insert into shs_ckwx_info (id, proj_id, proj_org_id, |
|||
kt_group_id, tpl_id, category, |
|||
business_id, title, sign_username, |
|||
sign_time, tpl_download_url, del_flag, |
|||
create_by, create_time, update_by, |
|||
update_time) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, |
|||
#{ktGroupId,jdbcType=BIGINT}, #{tplId,jdbcType=BIGINT}, #{category,jdbcType=TINYINT}, |
|||
#{businessId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{signUsername,jdbcType=VARCHAR}, |
|||
#{signTime,jdbcType=VARCHAR}, #{tplDownloadUrl,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, |
|||
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, |
|||
#{updateTime,jdbcType=TIMESTAMP}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.ShsCkwxInfo"> |
|||
insert into shs_ckwx_info |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id, |
|||
</if> |
|||
<if test="tplId != null"> |
|||
tpl_id, |
|||
</if> |
|||
<if test="category != null"> |
|||
category, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
business_id, |
|||
</if> |
|||
<if test="title != null"> |
|||
title, |
|||
</if> |
|||
<if test="signUsername != null"> |
|||
sign_username, |
|||
</if> |
|||
<if test="signTime != null"> |
|||
sign_time, |
|||
</if> |
|||
<if test="tplDownloadUrl != null"> |
|||
tpl_download_url, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
#{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
#{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="tplId != null"> |
|||
#{tplId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="category != null"> |
|||
#{category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
#{businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="title != null"> |
|||
#{title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="signUsername != null"> |
|||
#{signUsername,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="signTime != null"> |
|||
#{signTime,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="tplDownloadUrl != null"> |
|||
#{tplDownloadUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.ShsCkwxInfoExample" resultType="java.lang.Long"> |
|||
select count(*) from shs_ckwx_info |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update shs_ckwx_info |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projOrgId != null"> |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.ktGroupId != null"> |
|||
kt_group_id = #{record.ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.tplId != null"> |
|||
tpl_id = #{record.tplId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.category != null"> |
|||
category = #{record.category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.businessId != null"> |
|||
business_id = #{record.businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.title != null"> |
|||
title = #{record.title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.signUsername != null"> |
|||
sign_username = #{record.signUsername,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.signTime != null"> |
|||
sign_time = #{record.signTime,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.tplDownloadUrl != null"> |
|||
tpl_download_url = #{record.tplDownloadUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update shs_ckwx_info |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
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}, |
|||
sign_username = #{record.signUsername,jdbcType=VARCHAR}, |
|||
sign_time = #{record.signTime,jdbcType=VARCHAR}, |
|||
tpl_download_url = #{record.tplDownloadUrl,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.ShsCkwxInfo"> |
|||
update shs_ckwx_info |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="ktGroupId != null"> |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="tplId != null"> |
|||
tpl_id = #{tplId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="category != null"> |
|||
category = #{category,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
business_id = #{businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="title != null"> |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="signUsername != null"> |
|||
sign_username = #{signUsername,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="signTime != null"> |
|||
sign_time = #{signTime,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="tplDownloadUrl != null"> |
|||
tpl_download_url = #{tplDownloadUrl,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.ShsCkwxInfo"> |
|||
update shs_ckwx_info |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
kt_group_id = #{ktGroupId,jdbcType=BIGINT}, |
|||
tpl_id = #{tplId,jdbcType=BIGINT}, |
|||
category = #{category,jdbcType=TINYINT}, |
|||
business_id = #{businessId,jdbcType=BIGINT}, |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
sign_username = #{signUsername,jdbcType=VARCHAR}, |
|||
sign_time = #{signTime,jdbcType=VARCHAR}, |
|||
tpl_download_url = #{tplDownloadUrl,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,334 @@ |
|||
<?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.mapper.ShsLibInfoMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.ShsLibInfo"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="proj_org_id" jdbcType="BIGINT" property="projOrgId" /> |
|||
<result column="title" jdbcType="VARCHAR" property="title" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
</resultMap> |
|||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.research.system.domain.po.ShsLibInfo"> |
|||
<result column="intro" jdbcType="LONGVARCHAR" property="intro" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, proj_org_id, title, del_flag, create_by, create_time, update_by, update_time |
|||
</sql> |
|||
<sql id="Blob_Column_List"> |
|||
intro |
|||
</sql> |
|||
<select id="selectByExampleWithBLOBs" parameterType="com.research.system.domain.po.ShsLibInfoExample" resultMap="ResultMapWithBLOBs"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
, |
|||
<include refid="Blob_Column_List" /> |
|||
from shs_lib_info |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.ShsLibInfoExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from shs_lib_info |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
, |
|||
<include refid="Blob_Column_List" /> |
|||
from shs_lib_info |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from shs_lib_info |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.ShsLibInfo"> |
|||
insert into shs_lib_info (id, proj_id, proj_org_id, |
|||
title, del_flag, create_by, |
|||
create_time, update_by, update_time, |
|||
intro) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{projOrgId,jdbcType=BIGINT}, |
|||
#{title,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, |
|||
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, |
|||
#{intro,jdbcType=LONGVARCHAR}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.ShsLibInfo"> |
|||
insert into shs_lib_info |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id, |
|||
</if> |
|||
<if test="title != null"> |
|||
title, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
<if test="intro != null"> |
|||
intro, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
#{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="title != null"> |
|||
#{title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="intro != null"> |
|||
#{intro,jdbcType=LONGVARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.ShsLibInfoExample" resultType="java.lang.Long"> |
|||
select count(*) from shs_lib_info |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update shs_lib_info |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projOrgId != null"> |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.title != null"> |
|||
title = #{record.title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.intro != null"> |
|||
intro = #{record.intro,jdbcType=LONGVARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExampleWithBLOBs" parameterType="map"> |
|||
update shs_lib_info |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
title = #{record.title,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
intro = #{record.intro,jdbcType=LONGVARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update shs_lib_info |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{record.projOrgId,jdbcType=BIGINT}, |
|||
title = #{record.title,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.ShsLibInfo"> |
|||
update shs_lib_info |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projOrgId != null"> |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="title != null"> |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="intro != null"> |
|||
intro = #{intro,jdbcType=LONGVARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.research.system.domain.po.ShsLibInfo"> |
|||
update shs_lib_info |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
intro = #{intro,jdbcType=LONGVARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.ShsLibInfo"> |
|||
update shs_lib_info |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
proj_org_id = #{projOrgId,jdbcType=BIGINT}, |
|||
title = #{title,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
@ -0,0 +1,317 @@ |
|||
<?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.mapper.ShsSyffCategoryMapper"> |
|||
<resultMap id="BaseResultMap" type="com.research.system.domain.po.ShsSyffCategory"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="proj_id" jdbcType="BIGINT" property="projId" /> |
|||
<result column="parent_id" jdbcType="BIGINT" property="parentId" /> |
|||
<result column="category_code" jdbcType="VARCHAR" property="categoryCode" /> |
|||
<result column="category_name" jdbcType="VARCHAR" property="categoryName" /> |
|||
<result column="sort" jdbcType="INTEGER" property="sort" /> |
|||
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|||
<result column="del_flag" jdbcType="TINYINT" property="delFlag" /> |
|||
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> |
|||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|||
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> |
|||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, proj_id, parent_id, category_code, category_name, sort, remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.research.system.domain.po.ShsSyffCategoryExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from shs_syff_category |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from shs_syff_category |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from shs_syff_category |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<insert id="insert" parameterType="com.research.system.domain.po.ShsSyffCategory"> |
|||
insert into shs_syff_category (id, proj_id, parent_id, |
|||
category_code, category_name, sort, |
|||
remark, del_flag, create_by, |
|||
create_time, update_by, update_time |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{projId,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, |
|||
#{categoryCode,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, |
|||
#{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=TINYINT}, #{createBy,jdbcType=VARCHAR}, |
|||
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.research.system.domain.po.ShsSyffCategory"> |
|||
insert into shs_syff_category |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="projId != null"> |
|||
proj_id, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
parent_id, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
category_code, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
category_name, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="projId != null"> |
|||
#{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
#{parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
#{categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
#{categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
#{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
#{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
#{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
#{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
#{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
#{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
#{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.research.system.domain.po.ShsSyffCategoryExample" resultType="java.lang.Long"> |
|||
select count(*) from shs_syff_category |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update shs_syff_category |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.projId != null"> |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.parentId != null"> |
|||
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.categoryCode != null"> |
|||
category_code = #{record.categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.categoryName != null"> |
|||
category_name = #{record.categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.sort != null"> |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="record.remark != null"> |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.delFlag != null"> |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createBy != null"> |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.createTime != null"> |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updateBy != null"> |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.updateTime != null"> |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update shs_syff_category |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
proj_id = #{record.projId,jdbcType=BIGINT}, |
|||
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|||
category_code = #{record.categoryCode,jdbcType=VARCHAR}, |
|||
category_name = #{record.categoryName,jdbcType=VARCHAR}, |
|||
sort = #{record.sort,jdbcType=INTEGER}, |
|||
remark = #{record.remark,jdbcType=VARCHAR}, |
|||
del_flag = #{record.delFlag,jdbcType=TINYINT}, |
|||
create_by = #{record.createBy,jdbcType=VARCHAR}, |
|||
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{record.updateTime,jdbcType=TIMESTAMP} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.research.system.domain.po.ShsSyffCategory"> |
|||
update shs_syff_category |
|||
<set> |
|||
<if test="projId != null"> |
|||
proj_id = #{projId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="parentId != null"> |
|||
parent_id = #{parentId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="categoryCode != null"> |
|||
category_code = #{categoryCode,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="categoryName != null"> |
|||
category_name = #{categoryName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="sort != null"> |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
</if> |
|||
<if test="remark != null"> |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="delFlag != null"> |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createBy != null"> |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="createTime != null"> |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updateBy != null"> |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="updateTime != null"> |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.research.system.domain.po.ShsSyffCategory"> |
|||
update shs_syff_category |
|||
set proj_id = #{projId,jdbcType=BIGINT}, |
|||
parent_id = #{parentId,jdbcType=BIGINT}, |
|||
category_code = #{categoryCode,jdbcType=VARCHAR}, |
|||
category_name = #{categoryName,jdbcType=VARCHAR}, |
|||
sort = #{sort,jdbcType=INTEGER}, |
|||
remark = #{remark,jdbcType=VARCHAR}, |
|||
del_flag = #{delFlag,jdbcType=TINYINT}, |
|||
create_by = #{createBy,jdbcType=VARCHAR}, |
|||
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|||
update_by = #{updateBy,jdbcType=VARCHAR}, |
|||
update_time = #{updateTime,jdbcType=TIMESTAMP} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
|||
Loading…
Reference in new issue