40 changed files with 11025 additions and 1 deletions
@ -0,0 +1,129 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class ZytzEmsEvaAnswer implements Serializable { |
||||
|
private Long answerId; |
||||
|
|
||||
|
private Long evaId; |
||||
|
|
||||
|
private String quesCode; |
||||
|
|
||||
|
private String optionCode; |
||||
|
|
||||
|
private String optionName; |
||||
|
|
||||
|
private BigDecimal optionScore; |
||||
|
|
||||
|
private String createBy; |
||||
|
|
||||
|
private Date createTime; |
||||
|
|
||||
|
private String updateBy; |
||||
|
|
||||
|
private Date updateTime; |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
public Long getAnswerId() { |
||||
|
return answerId; |
||||
|
} |
||||
|
|
||||
|
public void setAnswerId(Long answerId) { |
||||
|
this.answerId = answerId; |
||||
|
} |
||||
|
|
||||
|
public Long getEvaId() { |
||||
|
return evaId; |
||||
|
} |
||||
|
|
||||
|
public void setEvaId(Long evaId) { |
||||
|
this.evaId = evaId; |
||||
|
} |
||||
|
|
||||
|
public String getQuesCode() { |
||||
|
return quesCode; |
||||
|
} |
||||
|
|
||||
|
public void setQuesCode(String quesCode) { |
||||
|
this.quesCode = quesCode == null ? null : quesCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getOptionCode() { |
||||
|
return optionCode; |
||||
|
} |
||||
|
|
||||
|
public void setOptionCode(String optionCode) { |
||||
|
this.optionCode = optionCode == null ? null : optionCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getOptionName() { |
||||
|
return optionName; |
||||
|
} |
||||
|
|
||||
|
public void setOptionName(String optionName) { |
||||
|
this.optionName = optionName == null ? null : optionName.trim(); |
||||
|
} |
||||
|
|
||||
|
public BigDecimal getOptionScore() { |
||||
|
return optionScore; |
||||
|
} |
||||
|
|
||||
|
public void setOptionScore(BigDecimal optionScore) { |
||||
|
this.optionScore = optionScore; |
||||
|
} |
||||
|
|
||||
|
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(", answerId=").append(answerId); |
||||
|
sb.append(", evaId=").append(evaId); |
||||
|
sb.append(", quesCode=").append(quesCode); |
||||
|
sb.append(", optionCode=").append(optionCode); |
||||
|
sb.append(", optionName=").append(optionName); |
||||
|
sb.append(", optionScore=").append(optionScore); |
||||
|
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,852 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class ZytzEmsEvaAnswerExample { |
||||
|
protected String orderByClause; |
||||
|
|
||||
|
protected boolean distinct; |
||||
|
|
||||
|
protected List<Criteria> oredCriteria; |
||||
|
|
||||
|
public ZytzEmsEvaAnswerExample() { |
||||
|
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 andAnswerIdIsNull() { |
||||
|
addCriterion("answer_id is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdIsNotNull() { |
||||
|
addCriterion("answer_id is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdEqualTo(Long value) { |
||||
|
addCriterion("answer_id =", value, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdNotEqualTo(Long value) { |
||||
|
addCriterion("answer_id <>", value, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdGreaterThan(Long value) { |
||||
|
addCriterion("answer_id >", value, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdGreaterThanOrEqualTo(Long value) { |
||||
|
addCriterion("answer_id >=", value, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdLessThan(Long value) { |
||||
|
addCriterion("answer_id <", value, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdLessThanOrEqualTo(Long value) { |
||||
|
addCriterion("answer_id <=", value, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdIn(List<Long> values) { |
||||
|
addCriterion("answer_id in", values, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdNotIn(List<Long> values) { |
||||
|
addCriterion("answer_id not in", values, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdBetween(Long value1, Long value2) { |
||||
|
addCriterion("answer_id between", value1, value2, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andAnswerIdNotBetween(Long value1, Long value2) { |
||||
|
addCriterion("answer_id not between", value1, value2, "answerId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdIsNull() { |
||||
|
addCriterion("eva_id is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdIsNotNull() { |
||||
|
addCriterion("eva_id is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdEqualTo(Long value) { |
||||
|
addCriterion("eva_id =", value, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdNotEqualTo(Long value) { |
||||
|
addCriterion("eva_id <>", value, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdGreaterThan(Long value) { |
||||
|
addCriterion("eva_id >", value, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdGreaterThanOrEqualTo(Long value) { |
||||
|
addCriterion("eva_id >=", value, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdLessThan(Long value) { |
||||
|
addCriterion("eva_id <", value, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdLessThanOrEqualTo(Long value) { |
||||
|
addCriterion("eva_id <=", value, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdIn(List<Long> values) { |
||||
|
addCriterion("eva_id in", values, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdNotIn(List<Long> values) { |
||||
|
addCriterion("eva_id not in", values, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdBetween(Long value1, Long value2) { |
||||
|
addCriterion("eva_id between", value1, value2, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andEvaIdNotBetween(Long value1, Long value2) { |
||||
|
addCriterion("eva_id not between", value1, value2, "evaId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIsNull() { |
||||
|
addCriterion("ques_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIsNotNull() { |
||||
|
addCriterion("ques_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeEqualTo(String value) { |
||||
|
addCriterion("ques_code =", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotEqualTo(String value) { |
||||
|
addCriterion("ques_code <>", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeGreaterThan(String value) { |
||||
|
addCriterion("ques_code >", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_code >=", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLessThan(String value) { |
||||
|
addCriterion("ques_code <", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_code <=", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLike(String value) { |
||||
|
addCriterion("ques_code like", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotLike(String value) { |
||||
|
addCriterion("ques_code not like", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIn(List<String> values) { |
||||
|
addCriterion("ques_code in", values, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotIn(List<String> values) { |
||||
|
addCriterion("ques_code not in", values, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeBetween(String value1, String value2) { |
||||
|
addCriterion("ques_code between", value1, value2, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("ques_code not between", value1, value2, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeIsNull() { |
||||
|
addCriterion("option_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeIsNotNull() { |
||||
|
addCriterion("option_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeEqualTo(String value) { |
||||
|
addCriterion("option_code =", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeNotEqualTo(String value) { |
||||
|
addCriterion("option_code <>", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeGreaterThan(String value) { |
||||
|
addCriterion("option_code >", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("option_code >=", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeLessThan(String value) { |
||||
|
addCriterion("option_code <", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("option_code <=", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeLike(String value) { |
||||
|
addCriterion("option_code like", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeNotLike(String value) { |
||||
|
addCriterion("option_code not like", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeIn(List<String> values) { |
||||
|
addCriterion("option_code in", values, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeNotIn(List<String> values) { |
||||
|
addCriterion("option_code not in", values, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeBetween(String value1, String value2) { |
||||
|
addCriterion("option_code between", value1, value2, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("option_code not between", value1, value2, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameIsNull() { |
||||
|
addCriterion("option_name is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameIsNotNull() { |
||||
|
addCriterion("option_name is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameEqualTo(String value) { |
||||
|
addCriterion("option_name =", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameNotEqualTo(String value) { |
||||
|
addCriterion("option_name <>", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameGreaterThan(String value) { |
||||
|
addCriterion("option_name >", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("option_name >=", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameLessThan(String value) { |
||||
|
addCriterion("option_name <", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameLessThanOrEqualTo(String value) { |
||||
|
addCriterion("option_name <=", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameLike(String value) { |
||||
|
addCriterion("option_name like", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameNotLike(String value) { |
||||
|
addCriterion("option_name not like", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameIn(List<String> values) { |
||||
|
addCriterion("option_name in", values, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameNotIn(List<String> values) { |
||||
|
addCriterion("option_name not in", values, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameBetween(String value1, String value2) { |
||||
|
addCriterion("option_name between", value1, value2, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameNotBetween(String value1, String value2) { |
||||
|
addCriterion("option_name not between", value1, value2, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreIsNull() { |
||||
|
addCriterion("option_score is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreIsNotNull() { |
||||
|
addCriterion("option_score is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreEqualTo(BigDecimal value) { |
||||
|
addCriterion("option_score =", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreNotEqualTo(BigDecimal value) { |
||||
|
addCriterion("option_score <>", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreGreaterThan(BigDecimal value) { |
||||
|
addCriterion("option_score >", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreGreaterThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("option_score >=", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreLessThan(BigDecimal value) { |
||||
|
addCriterion("option_score <", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreLessThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("option_score <=", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreIn(List<BigDecimal> values) { |
||||
|
addCriterion("option_score in", values, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreNotIn(List<BigDecimal> values) { |
||||
|
addCriterion("option_score not in", values, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("option_score between", value1, value2, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("option_score not between", value1, value2, "optionScore"); |
||||
|
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,106 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class ZytzQmsScale implements Serializable { |
||||
|
private Long scaleId; |
||||
|
|
||||
|
private String scaleCode; |
||||
|
|
||||
|
private String scaleName; |
||||
|
|
||||
|
private String delFlag; |
||||
|
|
||||
|
private String createBy; |
||||
|
|
||||
|
private Date createTime; |
||||
|
|
||||
|
private String updateBy; |
||||
|
|
||||
|
private Date updateTime; |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
public Long getScaleId() { |
||||
|
return scaleId; |
||||
|
} |
||||
|
|
||||
|
public void setScaleId(Long scaleId) { |
||||
|
this.scaleId = scaleId; |
||||
|
} |
||||
|
|
||||
|
public String getScaleCode() { |
||||
|
return scaleCode; |
||||
|
} |
||||
|
|
||||
|
public void setScaleCode(String scaleCode) { |
||||
|
this.scaleCode = scaleCode == null ? null : scaleCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getScaleName() { |
||||
|
return scaleName; |
||||
|
} |
||||
|
|
||||
|
public void setScaleName(String scaleName) { |
||||
|
this.scaleName = scaleName == null ? null : scaleName.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getDelFlag() { |
||||
|
return delFlag; |
||||
|
} |
||||
|
|
||||
|
public void setDelFlag(String delFlag) { |
||||
|
this.delFlag = delFlag == null ? null : delFlag.trim(); |
||||
|
} |
||||
|
|
||||
|
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(", scaleId=").append(scaleId); |
||||
|
sb.append(", scaleCode=").append(scaleCode); |
||||
|
sb.append(", scaleName=").append(scaleName); |
||||
|
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,117 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class ZytzQmsScaleConsti implements Serializable { |
||||
|
private Long constiId; |
||||
|
|
||||
|
private String scaleCode; |
||||
|
|
||||
|
private String constiCode; |
||||
|
|
||||
|
private String constiName; |
||||
|
|
||||
|
private String delFlag; |
||||
|
|
||||
|
private String createBy; |
||||
|
|
||||
|
private Date createTime; |
||||
|
|
||||
|
private String updateBy; |
||||
|
|
||||
|
private Date updateTime; |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
public Long getConstiId() { |
||||
|
return constiId; |
||||
|
} |
||||
|
|
||||
|
public void setConstiId(Long constiId) { |
||||
|
this.constiId = constiId; |
||||
|
} |
||||
|
|
||||
|
public String getScaleCode() { |
||||
|
return scaleCode; |
||||
|
} |
||||
|
|
||||
|
public void setScaleCode(String scaleCode) { |
||||
|
this.scaleCode = scaleCode == null ? null : scaleCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getConstiCode() { |
||||
|
return constiCode; |
||||
|
} |
||||
|
|
||||
|
public void setConstiCode(String constiCode) { |
||||
|
this.constiCode = constiCode == null ? null : constiCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getConstiName() { |
||||
|
return constiName; |
||||
|
} |
||||
|
|
||||
|
public void setConstiName(String constiName) { |
||||
|
this.constiName = constiName == null ? null : constiName.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getDelFlag() { |
||||
|
return delFlag; |
||||
|
} |
||||
|
|
||||
|
public void setDelFlag(String delFlag) { |
||||
|
this.delFlag = delFlag == null ? null : delFlag.trim(); |
||||
|
} |
||||
|
|
||||
|
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(", constiId=").append(constiId); |
||||
|
sb.append(", scaleCode=").append(scaleCode); |
||||
|
sb.append(", constiCode=").append(constiCode); |
||||
|
sb.append(", constiName=").append(constiName); |
||||
|
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,801 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class ZytzQmsScaleConstiExample { |
||||
|
protected String orderByClause; |
||||
|
|
||||
|
protected boolean distinct; |
||||
|
|
||||
|
protected List<Criteria> oredCriteria; |
||||
|
|
||||
|
public ZytzQmsScaleConstiExample() { |
||||
|
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 andConstiIdIsNull() { |
||||
|
addCriterion("consti_id is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdIsNotNull() { |
||||
|
addCriterion("consti_id is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdEqualTo(Long value) { |
||||
|
addCriterion("consti_id =", value, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdNotEqualTo(Long value) { |
||||
|
addCriterion("consti_id <>", value, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdGreaterThan(Long value) { |
||||
|
addCriterion("consti_id >", value, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdGreaterThanOrEqualTo(Long value) { |
||||
|
addCriterion("consti_id >=", value, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdLessThan(Long value) { |
||||
|
addCriterion("consti_id <", value, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdLessThanOrEqualTo(Long value) { |
||||
|
addCriterion("consti_id <=", value, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdIn(List<Long> values) { |
||||
|
addCriterion("consti_id in", values, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdNotIn(List<Long> values) { |
||||
|
addCriterion("consti_id not in", values, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdBetween(Long value1, Long value2) { |
||||
|
addCriterion("consti_id between", value1, value2, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiIdNotBetween(Long value1, Long value2) { |
||||
|
addCriterion("consti_id not between", value1, value2, "constiId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIsNull() { |
||||
|
addCriterion("scale_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIsNotNull() { |
||||
|
addCriterion("scale_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeEqualTo(String value) { |
||||
|
addCriterion("scale_code =", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotEqualTo(String value) { |
||||
|
addCriterion("scale_code <>", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeGreaterThan(String value) { |
||||
|
addCriterion("scale_code >", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("scale_code >=", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLessThan(String value) { |
||||
|
addCriterion("scale_code <", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("scale_code <=", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLike(String value) { |
||||
|
addCriterion("scale_code like", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotLike(String value) { |
||||
|
addCriterion("scale_code not like", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIn(List<String> values) { |
||||
|
addCriterion("scale_code in", values, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotIn(List<String> values) { |
||||
|
addCriterion("scale_code not in", values, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeBetween(String value1, String value2) { |
||||
|
addCriterion("scale_code between", value1, value2, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("scale_code not between", value1, value2, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIsNull() { |
||||
|
addCriterion("consti_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIsNotNull() { |
||||
|
addCriterion("consti_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeEqualTo(String value) { |
||||
|
addCriterion("consti_code =", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotEqualTo(String value) { |
||||
|
addCriterion("consti_code <>", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeGreaterThan(String value) { |
||||
|
addCriterion("consti_code >", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_code >=", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLessThan(String value) { |
||||
|
addCriterion("consti_code <", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_code <=", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLike(String value) { |
||||
|
addCriterion("consti_code like", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotLike(String value) { |
||||
|
addCriterion("consti_code not like", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIn(List<String> values) { |
||||
|
addCriterion("consti_code in", values, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotIn(List<String> values) { |
||||
|
addCriterion("consti_code not in", values, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeBetween(String value1, String value2) { |
||||
|
addCriterion("consti_code between", value1, value2, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("consti_code not between", value1, value2, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameIsNull() { |
||||
|
addCriterion("consti_name is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameIsNotNull() { |
||||
|
addCriterion("consti_name is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameEqualTo(String value) { |
||||
|
addCriterion("consti_name =", value, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameNotEqualTo(String value) { |
||||
|
addCriterion("consti_name <>", value, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameGreaterThan(String value) { |
||||
|
addCriterion("consti_name >", value, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_name >=", value, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameLessThan(String value) { |
||||
|
addCriterion("consti_name <", value, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameLessThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_name <=", value, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameLike(String value) { |
||||
|
addCriterion("consti_name like", value, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameNotLike(String value) { |
||||
|
addCriterion("consti_name not like", value, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameIn(List<String> values) { |
||||
|
addCriterion("consti_name in", values, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameNotIn(List<String> values) { |
||||
|
addCriterion("consti_name not in", values, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameBetween(String value1, String value2) { |
||||
|
addCriterion("consti_name between", value1, value2, "constiName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiNameNotBetween(String value1, String value2) { |
||||
|
addCriterion("consti_name not between", value1, value2, "constiName"); |
||||
|
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(String value) { |
||||
|
addCriterion("del_flag =", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotEqualTo(String value) { |
||||
|
addCriterion("del_flag <>", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThan(String value) { |
||||
|
addCriterion("del_flag >", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag >=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThan(String value) { |
||||
|
addCriterion("del_flag <", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag <=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLike(String value) { |
||||
|
addCriterion("del_flag like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotLike(String value) { |
||||
|
addCriterion("del_flag not like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagIn(List<String> values) { |
||||
|
addCriterion("del_flag in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotIn(List<String> values) { |
||||
|
addCriterion("del_flag not in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagBetween(String value1, String value2) { |
||||
|
addCriterion("del_flag between", value1, value2, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotBetween(String value1, String 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,117 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class ZytzQmsScaleConstiQuesRel implements Serializable { |
||||
|
private Long id; |
||||
|
|
||||
|
private String constiCode; |
||||
|
|
||||
|
private String quesCode; |
||||
|
|
||||
|
private Byte reverse; |
||||
|
|
||||
|
private String 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 String getConstiCode() { |
||||
|
return constiCode; |
||||
|
} |
||||
|
|
||||
|
public void setConstiCode(String constiCode) { |
||||
|
this.constiCode = constiCode == null ? null : constiCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getQuesCode() { |
||||
|
return quesCode; |
||||
|
} |
||||
|
|
||||
|
public void setQuesCode(String quesCode) { |
||||
|
this.quesCode = quesCode == null ? null : quesCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public Byte getReverse() { |
||||
|
return reverse; |
||||
|
} |
||||
|
|
||||
|
public void setReverse(Byte reverse) { |
||||
|
this.reverse = reverse; |
||||
|
} |
||||
|
|
||||
|
public String getDelFlag() { |
||||
|
return delFlag; |
||||
|
} |
||||
|
|
||||
|
public void setDelFlag(String delFlag) { |
||||
|
this.delFlag = delFlag == null ? null : delFlag.trim(); |
||||
|
} |
||||
|
|
||||
|
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(", constiCode=").append(constiCode); |
||||
|
sb.append(", quesCode=").append(quesCode); |
||||
|
sb.append(", reverse=").append(reverse); |
||||
|
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,791 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class ZytzQmsScaleConstiQuesRelExample { |
||||
|
protected String orderByClause; |
||||
|
|
||||
|
protected boolean distinct; |
||||
|
|
||||
|
protected List<Criteria> oredCriteria; |
||||
|
|
||||
|
public ZytzQmsScaleConstiQuesRelExample() { |
||||
|
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 andConstiCodeIsNull() { |
||||
|
addCriterion("consti_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIsNotNull() { |
||||
|
addCriterion("consti_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeEqualTo(String value) { |
||||
|
addCriterion("consti_code =", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotEqualTo(String value) { |
||||
|
addCriterion("consti_code <>", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeGreaterThan(String value) { |
||||
|
addCriterion("consti_code >", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_code >=", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLessThan(String value) { |
||||
|
addCriterion("consti_code <", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_code <=", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLike(String value) { |
||||
|
addCriterion("consti_code like", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotLike(String value) { |
||||
|
addCriterion("consti_code not like", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIn(List<String> values) { |
||||
|
addCriterion("consti_code in", values, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotIn(List<String> values) { |
||||
|
addCriterion("consti_code not in", values, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeBetween(String value1, String value2) { |
||||
|
addCriterion("consti_code between", value1, value2, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("consti_code not between", value1, value2, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIsNull() { |
||||
|
addCriterion("ques_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIsNotNull() { |
||||
|
addCriterion("ques_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeEqualTo(String value) { |
||||
|
addCriterion("ques_code =", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotEqualTo(String value) { |
||||
|
addCriterion("ques_code <>", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeGreaterThan(String value) { |
||||
|
addCriterion("ques_code >", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_code >=", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLessThan(String value) { |
||||
|
addCriterion("ques_code <", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_code <=", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLike(String value) { |
||||
|
addCriterion("ques_code like", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotLike(String value) { |
||||
|
addCriterion("ques_code not like", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIn(List<String> values) { |
||||
|
addCriterion("ques_code in", values, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotIn(List<String> values) { |
||||
|
addCriterion("ques_code not in", values, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeBetween(String value1, String value2) { |
||||
|
addCriterion("ques_code between", value1, value2, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("ques_code not between", value1, value2, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseIsNull() { |
||||
|
addCriterion("reverse is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseIsNotNull() { |
||||
|
addCriterion("reverse is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseEqualTo(Byte value) { |
||||
|
addCriterion("reverse =", value, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseNotEqualTo(Byte value) { |
||||
|
addCriterion("reverse <>", value, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseGreaterThan(Byte value) { |
||||
|
addCriterion("reverse >", value, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseGreaterThanOrEqualTo(Byte value) { |
||||
|
addCriterion("reverse >=", value, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseLessThan(Byte value) { |
||||
|
addCriterion("reverse <", value, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseLessThanOrEqualTo(Byte value) { |
||||
|
addCriterion("reverse <=", value, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseIn(List<Byte> values) { |
||||
|
addCriterion("reverse in", values, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseNotIn(List<Byte> values) { |
||||
|
addCriterion("reverse not in", values, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseBetween(Byte value1, Byte value2) { |
||||
|
addCriterion("reverse between", value1, value2, "reverse"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andReverseNotBetween(Byte value1, Byte value2) { |
||||
|
addCriterion("reverse not between", value1, value2, "reverse"); |
||||
|
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(String value) { |
||||
|
addCriterion("del_flag =", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotEqualTo(String value) { |
||||
|
addCriterion("del_flag <>", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThan(String value) { |
||||
|
addCriterion("del_flag >", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag >=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThan(String value) { |
||||
|
addCriterion("del_flag <", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag <=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLike(String value) { |
||||
|
addCriterion("del_flag like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotLike(String value) { |
||||
|
addCriterion("del_flag not like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagIn(List<String> values) { |
||||
|
addCriterion("del_flag in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotIn(List<String> values) { |
||||
|
addCriterion("del_flag not in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagBetween(String value1, String value2) { |
||||
|
addCriterion("del_flag between", value1, value2, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotBetween(String value1, String 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,129 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class ZytzQmsScaleConstiRefScore implements Serializable { |
||||
|
private Long id; |
||||
|
|
||||
|
private String constiCode; |
||||
|
|
||||
|
private BigDecimal refScoreYes; |
||||
|
|
||||
|
private BigDecimal refScoreMaybe; |
||||
|
|
||||
|
private BigDecimal fullScore; |
||||
|
|
||||
|
private String 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 String getConstiCode() { |
||||
|
return constiCode; |
||||
|
} |
||||
|
|
||||
|
public void setConstiCode(String constiCode) { |
||||
|
this.constiCode = constiCode == null ? null : constiCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public BigDecimal getRefScoreYes() { |
||||
|
return refScoreYes; |
||||
|
} |
||||
|
|
||||
|
public void setRefScoreYes(BigDecimal refScoreYes) { |
||||
|
this.refScoreYes = refScoreYes; |
||||
|
} |
||||
|
|
||||
|
public BigDecimal getRefScoreMaybe() { |
||||
|
return refScoreMaybe; |
||||
|
} |
||||
|
|
||||
|
public void setRefScoreMaybe(BigDecimal refScoreMaybe) { |
||||
|
this.refScoreMaybe = refScoreMaybe; |
||||
|
} |
||||
|
|
||||
|
public BigDecimal getFullScore() { |
||||
|
return fullScore; |
||||
|
} |
||||
|
|
||||
|
public void setFullScore(BigDecimal fullScore) { |
||||
|
this.fullScore = fullScore; |
||||
|
} |
||||
|
|
||||
|
public String getDelFlag() { |
||||
|
return delFlag; |
||||
|
} |
||||
|
|
||||
|
public void setDelFlag(String delFlag) { |
||||
|
this.delFlag = delFlag == null ? null : delFlag.trim(); |
||||
|
} |
||||
|
|
||||
|
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(", constiCode=").append(constiCode); |
||||
|
sb.append(", refScoreYes=").append(refScoreYes); |
||||
|
sb.append(", refScoreMaybe=").append(refScoreMaybe); |
||||
|
sb.append(", fullScore=").append(fullScore); |
||||
|
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,842 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class ZytzQmsScaleConstiRefScoreExample { |
||||
|
protected String orderByClause; |
||||
|
|
||||
|
protected boolean distinct; |
||||
|
|
||||
|
protected List<Criteria> oredCriteria; |
||||
|
|
||||
|
public ZytzQmsScaleConstiRefScoreExample() { |
||||
|
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 andConstiCodeIsNull() { |
||||
|
addCriterion("consti_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIsNotNull() { |
||||
|
addCriterion("consti_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeEqualTo(String value) { |
||||
|
addCriterion("consti_code =", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotEqualTo(String value) { |
||||
|
addCriterion("consti_code <>", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeGreaterThan(String value) { |
||||
|
addCriterion("consti_code >", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_code >=", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLessThan(String value) { |
||||
|
addCriterion("consti_code <", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_code <=", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLike(String value) { |
||||
|
addCriterion("consti_code like", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotLike(String value) { |
||||
|
addCriterion("consti_code not like", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIn(List<String> values) { |
||||
|
addCriterion("consti_code in", values, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotIn(List<String> values) { |
||||
|
addCriterion("consti_code not in", values, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeBetween(String value1, String value2) { |
||||
|
addCriterion("consti_code between", value1, value2, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("consti_code not between", value1, value2, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesIsNull() { |
||||
|
addCriterion("ref_score_yes is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesIsNotNull() { |
||||
|
addCriterion("ref_score_yes is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesEqualTo(BigDecimal value) { |
||||
|
addCriterion("ref_score_yes =", value, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesNotEqualTo(BigDecimal value) { |
||||
|
addCriterion("ref_score_yes <>", value, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesGreaterThan(BigDecimal value) { |
||||
|
addCriterion("ref_score_yes >", value, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesGreaterThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("ref_score_yes >=", value, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesLessThan(BigDecimal value) { |
||||
|
addCriterion("ref_score_yes <", value, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesLessThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("ref_score_yes <=", value, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesIn(List<BigDecimal> values) { |
||||
|
addCriterion("ref_score_yes in", values, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesNotIn(List<BigDecimal> values) { |
||||
|
addCriterion("ref_score_yes not in", values, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("ref_score_yes between", value1, value2, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreYesNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("ref_score_yes not between", value1, value2, "refScoreYes"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeIsNull() { |
||||
|
addCriterion("ref_score_Maybe is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeIsNotNull() { |
||||
|
addCriterion("ref_score_Maybe is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeEqualTo(BigDecimal value) { |
||||
|
addCriterion("ref_score_Maybe =", value, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeNotEqualTo(BigDecimal value) { |
||||
|
addCriterion("ref_score_Maybe <>", value, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeGreaterThan(BigDecimal value) { |
||||
|
addCriterion("ref_score_Maybe >", value, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeGreaterThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("ref_score_Maybe >=", value, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeLessThan(BigDecimal value) { |
||||
|
addCriterion("ref_score_Maybe <", value, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeLessThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("ref_score_Maybe <=", value, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeIn(List<BigDecimal> values) { |
||||
|
addCriterion("ref_score_Maybe in", values, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeNotIn(List<BigDecimal> values) { |
||||
|
addCriterion("ref_score_Maybe not in", values, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("ref_score_Maybe between", value1, value2, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andRefScoreMaybeNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("ref_score_Maybe not between", value1, value2, "refScoreMaybe"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreIsNull() { |
||||
|
addCriterion("full_score is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreIsNotNull() { |
||||
|
addCriterion("full_score is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreEqualTo(BigDecimal value) { |
||||
|
addCriterion("full_score =", value, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreNotEqualTo(BigDecimal value) { |
||||
|
addCriterion("full_score <>", value, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreGreaterThan(BigDecimal value) { |
||||
|
addCriterion("full_score >", value, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreGreaterThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("full_score >=", value, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreLessThan(BigDecimal value) { |
||||
|
addCriterion("full_score <", value, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreLessThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("full_score <=", value, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreIn(List<BigDecimal> values) { |
||||
|
addCriterion("full_score in", values, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreNotIn(List<BigDecimal> values) { |
||||
|
addCriterion("full_score not in", values, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("full_score between", value1, value2, "fullScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andFullScoreNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("full_score not between", value1, value2, "fullScore"); |
||||
|
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(String value) { |
||||
|
addCriterion("del_flag =", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotEqualTo(String value) { |
||||
|
addCriterion("del_flag <>", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThan(String value) { |
||||
|
addCriterion("del_flag >", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag >=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThan(String value) { |
||||
|
addCriterion("del_flag <", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag <=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLike(String value) { |
||||
|
addCriterion("del_flag like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotLike(String value) { |
||||
|
addCriterion("del_flag not like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagIn(List<String> values) { |
||||
|
addCriterion("del_flag in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotIn(List<String> values) { |
||||
|
addCriterion("del_flag not in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagBetween(String value1, String value2) { |
||||
|
addCriterion("del_flag between", value1, value2, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotBetween(String value1, String 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,106 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class ZytzQmsScaleConstiYsfa implements Serializable { |
||||
|
private Long id; |
||||
|
|
||||
|
private String constiCode; |
||||
|
|
||||
|
private String delFlag; |
||||
|
|
||||
|
private String createBy; |
||||
|
|
||||
|
private Date createTime; |
||||
|
|
||||
|
private String updateBy; |
||||
|
|
||||
|
private Date updateTime; |
||||
|
|
||||
|
private String constiYsfaTemplate; |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
public Long getId() { |
||||
|
return id; |
||||
|
} |
||||
|
|
||||
|
public void setId(Long id) { |
||||
|
this.id = id; |
||||
|
} |
||||
|
|
||||
|
public String getConstiCode() { |
||||
|
return constiCode; |
||||
|
} |
||||
|
|
||||
|
public void setConstiCode(String constiCode) { |
||||
|
this.constiCode = constiCode == null ? null : constiCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getDelFlag() { |
||||
|
return delFlag; |
||||
|
} |
||||
|
|
||||
|
public void setDelFlag(String delFlag) { |
||||
|
this.delFlag = delFlag == null ? null : delFlag.trim(); |
||||
|
} |
||||
|
|
||||
|
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 getConstiYsfaTemplate() { |
||||
|
return constiYsfaTemplate; |
||||
|
} |
||||
|
|
||||
|
public void setConstiYsfaTemplate(String constiYsfaTemplate) { |
||||
|
this.constiYsfaTemplate = constiYsfaTemplate == null ? null : constiYsfaTemplate.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(", constiCode=").append(constiCode); |
||||
|
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(", constiYsfaTemplate=").append(constiYsfaTemplate); |
||||
|
sb.append("]"); |
||||
|
return sb.toString(); |
||||
|
} |
||||
|
} |
@ -0,0 +1,661 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class ZytzQmsScaleConstiYsfaExample { |
||||
|
protected String orderByClause; |
||||
|
|
||||
|
protected boolean distinct; |
||||
|
|
||||
|
protected List<Criteria> oredCriteria; |
||||
|
|
||||
|
public ZytzQmsScaleConstiYsfaExample() { |
||||
|
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 andConstiCodeIsNull() { |
||||
|
addCriterion("consti_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIsNotNull() { |
||||
|
addCriterion("consti_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeEqualTo(String value) { |
||||
|
addCriterion("consti_code =", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotEqualTo(String value) { |
||||
|
addCriterion("consti_code <>", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeGreaterThan(String value) { |
||||
|
addCriterion("consti_code >", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_code >=", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLessThan(String value) { |
||||
|
addCriterion("consti_code <", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("consti_code <=", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeLike(String value) { |
||||
|
addCriterion("consti_code like", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotLike(String value) { |
||||
|
addCriterion("consti_code not like", value, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeIn(List<String> values) { |
||||
|
addCriterion("consti_code in", values, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotIn(List<String> values) { |
||||
|
addCriterion("consti_code not in", values, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeBetween(String value1, String value2) { |
||||
|
addCriterion("consti_code between", value1, value2, "constiCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("consti_code not between", value1, value2, "constiCode"); |
||||
|
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(String value) { |
||||
|
addCriterion("del_flag =", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotEqualTo(String value) { |
||||
|
addCriterion("del_flag <>", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThan(String value) { |
||||
|
addCriterion("del_flag >", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag >=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThan(String value) { |
||||
|
addCriterion("del_flag <", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag <=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLike(String value) { |
||||
|
addCriterion("del_flag like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotLike(String value) { |
||||
|
addCriterion("del_flag not like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagIn(List<String> values) { |
||||
|
addCriterion("del_flag in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotIn(List<String> values) { |
||||
|
addCriterion("del_flag not in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagBetween(String value1, String value2) { |
||||
|
addCriterion("del_flag between", value1, value2, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotBetween(String value1, String 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,731 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class ZytzQmsScaleExample { |
||||
|
protected String orderByClause; |
||||
|
|
||||
|
protected boolean distinct; |
||||
|
|
||||
|
protected List<Criteria> oredCriteria; |
||||
|
|
||||
|
public ZytzQmsScaleExample() { |
||||
|
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 andScaleIdIsNull() { |
||||
|
addCriterion("scale_id is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdIsNotNull() { |
||||
|
addCriterion("scale_id is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdEqualTo(Long value) { |
||||
|
addCriterion("scale_id =", value, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdNotEqualTo(Long value) { |
||||
|
addCriterion("scale_id <>", value, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdGreaterThan(Long value) { |
||||
|
addCriterion("scale_id >", value, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdGreaterThanOrEqualTo(Long value) { |
||||
|
addCriterion("scale_id >=", value, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdLessThan(Long value) { |
||||
|
addCriterion("scale_id <", value, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdLessThanOrEqualTo(Long value) { |
||||
|
addCriterion("scale_id <=", value, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdIn(List<Long> values) { |
||||
|
addCriterion("scale_id in", values, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdNotIn(List<Long> values) { |
||||
|
addCriterion("scale_id not in", values, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdBetween(Long value1, Long value2) { |
||||
|
addCriterion("scale_id between", value1, value2, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleIdNotBetween(Long value1, Long value2) { |
||||
|
addCriterion("scale_id not between", value1, value2, "scaleId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIsNull() { |
||||
|
addCriterion("scale_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIsNotNull() { |
||||
|
addCriterion("scale_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeEqualTo(String value) { |
||||
|
addCriterion("scale_code =", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotEqualTo(String value) { |
||||
|
addCriterion("scale_code <>", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeGreaterThan(String value) { |
||||
|
addCriterion("scale_code >", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("scale_code >=", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLessThan(String value) { |
||||
|
addCriterion("scale_code <", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("scale_code <=", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLike(String value) { |
||||
|
addCriterion("scale_code like", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotLike(String value) { |
||||
|
addCriterion("scale_code not like", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIn(List<String> values) { |
||||
|
addCriterion("scale_code in", values, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotIn(List<String> values) { |
||||
|
addCriterion("scale_code not in", values, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeBetween(String value1, String value2) { |
||||
|
addCriterion("scale_code between", value1, value2, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("scale_code not between", value1, value2, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameIsNull() { |
||||
|
addCriterion("scale_name is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameIsNotNull() { |
||||
|
addCriterion("scale_name is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameEqualTo(String value) { |
||||
|
addCriterion("scale_name =", value, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameNotEqualTo(String value) { |
||||
|
addCriterion("scale_name <>", value, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameGreaterThan(String value) { |
||||
|
addCriterion("scale_name >", value, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("scale_name >=", value, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameLessThan(String value) { |
||||
|
addCriterion("scale_name <", value, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameLessThanOrEqualTo(String value) { |
||||
|
addCriterion("scale_name <=", value, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameLike(String value) { |
||||
|
addCriterion("scale_name like", value, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameNotLike(String value) { |
||||
|
addCriterion("scale_name not like", value, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameIn(List<String> values) { |
||||
|
addCriterion("scale_name in", values, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameNotIn(List<String> values) { |
||||
|
addCriterion("scale_name not in", values, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameBetween(String value1, String value2) { |
||||
|
addCriterion("scale_name between", value1, value2, "scaleName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleNameNotBetween(String value1, String value2) { |
||||
|
addCriterion("scale_name not between", value1, value2, "scaleName"); |
||||
|
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(String value) { |
||||
|
addCriterion("del_flag =", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotEqualTo(String value) { |
||||
|
addCriterion("del_flag <>", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThan(String value) { |
||||
|
addCriterion("del_flag >", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag >=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThan(String value) { |
||||
|
addCriterion("del_flag <", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag <=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLike(String value) { |
||||
|
addCriterion("del_flag like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotLike(String value) { |
||||
|
addCriterion("del_flag not like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagIn(List<String> values) { |
||||
|
addCriterion("del_flag in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotIn(List<String> values) { |
||||
|
addCriterion("del_flag not in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagBetween(String value1, String value2) { |
||||
|
addCriterion("del_flag between", value1, value2, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotBetween(String value1, String 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,139 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class ZytzQmsScaleQuestion implements Serializable { |
||||
|
private Long quesId; |
||||
|
|
||||
|
private String scaleCode; |
||||
|
|
||||
|
private String quesCode; |
||||
|
|
||||
|
private Integer quesSort; |
||||
|
|
||||
|
private String quesName; |
||||
|
|
||||
|
private String genderApply; |
||||
|
|
||||
|
private String delFlag; |
||||
|
|
||||
|
private String createBy; |
||||
|
|
||||
|
private Date createTime; |
||||
|
|
||||
|
private String updateBy; |
||||
|
|
||||
|
private Date updateTime; |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
public Long getQuesId() { |
||||
|
return quesId; |
||||
|
} |
||||
|
|
||||
|
public void setQuesId(Long quesId) { |
||||
|
this.quesId = quesId; |
||||
|
} |
||||
|
|
||||
|
public String getScaleCode() { |
||||
|
return scaleCode; |
||||
|
} |
||||
|
|
||||
|
public void setScaleCode(String scaleCode) { |
||||
|
this.scaleCode = scaleCode == null ? null : scaleCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getQuesCode() { |
||||
|
return quesCode; |
||||
|
} |
||||
|
|
||||
|
public void setQuesCode(String quesCode) { |
||||
|
this.quesCode = quesCode == null ? null : quesCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public Integer getQuesSort() { |
||||
|
return quesSort; |
||||
|
} |
||||
|
|
||||
|
public void setQuesSort(Integer quesSort) { |
||||
|
this.quesSort = quesSort; |
||||
|
} |
||||
|
|
||||
|
public String getQuesName() { |
||||
|
return quesName; |
||||
|
} |
||||
|
|
||||
|
public void setQuesName(String quesName) { |
||||
|
this.quesName = quesName == null ? null : quesName.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getGenderApply() { |
||||
|
return genderApply; |
||||
|
} |
||||
|
|
||||
|
public void setGenderApply(String genderApply) { |
||||
|
this.genderApply = genderApply == null ? null : genderApply.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getDelFlag() { |
||||
|
return delFlag; |
||||
|
} |
||||
|
|
||||
|
public void setDelFlag(String delFlag) { |
||||
|
this.delFlag = delFlag == null ? null : delFlag.trim(); |
||||
|
} |
||||
|
|
||||
|
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(", quesId=").append(quesId); |
||||
|
sb.append(", scaleCode=").append(scaleCode); |
||||
|
sb.append(", quesCode=").append(quesCode); |
||||
|
sb.append(", quesSort=").append(quesSort); |
||||
|
sb.append(", quesName=").append(quesName); |
||||
|
sb.append(", genderApply=").append(genderApply); |
||||
|
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,931 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class ZytzQmsScaleQuestionExample { |
||||
|
protected String orderByClause; |
||||
|
|
||||
|
protected boolean distinct; |
||||
|
|
||||
|
protected List<Criteria> oredCriteria; |
||||
|
|
||||
|
public ZytzQmsScaleQuestionExample() { |
||||
|
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 andQuesIdIsNull() { |
||||
|
addCriterion("ques_id is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdIsNotNull() { |
||||
|
addCriterion("ques_id is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdEqualTo(Long value) { |
||||
|
addCriterion("ques_id =", value, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdNotEqualTo(Long value) { |
||||
|
addCriterion("ques_id <>", value, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdGreaterThan(Long value) { |
||||
|
addCriterion("ques_id >", value, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdGreaterThanOrEqualTo(Long value) { |
||||
|
addCriterion("ques_id >=", value, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdLessThan(Long value) { |
||||
|
addCriterion("ques_id <", value, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdLessThanOrEqualTo(Long value) { |
||||
|
addCriterion("ques_id <=", value, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdIn(List<Long> values) { |
||||
|
addCriterion("ques_id in", values, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdNotIn(List<Long> values) { |
||||
|
addCriterion("ques_id not in", values, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdBetween(Long value1, Long value2) { |
||||
|
addCriterion("ques_id between", value1, value2, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesIdNotBetween(Long value1, Long value2) { |
||||
|
addCriterion("ques_id not between", value1, value2, "quesId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIsNull() { |
||||
|
addCriterion("scale_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIsNotNull() { |
||||
|
addCriterion("scale_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeEqualTo(String value) { |
||||
|
addCriterion("scale_code =", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotEqualTo(String value) { |
||||
|
addCriterion("scale_code <>", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeGreaterThan(String value) { |
||||
|
addCriterion("scale_code >", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("scale_code >=", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLessThan(String value) { |
||||
|
addCriterion("scale_code <", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("scale_code <=", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeLike(String value) { |
||||
|
addCriterion("scale_code like", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotLike(String value) { |
||||
|
addCriterion("scale_code not like", value, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeIn(List<String> values) { |
||||
|
addCriterion("scale_code in", values, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotIn(List<String> values) { |
||||
|
addCriterion("scale_code not in", values, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeBetween(String value1, String value2) { |
||||
|
addCriterion("scale_code between", value1, value2, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andScaleCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("scale_code not between", value1, value2, "scaleCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIsNull() { |
||||
|
addCriterion("ques_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIsNotNull() { |
||||
|
addCriterion("ques_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeEqualTo(String value) { |
||||
|
addCriterion("ques_code =", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotEqualTo(String value) { |
||||
|
addCriterion("ques_code <>", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeGreaterThan(String value) { |
||||
|
addCriterion("ques_code >", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_code >=", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLessThan(String value) { |
||||
|
addCriterion("ques_code <", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_code <=", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLike(String value) { |
||||
|
addCriterion("ques_code like", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotLike(String value) { |
||||
|
addCriterion("ques_code not like", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIn(List<String> values) { |
||||
|
addCriterion("ques_code in", values, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotIn(List<String> values) { |
||||
|
addCriterion("ques_code not in", values, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeBetween(String value1, String value2) { |
||||
|
addCriterion("ques_code between", value1, value2, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("ques_code not between", value1, value2, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortIsNull() { |
||||
|
addCriterion("ques_sort is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortIsNotNull() { |
||||
|
addCriterion("ques_sort is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortEqualTo(Integer value) { |
||||
|
addCriterion("ques_sort =", value, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortNotEqualTo(Integer value) { |
||||
|
addCriterion("ques_sort <>", value, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortGreaterThan(Integer value) { |
||||
|
addCriterion("ques_sort >", value, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortGreaterThanOrEqualTo(Integer value) { |
||||
|
addCriterion("ques_sort >=", value, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortLessThan(Integer value) { |
||||
|
addCriterion("ques_sort <", value, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortLessThanOrEqualTo(Integer value) { |
||||
|
addCriterion("ques_sort <=", value, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortIn(List<Integer> values) { |
||||
|
addCriterion("ques_sort in", values, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortNotIn(List<Integer> values) { |
||||
|
addCriterion("ques_sort not in", values, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortBetween(Integer value1, Integer value2) { |
||||
|
addCriterion("ques_sort between", value1, value2, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesSortNotBetween(Integer value1, Integer value2) { |
||||
|
addCriterion("ques_sort not between", value1, value2, "quesSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameIsNull() { |
||||
|
addCriterion("ques_name is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameIsNotNull() { |
||||
|
addCriterion("ques_name is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameEqualTo(String value) { |
||||
|
addCriterion("ques_name =", value, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameNotEqualTo(String value) { |
||||
|
addCriterion("ques_name <>", value, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameGreaterThan(String value) { |
||||
|
addCriterion("ques_name >", value, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_name >=", value, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameLessThan(String value) { |
||||
|
addCriterion("ques_name <", value, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameLessThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_name <=", value, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameLike(String value) { |
||||
|
addCriterion("ques_name like", value, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameNotLike(String value) { |
||||
|
addCriterion("ques_name not like", value, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameIn(List<String> values) { |
||||
|
addCriterion("ques_name in", values, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameNotIn(List<String> values) { |
||||
|
addCriterion("ques_name not in", values, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameBetween(String value1, String value2) { |
||||
|
addCriterion("ques_name between", value1, value2, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesNameNotBetween(String value1, String value2) { |
||||
|
addCriterion("ques_name not between", value1, value2, "quesName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyIsNull() { |
||||
|
addCriterion("gender_apply is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyIsNotNull() { |
||||
|
addCriterion("gender_apply is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyEqualTo(String value) { |
||||
|
addCriterion("gender_apply =", value, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyNotEqualTo(String value) { |
||||
|
addCriterion("gender_apply <>", value, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyGreaterThan(String value) { |
||||
|
addCriterion("gender_apply >", value, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("gender_apply >=", value, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyLessThan(String value) { |
||||
|
addCriterion("gender_apply <", value, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyLessThanOrEqualTo(String value) { |
||||
|
addCriterion("gender_apply <=", value, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyLike(String value) { |
||||
|
addCriterion("gender_apply like", value, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyNotLike(String value) { |
||||
|
addCriterion("gender_apply not like", value, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyIn(List<String> values) { |
||||
|
addCriterion("gender_apply in", values, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyNotIn(List<String> values) { |
||||
|
addCriterion("gender_apply not in", values, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyBetween(String value1, String value2) { |
||||
|
addCriterion("gender_apply between", value1, value2, "genderApply"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andGenderApplyNotBetween(String value1, String value2) { |
||||
|
addCriterion("gender_apply not between", value1, value2, "genderApply"); |
||||
|
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(String value) { |
||||
|
addCriterion("del_flag =", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotEqualTo(String value) { |
||||
|
addCriterion("del_flag <>", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThan(String value) { |
||||
|
addCriterion("del_flag >", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag >=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThan(String value) { |
||||
|
addCriterion("del_flag <", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag <=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLike(String value) { |
||||
|
addCriterion("del_flag like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotLike(String value) { |
||||
|
addCriterion("del_flag not like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagIn(List<String> values) { |
||||
|
addCriterion("del_flag in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotIn(List<String> values) { |
||||
|
addCriterion("del_flag not in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagBetween(String value1, String value2) { |
||||
|
addCriterion("del_flag between", value1, value2, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotBetween(String value1, String 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,140 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class ZytzQmsScaleQuestionOption implements Serializable { |
||||
|
private Long optionId; |
||||
|
|
||||
|
private String quesCode; |
||||
|
|
||||
|
private String optionCode; |
||||
|
|
||||
|
private String optionName; |
||||
|
|
||||
|
private BigDecimal optionScore; |
||||
|
|
||||
|
private String optionSort; |
||||
|
|
||||
|
private String delFlag; |
||||
|
|
||||
|
private String createBy; |
||||
|
|
||||
|
private Date createTime; |
||||
|
|
||||
|
private String updateBy; |
||||
|
|
||||
|
private Date updateTime; |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
public Long getOptionId() { |
||||
|
return optionId; |
||||
|
} |
||||
|
|
||||
|
public void setOptionId(Long optionId) { |
||||
|
this.optionId = optionId; |
||||
|
} |
||||
|
|
||||
|
public String getQuesCode() { |
||||
|
return quesCode; |
||||
|
} |
||||
|
|
||||
|
public void setQuesCode(String quesCode) { |
||||
|
this.quesCode = quesCode == null ? null : quesCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getOptionCode() { |
||||
|
return optionCode; |
||||
|
} |
||||
|
|
||||
|
public void setOptionCode(String optionCode) { |
||||
|
this.optionCode = optionCode == null ? null : optionCode.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getOptionName() { |
||||
|
return optionName; |
||||
|
} |
||||
|
|
||||
|
public void setOptionName(String optionName) { |
||||
|
this.optionName = optionName == null ? null : optionName.trim(); |
||||
|
} |
||||
|
|
||||
|
public BigDecimal getOptionScore() { |
||||
|
return optionScore; |
||||
|
} |
||||
|
|
||||
|
public void setOptionScore(BigDecimal optionScore) { |
||||
|
this.optionScore = optionScore; |
||||
|
} |
||||
|
|
||||
|
public String getOptionSort() { |
||||
|
return optionSort; |
||||
|
} |
||||
|
|
||||
|
public void setOptionSort(String optionSort) { |
||||
|
this.optionSort = optionSort == null ? null : optionSort.trim(); |
||||
|
} |
||||
|
|
||||
|
public String getDelFlag() { |
||||
|
return delFlag; |
||||
|
} |
||||
|
|
||||
|
public void setDelFlag(String delFlag) { |
||||
|
this.delFlag = delFlag == null ? null : delFlag.trim(); |
||||
|
} |
||||
|
|
||||
|
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(", optionId=").append(optionId); |
||||
|
sb.append(", quesCode=").append(quesCode); |
||||
|
sb.append(", optionCode=").append(optionCode); |
||||
|
sb.append(", optionName=").append(optionName); |
||||
|
sb.append(", optionScore=").append(optionScore); |
||||
|
sb.append(", optionSort=").append(optionSort); |
||||
|
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,932 @@ |
|||||
|
package com.acupuncture.system.domain.po; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
public class ZytzQmsScaleQuestionOptionExample { |
||||
|
protected String orderByClause; |
||||
|
|
||||
|
protected boolean distinct; |
||||
|
|
||||
|
protected List<Criteria> oredCriteria; |
||||
|
|
||||
|
public ZytzQmsScaleQuestionOptionExample() { |
||||
|
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 andOptionIdIsNull() { |
||||
|
addCriterion("option_id is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdIsNotNull() { |
||||
|
addCriterion("option_id is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdEqualTo(Long value) { |
||||
|
addCriterion("option_id =", value, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdNotEqualTo(Long value) { |
||||
|
addCriterion("option_id <>", value, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdGreaterThan(Long value) { |
||||
|
addCriterion("option_id >", value, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdGreaterThanOrEqualTo(Long value) { |
||||
|
addCriterion("option_id >=", value, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdLessThan(Long value) { |
||||
|
addCriterion("option_id <", value, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdLessThanOrEqualTo(Long value) { |
||||
|
addCriterion("option_id <=", value, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdIn(List<Long> values) { |
||||
|
addCriterion("option_id in", values, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdNotIn(List<Long> values) { |
||||
|
addCriterion("option_id not in", values, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdBetween(Long value1, Long value2) { |
||||
|
addCriterion("option_id between", value1, value2, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionIdNotBetween(Long value1, Long value2) { |
||||
|
addCriterion("option_id not between", value1, value2, "optionId"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIsNull() { |
||||
|
addCriterion("ques_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIsNotNull() { |
||||
|
addCriterion("ques_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeEqualTo(String value) { |
||||
|
addCriterion("ques_code =", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotEqualTo(String value) { |
||||
|
addCriterion("ques_code <>", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeGreaterThan(String value) { |
||||
|
addCriterion("ques_code >", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_code >=", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLessThan(String value) { |
||||
|
addCriterion("ques_code <", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("ques_code <=", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeLike(String value) { |
||||
|
addCriterion("ques_code like", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotLike(String value) { |
||||
|
addCriterion("ques_code not like", value, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeIn(List<String> values) { |
||||
|
addCriterion("ques_code in", values, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotIn(List<String> values) { |
||||
|
addCriterion("ques_code not in", values, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeBetween(String value1, String value2) { |
||||
|
addCriterion("ques_code between", value1, value2, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andQuesCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("ques_code not between", value1, value2, "quesCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeIsNull() { |
||||
|
addCriterion("option_code is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeIsNotNull() { |
||||
|
addCriterion("option_code is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeEqualTo(String value) { |
||||
|
addCriterion("option_code =", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeNotEqualTo(String value) { |
||||
|
addCriterion("option_code <>", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeGreaterThan(String value) { |
||||
|
addCriterion("option_code >", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("option_code >=", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeLessThan(String value) { |
||||
|
addCriterion("option_code <", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeLessThanOrEqualTo(String value) { |
||||
|
addCriterion("option_code <=", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeLike(String value) { |
||||
|
addCriterion("option_code like", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeNotLike(String value) { |
||||
|
addCriterion("option_code not like", value, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeIn(List<String> values) { |
||||
|
addCriterion("option_code in", values, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeNotIn(List<String> values) { |
||||
|
addCriterion("option_code not in", values, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeBetween(String value1, String value2) { |
||||
|
addCriterion("option_code between", value1, value2, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionCodeNotBetween(String value1, String value2) { |
||||
|
addCriterion("option_code not between", value1, value2, "optionCode"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameIsNull() { |
||||
|
addCriterion("option_name is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameIsNotNull() { |
||||
|
addCriterion("option_name is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameEqualTo(String value) { |
||||
|
addCriterion("option_name =", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameNotEqualTo(String value) { |
||||
|
addCriterion("option_name <>", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameGreaterThan(String value) { |
||||
|
addCriterion("option_name >", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("option_name >=", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameLessThan(String value) { |
||||
|
addCriterion("option_name <", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameLessThanOrEqualTo(String value) { |
||||
|
addCriterion("option_name <=", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameLike(String value) { |
||||
|
addCriterion("option_name like", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameNotLike(String value) { |
||||
|
addCriterion("option_name not like", value, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameIn(List<String> values) { |
||||
|
addCriterion("option_name in", values, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameNotIn(List<String> values) { |
||||
|
addCriterion("option_name not in", values, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameBetween(String value1, String value2) { |
||||
|
addCriterion("option_name between", value1, value2, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionNameNotBetween(String value1, String value2) { |
||||
|
addCriterion("option_name not between", value1, value2, "optionName"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreIsNull() { |
||||
|
addCriterion("option_score is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreIsNotNull() { |
||||
|
addCriterion("option_score is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreEqualTo(BigDecimal value) { |
||||
|
addCriterion("option_score =", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreNotEqualTo(BigDecimal value) { |
||||
|
addCriterion("option_score <>", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreGreaterThan(BigDecimal value) { |
||||
|
addCriterion("option_score >", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreGreaterThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("option_score >=", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreLessThan(BigDecimal value) { |
||||
|
addCriterion("option_score <", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreLessThanOrEqualTo(BigDecimal value) { |
||||
|
addCriterion("option_score <=", value, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreIn(List<BigDecimal> values) { |
||||
|
addCriterion("option_score in", values, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreNotIn(List<BigDecimal> values) { |
||||
|
addCriterion("option_score not in", values, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("option_score between", value1, value2, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionScoreNotBetween(BigDecimal value1, BigDecimal value2) { |
||||
|
addCriterion("option_score not between", value1, value2, "optionScore"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortIsNull() { |
||||
|
addCriterion("option_sort is null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortIsNotNull() { |
||||
|
addCriterion("option_sort is not null"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortEqualTo(String value) { |
||||
|
addCriterion("option_sort =", value, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortNotEqualTo(String value) { |
||||
|
addCriterion("option_sort <>", value, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortGreaterThan(String value) { |
||||
|
addCriterion("option_sort >", value, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("option_sort >=", value, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortLessThan(String value) { |
||||
|
addCriterion("option_sort <", value, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortLessThanOrEqualTo(String value) { |
||||
|
addCriterion("option_sort <=", value, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortLike(String value) { |
||||
|
addCriterion("option_sort like", value, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortNotLike(String value) { |
||||
|
addCriterion("option_sort not like", value, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortIn(List<String> values) { |
||||
|
addCriterion("option_sort in", values, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortNotIn(List<String> values) { |
||||
|
addCriterion("option_sort not in", values, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortBetween(String value1, String value2) { |
||||
|
addCriterion("option_sort between", value1, value2, "optionSort"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andOptionSortNotBetween(String value1, String value2) { |
||||
|
addCriterion("option_sort not between", value1, value2, "optionSort"); |
||||
|
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(String value) { |
||||
|
addCriterion("del_flag =", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotEqualTo(String value) { |
||||
|
addCriterion("del_flag <>", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThan(String value) { |
||||
|
addCriterion("del_flag >", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag >=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThan(String value) { |
||||
|
addCriterion("del_flag <", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
||||
|
addCriterion("del_flag <=", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagLike(String value) { |
||||
|
addCriterion("del_flag like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotLike(String value) { |
||||
|
addCriterion("del_flag not like", value, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagIn(List<String> values) { |
||||
|
addCriterion("del_flag in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotIn(List<String> values) { |
||||
|
addCriterion("del_flag not in", values, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagBetween(String value1, String value2) { |
||||
|
addCriterion("del_flag between", value1, value2, "delFlag"); |
||||
|
return (Criteria) this; |
||||
|
} |
||||
|
|
||||
|
public Criteria andDelFlagNotBetween(String value1, String 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,394 @@ |
|||||
|
package com.acupuncture.system.domain.vo; |
||||
|
|
||||
|
import cn.hutool.core.collection.CollectionUtil; |
||||
|
import cn.hutool.core.date.DateUtil; |
||||
|
import cn.hutool.core.util.IdcardUtil; |
||||
|
import cn.hutool.core.util.StrUtil; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Comparator; |
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
import java.util.Objects; |
||||
|
import java.util.stream.Collectors; |
||||
|
|
||||
|
/** |
||||
|
* @Author zzc |
||||
|
* @Package com.acupuncture.system.domain.dto |
||||
|
* @Date 2025/2/11 15:05 |
||||
|
* @description: |
||||
|
*/ |
||||
|
public class ZytzVo { |
||||
|
@Data |
||||
|
public static class PatientQuery { |
||||
|
private Long patientId; |
||||
|
private String name; |
||||
|
private Integer gender; |
||||
|
private String birthday; |
||||
|
private String idcard; |
||||
|
private String phone; |
||||
|
private String height; |
||||
|
private String weight; |
||||
|
private String waistline; |
||||
|
private List<String> sickness; |
||||
|
|
||||
|
public Integer getAge() { |
||||
|
Integer age = null; |
||||
|
try { |
||||
|
if (StrUtil.isNotBlank(idcard) && IdcardUtil.isValidCard(idcard)) { |
||||
|
age = IdcardUtil.getAgeByIdCard(idcard); |
||||
|
} else if (StrUtil.isNotBlank(birthday)) { |
||||
|
age = DateUtil.ageOfNow(DateUtil.parse(birthday)); |
||||
|
} |
||||
|
} catch (Exception ignored) { |
||||
|
} |
||||
|
return age; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class PatientSaveOrUpdate { |
||||
|
private Long patientId; |
||||
|
private String name; |
||||
|
private Integer gender; |
||||
|
private String birthday; |
||||
|
private String idcard; |
||||
|
private String phone; |
||||
|
private String height; |
||||
|
private String weight; |
||||
|
private String waistline; |
||||
|
private List<String> sickness; |
||||
|
|
||||
|
public Integer getAge() { |
||||
|
Integer age = null; |
||||
|
try { |
||||
|
if (StrUtil.isNotBlank(idcard) && IdcardUtil.isValidCard(idcard)) { |
||||
|
age = IdcardUtil.getAgeByIdCard(idcard); |
||||
|
} else if (StrUtil.isNotBlank(birthday)) { |
||||
|
age = DateUtil.ageOfNow(DateUtil.parse(birthday)); |
||||
|
} |
||||
|
} catch (Exception ignored) { |
||||
|
} |
||||
|
return age; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class EvaSave { |
||||
|
private Long evaId; |
||||
|
private Long patientId; |
||||
|
private String scaleCode; |
||||
|
private String scaleName; |
||||
|
private Integer evaStatus; |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class EvaQuestionList { |
||||
|
private Long evaId; |
||||
|
private Long patientId; |
||||
|
private String scaleCode; |
||||
|
private String scaleName; |
||||
|
private Integer evaStatus; |
||||
|
private List<Question> questions; |
||||
|
|
||||
|
@Data |
||||
|
public static class Question { |
||||
|
private String quesCode; |
||||
|
private String quesName; |
||||
|
private String quesSort; |
||||
|
private List<Option> options; |
||||
|
|
||||
|
@Data |
||||
|
public static class Option { |
||||
|
private String optionCode; |
||||
|
private String optionName; |
||||
|
private String optionScore; |
||||
|
private String optionSort; |
||||
|
private String optionChecked; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class ReportView { |
||||
|
//报告单信息
|
||||
|
private Long reportId; |
||||
|
|
||||
|
//患者信息
|
||||
|
private Long patientId; |
||||
|
private String name; |
||||
|
private Integer gender; |
||||
|
private String birthday; |
||||
|
private String age; |
||||
|
private String height; |
||||
|
private String weight; |
||||
|
private String waistline; |
||||
|
private String idcard; |
||||
|
private String phone; |
||||
|
|
||||
|
//测评信息
|
||||
|
private Long evaId; |
||||
|
private Date evaTime; |
||||
|
private String evaUsername; |
||||
|
private String evaNickname; |
||||
|
private String evaScaleCode; |
||||
|
private String evaScaleName; |
||||
|
private String blh; |
||||
|
|
||||
|
//分数明细
|
||||
|
private List<Score> scores; |
||||
|
//养生方案
|
||||
|
private List<Ysfa> ysfa; |
||||
|
//测评结论
|
||||
|
private String result; |
||||
|
//主体质
|
||||
|
private String result1; |
||||
|
//兼夹体质
|
||||
|
private String result2; |
||||
|
|
||||
|
@Data |
||||
|
public static class Score { |
||||
|
private String constiCode; |
||||
|
private String constiName; |
||||
|
private String constiLevel; |
||||
|
private String constiScore; |
||||
|
private Integer mainFlag; |
||||
|
//参考分数(是)
|
||||
|
private String refScoreYes; |
||||
|
//参考分数(倾向是)
|
||||
|
private String refScoreMaybe; |
||||
|
//满分
|
||||
|
private String fullScore; |
||||
|
|
||||
|
public String getConstiScore() { |
||||
|
if (constiScore != null && new BigDecimal(constiScore).compareTo(BigDecimal.ZERO) < 0) { |
||||
|
return "0.00"; |
||||
|
} |
||||
|
return constiScore; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class Ysfa { |
||||
|
private String constiCode; |
||||
|
private String constiName; |
||||
|
private String ysjy; |
||||
|
} |
||||
|
|
||||
|
public String getResult() { |
||||
|
if (CollectionUtil.isEmpty(scores)) { |
||||
|
return ""; |
||||
|
} |
||||
|
|
||||
|
StringBuilder result = new StringBuilder(); |
||||
|
String yesStr = "", jbsStr = "", qxsStr = ""; |
||||
|
|
||||
|
//拼接三部分字符串(是,基本是,倾向是)
|
||||
|
for (Score score : scores) { |
||||
|
if (score.getConstiLevel().equals("00")) { |
||||
|
yesStr = yesStr + score.getConstiName() + "、"; |
||||
|
} |
||||
|
if (score.getConstiLevel().equals("10")) { |
||||
|
jbsStr = jbsStr + score.getConstiName() + "、"; |
||||
|
} |
||||
|
if (score.getConstiLevel().equals("11")) { |
||||
|
qxsStr = qxsStr + score.getConstiName() + "、"; |
||||
|
} |
||||
|
} |
||||
|
//去掉尾部,
|
||||
|
if (StrUtil.isNotBlank(yesStr)) { |
||||
|
yesStr = yesStr.substring(0, yesStr.length() - 1); |
||||
|
} |
||||
|
if (StrUtil.isNotBlank(jbsStr)) { |
||||
|
jbsStr = jbsStr.substring(0, jbsStr.length() - 1); |
||||
|
} |
||||
|
if (StrUtil.isNotBlank(qxsStr)) { |
||||
|
qxsStr = qxsStr.substring(0, qxsStr.length() - 1); |
||||
|
} |
||||
|
|
||||
|
//拼接
|
||||
|
result.append(StrUtil.isNotBlank(yesStr) ? "【" + yesStr + "】 " : "") |
||||
|
.append(StrUtil.isNotBlank(jbsStr) ? "基本是【" + yesStr + "】 " : "") |
||||
|
.append(StrUtil.isNotBlank(qxsStr) ? "有 【" + qxsStr + "】 倾向 " : ""); |
||||
|
|
||||
|
return result.toString(); |
||||
|
} |
||||
|
|
||||
|
// public String getResult() {
|
||||
|
// if (CollectionUtil.isEmpty(scores)) {
|
||||
|
// return "";
|
||||
|
// }
|
||||
|
//
|
||||
|
// //找到主体质
|
||||
|
// Score mainSCore = null;
|
||||
|
// for (Score score : scores) {
|
||||
|
// if (score.getMainFlag() == 1) {
|
||||
|
// mainSCore = score;
|
||||
|
// }
|
||||
|
// }
|
||||
|
// if (mainSCore == null) {
|
||||
|
// return "";
|
||||
|
// }
|
||||
|
// if (Objects.equals(mainSCore.getConstiLevel(), "00")) {
|
||||
|
// return "【" + mainSCore.getConstiName() + "】";
|
||||
|
// } else if (Objects.equals(mainSCore.getConstiLevel(), "10")) {
|
||||
|
// return "基本是【" + mainSCore.getConstiName() + "】";
|
||||
|
// } else if (Objects.equals(mainSCore.getConstiLevel(), "11")) {
|
||||
|
// return "倾向是【" + mainSCore.getConstiName() + "】";
|
||||
|
// } else {
|
||||
|
// return "";
|
||||
|
// }
|
||||
|
// }
|
||||
|
|
||||
|
public String getResult1() { |
||||
|
if (CollectionUtil.isEmpty(scores)) { |
||||
|
return ""; |
||||
|
} |
||||
|
scores = scores.stream().filter(e -> e.getMainFlag() != null).collect(Collectors.toList()); |
||||
|
//找到主体质
|
||||
|
Score mainSCore = null; |
||||
|
for (Score score : scores) { |
||||
|
if (score.getMainFlag() == 1) { |
||||
|
mainSCore = score; |
||||
|
} |
||||
|
} |
||||
|
if (mainSCore == null) { |
||||
|
return ""; |
||||
|
} |
||||
|
if (Objects.equals(mainSCore.getConstiLevel(), "00")) { |
||||
|
return "【" + mainSCore.getConstiName() + "】"; |
||||
|
} else if (Objects.equals(mainSCore.getConstiLevel(), "10")) { |
||||
|
return "基本是【" + mainSCore.getConstiName() + "】"; |
||||
|
} else if (Objects.equals(mainSCore.getConstiLevel(), "11")) { |
||||
|
return "倾向是【" + mainSCore.getConstiName() + "】"; |
||||
|
} else { |
||||
|
return ""; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public String getResult2() { |
||||
|
if (CollectionUtil.isEmpty(scores)) { |
||||
|
return ""; |
||||
|
} |
||||
|
|
||||
|
scores = scores.stream().filter(e -> e.getMainFlag() != null).collect(Collectors.toList()); |
||||
|
|
||||
|
//找到兼夹体质并按照分数从大到小排序
|
||||
|
List<Score> jianjiaScores = scores.stream().filter(score -> score.getMainFlag() == 2).sorted(Comparator.comparing(Score::getConstiScore).reversed()) |
||||
|
.collect(Collectors.toList()); |
||||
|
StringBuilder res = new StringBuilder(); |
||||
|
for (Score score : jianjiaScores) { |
||||
|
if (Objects.equals(score.getConstiLevel(), "00")) { |
||||
|
res.append("【" + score.getConstiName() + "】"); |
||||
|
} else if (Objects.equals(score.getConstiLevel(), "10")) { |
||||
|
res.append("基本是【" + score.getConstiName() + "】"); |
||||
|
} else if (Objects.equals(score.getConstiLevel(), "11")) { |
||||
|
res.append("倾向是【" + score.getConstiName() + "】"); |
||||
|
} else { |
||||
|
res.append(""); |
||||
|
} |
||||
|
res.append("、"); |
||||
|
} |
||||
|
//去掉尾部
|
||||
|
if (StrUtil.isNotBlank(res.toString())) { |
||||
|
res = new StringBuilder(res.substring(0, res.length() - 1)); |
||||
|
} |
||||
|
return res.toString(); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
@Data |
||||
|
public static class EvaList { |
||||
|
//报告单信息
|
||||
|
private Long reportId; |
||||
|
|
||||
|
//患者信息
|
||||
|
private Long patientId; |
||||
|
private String name; |
||||
|
private Integer gender; |
||||
|
private String birthday; |
||||
|
private String age; |
||||
|
private String height; |
||||
|
private String weight; |
||||
|
private String waistline; |
||||
|
private String idcard; |
||||
|
private String phone; |
||||
|
|
||||
|
//测评信息
|
||||
|
private Long evaId; |
||||
|
private Date evaTime; |
||||
|
private String evaUsername; |
||||
|
private String evaNickname; |
||||
|
private String evaScaleCode; |
||||
|
private String evaScaleName; |
||||
|
private Integer evaStatus; |
||||
|
private String blh; |
||||
|
|
||||
|
//分数明细
|
||||
|
private List<Score> scores; |
||||
|
//测评结论
|
||||
|
private String result; |
||||
|
|
||||
|
@Data |
||||
|
public static class Score { |
||||
|
private String constiCode; |
||||
|
private String constiName; |
||||
|
private String constiLevel; |
||||
|
private String constiScore; |
||||
|
private Integer mainFlag; |
||||
|
//参考分数(是)
|
||||
|
private String refScoreYes; |
||||
|
//参考分数(倾向是)
|
||||
|
private String refScoreMaybe; |
||||
|
//满分
|
||||
|
private String fullScore; |
||||
|
|
||||
|
public String getConstiScore() { |
||||
|
if (constiScore != null && new BigDecimal(constiScore).compareTo(BigDecimal.ZERO) < 0) { |
||||
|
return "0.00"; |
||||
|
} |
||||
|
return constiScore; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
public String getResult() { |
||||
|
if (CollectionUtil.isEmpty(scores)) { |
||||
|
return ""; |
||||
|
} |
||||
|
|
||||
|
StringBuilder result = new StringBuilder(); |
||||
|
String yesStr = "", jbsStr = "", qxsStr = ""; |
||||
|
|
||||
|
//拼接三部分字符串(是,基本是,倾向是)
|
||||
|
for (Score score : scores) { |
||||
|
if (score.getConstiLevel().equals("00")) { |
||||
|
yesStr = yesStr + score.getConstiName() + "、"; |
||||
|
} |
||||
|
if (score.getConstiLevel().equals("10")) { |
||||
|
jbsStr = jbsStr + score.getConstiName() + "、"; |
||||
|
} |
||||
|
if (score.getConstiLevel().equals("11")) { |
||||
|
qxsStr = qxsStr + score.getConstiName() + "、"; |
||||
|
} |
||||
|
} |
||||
|
//去掉尾部,
|
||||
|
if (StrUtil.isNotBlank(yesStr)) { |
||||
|
yesStr = yesStr.substring(0, yesStr.length() - 1); |
||||
|
} |
||||
|
if (StrUtil.isNotBlank(jbsStr)) { |
||||
|
jbsStr = jbsStr.substring(0, jbsStr.length() - 1); |
||||
|
} |
||||
|
if (StrUtil.isNotBlank(qxsStr)) { |
||||
|
qxsStr = qxsStr.substring(0, qxsStr.length() - 1); |
||||
|
} |
||||
|
|
||||
|
//拼接
|
||||
|
result.append(StrUtil.isNotBlank(yesStr) ? "【" + yesStr + "】 " : "") |
||||
|
.append(StrUtil.isNotBlank(jbsStr) ? "基本是【" + yesStr + "】 " : "") |
||||
|
.append(StrUtil.isNotBlank(qxsStr) ? "有 【" + qxsStr + "】 倾向 " : ""); |
||||
|
|
||||
|
return result.toString(); |
||||
|
} |
||||
|
} |
||||
|
} |
@ -0,0 +1,117 @@ |
|||||
|
package com.acupuncture.system.persist.dao; |
||||
|
|
||||
|
import com.acupuncture.system.domain.dto.AdminDataSourceDto; |
||||
|
import com.acupuncture.system.domain.po.ZytzEmsEvaAnswer; |
||||
|
import com.acupuncture.system.domain.vo.AdminDataSourceVo; |
||||
|
import com.acupuncture.system.domain.vo.ZytzVo; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zzc |
||||
|
* @Package com.acupuncture.system.persist.dao |
||||
|
* @Date 2025/2/10 9:48 |
||||
|
* @description: |
||||
|
*/ |
||||
|
public interface ZytzDao { |
||||
|
/** |
||||
|
* 查找患者列表 |
||||
|
* |
||||
|
* @param patientId |
||||
|
* @return |
||||
|
* @Param deptId |
||||
|
* @Param keywords |
||||
|
*/ |
||||
|
// List<ZytzVo.PatientQuery> patientQuery(@Param("deptId") Long deptId,
|
||||
|
// @Param("keywords") String keywords,
|
||||
|
// @Param("patientId") Long patientId);
|
||||
|
|
||||
|
/** |
||||
|
* 根据patientId查询sickness |
||||
|
* |
||||
|
* @param patientId |
||||
|
* @return |
||||
|
*/ |
||||
|
//List<String> querySicknessByPatientId(@Param("patientId") Long patientId);
|
||||
|
|
||||
|
/** |
||||
|
* 批量插入sickness |
||||
|
* |
||||
|
* @param pmsPatientSicknessList |
||||
|
*/ |
||||
|
//void batchInsertSickness(@Param("list") List<PmsPatientSickness> pmsPatientSicknessList);
|
||||
|
|
||||
|
/** |
||||
|
* 查询问题、选项及答案 |
||||
|
* |
||||
|
* @param evaId |
||||
|
* @return |
||||
|
*/ |
||||
|
ZytzVo.EvaQuestionList evaQuestionList(@Param("evaId") Long evaId); |
||||
|
|
||||
|
/** |
||||
|
* 批量插入answer |
||||
|
* |
||||
|
* @param answerList |
||||
|
* @return |
||||
|
*/ |
||||
|
void batchInsertAnswer(@Param("list") List<ZytzEmsEvaAnswer> answerList); |
||||
|
|
||||
|
/** |
||||
|
* 查询养生建议 |
||||
|
* |
||||
|
* @param constiCode |
||||
|
* @param deptId |
||||
|
* @return |
||||
|
*/ |
||||
|
// String queryYsjy(@Param("constiCode") String constiCode, @Param("deptId") Long deptId);
|
||||
|
|
||||
|
/** |
||||
|
* 查询报告单 |
||||
|
* |
||||
|
* @param evaId |
||||
|
* @return |
||||
|
*/ |
||||
|
// ZytzVo.ReportView reportView(@Param("evaId") Long evaId);
|
||||
|
|
||||
|
/** |
||||
|
* 查询测评列表 |
||||
|
* |
||||
|
* @param deptId |
||||
|
* @param keywords |
||||
|
* @param scaleCode |
||||
|
* @param evaStatus |
||||
|
* @param gender |
||||
|
* @param ageMin |
||||
|
* @param ageMax |
||||
|
* @param evaDateMin |
||||
|
* @param evaDateMax |
||||
|
* @return |
||||
|
*/ |
||||
|
// List<ZytzVo.EvaList> queryEvaList(@Param("deptId") Long deptId,
|
||||
|
// @Param("keywords") String keywords,
|
||||
|
// @Param("scaleCode") String scaleCode,
|
||||
|
// @Param("evaStatus") Integer evaStatus,
|
||||
|
// @Param("gender") Integer gender,
|
||||
|
// @Param("ageMin") Integer ageMin,
|
||||
|
// @Param("ageMax") Integer ageMax,
|
||||
|
// @Param("evaDateMin") Date evaDateMin,
|
||||
|
// @Param("evaDateMax") Date evaDateMax);
|
||||
|
|
||||
|
/** |
||||
|
* 查询报告单分数 |
||||
|
* |
||||
|
* @param reportId |
||||
|
* @return |
||||
|
*/ |
||||
|
// List<ZytzVo.EvaList.Score> queryReportScores(@Param("reportId") Long reportId);
|
||||
|
|
||||
|
/** |
||||
|
* 删除 |
||||
|
* @param evaIds |
||||
|
* @return |
||||
|
*/ |
||||
|
// Integer deleteEvas(@Param("ids") List<Long> evaIds);
|
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.acupuncture.system.persist.mapper; |
||||
|
|
||||
|
import com.acupuncture.system.domain.po.ZytzEmsEvaAnswer; |
||||
|
import com.acupuncture.system.domain.po.ZytzEmsEvaAnswerExample; |
||||
|
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
public interface ZytzEmsEvaAnswerMapper { |
||||
|
long countByExample(ZytzEmsEvaAnswerExample example); |
||||
|
|
||||
|
int deleteByPrimaryKey(Long answerId); |
||||
|
|
||||
|
int insert(ZytzEmsEvaAnswer record); |
||||
|
|
||||
|
int insertSelective(ZytzEmsEvaAnswer record); |
||||
|
|
||||
|
List<ZytzEmsEvaAnswer> selectByExample(ZytzEmsEvaAnswerExample example); |
||||
|
|
||||
|
ZytzEmsEvaAnswer selectByPrimaryKey(Long answerId); |
||||
|
|
||||
|
int updateByExampleSelective(@Param("record") ZytzEmsEvaAnswer record, @Param("example") ZytzEmsEvaAnswerExample example); |
||||
|
|
||||
|
int updateByExample(@Param("record") ZytzEmsEvaAnswer record, @Param("example") ZytzEmsEvaAnswerExample example); |
||||
|
|
||||
|
int updateByPrimaryKeySelective(ZytzEmsEvaAnswer record); |
||||
|
|
||||
|
int updateByPrimaryKey(ZytzEmsEvaAnswer record); |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.acupuncture.system.persist.mapper; |
||||
|
|
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleConsti; |
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiExample; |
||||
|
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
public interface ZytzQmsScaleConstiMapper { |
||||
|
long countByExample(ZytzQmsScaleConstiExample example); |
||||
|
|
||||
|
int deleteByPrimaryKey(Long constiId); |
||||
|
|
||||
|
int insert(ZytzQmsScaleConsti record); |
||||
|
|
||||
|
int insertSelective(ZytzQmsScaleConsti record); |
||||
|
|
||||
|
List<ZytzQmsScaleConsti> selectByExample(ZytzQmsScaleConstiExample example); |
||||
|
|
||||
|
ZytzQmsScaleConsti selectByPrimaryKey(Long constiId); |
||||
|
|
||||
|
int updateByExampleSelective(@Param("record") ZytzQmsScaleConsti record, @Param("example") ZytzQmsScaleConstiExample example); |
||||
|
|
||||
|
int updateByExample(@Param("record") ZytzQmsScaleConsti record, @Param("example") ZytzQmsScaleConstiExample example); |
||||
|
|
||||
|
int updateByPrimaryKeySelective(ZytzQmsScaleConsti record); |
||||
|
|
||||
|
int updateByPrimaryKey(ZytzQmsScaleConsti record); |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.acupuncture.system.persist.mapper; |
||||
|
|
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRel; |
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRelExample; |
||||
|
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
public interface ZytzQmsScaleConstiQuesRelMapper { |
||||
|
long countByExample(ZytzQmsScaleConstiQuesRelExample example); |
||||
|
|
||||
|
int deleteByPrimaryKey(Long id); |
||||
|
|
||||
|
int insert(ZytzQmsScaleConstiQuesRel record); |
||||
|
|
||||
|
int insertSelective(ZytzQmsScaleConstiQuesRel record); |
||||
|
|
||||
|
List<ZytzQmsScaleConstiQuesRel> selectByExample(ZytzQmsScaleConstiQuesRelExample example); |
||||
|
|
||||
|
ZytzQmsScaleConstiQuesRel selectByPrimaryKey(Long id); |
||||
|
|
||||
|
int updateByExampleSelective(@Param("record") ZytzQmsScaleConstiQuesRel record, @Param("example") ZytzQmsScaleConstiQuesRelExample example); |
||||
|
|
||||
|
int updateByExample(@Param("record") ZytzQmsScaleConstiQuesRel record, @Param("example") ZytzQmsScaleConstiQuesRelExample example); |
||||
|
|
||||
|
int updateByPrimaryKeySelective(ZytzQmsScaleConstiQuesRel record); |
||||
|
|
||||
|
int updateByPrimaryKey(ZytzQmsScaleConstiQuesRel record); |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.acupuncture.system.persist.mapper; |
||||
|
|
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScore; |
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScoreExample; |
||||
|
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
public interface ZytzQmsScaleConstiRefScoreMapper { |
||||
|
long countByExample(ZytzQmsScaleConstiRefScoreExample example); |
||||
|
|
||||
|
int deleteByPrimaryKey(Long id); |
||||
|
|
||||
|
int insert(ZytzQmsScaleConstiRefScore record); |
||||
|
|
||||
|
int insertSelective(ZytzQmsScaleConstiRefScore record); |
||||
|
|
||||
|
List<ZytzQmsScaleConstiRefScore> selectByExample(ZytzQmsScaleConstiRefScoreExample example); |
||||
|
|
||||
|
ZytzQmsScaleConstiRefScore selectByPrimaryKey(Long id); |
||||
|
|
||||
|
int updateByExampleSelective(@Param("record") ZytzQmsScaleConstiRefScore record, @Param("example") ZytzQmsScaleConstiRefScoreExample example); |
||||
|
|
||||
|
int updateByExample(@Param("record") ZytzQmsScaleConstiRefScore record, @Param("example") ZytzQmsScaleConstiRefScoreExample example); |
||||
|
|
||||
|
int updateByPrimaryKeySelective(ZytzQmsScaleConstiRefScore record); |
||||
|
|
||||
|
int updateByPrimaryKey(ZytzQmsScaleConstiRefScore record); |
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.acupuncture.system.persist.mapper; |
||||
|
|
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa; |
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfaExample; |
||||
|
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
public interface ZytzQmsScaleConstiYsfaMapper { |
||||
|
long countByExample(ZytzQmsScaleConstiYsfaExample example); |
||||
|
|
||||
|
int deleteByPrimaryKey(Long id); |
||||
|
|
||||
|
int insert(ZytzQmsScaleConstiYsfa record); |
||||
|
|
||||
|
int insertSelective(ZytzQmsScaleConstiYsfa record); |
||||
|
|
||||
|
List<ZytzQmsScaleConstiYsfa> selectByExampleWithBLOBs(ZytzQmsScaleConstiYsfaExample example); |
||||
|
|
||||
|
List<ZytzQmsScaleConstiYsfa> selectByExample(ZytzQmsScaleConstiYsfaExample example); |
||||
|
|
||||
|
ZytzQmsScaleConstiYsfa selectByPrimaryKey(Long id); |
||||
|
|
||||
|
int updateByExampleSelective(@Param("record") ZytzQmsScaleConstiYsfa record, @Param("example") ZytzQmsScaleConstiYsfaExample example); |
||||
|
|
||||
|
int updateByExampleWithBLOBs(@Param("record") ZytzQmsScaleConstiYsfa record, @Param("example") ZytzQmsScaleConstiYsfaExample example); |
||||
|
|
||||
|
int updateByExample(@Param("record") ZytzQmsScaleConstiYsfa record, @Param("example") ZytzQmsScaleConstiYsfaExample example); |
||||
|
|
||||
|
int updateByPrimaryKeySelective(ZytzQmsScaleConstiYsfa record); |
||||
|
|
||||
|
int updateByPrimaryKeyWithBLOBs(ZytzQmsScaleConstiYsfa record); |
||||
|
|
||||
|
int updateByPrimaryKey(ZytzQmsScaleConstiYsfa record); |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.acupuncture.system.persist.mapper; |
||||
|
|
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScale; |
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleExample; |
||||
|
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
public interface ZytzQmsScaleMapper { |
||||
|
long countByExample(ZytzQmsScaleExample example); |
||||
|
|
||||
|
int deleteByPrimaryKey(Long scaleId); |
||||
|
|
||||
|
int insert(ZytzQmsScale record); |
||||
|
|
||||
|
int insertSelective(ZytzQmsScale record); |
||||
|
|
||||
|
List<ZytzQmsScale> selectByExample(ZytzQmsScaleExample example); |
||||
|
|
||||
|
ZytzQmsScale selectByPrimaryKey(Long scaleId); |
||||
|
|
||||
|
int updateByExampleSelective(@Param("record") ZytzQmsScale record, @Param("example") ZytzQmsScaleExample example); |
||||
|
|
||||
|
int updateByExample(@Param("record") ZytzQmsScale record, @Param("example") ZytzQmsScaleExample example); |
||||
|
|
||||
|
int updateByPrimaryKeySelective(ZytzQmsScale record); |
||||
|
|
||||
|
int updateByPrimaryKey(ZytzQmsScale record); |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.acupuncture.system.persist.mapper; |
||||
|
|
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleQuestion; |
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleQuestionExample; |
||||
|
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
public interface ZytzQmsScaleQuestionMapper { |
||||
|
long countByExample(ZytzQmsScaleQuestionExample example); |
||||
|
|
||||
|
int deleteByPrimaryKey(Long quesId); |
||||
|
|
||||
|
int insert(ZytzQmsScaleQuestion record); |
||||
|
|
||||
|
int insertSelective(ZytzQmsScaleQuestion record); |
||||
|
|
||||
|
List<ZytzQmsScaleQuestion> selectByExample(ZytzQmsScaleQuestionExample example); |
||||
|
|
||||
|
ZytzQmsScaleQuestion selectByPrimaryKey(Long quesId); |
||||
|
|
||||
|
int updateByExampleSelective(@Param("record") ZytzQmsScaleQuestion record, @Param("example") ZytzQmsScaleQuestionExample example); |
||||
|
|
||||
|
int updateByExample(@Param("record") ZytzQmsScaleQuestion record, @Param("example") ZytzQmsScaleQuestionExample example); |
||||
|
|
||||
|
int updateByPrimaryKeySelective(ZytzQmsScaleQuestion record); |
||||
|
|
||||
|
int updateByPrimaryKey(ZytzQmsScaleQuestion record); |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.acupuncture.system.persist.mapper; |
||||
|
|
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOption; |
||||
|
import com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOptionExample; |
||||
|
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
public interface ZytzQmsScaleQuestionOptionMapper { |
||||
|
long countByExample(ZytzQmsScaleQuestionOptionExample example); |
||||
|
|
||||
|
int deleteByPrimaryKey(Long optionId); |
||||
|
|
||||
|
int insert(ZytzQmsScaleQuestionOption record); |
||||
|
|
||||
|
int insertSelective(ZytzQmsScaleQuestionOption record); |
||||
|
|
||||
|
List<ZytzQmsScaleQuestionOption> selectByExample(ZytzQmsScaleQuestionOptionExample example); |
||||
|
|
||||
|
ZytzQmsScaleQuestionOption selectByPrimaryKey(Long optionId); |
||||
|
|
||||
|
int updateByExampleSelective(@Param("record") ZytzQmsScaleQuestionOption record, @Param("example") ZytzQmsScaleQuestionOptionExample example); |
||||
|
|
||||
|
int updateByExample(@Param("record") ZytzQmsScaleQuestionOption record, @Param("example") ZytzQmsScaleQuestionOptionExample example); |
||||
|
|
||||
|
int updateByPrimaryKeySelective(ZytzQmsScaleQuestionOption record); |
||||
|
|
||||
|
int updateByPrimaryKey(ZytzQmsScaleQuestionOption record); |
||||
|
} |
@ -0,0 +1,275 @@ |
|||||
|
<?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.acupuncture.system.persist.dao.ZytzDao"> |
||||
|
<resultMap id="map_evaQuestionList" type="com.acupuncture.system.domain.vo.ZytzVo$EvaQuestionList"> |
||||
|
<id column="evaId" property="evaId"/> |
||||
|
<result column="patientId" property="patientId"/> |
||||
|
<result column="scaleCode" property="scaleCode"/> |
||||
|
<result column="scaleName" property="scaleName"/> |
||||
|
<result column="evaStatus" property="evaStatus"/> |
||||
|
<collection property="questions" ofType="com.acupuncture.system.domain.vo.ZytzVo$EvaQuestionList$Question"> |
||||
|
<id column="quesCode" property="quesCode"/> |
||||
|
<result column="quesName" property="quesName"/> |
||||
|
<result column="quesSort" property="quesSort"/> |
||||
|
<collection property="options" ofType="com.acupuncture.system.domain.vo.ZytzVo$EvaQuestionList$Question$Option"> |
||||
|
<id column="optionCode" property="optionCode"/> |
||||
|
<result column="optionName" property="optionName"/> |
||||
|
<result column="optionScore" property="optionScore"/> |
||||
|
<result column="optionSort" property="optionSort"/> |
||||
|
<result column="optionChecked" property="optionChecked"/> |
||||
|
</collection> |
||||
|
</collection> |
||||
|
</resultMap> |
||||
|
|
||||
|
<select id="evaQuestionList" resultMap="map_evaQuestionList"> |
||||
|
select |
||||
|
eva.id as evaId, |
||||
|
eva.patient_id as patientId, |
||||
|
eva.status as evaStatus, |
||||
|
s.scale_name as scaleName, |
||||
|
s.scale_code as scaleCode, |
||||
|
q.ques_code as quesCode, |
||||
|
q.ques_name as quesName, |
||||
|
q.ques_sort as quesSort, |
||||
|
o.option_code as optionCode, |
||||
|
o.option_name as optionName, |
||||
|
o.option_score as optionScore, |
||||
|
o.option_sort as optionSort, |
||||
|
if(a.answer_id is null, 0, 1) as optionChecked |
||||
|
from pms_treatment eva |
||||
|
join zytz_qms_scale s on s.scale_code = 'TZBS_LN' and s.del_flag = 0 |
||||
|
join zytz_qms_scale_question q on s.scale_code = q.scale_code and q.del_flag = 0 |
||||
|
join zytz_qms_scale_question_option o on q.ques_code = o.ques_code and q.del_flag = 0 |
||||
|
left join zytz_ems_eva_answer a on a.eva_id = #{evaId} and a.option_code = o.option_code |
||||
|
where |
||||
|
eva.id = #{evaId} |
||||
|
and (q.gender_apply = 0 or q.gender_apply = eva.gender) |
||||
|
order by |
||||
|
q.ques_sort,o.option_sort |
||||
|
</select> |
||||
|
|
||||
|
<insert id="batchInsertAnswer"> |
||||
|
replace into zytz_ems_eva_answer(answer_id,eva_id,ques_code,option_code,option_name,option_score,create_by) |
||||
|
values |
||||
|
<foreach collection="list" item="item" separator=","> |
||||
|
(#{item.answerId},#{item.evaId},#{item.quesCode},#{item.optionCode},#{item.optionName},#{item.optionScore},#{item.createBy}) |
||||
|
</foreach> |
||||
|
</insert> |
||||
|
|
||||
|
<!-- <insert id="batchInsertReportResult">--> |
||||
|
<!-- replace into rms_report_result(result_id,report_id,consti_code,consti_name,consti_level,consti_score,main_flag,create_by)--> |
||||
|
<!-- values--> |
||||
|
<!-- <foreach collection="list" item="item" separator=",">--> |
||||
|
<!-- (#{item.resultId},#{item.reportId},#{item.constiCode},#{item.constiName},#{item.constiLevel},#{item.constiScore},#{item.mainFlag},#{item.createBy})--> |
||||
|
<!-- </foreach>--> |
||||
|
<!-- </insert>--> |
||||
|
|
||||
|
<!-- <select id="countReportResult" resultType="com.ruoyi.system.domain.vo.ReportVo$EvaResult">--> |
||||
|
<!-- select--> |
||||
|
<!-- eva.eva_id as evaId,--> |
||||
|
<!-- s.scale_code as scaleCode,--> |
||||
|
<!-- s.scale_name as scaleName,--> |
||||
|
<!-- cst.consti_code as constiCode,--> |
||||
|
<!-- cst.consti_name as constiName,--> |
||||
|
<!-- sum(--> |
||||
|
<!-- if(rel.reverse = 0,a.option_score,(6-a.option_score))--> |
||||
|
<!-- ) as score,--> |
||||
|
<!-- count(rel.ques_code) as quesNum--> |
||||
|
<!-- from--> |
||||
|
<!-- ems_evaluation eva--> |
||||
|
<!-- join qms_scale s on eva.eva_scale_code = s.scale_code and s.del_flag = 0--> |
||||
|
<!-- left join qms_scale_consti cst on eva.eva_scale_code = cst.scale_code and cst.del_flag = 0--> |
||||
|
<!-- left join qms_scale_consti_ques_rel rel on cst.consti_code = rel.consti_code and rel.del_flag = 0--> |
||||
|
<!-- left join ems_eva_answer a on eva.eva_id = a.eva_id and rel.ques_code = a.ques_code--> |
||||
|
<!-- where--> |
||||
|
<!-- eva.eva_id = #{evaId}--> |
||||
|
<!-- group by--> |
||||
|
<!-- eva.eva_id, s.scale_code, s.scale_name, cst.consti_id, cst.consti_code--> |
||||
|
<!-- order by--> |
||||
|
<!-- cst.consti_id--> |
||||
|
<!-- </select>--> |
||||
|
|
||||
|
<!-- <select id="queryYsjy" resultType="java.lang.String">--> |
||||
|
<!-- select--> |
||||
|
<!-- if(hst.consti_ysfa_template is not null, hst.consti_ysfa_template, scy.consti_ysfa_template) as ysfa--> |
||||
|
<!-- from--> |
||||
|
<!-- qms_scale_consti cst--> |
||||
|
<!-- left join qms_scale s on cst.scale_code = s.scale_code and s.del_flag = 0--> |
||||
|
<!-- left join qms_scale_consti_ysfa scy on cst.consti_code = scy.consti_code and scy.del_flag = 0--> |
||||
|
<!-- left join hms_ysfa_template hst on cst.consti_code = hst.consti_code and hst.del_flag = 0 and hst.dept_id = #{deptId}--> |
||||
|
<!-- where--> |
||||
|
<!-- cst.consti_code = #{constiCode}--> |
||||
|
<!-- and cst.del_flag = 0--> |
||||
|
<!-- order by--> |
||||
|
<!-- cst.consti_id--> |
||||
|
<!-- </select>--> |
||||
|
|
||||
|
<!-- <resultMap id="map_reportView" type="com.ruoyi.system.domain.vo.ClientEvaVo$ReportView">--> |
||||
|
<!-- <id column="reportId" property="reportId"/>--> |
||||
|
<!-- <result column="patientId" property="patientId"/>--> |
||||
|
<!-- <result column="name" property="name"/>--> |
||||
|
<!-- <result column="birthday" property="birthday"/>--> |
||||
|
<!-- <result column="age" property="age"/>--> |
||||
|
<!-- <result column="gender" property="gender"/>--> |
||||
|
<!-- <result column="height" property="height"/>--> |
||||
|
<!-- <result column="weight" property="weight"/>--> |
||||
|
<!-- <result column="waistline" property="waistline"/>--> |
||||
|
<!-- <result column="idcard" property="idcard"/>--> |
||||
|
<!-- <result column="phone" property="phone"/>--> |
||||
|
<!-- <result column="evaId" property="evaId"/>--> |
||||
|
<!-- <result column="evaTime" property="evaTime"/>--> |
||||
|
<!-- <result column="evaUsername" property="evaUsername"/>--> |
||||
|
<!-- <result column="evaNickname" property="evaNickname"/>--> |
||||
|
<!-- <result column="evaScaleCode" property="evaScaleCode"/>--> |
||||
|
<!-- <result column="evaScaleName" property="evaScaleName"/>--> |
||||
|
<!-- <result column="blh" property="blh"/>--> |
||||
|
<!-- <collection property="scores" ofType="com.ruoyi.system.domain.vo.ClientEvaVo$ReportView$Score">--> |
||||
|
<!-- <id column="constiCode" property="constiCode"/>--> |
||||
|
<!-- <result column="constiName" property="constiName"/>--> |
||||
|
<!-- <result column="constiLevel" property="constiLevel"/>--> |
||||
|
<!-- <result column="constiScore" property="constiScore"/>--> |
||||
|
<!-- <result column="mainFlag" property="mainFlag"/>--> |
||||
|
<!-- <result column="refScoreYes" property="refScoreYes"/>--> |
||||
|
<!-- <result column="refScoreMaybe" property="refScoreMaybe"/>--> |
||||
|
<!-- <result column="fullScore" property="fullScore"/>--> |
||||
|
<!-- </collection>--> |
||||
|
<!-- <collection property="ysfa" ofType="com.ruoyi.system.domain.vo.ClientEvaVo$ReportView$Ysfa">--> |
||||
|
<!-- <id column="jyConstiCode" property="constiCode"/>--> |
||||
|
<!-- <result column="jyConstiName" property="constiName"/>--> |
||||
|
<!-- <result column="ysjy" property="ysjy"/>--> |
||||
|
<!-- </collection>--> |
||||
|
<!-- </resultMap>--> |
||||
|
|
||||
|
<!-- <select id="reportView" resultMap="map_reportView">--> |
||||
|
<!-- select--> |
||||
|
<!-- r.report_id as reportId,--> |
||||
|
<!-- r.patient_id as patientId,--> |
||||
|
<!-- r.patient_name as name,--> |
||||
|
<!-- r.patient_gender as gender,--> |
||||
|
<!-- r.patient_birthday as birthday,--> |
||||
|
<!-- r.patient_age as age,--> |
||||
|
<!-- r.patient_height as height,--> |
||||
|
<!-- r.patient_weight as weight,--> |
||||
|
<!-- r.patient_waistline as waistline,--> |
||||
|
<!-- r.patient_idcard as idcard,--> |
||||
|
<!-- r.patient_phone as phone,--> |
||||
|
<!-- r.eva_id as evaId,--> |
||||
|
<!-- r.eva_time as evaTime,--> |
||||
|
<!-- r.eva_username as evaUsername,--> |
||||
|
<!-- r.eva_nickname as evaNickname,--> |
||||
|
<!-- r.eva_scale_code as evaScaleCode,--> |
||||
|
<!-- s.scale_name as evaScaleName,--> |
||||
|
<!-- r.blh as blh,--> |
||||
|
<!-- res.consti_code as constiCode,--> |
||||
|
<!-- res.consti_name as constiName,--> |
||||
|
<!-- res.consti_level as constiLevel,--> |
||||
|
<!-- res.consti_score as constiScore,--> |
||||
|
<!-- ref.ref_score_yes as refScoreYes,--> |
||||
|
<!-- ref.ref_score_maybe as refScoreMaybe,--> |
||||
|
<!-- ref.full_score as fullScore,--> |
||||
|
<!-- res.main_flag as mainFlag,--> |
||||
|
<!-- jy.consti_code as jyConstiCode,--> |
||||
|
<!-- jy.consti_name as jyConstiName,--> |
||||
|
<!-- jy.consti_ysjy as ysjy--> |
||||
|
<!-- from--> |
||||
|
<!-- rms_report r join qms_scale s on r.eva_scale_code = s.scale_code and s.del_flag = '0'--> |
||||
|
<!-- left join rms_report_result res on r.report_id = res.report_id--> |
||||
|
<!-- left join qms_scale_consti_ref_score ref on res.consti_code = ref.consti_code and ref.del_flag = 0--> |
||||
|
<!-- left join rms_report_ysjy jy on r.report_id = jy.report_id--> |
||||
|
<!-- where--> |
||||
|
<!-- r.del_flag = 0--> |
||||
|
<!-- and r.eva_id = #{evaId}--> |
||||
|
<!-- order by--> |
||||
|
<!-- res.result_id--> |
||||
|
<!-- </select>--> |
||||
|
|
||||
|
<!-- <select id="queryEvaList" resultType="com.ruoyi.system.domain.vo.ClientEvaVo$EvaList">--> |
||||
|
<!-- SELECT--> |
||||
|
<!-- r.report_id as reportId,--> |
||||
|
<!-- e.patient_id as patientId,--> |
||||
|
<!-- e.patient_name as name,--> |
||||
|
<!-- e.patient_gender as gender,--> |
||||
|
<!-- e.patient_birthday as birthday,--> |
||||
|
<!-- e.patient_age as age,--> |
||||
|
<!-- e.patient_height as height,--> |
||||
|
<!-- e.patient_weight as weight,--> |
||||
|
<!-- e.patient_waistline as waistline,--> |
||||
|
<!-- e.patient_idcard as idcard,--> |
||||
|
<!-- e.patient_phone as phone,--> |
||||
|
<!-- e.eva_id as evaId,--> |
||||
|
<!-- e.create_time as evaTime,--> |
||||
|
<!-- e.eva_username as evaUsername,--> |
||||
|
<!-- e.eva_nickname as evaNickname,--> |
||||
|
<!-- e.eva_scale_code as evaScaleCode,--> |
||||
|
<!-- e.eva_status as evaStatus,--> |
||||
|
<!-- s.scale_name as evaScaleName,--> |
||||
|
<!-- e.blh as blh--> |
||||
|
<!-- FROM--> |
||||
|
<!-- ems_evaluation e left join qms_scale s on e.eva_scale_code = s.scale_code and s.del_flag = '0'--> |
||||
|
<!-- left join rms_report r on e.eva_id = r.eva_id and r.del_flag = '0'--> |
||||
|
<!-- WHERE--> |
||||
|
<!-- e.del_flag = '0'--> |
||||
|
<!-- AND e.dept_id = #{deptId}--> |
||||
|
<!-- <if test="keywords != null and keywords != ''">--> |
||||
|
<!-- AND (--> |
||||
|
<!-- e.patient_name LIKE CONCAT( '%', #{keywords}, '%' )--> |
||||
|
<!-- OR e.patient_name_pinyin LIKE CONCAT( "%", #{keywords}, '%' )--> |
||||
|
<!-- OR e.patient_name_py LIKE CONCAT( '%', #{keywords}, '%' )--> |
||||
|
<!-- OR e.patient_phone LIKE CONCAT( '%', #{keywords}, '%' )--> |
||||
|
<!-- OR e.patient_idcard LIKE CONCAT( '%', #{keywords}, '%' )--> |
||||
|
<!-- )--> |
||||
|
<!-- </if>--> |
||||
|
<!-- <if test="scaleCode != null and scaleCode != ''">--> |
||||
|
<!-- AND e.eva_scale_code = #{scaleCode}--> |
||||
|
<!-- </if>--> |
||||
|
<!-- <if test="evaStatus != null">--> |
||||
|
<!-- AND e.eva_status = #{evaStatus}--> |
||||
|
<!-- </if>--> |
||||
|
<!-- <if test="gender != null">--> |
||||
|
<!-- AND e.patient_gender = #{gender}--> |
||||
|
<!-- </if>--> |
||||
|
<!-- <if test="ageMin != null">--> |
||||
|
<!-- AND e.patient_age >= #{ageMin}--> |
||||
|
<!-- </if>--> |
||||
|
<!-- <if test="ageMax != null">--> |
||||
|
<!-- AND e.patient_age <= #{ageMax}--> |
||||
|
<!-- </if>--> |
||||
|
<!-- <if test="evaDateMin != null">--> |
||||
|
<!-- AND e.create_time >= #{evaDateMin}--> |
||||
|
<!-- </if>--> |
||||
|
<!-- <if test="evaDateMax != null">--> |
||||
|
<!-- AND e.create_time <= #{evaDateMax}--> |
||||
|
<!-- </if>--> |
||||
|
<!-- order by--> |
||||
|
<!-- e.eva_id desc--> |
||||
|
<!-- </select>--> |
||||
|
|
||||
|
<!-- <select id="queryReportScores" resultType="com.ruoyi.system.domain.vo.ClientEvaVo$EvaList$Score">--> |
||||
|
<!-- SELECT--> |
||||
|
<!-- res.report_id AS reportId,--> |
||||
|
<!-- res.consti_code AS constiCode,--> |
||||
|
<!-- res.consti_name AS constiName,--> |
||||
|
<!-- res.consti_level AS constiLevel,--> |
||||
|
<!-- res.consti_score AS constiScore,--> |
||||
|
<!-- res.main_flag AS mainFlag,--> |
||||
|
<!-- ref.ref_score_yes AS refScoreYes,--> |
||||
|
<!-- ref.ref_score_maybe AS refScoreMaybe,--> |
||||
|
<!-- ref.full_score AS fullScore--> |
||||
|
<!-- FROM--> |
||||
|
<!-- rms_report_result res--> |
||||
|
<!-- LEFT JOIN qms_scale_consti_ref_score ref ON res.consti_code = ref.consti_code AND ref.del_flag = 0--> |
||||
|
<!-- WHERE--> |
||||
|
<!-- res.report_id = #{reportId}--> |
||||
|
<!-- ORDER BY--> |
||||
|
<!-- res.result_id--> |
||||
|
<!-- </select>--> |
||||
|
|
||||
|
<!-- <update id="deleteEvas">--> |
||||
|
<!-- update ems_evaluation--> |
||||
|
<!-- set del_flag = 2--> |
||||
|
<!-- where eva_id in--> |
||||
|
<!-- <foreach collection="ids" item="evaId" open="(" separator="," close=")">--> |
||||
|
<!-- #{evaId}--> |
||||
|
<!-- </foreach>--> |
||||
|
<!-- </update>--> |
||||
|
</mapper> |
@ -0,0 +1,285 @@ |
|||||
|
<?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.acupuncture.system.persist.mapper.ZytzEmsEvaAnswerMapper"> |
||||
|
<resultMap id="BaseResultMap" type="com.acupuncture.system.domain.po.ZytzEmsEvaAnswer"> |
||||
|
<id column="answer_id" jdbcType="BIGINT" property="answerId" /> |
||||
|
<result column="eva_id" jdbcType="BIGINT" property="evaId" /> |
||||
|
<result column="ques_code" jdbcType="VARCHAR" property="quesCode" /> |
||||
|
<result column="option_code" jdbcType="VARCHAR" property="optionCode" /> |
||||
|
<result column="option_name" jdbcType="VARCHAR" property="optionName" /> |
||||
|
<result column="option_score" jdbcType="DECIMAL" property="optionScore" /> |
||||
|
<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"> |
||||
|
answer_id, eva_id, ques_code, option_code, option_name, option_score, create_by, |
||||
|
create_time, update_by, update_time |
||||
|
</sql> |
||||
|
<select id="selectByExample" parameterType="com.acupuncture.system.domain.po.ZytzEmsEvaAnswerExample" resultMap="BaseResultMap"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
from zytz_ems_eva_answer |
||||
|
<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 zytz_ems_eva_answer |
||||
|
where answer_id = #{answerId,jdbcType=BIGINT} |
||||
|
</select> |
||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
|
delete from zytz_ems_eva_answer |
||||
|
where answer_id = #{answerId,jdbcType=BIGINT} |
||||
|
</delete> |
||||
|
<insert id="insert" parameterType="com.acupuncture.system.domain.po.ZytzEmsEvaAnswer"> |
||||
|
insert into zytz_ems_eva_answer (answer_id, eva_id, ques_code, |
||||
|
option_code, option_name, option_score, |
||||
|
create_by, create_time, update_by, |
||||
|
update_time) |
||||
|
values (#{answerId,jdbcType=BIGINT}, #{evaId,jdbcType=BIGINT}, #{quesCode,jdbcType=VARCHAR}, |
||||
|
#{optionCode,jdbcType=VARCHAR}, #{optionName,jdbcType=VARCHAR}, #{optionScore,jdbcType=DECIMAL}, |
||||
|
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, |
||||
|
#{updateTime,jdbcType=TIMESTAMP}) |
||||
|
</insert> |
||||
|
<insert id="insertSelective" parameterType="com.acupuncture.system.domain.po.ZytzEmsEvaAnswer"> |
||||
|
insert into zytz_ems_eva_answer |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="answerId != null"> |
||||
|
answer_id, |
||||
|
</if> |
||||
|
<if test="evaId != null"> |
||||
|
eva_id, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
ques_code, |
||||
|
</if> |
||||
|
<if test="optionCode != null"> |
||||
|
option_code, |
||||
|
</if> |
||||
|
<if test="optionName != null"> |
||||
|
option_name, |
||||
|
</if> |
||||
|
<if test="optionScore != null"> |
||||
|
option_score, |
||||
|
</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="answerId != null"> |
||||
|
#{answerId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="evaId != null"> |
||||
|
#{evaId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
#{quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionCode != null"> |
||||
|
#{optionCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionName != null"> |
||||
|
#{optionName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionScore != null"> |
||||
|
#{optionScore,jdbcType=DECIMAL}, |
||||
|
</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.acupuncture.system.domain.po.ZytzEmsEvaAnswerExample" resultType="java.lang.Long"> |
||||
|
select count(*) from zytz_ems_eva_answer |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</select> |
||||
|
<update id="updateByExampleSelective" parameterType="map"> |
||||
|
update zytz_ems_eva_answer |
||||
|
<set> |
||||
|
<if test="record.answerId != null"> |
||||
|
answer_id = #{record.answerId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.evaId != null"> |
||||
|
eva_id = #{record.evaId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.quesCode != null"> |
||||
|
ques_code = #{record.quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.optionCode != null"> |
||||
|
option_code = #{record.optionCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.optionName != null"> |
||||
|
option_name = #{record.optionName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.optionScore != null"> |
||||
|
option_score = #{record.optionScore,jdbcType=DECIMAL}, |
||||
|
</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 zytz_ems_eva_answer |
||||
|
set answer_id = #{record.answerId,jdbcType=BIGINT}, |
||||
|
eva_id = #{record.evaId,jdbcType=BIGINT}, |
||||
|
ques_code = #{record.quesCode,jdbcType=VARCHAR}, |
||||
|
option_code = #{record.optionCode,jdbcType=VARCHAR}, |
||||
|
option_name = #{record.optionName,jdbcType=VARCHAR}, |
||||
|
option_score = #{record.optionScore,jdbcType=DECIMAL}, |
||||
|
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.acupuncture.system.domain.po.ZytzEmsEvaAnswer"> |
||||
|
update zytz_ems_eva_answer |
||||
|
<set> |
||||
|
<if test="evaId != null"> |
||||
|
eva_id = #{evaId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
ques_code = #{quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionCode != null"> |
||||
|
option_code = #{optionCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionName != null"> |
||||
|
option_name = #{optionName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionScore != null"> |
||||
|
option_score = #{optionScore,jdbcType=DECIMAL}, |
||||
|
</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 answer_id = #{answerId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
<update id="updateByPrimaryKey" parameterType="com.acupuncture.system.domain.po.ZytzEmsEvaAnswer"> |
||||
|
update zytz_ems_eva_answer |
||||
|
set eva_id = #{evaId,jdbcType=BIGINT}, |
||||
|
ques_code = #{quesCode,jdbcType=VARCHAR}, |
||||
|
option_code = #{optionCode,jdbcType=VARCHAR}, |
||||
|
option_name = #{optionName,jdbcType=VARCHAR}, |
||||
|
option_score = #{optionScore,jdbcType=DECIMAL}, |
||||
|
create_by = #{createBy,jdbcType=VARCHAR}, |
||||
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
||||
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP} |
||||
|
where answer_id = #{answerId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
</mapper> |
@ -0,0 +1,270 @@ |
|||||
|
<?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.acupuncture.system.persist.mapper.ZytzQmsScaleConstiMapper"> |
||||
|
<resultMap id="BaseResultMap" type="com.acupuncture.system.domain.po.ZytzQmsScaleConsti"> |
||||
|
<id column="consti_id" jdbcType="BIGINT" property="constiId" /> |
||||
|
<result column="scale_code" jdbcType="VARCHAR" property="scaleCode" /> |
||||
|
<result column="consti_code" jdbcType="VARCHAR" property="constiCode" /> |
||||
|
<result column="consti_name" jdbcType="VARCHAR" property="constiName" /> |
||||
|
<result column="del_flag" jdbcType="CHAR" 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"> |
||||
|
consti_id, scale_code, consti_code, consti_name, del_flag, create_by, create_time, |
||||
|
update_by, update_time |
||||
|
</sql> |
||||
|
<select id="selectByExample" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiExample" resultMap="BaseResultMap"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
from zytz_qms_scale_consti |
||||
|
<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 zytz_qms_scale_consti |
||||
|
where consti_id = #{constiId,jdbcType=BIGINT} |
||||
|
</select> |
||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
|
delete from zytz_qms_scale_consti |
||||
|
where consti_id = #{constiId,jdbcType=BIGINT} |
||||
|
</delete> |
||||
|
<insert id="insert" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConsti"> |
||||
|
insert into zytz_qms_scale_consti (consti_id, scale_code, consti_code, |
||||
|
consti_name, del_flag, create_by, |
||||
|
create_time, update_by, update_time |
||||
|
) |
||||
|
values (#{constiId,jdbcType=BIGINT}, #{scaleCode,jdbcType=VARCHAR}, #{constiCode,jdbcType=VARCHAR}, |
||||
|
#{constiName,jdbcType=VARCHAR}, #{delFlag,jdbcType=CHAR}, #{createBy,jdbcType=VARCHAR}, |
||||
|
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP} |
||||
|
) |
||||
|
</insert> |
||||
|
<insert id="insertSelective" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConsti"> |
||||
|
insert into zytz_qms_scale_consti |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="constiId != null"> |
||||
|
consti_id, |
||||
|
</if> |
||||
|
<if test="scaleCode != null"> |
||||
|
scale_code, |
||||
|
</if> |
||||
|
<if test="constiCode != null"> |
||||
|
consti_code, |
||||
|
</if> |
||||
|
<if test="constiName != null"> |
||||
|
consti_name, |
||||
|
</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="constiId != null"> |
||||
|
#{constiId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="scaleCode != null"> |
||||
|
#{scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="constiCode != null"> |
||||
|
#{constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="constiName != null"> |
||||
|
#{constiName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
#{delFlag,jdbcType=CHAR}, |
||||
|
</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.acupuncture.system.domain.po.ZytzQmsScaleConstiExample" resultType="java.lang.Long"> |
||||
|
select count(*) from zytz_qms_scale_consti |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</select> |
||||
|
<update id="updateByExampleSelective" parameterType="map"> |
||||
|
update zytz_qms_scale_consti |
||||
|
<set> |
||||
|
<if test="record.constiId != null"> |
||||
|
consti_id = #{record.constiId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.scaleCode != null"> |
||||
|
scale_code = #{record.scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.constiCode != null"> |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.constiName != null"> |
||||
|
consti_name = #{record.constiName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.delFlag != null"> |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
</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 zytz_qms_scale_consti |
||||
|
set consti_id = #{record.constiId,jdbcType=BIGINT}, |
||||
|
scale_code = #{record.scaleCode,jdbcType=VARCHAR}, |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
consti_name = #{record.constiName,jdbcType=VARCHAR}, |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
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.acupuncture.system.domain.po.ZytzQmsScaleConsti"> |
||||
|
update zytz_qms_scale_consti |
||||
|
<set> |
||||
|
<if test="scaleCode != null"> |
||||
|
scale_code = #{scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="constiCode != null"> |
||||
|
consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="constiName != null"> |
||||
|
consti_name = #{constiName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
</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 consti_id = #{constiId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
<update id="updateByPrimaryKey" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConsti"> |
||||
|
update zytz_qms_scale_consti |
||||
|
set scale_code = #{scaleCode,jdbcType=VARCHAR}, |
||||
|
consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
consti_name = #{constiName,jdbcType=VARCHAR}, |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
create_by = #{createBy,jdbcType=VARCHAR}, |
||||
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
||||
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP} |
||||
|
where consti_id = #{constiId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
</mapper> |
@ -0,0 +1,270 @@ |
|||||
|
<?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.acupuncture.system.persist.mapper.ZytzQmsScaleConstiQuesRelMapper"> |
||||
|
<resultMap id="BaseResultMap" type="com.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRel"> |
||||
|
<id column="id" jdbcType="BIGINT" property="id" /> |
||||
|
<result column="consti_code" jdbcType="VARCHAR" property="constiCode" /> |
||||
|
<result column="ques_code" jdbcType="VARCHAR" property="quesCode" /> |
||||
|
<result column="reverse" jdbcType="TINYINT" property="reverse" /> |
||||
|
<result column="del_flag" jdbcType="CHAR" 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, consti_code, ques_code, reverse, del_flag, create_by, create_time, update_by, |
||||
|
update_time |
||||
|
</sql> |
||||
|
<select id="selectByExample" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRelExample" resultMap="BaseResultMap"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
from zytz_qms_scale_consti_ques_rel |
||||
|
<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 zytz_qms_scale_consti_ques_rel |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</select> |
||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
|
delete from zytz_qms_scale_consti_ques_rel |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</delete> |
||||
|
<insert id="insert" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRel"> |
||||
|
insert into zytz_qms_scale_consti_ques_rel (id, consti_code, ques_code, |
||||
|
reverse, del_flag, create_by, |
||||
|
create_time, update_by, update_time |
||||
|
) |
||||
|
values (#{id,jdbcType=BIGINT}, #{constiCode,jdbcType=VARCHAR}, #{quesCode,jdbcType=VARCHAR}, |
||||
|
#{reverse,jdbcType=TINYINT}, #{delFlag,jdbcType=CHAR}, #{createBy,jdbcType=VARCHAR}, |
||||
|
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP} |
||||
|
) |
||||
|
</insert> |
||||
|
<insert id="insertSelective" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRel"> |
||||
|
insert into zytz_qms_scale_consti_ques_rel |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="id != null"> |
||||
|
id, |
||||
|
</if> |
||||
|
<if test="constiCode != null"> |
||||
|
consti_code, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
ques_code, |
||||
|
</if> |
||||
|
<if test="reverse != null"> |
||||
|
reverse, |
||||
|
</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="constiCode != null"> |
||||
|
#{constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
#{quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="reverse != null"> |
||||
|
#{reverse,jdbcType=TINYINT}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
#{delFlag,jdbcType=CHAR}, |
||||
|
</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.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRelExample" resultType="java.lang.Long"> |
||||
|
select count(*) from zytz_qms_scale_consti_ques_rel |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</select> |
||||
|
<update id="updateByExampleSelective" parameterType="map"> |
||||
|
update zytz_qms_scale_consti_ques_rel |
||||
|
<set> |
||||
|
<if test="record.id != null"> |
||||
|
id = #{record.id,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.constiCode != null"> |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.quesCode != null"> |
||||
|
ques_code = #{record.quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.reverse != null"> |
||||
|
reverse = #{record.reverse,jdbcType=TINYINT}, |
||||
|
</if> |
||||
|
<if test="record.delFlag != null"> |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
</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 zytz_qms_scale_consti_ques_rel |
||||
|
set id = #{record.id,jdbcType=BIGINT}, |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
ques_code = #{record.quesCode,jdbcType=VARCHAR}, |
||||
|
reverse = #{record.reverse,jdbcType=TINYINT}, |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
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.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRel"> |
||||
|
update zytz_qms_scale_consti_ques_rel |
||||
|
<set> |
||||
|
<if test="constiCode != null"> |
||||
|
consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
ques_code = #{quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="reverse != null"> |
||||
|
reverse = #{reverse,jdbcType=TINYINT}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
</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.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRel"> |
||||
|
update zytz_qms_scale_consti_ques_rel |
||||
|
set consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
ques_code = #{quesCode,jdbcType=VARCHAR}, |
||||
|
reverse = #{reverse,jdbcType=TINYINT}, |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
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,285 @@ |
|||||
|
<?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.acupuncture.system.persist.mapper.ZytzQmsScaleConstiRefScoreMapper"> |
||||
|
<resultMap id="BaseResultMap" type="com.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScore"> |
||||
|
<id column="id" jdbcType="BIGINT" property="id" /> |
||||
|
<result column="consti_code" jdbcType="VARCHAR" property="constiCode" /> |
||||
|
<result column="ref_score_yes" jdbcType="DECIMAL" property="refScoreYes" /> |
||||
|
<result column="ref_score_Maybe" jdbcType="DECIMAL" property="refScoreMaybe" /> |
||||
|
<result column="full_score" jdbcType="DECIMAL" property="fullScore" /> |
||||
|
<result column="del_flag" jdbcType="CHAR" 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, consti_code, ref_score_yes, ref_score_Maybe, full_score, del_flag, create_by, |
||||
|
create_time, update_by, update_time |
||||
|
</sql> |
||||
|
<select id="selectByExample" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScoreExample" resultMap="BaseResultMap"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
from zytz_qms_scale_consti_ref_score |
||||
|
<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 zytz_qms_scale_consti_ref_score |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</select> |
||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
|
delete from zytz_qms_scale_consti_ref_score |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</delete> |
||||
|
<insert id="insert" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScore"> |
||||
|
insert into zytz_qms_scale_consti_ref_score (id, consti_code, ref_score_yes, |
||||
|
ref_score_Maybe, full_score, del_flag, |
||||
|
create_by, create_time, update_by, |
||||
|
update_time) |
||||
|
values (#{id,jdbcType=BIGINT}, #{constiCode,jdbcType=VARCHAR}, #{refScoreYes,jdbcType=DECIMAL}, |
||||
|
#{refScoreMaybe,jdbcType=DECIMAL}, #{fullScore,jdbcType=DECIMAL}, #{delFlag,jdbcType=CHAR}, |
||||
|
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, |
||||
|
#{updateTime,jdbcType=TIMESTAMP}) |
||||
|
</insert> |
||||
|
<insert id="insertSelective" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScore"> |
||||
|
insert into zytz_qms_scale_consti_ref_score |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="id != null"> |
||||
|
id, |
||||
|
</if> |
||||
|
<if test="constiCode != null"> |
||||
|
consti_code, |
||||
|
</if> |
||||
|
<if test="refScoreYes != null"> |
||||
|
ref_score_yes, |
||||
|
</if> |
||||
|
<if test="refScoreMaybe != null"> |
||||
|
ref_score_Maybe, |
||||
|
</if> |
||||
|
<if test="fullScore != null"> |
||||
|
full_score, |
||||
|
</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="constiCode != null"> |
||||
|
#{constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="refScoreYes != null"> |
||||
|
#{refScoreYes,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="refScoreMaybe != null"> |
||||
|
#{refScoreMaybe,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="fullScore != null"> |
||||
|
#{fullScore,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
#{delFlag,jdbcType=CHAR}, |
||||
|
</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.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScoreExample" resultType="java.lang.Long"> |
||||
|
select count(*) from zytz_qms_scale_consti_ref_score |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</select> |
||||
|
<update id="updateByExampleSelective" parameterType="map"> |
||||
|
update zytz_qms_scale_consti_ref_score |
||||
|
<set> |
||||
|
<if test="record.id != null"> |
||||
|
id = #{record.id,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.constiCode != null"> |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.refScoreYes != null"> |
||||
|
ref_score_yes = #{record.refScoreYes,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="record.refScoreMaybe != null"> |
||||
|
ref_score_Maybe = #{record.refScoreMaybe,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="record.fullScore != null"> |
||||
|
full_score = #{record.fullScore,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="record.delFlag != null"> |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
</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 zytz_qms_scale_consti_ref_score |
||||
|
set id = #{record.id,jdbcType=BIGINT}, |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
ref_score_yes = #{record.refScoreYes,jdbcType=DECIMAL}, |
||||
|
ref_score_Maybe = #{record.refScoreMaybe,jdbcType=DECIMAL}, |
||||
|
full_score = #{record.fullScore,jdbcType=DECIMAL}, |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
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.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScore"> |
||||
|
update zytz_qms_scale_consti_ref_score |
||||
|
<set> |
||||
|
<if test="constiCode != null"> |
||||
|
consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="refScoreYes != null"> |
||||
|
ref_score_yes = #{refScoreYes,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="refScoreMaybe != null"> |
||||
|
ref_score_Maybe = #{refScoreMaybe,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="fullScore != null"> |
||||
|
full_score = #{fullScore,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
</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.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScore"> |
||||
|
update zytz_qms_scale_consti_ref_score |
||||
|
set consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
ref_score_yes = #{refScoreYes,jdbcType=DECIMAL}, |
||||
|
ref_score_Maybe = #{refScoreMaybe,jdbcType=DECIMAL}, |
||||
|
full_score = #{fullScore,jdbcType=DECIMAL}, |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
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,298 @@ |
|||||
|
<?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.acupuncture.system.persist.mapper.ZytzQmsScaleConstiYsfaMapper"> |
||||
|
<resultMap id="BaseResultMap" type="com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa"> |
||||
|
<id column="id" jdbcType="BIGINT" property="id" /> |
||||
|
<result column="consti_code" jdbcType="VARCHAR" property="constiCode" /> |
||||
|
<result column="del_flag" jdbcType="CHAR" 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.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa"> |
||||
|
<result column="consti_ysfa_template" jdbcType="LONGVARCHAR" property="constiYsfaTemplate" /> |
||||
|
</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, consti_code, del_flag, create_by, create_time, update_by, update_time |
||||
|
</sql> |
||||
|
<sql id="Blob_Column_List"> |
||||
|
consti_ysfa_template |
||||
|
</sql> |
||||
|
<select id="selectByExampleWithBLOBs" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfaExample" resultMap="ResultMapWithBLOBs"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
, |
||||
|
<include refid="Blob_Column_List" /> |
||||
|
from zytz_qms_scale_consti_ysfa |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
<if test="orderByClause != null"> |
||||
|
order by ${orderByClause} |
||||
|
</if> |
||||
|
</select> |
||||
|
<select id="selectByExample" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfaExample" resultMap="BaseResultMap"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
from zytz_qms_scale_consti_ysfa |
||||
|
<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 zytz_qms_scale_consti_ysfa |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</select> |
||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
|
delete from zytz_qms_scale_consti_ysfa |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</delete> |
||||
|
<insert id="insert" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa"> |
||||
|
insert into zytz_qms_scale_consti_ysfa (id, consti_code, del_flag, |
||||
|
create_by, create_time, update_by, |
||||
|
update_time, consti_ysfa_template) |
||||
|
values (#{id,jdbcType=BIGINT}, #{constiCode,jdbcType=VARCHAR}, #{delFlag,jdbcType=CHAR}, |
||||
|
#{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, |
||||
|
#{updateTime,jdbcType=TIMESTAMP}, #{constiYsfaTemplate,jdbcType=LONGVARCHAR}) |
||||
|
</insert> |
||||
|
<insert id="insertSelective" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa"> |
||||
|
insert into zytz_qms_scale_consti_ysfa |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="id != null"> |
||||
|
id, |
||||
|
</if> |
||||
|
<if test="constiCode != null"> |
||||
|
consti_code, |
||||
|
</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="constiYsfaTemplate != null"> |
||||
|
consti_ysfa_template, |
||||
|
</if> |
||||
|
</trim> |
||||
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
||||
|
<if test="id != null"> |
||||
|
#{id,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="constiCode != null"> |
||||
|
#{constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
#{delFlag,jdbcType=CHAR}, |
||||
|
</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="constiYsfaTemplate != null"> |
||||
|
#{constiYsfaTemplate,jdbcType=LONGVARCHAR}, |
||||
|
</if> |
||||
|
</trim> |
||||
|
</insert> |
||||
|
<select id="countByExample" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfaExample" resultType="java.lang.Long"> |
||||
|
select count(*) from zytz_qms_scale_consti_ysfa |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</select> |
||||
|
<update id="updateByExampleSelective" parameterType="map"> |
||||
|
update zytz_qms_scale_consti_ysfa |
||||
|
<set> |
||||
|
<if test="record.id != null"> |
||||
|
id = #{record.id,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.constiCode != null"> |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.delFlag != null"> |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
</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.constiYsfaTemplate != null"> |
||||
|
consti_ysfa_template = #{record.constiYsfaTemplate,jdbcType=LONGVARCHAR}, |
||||
|
</if> |
||||
|
</set> |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Update_By_Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</update> |
||||
|
<update id="updateByExampleWithBLOBs" parameterType="map"> |
||||
|
update zytz_qms_scale_consti_ysfa |
||||
|
set id = #{record.id,jdbcType=BIGINT}, |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
create_by = #{record.createBy,jdbcType=VARCHAR}, |
||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
||||
|
update_by = #{record.updateBy,jdbcType=VARCHAR}, |
||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
||||
|
consti_ysfa_template = #{record.constiYsfaTemplate,jdbcType=LONGVARCHAR} |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Update_By_Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</update> |
||||
|
<update id="updateByExample" parameterType="map"> |
||||
|
update zytz_qms_scale_consti_ysfa |
||||
|
set id = #{record.id,jdbcType=BIGINT}, |
||||
|
consti_code = #{record.constiCode,jdbcType=VARCHAR}, |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
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.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa"> |
||||
|
update zytz_qms_scale_consti_ysfa |
||||
|
<set> |
||||
|
<if test="constiCode != null"> |
||||
|
consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
</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="constiYsfaTemplate != null"> |
||||
|
consti_ysfa_template = #{constiYsfaTemplate,jdbcType=LONGVARCHAR}, |
||||
|
</if> |
||||
|
</set> |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa"> |
||||
|
update zytz_qms_scale_consti_ysfa |
||||
|
set consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
create_by = #{createBy,jdbcType=VARCHAR}, |
||||
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
||||
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
||||
|
consti_ysfa_template = #{constiYsfaTemplate,jdbcType=LONGVARCHAR} |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
<update id="updateByPrimaryKey" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa"> |
||||
|
update zytz_qms_scale_consti_ysfa |
||||
|
set consti_code = #{constiCode,jdbcType=VARCHAR}, |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
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,252 @@ |
|||||
|
<?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.acupuncture.system.persist.mapper.ZytzQmsScaleMapper"> |
||||
|
<resultMap id="BaseResultMap" type="com.acupuncture.system.domain.po.ZytzQmsScale"> |
||||
|
<id column="scale_id" jdbcType="BIGINT" property="scaleId" /> |
||||
|
<result column="scale_code" jdbcType="VARCHAR" property="scaleCode" /> |
||||
|
<result column="scale_name" jdbcType="VARCHAR" property="scaleName" /> |
||||
|
<result column="del_flag" jdbcType="CHAR" 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"> |
||||
|
scale_id, scale_code, scale_name, del_flag, create_by, create_time, update_by, update_time |
||||
|
</sql> |
||||
|
<select id="selectByExample" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleExample" resultMap="BaseResultMap"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
from zytz_qms_scale |
||||
|
<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 zytz_qms_scale |
||||
|
where scale_id = #{scaleId,jdbcType=BIGINT} |
||||
|
</select> |
||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
|
delete from zytz_qms_scale |
||||
|
where scale_id = #{scaleId,jdbcType=BIGINT} |
||||
|
</delete> |
||||
|
<insert id="insert" parameterType="com.acupuncture.system.domain.po.ZytzQmsScale"> |
||||
|
insert into zytz_qms_scale (scale_id, scale_code, scale_name, |
||||
|
del_flag, create_by, create_time, |
||||
|
update_by, update_time) |
||||
|
values (#{scaleId,jdbcType=BIGINT}, #{scaleCode,jdbcType=VARCHAR}, #{scaleName,jdbcType=VARCHAR}, |
||||
|
#{delFlag,jdbcType=CHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
||||
|
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}) |
||||
|
</insert> |
||||
|
<insert id="insertSelective" parameterType="com.acupuncture.system.domain.po.ZytzQmsScale"> |
||||
|
insert into zytz_qms_scale |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="scaleId != null"> |
||||
|
scale_id, |
||||
|
</if> |
||||
|
<if test="scaleCode != null"> |
||||
|
scale_code, |
||||
|
</if> |
||||
|
<if test="scaleName != null"> |
||||
|
scale_name, |
||||
|
</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="scaleId != null"> |
||||
|
#{scaleId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="scaleCode != null"> |
||||
|
#{scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="scaleName != null"> |
||||
|
#{scaleName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
#{delFlag,jdbcType=CHAR}, |
||||
|
</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.acupuncture.system.domain.po.ZytzQmsScaleExample" resultType="java.lang.Long"> |
||||
|
select count(*) from zytz_qms_scale |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</select> |
||||
|
<update id="updateByExampleSelective" parameterType="map"> |
||||
|
update zytz_qms_scale |
||||
|
<set> |
||||
|
<if test="record.scaleId != null"> |
||||
|
scale_id = #{record.scaleId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.scaleCode != null"> |
||||
|
scale_code = #{record.scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.scaleName != null"> |
||||
|
scale_name = #{record.scaleName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.delFlag != null"> |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
</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 zytz_qms_scale |
||||
|
set scale_id = #{record.scaleId,jdbcType=BIGINT}, |
||||
|
scale_code = #{record.scaleCode,jdbcType=VARCHAR}, |
||||
|
scale_name = #{record.scaleName,jdbcType=VARCHAR}, |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
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.acupuncture.system.domain.po.ZytzQmsScale"> |
||||
|
update zytz_qms_scale |
||||
|
<set> |
||||
|
<if test="scaleCode != null"> |
||||
|
scale_code = #{scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="scaleName != null"> |
||||
|
scale_name = #{scaleName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
</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 scale_id = #{scaleId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
<update id="updateByPrimaryKey" parameterType="com.acupuncture.system.domain.po.ZytzQmsScale"> |
||||
|
update zytz_qms_scale |
||||
|
set scale_code = #{scaleCode,jdbcType=VARCHAR}, |
||||
|
scale_name = #{scaleName,jdbcType=VARCHAR}, |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
create_by = #{createBy,jdbcType=VARCHAR}, |
||||
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
||||
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP} |
||||
|
where scale_id = #{scaleId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
</mapper> |
@ -0,0 +1,300 @@ |
|||||
|
<?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.acupuncture.system.persist.mapper.ZytzQmsScaleQuestionMapper"> |
||||
|
<resultMap id="BaseResultMap" type="com.acupuncture.system.domain.po.ZytzQmsScaleQuestion"> |
||||
|
<id column="ques_id" jdbcType="BIGINT" property="quesId" /> |
||||
|
<result column="scale_code" jdbcType="VARCHAR" property="scaleCode" /> |
||||
|
<result column="ques_code" jdbcType="VARCHAR" property="quesCode" /> |
||||
|
<result column="ques_sort" jdbcType="INTEGER" property="quesSort" /> |
||||
|
<result column="ques_name" jdbcType="VARCHAR" property="quesName" /> |
||||
|
<result column="gender_apply" jdbcType="VARCHAR" property="genderApply" /> |
||||
|
<result column="del_flag" jdbcType="CHAR" 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"> |
||||
|
ques_id, scale_code, ques_code, ques_sort, ques_name, gender_apply, del_flag, create_by, |
||||
|
create_time, update_by, update_time |
||||
|
</sql> |
||||
|
<select id="selectByExample" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleQuestionExample" resultMap="BaseResultMap"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
from zytz_qms_scale_question |
||||
|
<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 zytz_qms_scale_question |
||||
|
where ques_id = #{quesId,jdbcType=BIGINT} |
||||
|
</select> |
||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
|
delete from zytz_qms_scale_question |
||||
|
where ques_id = #{quesId,jdbcType=BIGINT} |
||||
|
</delete> |
||||
|
<insert id="insert" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleQuestion"> |
||||
|
insert into zytz_qms_scale_question (ques_id, scale_code, ques_code, |
||||
|
ques_sort, ques_name, gender_apply, |
||||
|
del_flag, create_by, create_time, |
||||
|
update_by, update_time) |
||||
|
values (#{quesId,jdbcType=BIGINT}, #{scaleCode,jdbcType=VARCHAR}, #{quesCode,jdbcType=VARCHAR}, |
||||
|
#{quesSort,jdbcType=INTEGER}, #{quesName,jdbcType=VARCHAR}, #{genderApply,jdbcType=VARCHAR}, |
||||
|
#{delFlag,jdbcType=CHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
||||
|
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}) |
||||
|
</insert> |
||||
|
<insert id="insertSelective" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleQuestion"> |
||||
|
insert into zytz_qms_scale_question |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="quesId != null"> |
||||
|
ques_id, |
||||
|
</if> |
||||
|
<if test="scaleCode != null"> |
||||
|
scale_code, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
ques_code, |
||||
|
</if> |
||||
|
<if test="quesSort != null"> |
||||
|
ques_sort, |
||||
|
</if> |
||||
|
<if test="quesName != null"> |
||||
|
ques_name, |
||||
|
</if> |
||||
|
<if test="genderApply != null"> |
||||
|
gender_apply, |
||||
|
</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="quesId != null"> |
||||
|
#{quesId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="scaleCode != null"> |
||||
|
#{scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
#{quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="quesSort != null"> |
||||
|
#{quesSort,jdbcType=INTEGER}, |
||||
|
</if> |
||||
|
<if test="quesName != null"> |
||||
|
#{quesName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="genderApply != null"> |
||||
|
#{genderApply,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
#{delFlag,jdbcType=CHAR}, |
||||
|
</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.acupuncture.system.domain.po.ZytzQmsScaleQuestionExample" resultType="java.lang.Long"> |
||||
|
select count(*) from zytz_qms_scale_question |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</select> |
||||
|
<update id="updateByExampleSelective" parameterType="map"> |
||||
|
update zytz_qms_scale_question |
||||
|
<set> |
||||
|
<if test="record.quesId != null"> |
||||
|
ques_id = #{record.quesId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.scaleCode != null"> |
||||
|
scale_code = #{record.scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.quesCode != null"> |
||||
|
ques_code = #{record.quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.quesSort != null"> |
||||
|
ques_sort = #{record.quesSort,jdbcType=INTEGER}, |
||||
|
</if> |
||||
|
<if test="record.quesName != null"> |
||||
|
ques_name = #{record.quesName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.genderApply != null"> |
||||
|
gender_apply = #{record.genderApply,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.delFlag != null"> |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
</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 zytz_qms_scale_question |
||||
|
set ques_id = #{record.quesId,jdbcType=BIGINT}, |
||||
|
scale_code = #{record.scaleCode,jdbcType=VARCHAR}, |
||||
|
ques_code = #{record.quesCode,jdbcType=VARCHAR}, |
||||
|
ques_sort = #{record.quesSort,jdbcType=INTEGER}, |
||||
|
ques_name = #{record.quesName,jdbcType=VARCHAR}, |
||||
|
gender_apply = #{record.genderApply,jdbcType=VARCHAR}, |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
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.acupuncture.system.domain.po.ZytzQmsScaleQuestion"> |
||||
|
update zytz_qms_scale_question |
||||
|
<set> |
||||
|
<if test="scaleCode != null"> |
||||
|
scale_code = #{scaleCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
ques_code = #{quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="quesSort != null"> |
||||
|
ques_sort = #{quesSort,jdbcType=INTEGER}, |
||||
|
</if> |
||||
|
<if test="quesName != null"> |
||||
|
ques_name = #{quesName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="genderApply != null"> |
||||
|
gender_apply = #{genderApply,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
</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 ques_id = #{quesId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
<update id="updateByPrimaryKey" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleQuestion"> |
||||
|
update zytz_qms_scale_question |
||||
|
set scale_code = #{scaleCode,jdbcType=VARCHAR}, |
||||
|
ques_code = #{quesCode,jdbcType=VARCHAR}, |
||||
|
ques_sort = #{quesSort,jdbcType=INTEGER}, |
||||
|
ques_name = #{quesName,jdbcType=VARCHAR}, |
||||
|
gender_apply = #{genderApply,jdbcType=VARCHAR}, |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
create_by = #{createBy,jdbcType=VARCHAR}, |
||||
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
||||
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP} |
||||
|
where ques_id = #{quesId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
</mapper> |
@ -0,0 +1,300 @@ |
|||||
|
<?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.acupuncture.system.persist.mapper.ZytzQmsScaleQuestionOptionMapper"> |
||||
|
<resultMap id="BaseResultMap" type="com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOption"> |
||||
|
<id column="option_id" jdbcType="BIGINT" property="optionId" /> |
||||
|
<result column="ques_code" jdbcType="VARCHAR" property="quesCode" /> |
||||
|
<result column="option_code" jdbcType="VARCHAR" property="optionCode" /> |
||||
|
<result column="option_name" jdbcType="VARCHAR" property="optionName" /> |
||||
|
<result column="option_score" jdbcType="DECIMAL" property="optionScore" /> |
||||
|
<result column="option_sort" jdbcType="VARCHAR" property="optionSort" /> |
||||
|
<result column="del_flag" jdbcType="CHAR" 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"> |
||||
|
option_id, ques_code, option_code, option_name, option_score, option_sort, del_flag, |
||||
|
create_by, create_time, update_by, update_time |
||||
|
</sql> |
||||
|
<select id="selectByExample" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOptionExample" resultMap="BaseResultMap"> |
||||
|
select |
||||
|
<if test="distinct"> |
||||
|
distinct |
||||
|
</if> |
||||
|
<include refid="Base_Column_List" /> |
||||
|
from zytz_qms_scale_question_option |
||||
|
<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 zytz_qms_scale_question_option |
||||
|
where option_id = #{optionId,jdbcType=BIGINT} |
||||
|
</select> |
||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
|
delete from zytz_qms_scale_question_option |
||||
|
where option_id = #{optionId,jdbcType=BIGINT} |
||||
|
</delete> |
||||
|
<insert id="insert" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOption"> |
||||
|
insert into zytz_qms_scale_question_option (option_id, ques_code, option_code, |
||||
|
option_name, option_score, option_sort, |
||||
|
del_flag, create_by, create_time, |
||||
|
update_by, update_time) |
||||
|
values (#{optionId,jdbcType=BIGINT}, #{quesCode,jdbcType=VARCHAR}, #{optionCode,jdbcType=VARCHAR}, |
||||
|
#{optionName,jdbcType=VARCHAR}, #{optionScore,jdbcType=DECIMAL}, #{optionSort,jdbcType=VARCHAR}, |
||||
|
#{delFlag,jdbcType=CHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
||||
|
#{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}) |
||||
|
</insert> |
||||
|
<insert id="insertSelective" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOption"> |
||||
|
insert into zytz_qms_scale_question_option |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="optionId != null"> |
||||
|
option_id, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
ques_code, |
||||
|
</if> |
||||
|
<if test="optionCode != null"> |
||||
|
option_code, |
||||
|
</if> |
||||
|
<if test="optionName != null"> |
||||
|
option_name, |
||||
|
</if> |
||||
|
<if test="optionScore != null"> |
||||
|
option_score, |
||||
|
</if> |
||||
|
<if test="optionSort != null"> |
||||
|
option_sort, |
||||
|
</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="optionId != null"> |
||||
|
#{optionId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="quesCode != null"> |
||||
|
#{quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionCode != null"> |
||||
|
#{optionCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionName != null"> |
||||
|
#{optionName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionScore != null"> |
||||
|
#{optionScore,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="optionSort != null"> |
||||
|
#{optionSort,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
#{delFlag,jdbcType=CHAR}, |
||||
|
</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.acupuncture.system.domain.po.ZytzQmsScaleQuestionOptionExample" resultType="java.lang.Long"> |
||||
|
select count(*) from zytz_qms_scale_question_option |
||||
|
<if test="_parameter != null"> |
||||
|
<include refid="Example_Where_Clause" /> |
||||
|
</if> |
||||
|
</select> |
||||
|
<update id="updateByExampleSelective" parameterType="map"> |
||||
|
update zytz_qms_scale_question_option |
||||
|
<set> |
||||
|
<if test="record.optionId != null"> |
||||
|
option_id = #{record.optionId,jdbcType=BIGINT}, |
||||
|
</if> |
||||
|
<if test="record.quesCode != null"> |
||||
|
ques_code = #{record.quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.optionCode != null"> |
||||
|
option_code = #{record.optionCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.optionName != null"> |
||||
|
option_name = #{record.optionName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.optionScore != null"> |
||||
|
option_score = #{record.optionScore,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="record.optionSort != null"> |
||||
|
option_sort = #{record.optionSort,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="record.delFlag != null"> |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
</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 zytz_qms_scale_question_option |
||||
|
set option_id = #{record.optionId,jdbcType=BIGINT}, |
||||
|
ques_code = #{record.quesCode,jdbcType=VARCHAR}, |
||||
|
option_code = #{record.optionCode,jdbcType=VARCHAR}, |
||||
|
option_name = #{record.optionName,jdbcType=VARCHAR}, |
||||
|
option_score = #{record.optionScore,jdbcType=DECIMAL}, |
||||
|
option_sort = #{record.optionSort,jdbcType=VARCHAR}, |
||||
|
del_flag = #{record.delFlag,jdbcType=CHAR}, |
||||
|
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.acupuncture.system.domain.po.ZytzQmsScaleQuestionOption"> |
||||
|
update zytz_qms_scale_question_option |
||||
|
<set> |
||||
|
<if test="quesCode != null"> |
||||
|
ques_code = #{quesCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionCode != null"> |
||||
|
option_code = #{optionCode,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionName != null"> |
||||
|
option_name = #{optionName,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="optionScore != null"> |
||||
|
option_score = #{optionScore,jdbcType=DECIMAL}, |
||||
|
</if> |
||||
|
<if test="optionSort != null"> |
||||
|
option_sort = #{optionSort,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
<if test="delFlag != null"> |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
</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 option_id = #{optionId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
<update id="updateByPrimaryKey" parameterType="com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOption"> |
||||
|
update zytz_qms_scale_question_option |
||||
|
set ques_code = #{quesCode,jdbcType=VARCHAR}, |
||||
|
option_code = #{optionCode,jdbcType=VARCHAR}, |
||||
|
option_name = #{optionName,jdbcType=VARCHAR}, |
||||
|
option_score = #{optionScore,jdbcType=DECIMAL}, |
||||
|
option_sort = #{optionSort,jdbcType=VARCHAR}, |
||||
|
del_flag = #{delFlag,jdbcType=CHAR}, |
||||
|
create_by = #{createBy,jdbcType=VARCHAR}, |
||||
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
||||
|
update_by = #{updateBy,jdbcType=VARCHAR}, |
||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP} |
||||
|
where option_id = #{optionId,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
</mapper> |
Loading…
Reference in new issue