diff --git a/app_client/pages/index/index.vue b/app_client/pages/index/index.vue
index 8b823d8..4c299ed 100644
--- a/app_client/pages/index/index.vue
+++ b/app_client/pages/index/index.vue
@@ -1,30 +1,481 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ value }}{{ formData.APP_ACCESS_HOST
+ }}{{ formData.APP_ACCESS_ROOT }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ruisi_java/ruisi-cc-generator/src/main/resources/mbg.xml b/ruisi_java/ruisi-cc-generator/src/main/resources/mbg.xml
index 057ebe8..25fbf34 100644
--- a/ruisi_java/ruisi-cc-generator/src/main/resources/mbg.xml
+++ b/ruisi_java/ruisi-cc-generator/src/main/resources/mbg.xml
@@ -20,9 +20,9 @@
+ password="q7510327">
@@ -60,11 +60,11 @@
-
+
-
+
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/EmsDto.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/EmsDto.java
index facc58f..da465cd 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/EmsDto.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/EmsDto.java
@@ -101,6 +101,7 @@ public class EmsDto {
public static class BindScale {
@ApiModelProperty("测评id")
private Long evaluationId;
+
@ApiModelProperty("问题id")
private List scaleList;
}
@@ -110,6 +111,8 @@ public class EmsDto {
public static class EvaluationScale{
@ApiModelProperty("量表code")
private String scaleCode;
+ @ApiModelProperty("套餐ID")
+ private Long comboId;
@ApiModelProperty("排序")
private Integer sort;
}
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/PmsPatientDto.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/PmsPatientDto.java
index 3ca9c0c..db55c34 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/PmsPatientDto.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/PmsPatientDto.java
@@ -33,9 +33,17 @@ public class PmsPatientDto {
@ApiModelProperty("结束时间")
private String endTime;
private String idcardEncrypt;
+ private Byte sex;
+ private Long deptId;
@ApiModelProperty("每个像素的毫米数")
private BigDecimal mmPerPixel = new BigDecimal("0.1");
+
+ @ApiModelProperty("受教育程度 1:文盲 2:小学 3:初中 4:高中 5:大学 6:大学以上")
+ private Byte educationalStatus;
+
+ @ApiModelProperty("年龄分组")
+ private Byte ageStatus;
}
@ApiModel("根据id查看患者详情")
@@ -55,7 +63,7 @@ public class PmsPatientDto {
@Data
@ApiModel("修改添加患者信息")
- public static class EditPatient{
+ public static class EditPatient {
@ApiModelProperty("病人id")
private Long id;
@ApiModelProperty("病人用户id")
@@ -71,7 +79,7 @@ public class PmsPatientDto {
private String patientNumber;
@ApiModelProperty("病人住院号")
private String hospitalNumber;
-// @NotNull(message="请填写身份证号")
+ // @NotNull(message="请填写身份证号")
@ApiModelProperty("病人身份证号")
private String idcard;
@NotNull(message = "请选择性别")
@@ -85,22 +93,22 @@ public class PmsPatientDto {
@NotNull(message = "请选择教育程度")
@ApiModelProperty("教育程度(1:文盲 2:小学 3:初中 4:高中 5:大学 6:大学以上 7:其他)")
private Byte educationalStatus;
-// @NotNull(message = "请选择受教育时间")
+ // @NotNull(message = "请选择受教育时间")
// @ApiModelProperty("受教育时间(年或月)")
// private String educationalStatusUnit;
@ApiModelProperty("民族")
private String nation;
@ApiModelProperty("籍贯")
private String nativePlace;
- @NotNull(message="请选择职业")
+ @NotNull(message = "请选择职业")
@ApiModelProperty("职业(1:农林牧渔水利生产人员 2:教师 3:医务工作者 4:专业技术人员 5:生产、运输设备操作人员及有关人员6:商业、服务业人员7:国家机关、事业单位、企业负责人8:国家机关、事业单位、企业办事人员和有关人员9:军人 10:媒体、文体类工作人员 11:在校学生 12:未就业 13:家务 14:其他")
private Byte career;
-// @NotNull(message="请填写生育数量")
+ // @NotNull(message="请填写生育数量")
// @ApiModelProperty("生育数量")
// private Integer birthNumber;
@ApiModelProperty("绝经年龄(女)")
private Integer menopauseAge;
-// @NotNull(message="请填写联系人")
+ // @NotNull(message="请填写联系人")
// @ApiModelProperty("联系人")
// private String contact;
// @NotNull(message = "请填写联系电话")
@@ -152,8 +160,10 @@ public class PmsPatientDto {
private String rhBloodType;
- /**复制当前的对象为HtPatient*/
- public PmsPatient copy(){
+ /**
+ * 复制当前的对象为HtPatient
+ */
+ public PmsPatient copy() {
PmsPatient patient = new PmsPatient();
BeanUtils.copyProperties(this, patient);
return patient;
@@ -161,14 +171,14 @@ public class PmsPatientDto {
public String getNameInitial() {
if (StrUtil.isNotEmpty(name)) {
- return PinyinUtil.getFirstLetter(name,"");
+ return PinyinUtil.getFirstLetter(name, "");
}
return null;
}
public String getNameFull() {
if (StrUtil.isNotEmpty(name)) {
- return PinyinUtil.getPinyin(name,"");
+ return PinyinUtil.getPinyin(name, "");
}
return null;
}
@@ -176,7 +186,7 @@ public class PmsPatientDto {
@Data
@ApiModel("修改添加患者信息")
- public static class EditPatient1{
+ public static class EditPatient1 {
@ApiModelProperty("病人id")
private Long id;
@ApiModelProperty("病人用户id")
@@ -245,8 +255,10 @@ public class PmsPatientDto {
@ApiModelProperty("出生年份")
private Integer birthYear;
- /**复制当前的对象为HtPatient*/
- public PmsPatient copy(){
+ /**
+ * 复制当前的对象为HtPatient
+ */
+ public PmsPatient copy() {
PmsPatient patient = new PmsPatient();
BeanUtils.copyProperties(this, patient);
return patient;
@@ -254,14 +266,14 @@ public class PmsPatientDto {
public String getNameInitial() {
if (StrUtil.isNotEmpty(name)) {
- return PinyinUtil.getFirstLetter(name,"");
+ return PinyinUtil.getFirstLetter(name, "");
}
return null;
}
public String getNameFull() {
if (StrUtil.isNotEmpty(name)) {
- return PinyinUtil.getPinyin(name,"");
+ return PinyinUtil.getPinyin(name, "");
}
return null;
}
@@ -271,17 +283,27 @@ public class PmsPatientDto {
@ApiModel("PatientDtoEditOtherMsg")
public static class EditOtherMsg {
@ApiModelProperty("病人其他信息")
- @NotNull(message="病人其他信息不能为空")
+ @NotNull(message = "病人其他信息不能为空")
private Object model;
@ApiModelProperty("类型")
- @NotNull(message="病人类型不能为空")
+ @NotNull(message = "病人类型不能为空")
private String editType;
}
@Data
- public class QueryPatientJz {
+ public static class QueryPatientJz {
@ApiModelProperty("病人id")
private Long patientId;
+ @ApiModelProperty("就诊类型 0门诊 1住院")
+ private Byte visitType;
+ @ApiModelProperty("开始时间")
+ private String beginTime;
+ @ApiModelProperty("结束时间")
+ private String endTime;
+ @ApiModelProperty("部门")
+ private Long deptId;
+ @ApiModelProperty("诊断编码")
+ private String diagnosisCode;
}
}
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/RmsDto.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/RmsDto.java
index 9bc666b..8944f6f 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/RmsDto.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/RmsDto.java
@@ -41,11 +41,12 @@ public class RmsDto {
@ApiModelProperty("完成状态 0:未完成 1:完成 2:中止")
private Byte complateStatus;
private Byte sex;
+
}
@ApiModel("导出报告单-VO")
@Data
- public static class ExportReportDto{
+ public static class ExportReportDto {
@NotNull(message = "报告单ID不能为空")
@ApiModelProperty("报告单ID")
private Long reportId;
@@ -65,7 +66,7 @@ public class RmsDto {
@ApiModel("导出报告单-VO")
@Data
- public static class ExportReport1Dto{
+ public static class ExportReport1Dto {
@NotNull(message = "报告单ID不能为空")
@ApiModelProperty("报告单ID")
private Long reportId;
@@ -77,12 +78,16 @@ public class RmsDto {
@ApiModelProperty("MoCA雷达图路径")
private String ldt;
+
+ @ApiModelProperty("测评医生(userID)")
+ private Long testerId;
+
private Long deptId;
}
@ApiModel("导出受试者合作评分报告单-VO")
@Data
- public static class ExportWorkingScoreDto{
+ public static class ExportWorkingScoreDto {
@NotNull(message = "报告单ID不能为空")
@ApiModelProperty("报告单ID")
private Long reportId;
@@ -94,13 +99,15 @@ public class RmsDto {
@ApiModel("查询历史报告单列表-DTO")
@Data
- public static class QueryReportHistory{
+ public static class QueryReportHistory {
@ApiModelProperty("病人ID")
private Long patientId;
@ApiModelProperty("病人名称/全拼/首字母")
private String searchValue;
@ApiModelProperty("测评师名称")
private String testerName;
+ @ApiModelProperty("测评师Id")
+ private Long testerId;
@ApiModelProperty("完成状态 0:未完成 1:完成 2:中止")
private Byte completeStatus;
@ApiModelProperty("是否筛未做题的测评 0查询全部 1只查询已做题的")
@@ -110,6 +117,9 @@ public class RmsDto {
@ApiModelProperty("结束时间")
private String endTime;
private Long version;
+ @ApiModelProperty("测评量表CODE")
+ private String code;
+ private Byte needPlan;
@ApiModelProperty("每个像素的毫米数")
private BigDecimal mmPerPixel = new BigDecimal("0.1");
@@ -118,7 +128,7 @@ public class RmsDto {
@ApiModel("修改报告单基本信息-DTO")
@Data
- public static class UpdateReportBasic{
+ public static class UpdateReportBasic {
@ApiModelProperty("测评id")
private Long evaluationId;
@ApiModelProperty("初步印象")
@@ -141,7 +151,7 @@ public class RmsDto {
@ApiModel("修改量表的初步印象信息-DTO")
@Data
- public static class UpdateScaleInitialImpression{
+ public static class UpdateScaleInitialImpression {
@ApiModelProperty("报告单id")
private Long reportId;
@ApiModelProperty("量表code")
@@ -152,7 +162,7 @@ public class RmsDto {
@ApiModel("报到单签名-DTO")
@Data
- public static class ReportSign{
+ public static class ReportSign {
@ApiModelProperty("病人ID")
private Long reportId;
@ApiModelProperty("签名id")
@@ -200,9 +210,10 @@ public class RmsDto {
@ApiModelProperty("分数")
private List scores;
}
+
@ApiModel("分数")
@Data
- public static class Score{
+ public static class Score {
@ApiModelProperty("量表类型")
private String code;
@ApiModelProperty("开始")
@@ -224,7 +235,7 @@ public class RmsDto {
@Data
@ApiModel("搜索条件-请求参数")
- public static class SearchParam{
+ public static class SearchParam {
@ApiModelProperty("查询类型")
private String parentCode;
}
@@ -232,7 +243,7 @@ public class RmsDto {
@ApiModel("导出历史报告单每题的分数-DTO")
@Data
- public static class ExportReportWhitScore{
+ public static class ExportReportWhitScore {
@ApiModelProperty("选择需要导出的量表")
private List scaleCodes;
@@ -262,4 +273,54 @@ public class RmsDto {
private String visitNo;
}
+ @ApiModel("导出历史报告单(查看详细的报告单文件)-DTO")
+ @Data
+ public static class queryPdfUrl{
+ @ApiModelProperty("报告单ID")
+ private Long reportId;
+ @ApiModelProperty("测评ID")
+ private Long evaluationId;
+ @ApiModelProperty("导出类型 0医生版 1个人版 2阳性版")
+ private String version;
+ @ApiModelProperty("评估医生id")
+ private Long assessorId;
+ }
+
+ @Data
+ public static class ReportQuery {
+ @ApiModelProperty("量表code")
+ private String code;
+ @ApiModelProperty("开始时间")
+ private String beginTime;
+ @ApiModelProperty("结束时间")
+ private String endTime;
+ @ApiModelProperty("部门id")
+ private Long deptId;
+ @ApiModelProperty("评估结果")
+ private Byte needPlan;
+ @ApiModelProperty("测评师Id")
+ private Long testerId;
+ @ApiModelProperty("病人名称|手机号|身份证号")
+ private String searchValue;
+
+ }
+
+ @ApiModel("统计四列表之报告单-DTO")
+ @Data
+ public static class QueryReportList {
+ @ApiModelProperty("病人名称/全拼/首字母")
+ private String searchValue;
+ @ApiModelProperty("完成状态 0:未完成 1:完成 2:中止")
+ private Byte completeStatus;
+ @ApiModelProperty("开始时间")
+ private String beginTime;
+ @ApiModelProperty("结束时间")
+ private String endTime;
+ @ApiModelProperty("测评师Id")
+ private Long testerId;
+ @ApiModelProperty("测评版本信息")
+ private Long version;
+ @ApiModelProperty("部门id")
+ private Long deptId;
+ }
}
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/StatisticsDto.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/StatisticsDto.java
index ef84135..348ccc5 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/StatisticsDto.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/dto/StatisticsDto.java
@@ -2,7 +2,6 @@ package com.ccsens.system.domain.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
-import io.swagger.models.auth.In;
import lombok.Data;
import java.util.Date;
@@ -16,7 +15,7 @@ public class StatisticsDto {
@Data
public static class Query {
@ApiModelProperty("时间类型 0周 1月 2年")
- private Byte dateType;
+ private Byte timeType;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date beginTime;
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleCognitiveRelevance.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleCognitiveRelevance.java
new file mode 100644
index 0000000..07959ef
--- /dev/null
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleCognitiveRelevance.java
@@ -0,0 +1,173 @@
+package com.ccsens.system.domain.po;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class EmsEvaluationScaleCognitiveRelevance implements Serializable {
+ private Long id;
+
+ private Long evaluationId;
+
+ private String scaleCode;
+
+ private Long parentId;
+
+ private String cognitiveCode;
+
+ private BigDecimal score;
+
+ private BigDecimal totalScore;
+
+ private Long comboId;
+
+ private Integer sort;
+
+ private String createBy;
+
+ private Date createTime;
+
+ private String updateBy;
+
+ private Date updateTime;
+
+ private Byte delFlag;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getEvaluationId() {
+ return evaluationId;
+ }
+
+ public void setEvaluationId(Long evaluationId) {
+ this.evaluationId = evaluationId;
+ }
+
+ public String getScaleCode() {
+ return scaleCode;
+ }
+
+ public void setScaleCode(String scaleCode) {
+ this.scaleCode = scaleCode == null ? null : scaleCode.trim();
+ }
+
+ public Long getParentId() {
+ return parentId;
+ }
+
+ public void setParentId(Long parentId) {
+ this.parentId = parentId;
+ }
+
+ public String getCognitiveCode() {
+ return cognitiveCode;
+ }
+
+ public void setCognitiveCode(String cognitiveCode) {
+ this.cognitiveCode = cognitiveCode == null ? null : cognitiveCode.trim();
+ }
+
+ public BigDecimal getScore() {
+ return score;
+ }
+
+ public void setScore(BigDecimal score) {
+ this.score = score;
+ }
+
+ public BigDecimal getTotalScore() {
+ return totalScore;
+ }
+
+ public void setTotalScore(BigDecimal totalScore) {
+ this.totalScore = totalScore;
+ }
+
+ public Long getComboId() {
+ return comboId;
+ }
+
+ public void setComboId(Long comboId) {
+ this.comboId = comboId;
+ }
+
+ public Integer getSort() {
+ return sort;
+ }
+
+ public void setSort(Integer sort) {
+ this.sort = sort;
+ }
+
+ 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 Byte getDelFlag() {
+ return delFlag;
+ }
+
+ public void setDelFlag(Byte delFlag) {
+ this.delFlag = delFlag;
+ }
+
+ @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(", evaluationId=").append(evaluationId);
+ sb.append(", scaleCode=").append(scaleCode);
+ sb.append(", parentId=").append(parentId);
+ sb.append(", cognitiveCode=").append(cognitiveCode);
+ sb.append(", score=").append(score);
+ sb.append(", totalScore=").append(totalScore);
+ sb.append(", comboId=").append(comboId);
+ sb.append(", sort=").append(sort);
+ sb.append(", createBy=").append(createBy);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", updateBy=").append(updateBy);
+ sb.append(", updateTime=").append(updateTime);
+ sb.append(", delFlag=").append(delFlag);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleCognitiveRelevanceExample.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleCognitiveRelevanceExample.java
new file mode 100644
index 0000000..b0cefdf
--- /dev/null
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleCognitiveRelevanceExample.java
@@ -0,0 +1,1082 @@
+package com.ccsens.system.domain.po;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class EmsEvaluationScaleCognitiveRelevanceExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public EmsEvaluationScaleCognitiveRelevanceExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ 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 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 criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List 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 values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List 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 andEvaluationIdIsNull() {
+ addCriterion("evaluation_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdIsNotNull() {
+ addCriterion("evaluation_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdEqualTo(Long value) {
+ addCriterion("evaluation_id =", value, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdNotEqualTo(Long value) {
+ addCriterion("evaluation_id <>", value, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdGreaterThan(Long value) {
+ addCriterion("evaluation_id >", value, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("evaluation_id >=", value, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdLessThan(Long value) {
+ addCriterion("evaluation_id <", value, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdLessThanOrEqualTo(Long value) {
+ addCriterion("evaluation_id <=", value, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdIn(List values) {
+ addCriterion("evaluation_id in", values, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdNotIn(List values) {
+ addCriterion("evaluation_id not in", values, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdBetween(Long value1, Long value2) {
+ addCriterion("evaluation_id between", value1, value2, "evaluationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andEvaluationIdNotBetween(Long value1, Long value2) {
+ addCriterion("evaluation_id not between", value1, value2, "evaluationId");
+ 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 values) {
+ addCriterion("scale_code in", values, "scaleCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleCodeNotIn(List 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 andParentIdIsNull() {
+ addCriterion("parent_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdIsNotNull() {
+ addCriterion("parent_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdEqualTo(Long value) {
+ addCriterion("parent_id =", value, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdNotEqualTo(Long value) {
+ addCriterion("parent_id <>", value, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdGreaterThan(Long value) {
+ addCriterion("parent_id >", value, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("parent_id >=", value, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdLessThan(Long value) {
+ addCriterion("parent_id <", value, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdLessThanOrEqualTo(Long value) {
+ addCriterion("parent_id <=", value, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdIn(List values) {
+ addCriterion("parent_id in", values, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdNotIn(List values) {
+ addCriterion("parent_id not in", values, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdBetween(Long value1, Long value2) {
+ addCriterion("parent_id between", value1, value2, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andParentIdNotBetween(Long value1, Long value2) {
+ addCriterion("parent_id not between", value1, value2, "parentId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeIsNull() {
+ addCriterion("cognitive_code is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeIsNotNull() {
+ addCriterion("cognitive_code is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeEqualTo(String value) {
+ addCriterion("cognitive_code =", value, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeNotEqualTo(String value) {
+ addCriterion("cognitive_code <>", value, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeGreaterThan(String value) {
+ addCriterion("cognitive_code >", value, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeGreaterThanOrEqualTo(String value) {
+ addCriterion("cognitive_code >=", value, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeLessThan(String value) {
+ addCriterion("cognitive_code <", value, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeLessThanOrEqualTo(String value) {
+ addCriterion("cognitive_code <=", value, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeLike(String value) {
+ addCriterion("cognitive_code like", value, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeNotLike(String value) {
+ addCriterion("cognitive_code not like", value, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeIn(List values) {
+ addCriterion("cognitive_code in", values, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeNotIn(List values) {
+ addCriterion("cognitive_code not in", values, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeBetween(String value1, String value2) {
+ addCriterion("cognitive_code between", value1, value2, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andCognitiveCodeNotBetween(String value1, String value2) {
+ addCriterion("cognitive_code not between", value1, value2, "cognitiveCode");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreIsNull() {
+ addCriterion("score is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreIsNotNull() {
+ addCriterion("score is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreEqualTo(BigDecimal value) {
+ addCriterion("score =", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreNotEqualTo(BigDecimal value) {
+ addCriterion("score <>", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreGreaterThan(BigDecimal value) {
+ addCriterion("score >", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("score >=", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreLessThan(BigDecimal value) {
+ addCriterion("score <", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("score <=", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreIn(List values) {
+ addCriterion("score in", values, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreNotIn(List values) {
+ addCriterion("score not in", values, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("score between", value1, value2, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("score not between", value1, value2, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreIsNull() {
+ addCriterion("total_score is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreIsNotNull() {
+ addCriterion("total_score is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreEqualTo(BigDecimal value) {
+ addCriterion("total_score =", value, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreNotEqualTo(BigDecimal value) {
+ addCriterion("total_score <>", value, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreGreaterThan(BigDecimal value) {
+ addCriterion("total_score >", value, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("total_score >=", value, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreLessThan(BigDecimal value) {
+ addCriterion("total_score <", value, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("total_score <=", value, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreIn(List values) {
+ addCriterion("total_score in", values, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreNotIn(List values) {
+ addCriterion("total_score not in", values, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("total_score between", value1, value2, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andTotalScoreNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("total_score not between", value1, value2, "totalScore");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdIsNull() {
+ addCriterion("combo_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdIsNotNull() {
+ addCriterion("combo_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdEqualTo(Long value) {
+ addCriterion("combo_id =", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdNotEqualTo(Long value) {
+ addCriterion("combo_id <>", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdGreaterThan(Long value) {
+ addCriterion("combo_id >", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("combo_id >=", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdLessThan(Long value) {
+ addCriterion("combo_id <", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdLessThanOrEqualTo(Long value) {
+ addCriterion("combo_id <=", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdIn(List values) {
+ addCriterion("combo_id in", values, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdNotIn(List values) {
+ addCriterion("combo_id not in", values, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdBetween(Long value1, Long value2) {
+ addCriterion("combo_id between", value1, value2, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdNotBetween(Long value1, Long value2) {
+ addCriterion("combo_id not between", value1, value2, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortIsNull() {
+ addCriterion("sort is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortIsNotNull() {
+ addCriterion("sort is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortEqualTo(Integer value) {
+ addCriterion("sort =", value, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortNotEqualTo(Integer value) {
+ addCriterion("sort <>", value, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortGreaterThan(Integer value) {
+ addCriterion("sort >", value, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("sort >=", value, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortLessThan(Integer value) {
+ addCriterion("sort <", value, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortLessThanOrEqualTo(Integer value) {
+ addCriterion("sort <=", value, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortIn(List values) {
+ addCriterion("sort in", values, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortNotIn(List values) {
+ addCriterion("sort not in", values, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortBetween(Integer value1, Integer value2) {
+ addCriterion("sort between", value1, value2, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria andSortNotBetween(Integer value1, Integer value2) {
+ addCriterion("sort not between", value1, value2, "sort");
+ return (Criteria) this;
+ }
+
+ public Criteria 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 values) {
+ addCriterion("create_by in", values, "createBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateByNotIn(List 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 values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List 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 values) {
+ addCriterion("update_by in", values, "updateBy");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateByNotIn(List 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 values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List 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 Criteria andDelFlagIsNull() {
+ addCriterion("del_flag is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagIsNotNull() {
+ addCriterion("del_flag is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagEqualTo(Byte value) {
+ addCriterion("del_flag =", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagNotEqualTo(Byte value) {
+ addCriterion("del_flag <>", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagGreaterThan(Byte value) {
+ addCriterion("del_flag >", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
+ addCriterion("del_flag >=", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagLessThan(Byte value) {
+ addCriterion("del_flag <", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
+ addCriterion("del_flag <=", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagIn(List values) {
+ addCriterion("del_flag in", values, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagNotIn(List values) {
+ addCriterion("del_flag not in", values, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagBetween(Byte value1, Byte value2) {
+ addCriterion("del_flag between", value1, value2, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
+ addCriterion("del_flag not between", value1, value2, "delFlag");
+ return (Criteria) this;
+ }
+ }
+
+ public 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);
+ }
+ }
+}
\ No newline at end of file
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleRelevance.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleRelevance.java
index eec16a5..d5dc19d 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleRelevance.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleRelevance.java
@@ -1,6 +1,7 @@
package com.ccsens.system.domain.po;
import java.io.Serializable;
+import java.math.BigDecimal;
import java.util.Date;
public class EmsEvaluationScaleRelevance implements Serializable {
@@ -10,6 +11,10 @@ public class EmsEvaluationScaleRelevance implements Serializable {
private String scaleCode;
+ private Long comboId;
+
+ private BigDecimal score;
+
private Integer sort;
private String createBy;
@@ -48,6 +53,22 @@ public class EmsEvaluationScaleRelevance implements Serializable {
this.scaleCode = scaleCode == null ? null : scaleCode.trim();
}
+ public Long getComboId() {
+ return comboId;
+ }
+
+ public void setComboId(Long comboId) {
+ this.comboId = comboId;
+ }
+
+ public BigDecimal getScore() {
+ return score;
+ }
+
+ public void setScore(BigDecimal score) {
+ this.score = score;
+ }
+
public Integer getSort() {
return sort;
}
@@ -105,6 +126,8 @@ public class EmsEvaluationScaleRelevance implements Serializable {
sb.append(", id=").append(id);
sb.append(", evaluationId=").append(evaluationId);
sb.append(", scaleCode=").append(scaleCode);
+ sb.append(", comboId=").append(comboId);
+ sb.append(", score=").append(score);
sb.append(", sort=").append(sort);
sb.append(", createBy=").append(createBy);
sb.append(", createTime=").append(createTime);
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleRelevanceExample.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleRelevanceExample.java
index da622fc..2a7b595 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleRelevanceExample.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/EmsEvaluationScaleRelevanceExample.java
@@ -1,5 +1,6 @@
package com.ccsens.system.domain.po;
+import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@@ -295,6 +296,126 @@ public class EmsEvaluationScaleRelevanceExample {
return (Criteria) this;
}
+ public Criteria andComboIdIsNull() {
+ addCriterion("combo_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdIsNotNull() {
+ addCriterion("combo_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdEqualTo(Long value) {
+ addCriterion("combo_id =", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdNotEqualTo(Long value) {
+ addCriterion("combo_id <>", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdGreaterThan(Long value) {
+ addCriterion("combo_id >", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("combo_id >=", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdLessThan(Long value) {
+ addCriterion("combo_id <", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdLessThanOrEqualTo(Long value) {
+ addCriterion("combo_id <=", value, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdIn(List values) {
+ addCriterion("combo_id in", values, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdNotIn(List values) {
+ addCriterion("combo_id not in", values, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdBetween(Long value1, Long value2) {
+ addCriterion("combo_id between", value1, value2, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andComboIdNotBetween(Long value1, Long value2) {
+ addCriterion("combo_id not between", value1, value2, "comboId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreIsNull() {
+ addCriterion("score is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreIsNotNull() {
+ addCriterion("score is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreEqualTo(BigDecimal value) {
+ addCriterion("score =", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreNotEqualTo(BigDecimal value) {
+ addCriterion("score <>", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreGreaterThan(BigDecimal value) {
+ addCriterion("score >", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreGreaterThanOrEqualTo(BigDecimal value) {
+ addCriterion("score >=", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreLessThan(BigDecimal value) {
+ addCriterion("score <", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreLessThanOrEqualTo(BigDecimal value) {
+ addCriterion("score <=", value, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreIn(List values) {
+ addCriterion("score in", values, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreNotIn(List values) {
+ addCriterion("score not in", values, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("score between", value1, value2, "score");
+ return (Criteria) this;
+ }
+
+ public Criteria andScoreNotBetween(BigDecimal value1, BigDecimal value2) {
+ addCriterion("score not between", value1, value2, "score");
+ return (Criteria) this;
+ }
+
public Criteria andSortIsNull() {
addCriterion("sort is null");
return (Criteria) this;
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReport.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReport.java
index 94d9818..0949fdc 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReport.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReport.java
@@ -28,6 +28,10 @@ public class RmsReport implements Serializable {
private String url;
+ private String persionUrl;
+
+ private String positiveUrl;
+
private String qrCodeUrl;
private String signUrl;
@@ -150,6 +154,22 @@ public class RmsReport implements Serializable {
this.url = url == null ? null : url.trim();
}
+ public String getPersionUrl() {
+ return persionUrl;
+ }
+
+ public void setPersionUrl(String persionUrl) {
+ this.persionUrl = persionUrl == null ? null : persionUrl.trim();
+ }
+
+ public String getPositiveUrl() {
+ return positiveUrl;
+ }
+
+ public void setPositiveUrl(String positiveUrl) {
+ this.positiveUrl = positiveUrl == null ? null : positiveUrl.trim();
+ }
+
public String getQrCodeUrl() {
return qrCodeUrl;
}
@@ -264,6 +284,8 @@ public class RmsReport implements Serializable {
sb.append(", reportTime=").append(reportTime);
sb.append(", evaluationCode=").append(evaluationCode);
sb.append(", url=").append(url);
+ sb.append(", persionUrl=").append(persionUrl);
+ sb.append(", positiveUrl=").append(positiveUrl);
sb.append(", qrCodeUrl=").append(qrCodeUrl);
sb.append(", signUrl=").append(signUrl);
sb.append(", remark=").append(remark);
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportExample.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportExample.java
index ba89234..04d9fda 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportExample.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportExample.java
@@ -895,6 +895,146 @@ public class RmsReportExample {
return (Criteria) this;
}
+ public Criteria andPersionUrlIsNull() {
+ addCriterion("persion_url is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlIsNotNull() {
+ addCriterion("persion_url is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlEqualTo(String value) {
+ addCriterion("persion_url =", value, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlNotEqualTo(String value) {
+ addCriterion("persion_url <>", value, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlGreaterThan(String value) {
+ addCriterion("persion_url >", value, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlGreaterThanOrEqualTo(String value) {
+ addCriterion("persion_url >=", value, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlLessThan(String value) {
+ addCriterion("persion_url <", value, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlLessThanOrEqualTo(String value) {
+ addCriterion("persion_url <=", value, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlLike(String value) {
+ addCriterion("persion_url like", value, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlNotLike(String value) {
+ addCriterion("persion_url not like", value, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlIn(List values) {
+ addCriterion("persion_url in", values, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlNotIn(List values) {
+ addCriterion("persion_url not in", values, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlBetween(String value1, String value2) {
+ addCriterion("persion_url between", value1, value2, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPersionUrlNotBetween(String value1, String value2) {
+ addCriterion("persion_url not between", value1, value2, "persionUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlIsNull() {
+ addCriterion("positive_url is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlIsNotNull() {
+ addCriterion("positive_url is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlEqualTo(String value) {
+ addCriterion("positive_url =", value, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlNotEqualTo(String value) {
+ addCriterion("positive_url <>", value, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlGreaterThan(String value) {
+ addCriterion("positive_url >", value, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlGreaterThanOrEqualTo(String value) {
+ addCriterion("positive_url >=", value, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlLessThan(String value) {
+ addCriterion("positive_url <", value, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlLessThanOrEqualTo(String value) {
+ addCriterion("positive_url <=", value, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlLike(String value) {
+ addCriterion("positive_url like", value, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlNotLike(String value) {
+ addCriterion("positive_url not like", value, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlIn(List values) {
+ addCriterion("positive_url in", values, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlNotIn(List values) {
+ addCriterion("positive_url not in", values, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlBetween(String value1, String value2) {
+ addCriterion("positive_url between", value1, value2, "positiveUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositiveUrlNotBetween(String value1, String value2) {
+ addCriterion("positive_url not between", value1, value2, "positiveUrl");
+ return (Criteria) this;
+ }
+
public Criteria andQrCodeUrlIsNull() {
addCriterion("qr_code_url is null");
return (Criteria) this;
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportScaleScore.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportScaleScore.java
index 62e0129..0c1f595 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportScaleScore.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportScaleScore.java
@@ -15,15 +15,7 @@ public class RmsReportScaleScore implements Serializable {
private String impression;
- private Integer sort;
-
- private Long scaleAssConf;
-
- private String result;
-
- private String needPlan;
-
- private String plan;
+ private Long comboId;
private String createBy;
@@ -35,6 +27,18 @@ public class RmsReportScaleScore implements Serializable {
private Byte delFlag;
+ private Long scaleAssConf;
+
+ private String result;
+
+ private String needPlan;
+
+ private String plan;
+
+ private Integer sort;
+
+ private Byte isShow;
+
private static final long serialVersionUID = 1L;
public Long getId() {
@@ -77,44 +81,12 @@ public class RmsReportScaleScore implements Serializable {
this.impression = impression == null ? null : impression.trim();
}
- public Integer getSort() {
- return sort;
- }
-
- public void setSort(Integer sort) {
- this.sort = sort;
+ public Long getComboId() {
+ return comboId;
}
- public Long getScaleAssConf() {
- return scaleAssConf;
- }
-
- public void setScaleAssConf(Long scaleAssConf) {
- this.scaleAssConf = scaleAssConf;
- }
-
- public String getResult() {
- return result;
- }
-
- public void setResult(String result) {
- this.result = result == null ? null : result.trim();
- }
-
- public String getNeedPlan() {
- return needPlan;
- }
-
- public void setNeedPlan(String needPlan) {
- this.needPlan = needPlan == null ? null : needPlan.trim();
- }
-
- public String getPlan() {
- return plan;
- }
-
- public void setPlan(String plan) {
- this.plan = plan == null ? null : plan.trim();
+ public void setComboId(Long comboId) {
+ this.comboId = comboId;
}
public String getCreateBy() {
@@ -157,6 +129,54 @@ public class RmsReportScaleScore implements Serializable {
this.delFlag = delFlag;
}
+ public Long getScaleAssConf() {
+ return scaleAssConf;
+ }
+
+ public void setScaleAssConf(Long scaleAssConf) {
+ this.scaleAssConf = scaleAssConf;
+ }
+
+ public String getResult() {
+ return result;
+ }
+
+ public void setResult(String result) {
+ this.result = result == null ? null : result.trim();
+ }
+
+ public String getNeedPlan() {
+ return needPlan;
+ }
+
+ public void setNeedPlan(String needPlan) {
+ this.needPlan = needPlan == null ? null : needPlan.trim();
+ }
+
+ public String getPlan() {
+ return plan;
+ }
+
+ public void setPlan(String plan) {
+ this.plan = plan == null ? null : plan.trim();
+ }
+
+ public Integer getSort() {
+ return sort;
+ }
+
+ public void setSort(Integer sort) {
+ this.sort = sort;
+ }
+
+ public Byte getIsShow() {
+ return isShow;
+ }
+
+ public void setIsShow(Byte isShow) {
+ this.isShow = isShow;
+ }
+
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
@@ -168,16 +188,18 @@ public class RmsReportScaleScore implements Serializable {
sb.append(", scaleCode=").append(scaleCode);
sb.append(", score=").append(score);
sb.append(", impression=").append(impression);
- sb.append(", sort=").append(sort);
- sb.append(", scaleAssConf=").append(scaleAssConf);
- sb.append(", result=").append(result);
- sb.append(", needPlan=").append(needPlan);
- sb.append(", plan=").append(plan);
+ sb.append(", comboId=").append(comboId);
sb.append(", createBy=").append(createBy);
sb.append(", createTime=").append(createTime);
sb.append(", updateBy=").append(updateBy);
sb.append(", updateTime=").append(updateTime);
sb.append(", delFlag=").append(delFlag);
+ sb.append(", scaleAssConf=").append(scaleAssConf);
+ sb.append(", result=").append(result);
+ sb.append(", needPlan=").append(needPlan);
+ sb.append(", plan=").append(plan);
+ sb.append(", sort=").append(sort);
+ sb.append(", isShow=").append(isShow);
sb.append("]");
return sb.toString();
}
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportScaleScoreExample.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportScaleScoreExample.java
index 0520304..2df6c27 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportScaleScoreExample.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/po/RmsReportScaleScoreExample.java
@@ -426,653 +426,773 @@ public class RmsReportScaleScoreExample {
return (Criteria) this;
}
- public Criteria andSortIsNull() {
- addCriterion("sort is null");
+ public Criteria andComboIdIsNull() {
+ addCriterion("combo_id is null");
return (Criteria) this;
}
- public Criteria andSortIsNotNull() {
- addCriterion("sort is not null");
+ public Criteria andComboIdIsNotNull() {
+ addCriterion("combo_id is not null");
return (Criteria) this;
}
- public Criteria andSortEqualTo(Integer value) {
- addCriterion("sort =", value, "sort");
+ public Criteria andComboIdEqualTo(Long value) {
+ addCriterion("combo_id =", value, "comboId");
return (Criteria) this;
}
- public Criteria andSortNotEqualTo(Integer value) {
- addCriterion("sort <>", value, "sort");
+ public Criteria andComboIdNotEqualTo(Long value) {
+ addCriterion("combo_id <>", value, "comboId");
return (Criteria) this;
}
- public Criteria andSortGreaterThan(Integer value) {
- addCriterion("sort >", value, "sort");
+ public Criteria andComboIdGreaterThan(Long value) {
+ addCriterion("combo_id >", value, "comboId");
return (Criteria) this;
}
- public Criteria andSortGreaterThanOrEqualTo(Integer value) {
- addCriterion("sort >=", value, "sort");
+ public Criteria andComboIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("combo_id >=", value, "comboId");
return (Criteria) this;
}
- public Criteria andSortLessThan(Integer value) {
- addCriterion("sort <", value, "sort");
+ public Criteria andComboIdLessThan(Long value) {
+ addCriterion("combo_id <", value, "comboId");
return (Criteria) this;
}
- public Criteria andSortLessThanOrEqualTo(Integer value) {
- addCriterion("sort <=", value, "sort");
+ public Criteria andComboIdLessThanOrEqualTo(Long value) {
+ addCriterion("combo_id <=", value, "comboId");
return (Criteria) this;
}
- public Criteria andSortIn(List values) {
- addCriterion("sort in", values, "sort");
+ public Criteria andComboIdIn(List values) {
+ addCriterion("combo_id in", values, "comboId");
return (Criteria) this;
}
- public Criteria andSortNotIn(List values) {
- addCriterion("sort not in", values, "sort");
+ public Criteria andComboIdNotIn(List values) {
+ addCriterion("combo_id not in", values, "comboId");
return (Criteria) this;
}
- public Criteria andSortBetween(Integer value1, Integer value2) {
- addCriterion("sort between", value1, value2, "sort");
+ public Criteria andComboIdBetween(Long value1, Long value2) {
+ addCriterion("combo_id between", value1, value2, "comboId");
return (Criteria) this;
}
- public Criteria andSortNotBetween(Integer value1, Integer value2) {
- addCriterion("sort not between", value1, value2, "sort");
+ public Criteria andComboIdNotBetween(Long value1, Long value2) {
+ addCriterion("combo_id not between", value1, value2, "comboId");
return (Criteria) this;
}
- public Criteria andScaleAssConfIsNull() {
- addCriterion("scale_ass_conf is null");
+ public Criteria andCreateByIsNull() {
+ addCriterion("create_by is null");
return (Criteria) this;
}
- public Criteria andScaleAssConfIsNotNull() {
- addCriterion("scale_ass_conf is not null");
+ public Criteria andCreateByIsNotNull() {
+ addCriterion("create_by is not null");
return (Criteria) this;
}
- public Criteria andScaleAssConfEqualTo(Long value) {
- addCriterion("scale_ass_conf =", value, "scaleAssConf");
+ public Criteria andCreateByEqualTo(String value) {
+ addCriterion("create_by =", value, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfNotEqualTo(Long value) {
- addCriterion("scale_ass_conf <>", value, "scaleAssConf");
+ public Criteria andCreateByNotEqualTo(String value) {
+ addCriterion("create_by <>", value, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfGreaterThan(Long value) {
- addCriterion("scale_ass_conf >", value, "scaleAssConf");
+ public Criteria andCreateByGreaterThan(String value) {
+ addCriterion("create_by >", value, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfGreaterThanOrEqualTo(Long value) {
- addCriterion("scale_ass_conf >=", value, "scaleAssConf");
+ public Criteria andCreateByGreaterThanOrEqualTo(String value) {
+ addCriterion("create_by >=", value, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfLessThan(Long value) {
- addCriterion("scale_ass_conf <", value, "scaleAssConf");
+ public Criteria andCreateByLessThan(String value) {
+ addCriterion("create_by <", value, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfLessThanOrEqualTo(Long value) {
- addCriterion("scale_ass_conf <=", value, "scaleAssConf");
+ public Criteria andCreateByLessThanOrEqualTo(String value) {
+ addCriterion("create_by <=", value, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfIn(List values) {
- addCriterion("scale_ass_conf in", values, "scaleAssConf");
+ public Criteria andCreateByLike(String value) {
+ addCriterion("create_by like", value, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfNotIn(List values) {
- addCriterion("scale_ass_conf not in", values, "scaleAssConf");
+ public Criteria andCreateByNotLike(String value) {
+ addCriterion("create_by not like", value, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfBetween(Long value1, Long value2) {
- addCriterion("scale_ass_conf between", value1, value2, "scaleAssConf");
+ public Criteria andCreateByIn(List values) {
+ addCriterion("create_by in", values, "createBy");
return (Criteria) this;
}
- public Criteria andScaleAssConfNotBetween(Long value1, Long value2) {
- addCriterion("scale_ass_conf not between", value1, value2, "scaleAssConf");
+ public Criteria andCreateByNotIn(List values) {
+ addCriterion("create_by not in", values, "createBy");
return (Criteria) this;
}
- public Criteria andResultIsNull() {
- addCriterion("result is null");
+ public Criteria andCreateByBetween(String value1, String value2) {
+ addCriterion("create_by between", value1, value2, "createBy");
return (Criteria) this;
}
- public Criteria andResultIsNotNull() {
- addCriterion("result is not null");
+ public Criteria andCreateByNotBetween(String value1, String value2) {
+ addCriterion("create_by not between", value1, value2, "createBy");
return (Criteria) this;
}
- public Criteria andResultEqualTo(String value) {
- addCriterion("result =", value, "result");
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
return (Criteria) this;
}
- public Criteria andResultNotEqualTo(String value) {
- addCriterion("result <>", value, "result");
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
return (Criteria) this;
}
- public Criteria andResultGreaterThan(String value) {
- addCriterion("result >", value, "result");
+ public Criteria andCreateTimeEqualTo(Date value) {
+ addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
- public Criteria andResultGreaterThanOrEqualTo(String value) {
- addCriterion("result >=", value, "result");
+ public Criteria andCreateTimeNotEqualTo(Date value) {
+ addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
- public Criteria andResultLessThan(String value) {
- addCriterion("result <", value, "result");
+ public Criteria andCreateTimeGreaterThan(Date value) {
+ addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
- public Criteria andResultLessThanOrEqualTo(String value) {
- addCriterion("result <=", value, "result");
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
- public Criteria andResultLike(String value) {
- addCriterion("result like", value, "result");
+ public Criteria andCreateTimeLessThan(Date value) {
+ addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
- public Criteria andResultNotLike(String value) {
- addCriterion("result not like", value, "result");
+ public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
- public Criteria andResultIn(List values) {
- addCriterion("result in", values, "result");
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
- public Criteria andResultNotIn(List values) {
- addCriterion("result not in", values, "result");
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
- public Criteria andResultBetween(String value1, String value2) {
- addCriterion("result between", value1, value2, "result");
+ public Criteria andCreateTimeBetween(Date value1, Date value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
- public Criteria andResultNotBetween(String value1, String value2) {
- addCriterion("result not between", value1, value2, "result");
+ public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
- public Criteria andNeedPlanIsNull() {
- addCriterion("need_plan is null");
+ public Criteria andUpdateByIsNull() {
+ addCriterion("update_by is null");
return (Criteria) this;
}
- public Criteria andNeedPlanIsNotNull() {
- addCriterion("need_plan is not null");
+ public Criteria andUpdateByIsNotNull() {
+ addCriterion("update_by is not null");
return (Criteria) this;
}
- public Criteria andNeedPlanEqualTo(String value) {
- addCriterion("need_plan =", value, "needPlan");
+ public Criteria andUpdateByEqualTo(String value) {
+ addCriterion("update_by =", value, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanNotEqualTo(String value) {
- addCriterion("need_plan <>", value, "needPlan");
+ public Criteria andUpdateByNotEqualTo(String value) {
+ addCriterion("update_by <>", value, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanGreaterThan(String value) {
- addCriterion("need_plan >", value, "needPlan");
+ public Criteria andUpdateByGreaterThan(String value) {
+ addCriterion("update_by >", value, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanGreaterThanOrEqualTo(String value) {
- addCriterion("need_plan >=", value, "needPlan");
+ public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
+ addCriterion("update_by >=", value, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanLessThan(String value) {
- addCriterion("need_plan <", value, "needPlan");
+ public Criteria andUpdateByLessThan(String value) {
+ addCriterion("update_by <", value, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanLessThanOrEqualTo(String value) {
- addCriterion("need_plan <=", value, "needPlan");
+ public Criteria andUpdateByLessThanOrEqualTo(String value) {
+ addCriterion("update_by <=", value, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanLike(String value) {
- addCriterion("need_plan like", value, "needPlan");
+ public Criteria andUpdateByLike(String value) {
+ addCriterion("update_by like", value, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanNotLike(String value) {
- addCriterion("need_plan not like", value, "needPlan");
+ public Criteria andUpdateByNotLike(String value) {
+ addCriterion("update_by not like", value, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanIn(List values) {
- addCriterion("need_plan in", values, "needPlan");
+ public Criteria andUpdateByIn(List values) {
+ addCriterion("update_by in", values, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanNotIn(List values) {
- addCriterion("need_plan not in", values, "needPlan");
+ public Criteria andUpdateByNotIn(List values) {
+ addCriterion("update_by not in", values, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanBetween(String value1, String value2) {
- addCriterion("need_plan between", value1, value2, "needPlan");
+ public Criteria andUpdateByBetween(String value1, String value2) {
+ addCriterion("update_by between", value1, value2, "updateBy");
return (Criteria) this;
}
- public Criteria andNeedPlanNotBetween(String value1, String value2) {
- addCriterion("need_plan not between", value1, value2, "needPlan");
+ public Criteria andUpdateByNotBetween(String value1, String value2) {
+ addCriterion("update_by not between", value1, value2, "updateBy");
return (Criteria) this;
}
- public Criteria andPlanIsNull() {
- addCriterion("plan is null");
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
return (Criteria) this;
}
- public Criteria andPlanIsNotNull() {
- addCriterion("plan is not null");
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
return (Criteria) this;
}
- public Criteria andPlanEqualTo(String value) {
- addCriterion("plan =", value, "plan");
+ public Criteria andUpdateTimeEqualTo(Date value) {
+ addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
- public Criteria andPlanNotEqualTo(String value) {
- addCriterion("plan <>", value, "plan");
+ public Criteria andUpdateTimeNotEqualTo(Date value) {
+ addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
- public Criteria andPlanGreaterThan(String value) {
- addCriterion("plan >", value, "plan");
+ public Criteria andUpdateTimeGreaterThan(Date value) {
+ addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
- public Criteria andPlanGreaterThanOrEqualTo(String value) {
- addCriterion("plan >=", value, "plan");
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
- public Criteria andPlanLessThan(String value) {
- addCriterion("plan <", value, "plan");
+ public Criteria andUpdateTimeLessThan(Date value) {
+ addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
- public Criteria andPlanLessThanOrEqualTo(String value) {
- addCriterion("plan <=", value, "plan");
+ public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List 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 Criteria andDelFlagIsNull() {
+ addCriterion("del_flag is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagIsNotNull() {
+ addCriterion("del_flag is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagEqualTo(Byte value) {
+ addCriterion("del_flag =", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagNotEqualTo(Byte value) {
+ addCriterion("del_flag <>", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagGreaterThan(Byte value) {
+ addCriterion("del_flag >", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
+ addCriterion("del_flag >=", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagLessThan(Byte value) {
+ addCriterion("del_flag <", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
+ addCriterion("del_flag <=", value, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagIn(List values) {
+ addCriterion("del_flag in", values, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagNotIn(List values) {
+ addCriterion("del_flag not in", values, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagBetween(Byte value1, Byte value2) {
+ addCriterion("del_flag between", value1, value2, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
+ addCriterion("del_flag not between", value1, value2, "delFlag");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleAssConfIsNull() {
+ addCriterion("scale_ass_conf is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleAssConfIsNotNull() {
+ addCriterion("scale_ass_conf is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleAssConfEqualTo(Long value) {
+ addCriterion("scale_ass_conf =", value, "scaleAssConf");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleAssConfNotEqualTo(Long value) {
+ addCriterion("scale_ass_conf <>", value, "scaleAssConf");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleAssConfGreaterThan(Long value) {
+ addCriterion("scale_ass_conf >", value, "scaleAssConf");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleAssConfGreaterThanOrEqualTo(Long value) {
+ addCriterion("scale_ass_conf >=", value, "scaleAssConf");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleAssConfLessThan(Long value) {
+ addCriterion("scale_ass_conf <", value, "scaleAssConf");
+ return (Criteria) this;
+ }
+
+ public Criteria andScaleAssConfLessThanOrEqualTo(Long value) {
+ addCriterion("scale_ass_conf <=", value, "scaleAssConf");
return (Criteria) this;
}
- public Criteria andPlanLike(String value) {
- addCriterion("plan like", value, "plan");
+ public Criteria andScaleAssConfIn(List values) {
+ addCriterion("scale_ass_conf in", values, "scaleAssConf");
return (Criteria) this;
}
- public Criteria andPlanNotLike(String value) {
- addCriterion("plan not like", value, "plan");
+ public Criteria andScaleAssConfNotIn(List values) {
+ addCriterion("scale_ass_conf not in", values, "scaleAssConf");
return (Criteria) this;
}
- public Criteria andPlanIn(List values) {
- addCriterion("plan in", values, "plan");
+ public Criteria andScaleAssConfBetween(Long value1, Long value2) {
+ addCriterion("scale_ass_conf between", value1, value2, "scaleAssConf");
return (Criteria) this;
}
- public Criteria andPlanNotIn(List values) {
- addCriterion("plan not in", values, "plan");
+ public Criteria andScaleAssConfNotBetween(Long value1, Long value2) {
+ addCriterion("scale_ass_conf not between", value1, value2, "scaleAssConf");
return (Criteria) this;
}
- public Criteria andPlanBetween(String value1, String value2) {
- addCriterion("plan between", value1, value2, "plan");
+ public Criteria andResultIsNull() {
+ addCriterion("result is null");
return (Criteria) this;
}
- public Criteria andPlanNotBetween(String value1, String value2) {
- addCriterion("plan not between", value1, value2, "plan");
+ public Criteria andResultIsNotNull() {
+ addCriterion("result is not null");
return (Criteria) this;
}
- public Criteria andCreateByIsNull() {
- addCriterion("create_by is null");
+ public Criteria andResultEqualTo(String value) {
+ addCriterion("result =", value, "result");
return (Criteria) this;
}
- public Criteria andCreateByIsNotNull() {
- addCriterion("create_by is not null");
+ public Criteria andResultNotEqualTo(String value) {
+ addCriterion("result <>", value, "result");
return (Criteria) this;
}
- public Criteria andCreateByEqualTo(String value) {
- addCriterion("create_by =", value, "createBy");
+ public Criteria andResultGreaterThan(String value) {
+ addCriterion("result >", value, "result");
return (Criteria) this;
}
- public Criteria andCreateByNotEqualTo(String value) {
- addCriterion("create_by <>", value, "createBy");
+ public Criteria andResultGreaterThanOrEqualTo(String value) {
+ addCriterion("result >=", value, "result");
return (Criteria) this;
}
- public Criteria andCreateByGreaterThan(String value) {
- addCriterion("create_by >", value, "createBy");
+ public Criteria andResultLessThan(String value) {
+ addCriterion("result <", value, "result");
return (Criteria) this;
}
- public Criteria andCreateByGreaterThanOrEqualTo(String value) {
- addCriterion("create_by >=", value, "createBy");
+ public Criteria andResultLessThanOrEqualTo(String value) {
+ addCriterion("result <=", value, "result");
return (Criteria) this;
}
- public Criteria andCreateByLessThan(String value) {
- addCriterion("create_by <", value, "createBy");
+ public Criteria andResultLike(String value) {
+ addCriterion("result like", value, "result");
return (Criteria) this;
}
- public Criteria andCreateByLessThanOrEqualTo(String value) {
- addCriterion("create_by <=", value, "createBy");
+ public Criteria andResultNotLike(String value) {
+ addCriterion("result not like", value, "result");
return (Criteria) this;
}
- public Criteria andCreateByLike(String value) {
- addCriterion("create_by like", value, "createBy");
+ public Criteria andResultIn(List values) {
+ addCriterion("result in", values, "result");
return (Criteria) this;
}
- public Criteria andCreateByNotLike(String value) {
- addCriterion("create_by not like", value, "createBy");
+ public Criteria andResultNotIn(List values) {
+ addCriterion("result not in", values, "result");
return (Criteria) this;
}
- public Criteria andCreateByIn(List values) {
- addCriterion("create_by in", values, "createBy");
+ public Criteria andResultBetween(String value1, String value2) {
+ addCriterion("result between", value1, value2, "result");
return (Criteria) this;
}
- public Criteria andCreateByNotIn(List values) {
- addCriterion("create_by not in", values, "createBy");
+ public Criteria andResultNotBetween(String value1, String value2) {
+ addCriterion("result not between", value1, value2, "result");
return (Criteria) this;
}
- public Criteria andCreateByBetween(String value1, String value2) {
- addCriterion("create_by between", value1, value2, "createBy");
+ public Criteria andNeedPlanIsNull() {
+ addCriterion("need_plan is null");
return (Criteria) this;
}
- public Criteria andCreateByNotBetween(String value1, String value2) {
- addCriterion("create_by not between", value1, value2, "createBy");
+ public Criteria andNeedPlanIsNotNull() {
+ addCriterion("need_plan is not null");
return (Criteria) this;
}
- public Criteria andCreateTimeIsNull() {
- addCriterion("create_time is null");
+ public Criteria andNeedPlanEqualTo(String value) {
+ addCriterion("need_plan =", value, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeIsNotNull() {
- addCriterion("create_time is not null");
+ public Criteria andNeedPlanNotEqualTo(String value) {
+ addCriterion("need_plan <>", value, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeEqualTo(Date value) {
- addCriterion("create_time =", value, "createTime");
+ public Criteria andNeedPlanGreaterThan(String value) {
+ addCriterion("need_plan >", value, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeNotEqualTo(Date value) {
- addCriterion("create_time <>", value, "createTime");
+ public Criteria andNeedPlanGreaterThanOrEqualTo(String value) {
+ addCriterion("need_plan >=", value, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeGreaterThan(Date value) {
- addCriterion("create_time >", value, "createTime");
+ public Criteria andNeedPlanLessThan(String value) {
+ addCriterion("need_plan <", value, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
- addCriterion("create_time >=", value, "createTime");
+ public Criteria andNeedPlanLessThanOrEqualTo(String value) {
+ addCriterion("need_plan <=", value, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeLessThan(Date value) {
- addCriterion("create_time <", value, "createTime");
+ public Criteria andNeedPlanLike(String value) {
+ addCriterion("need_plan like", value, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
- addCriterion("create_time <=", value, "createTime");
+ public Criteria andNeedPlanNotLike(String value) {
+ addCriterion("need_plan not like", value, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeIn(List values) {
- addCriterion("create_time in", values, "createTime");
+ public Criteria andNeedPlanIn(List values) {
+ addCriterion("need_plan in", values, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeNotIn(List values) {
- addCriterion("create_time not in", values, "createTime");
+ public Criteria andNeedPlanNotIn(List values) {
+ addCriterion("need_plan not in", values, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeBetween(Date value1, Date value2) {
- addCriterion("create_time between", value1, value2, "createTime");
+ public Criteria andNeedPlanBetween(String value1, String value2) {
+ addCriterion("need_plan between", value1, value2, "needPlan");
return (Criteria) this;
}
- public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
- addCriterion("create_time not between", value1, value2, "createTime");
+ public Criteria andNeedPlanNotBetween(String value1, String value2) {
+ addCriterion("need_plan not between", value1, value2, "needPlan");
return (Criteria) this;
}
- public Criteria andUpdateByIsNull() {
- addCriterion("update_by is null");
+ public Criteria andPlanIsNull() {
+ addCriterion("plan is null");
return (Criteria) this;
}
- public Criteria andUpdateByIsNotNull() {
- addCriterion("update_by is not null");
+ public Criteria andPlanIsNotNull() {
+ addCriterion("plan is not null");
return (Criteria) this;
}
- public Criteria andUpdateByEqualTo(String value) {
- addCriterion("update_by =", value, "updateBy");
+ public Criteria andPlanEqualTo(String value) {
+ addCriterion("plan =", value, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByNotEqualTo(String value) {
- addCriterion("update_by <>", value, "updateBy");
+ public Criteria andPlanNotEqualTo(String value) {
+ addCriterion("plan <>", value, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByGreaterThan(String value) {
- addCriterion("update_by >", value, "updateBy");
+ public Criteria andPlanGreaterThan(String value) {
+ addCriterion("plan >", value, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
- addCriterion("update_by >=", value, "updateBy");
+ public Criteria andPlanGreaterThanOrEqualTo(String value) {
+ addCriterion("plan >=", value, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByLessThan(String value) {
- addCriterion("update_by <", value, "updateBy");
+ public Criteria andPlanLessThan(String value) {
+ addCriterion("plan <", value, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByLessThanOrEqualTo(String value) {
- addCriterion("update_by <=", value, "updateBy");
+ public Criteria andPlanLessThanOrEqualTo(String value) {
+ addCriterion("plan <=", value, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByLike(String value) {
- addCriterion("update_by like", value, "updateBy");
+ public Criteria andPlanLike(String value) {
+ addCriterion("plan like", value, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByNotLike(String value) {
- addCriterion("update_by not like", value, "updateBy");
+ public Criteria andPlanNotLike(String value) {
+ addCriterion("plan not like", value, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByIn(List values) {
- addCriterion("update_by in", values, "updateBy");
+ public Criteria andPlanIn(List values) {
+ addCriterion("plan in", values, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByNotIn(List values) {
- addCriterion("update_by not in", values, "updateBy");
+ public Criteria andPlanNotIn(List values) {
+ addCriterion("plan not in", values, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByBetween(String value1, String value2) {
- addCriterion("update_by between", value1, value2, "updateBy");
+ public Criteria andPlanBetween(String value1, String value2) {
+ addCriterion("plan between", value1, value2, "plan");
return (Criteria) this;
}
- public Criteria andUpdateByNotBetween(String value1, String value2) {
- addCriterion("update_by not between", value1, value2, "updateBy");
+ public Criteria andPlanNotBetween(String value1, String value2) {
+ addCriterion("plan not between", value1, value2, "plan");
return (Criteria) this;
}
- public Criteria andUpdateTimeIsNull() {
- addCriterion("update_time is null");
+ public Criteria andSortIsNull() {
+ addCriterion("sort is null");
return (Criteria) this;
}
- public Criteria andUpdateTimeIsNotNull() {
- addCriterion("update_time is not null");
+ public Criteria andSortIsNotNull() {
+ addCriterion("sort is not null");
return (Criteria) this;
}
- public Criteria andUpdateTimeEqualTo(Date value) {
- addCriterion("update_time =", value, "updateTime");
+ public Criteria andSortEqualTo(Integer value) {
+ addCriterion("sort =", value, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeNotEqualTo(Date value) {
- addCriterion("update_time <>", value, "updateTime");
+ public Criteria andSortNotEqualTo(Integer value) {
+ addCriterion("sort <>", value, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeGreaterThan(Date value) {
- addCriterion("update_time >", value, "updateTime");
+ public Criteria andSortGreaterThan(Integer value) {
+ addCriterion("sort >", value, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
- addCriterion("update_time >=", value, "updateTime");
+ public Criteria andSortGreaterThanOrEqualTo(Integer value) {
+ addCriterion("sort >=", value, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeLessThan(Date value) {
- addCriterion("update_time <", value, "updateTime");
+ public Criteria andSortLessThan(Integer value) {
+ addCriterion("sort <", value, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
- addCriterion("update_time <=", value, "updateTime");
+ public Criteria andSortLessThanOrEqualTo(Integer value) {
+ addCriterion("sort <=", value, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeIn(List values) {
- addCriterion("update_time in", values, "updateTime");
+ public Criteria andSortIn(List values) {
+ addCriterion("sort in", values, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeNotIn(List values) {
- addCriterion("update_time not in", values, "updateTime");
+ public Criteria andSortNotIn(List values) {
+ addCriterion("sort not in", values, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeBetween(Date value1, Date value2) {
- addCriterion("update_time between", value1, value2, "updateTime");
+ public Criteria andSortBetween(Integer value1, Integer value2) {
+ addCriterion("sort between", value1, value2, "sort");
return (Criteria) this;
}
- public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
- addCriterion("update_time not between", value1, value2, "updateTime");
+ public Criteria andSortNotBetween(Integer value1, Integer value2) {
+ addCriterion("sort not between", value1, value2, "sort");
return (Criteria) this;
}
- public Criteria andDelFlagIsNull() {
- addCriterion("del_flag is null");
+ public Criteria andIsShowIsNull() {
+ addCriterion("is_show is null");
return (Criteria) this;
}
- public Criteria andDelFlagIsNotNull() {
- addCriterion("del_flag is not null");
+ public Criteria andIsShowIsNotNull() {
+ addCriterion("is_show is not null");
return (Criteria) this;
}
- public Criteria andDelFlagEqualTo(Byte value) {
- addCriterion("del_flag =", value, "delFlag");
+ public Criteria andIsShowEqualTo(Byte value) {
+ addCriterion("is_show =", value, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagNotEqualTo(Byte value) {
- addCriterion("del_flag <>", value, "delFlag");
+ public Criteria andIsShowNotEqualTo(Byte value) {
+ addCriterion("is_show <>", value, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagGreaterThan(Byte value) {
- addCriterion("del_flag >", value, "delFlag");
+ public Criteria andIsShowGreaterThan(Byte value) {
+ addCriterion("is_show >", value, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
- addCriterion("del_flag >=", value, "delFlag");
+ public Criteria andIsShowGreaterThanOrEqualTo(Byte value) {
+ addCriterion("is_show >=", value, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagLessThan(Byte value) {
- addCriterion("del_flag <", value, "delFlag");
+ public Criteria andIsShowLessThan(Byte value) {
+ addCriterion("is_show <", value, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
- addCriterion("del_flag <=", value, "delFlag");
+ public Criteria andIsShowLessThanOrEqualTo(Byte value) {
+ addCriterion("is_show <=", value, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagIn(List values) {
- addCriterion("del_flag in", values, "delFlag");
+ public Criteria andIsShowIn(List values) {
+ addCriterion("is_show in", values, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagNotIn(List values) {
- addCriterion("del_flag not in", values, "delFlag");
+ public Criteria andIsShowNotIn(List values) {
+ addCriterion("is_show not in", values, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagBetween(Byte value1, Byte value2) {
- addCriterion("del_flag between", value1, value2, "delFlag");
+ public Criteria andIsShowBetween(Byte value1, Byte value2) {
+ addCriterion("is_show between", value1, value2, "isShow");
return (Criteria) this;
}
- public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
- addCriterion("del_flag not between", value1, value2, "delFlag");
+ public Criteria andIsShowNotBetween(Byte value1, Byte value2) {
+ addCriterion("is_show not between", value1, value2, "isShow");
return (Criteria) this;
}
}
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/AmsVo.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/AmsVo.java
index fb725e0..31d2a11 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/AmsVo.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/AmsVo.java
@@ -678,10 +678,15 @@ public class AmsVo {
private String scaleName;
@ApiModelProperty("分数")
private BigDecimal score;
+
+ @ApiModelProperty("量表总分")
+ private BigDecimal totalScore;
@ApiModelProperty("总题数")
private Integer totalNum;
@ApiModelProperty("已完成题数")
private Integer completedNum;
+
+ private Integer sort;
@ApiModelProperty("各项分数")
private List scaleScoreList;
@ApiModelProperty("试题详情")
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/HomeDpVo.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/HomeDpVo.java
index 02b4eee..b86754d 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/HomeDpVo.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/HomeDpVo.java
@@ -4,6 +4,8 @@ import cn.hutool.core.util.StrUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import java.math.BigDecimal;
+
/**
* @Author zzc
* @Package com.ccsens.system.domain.vo
@@ -75,6 +77,7 @@ public class HomeDpVo {
public static class Jbph {
private String icd_no;
private String name;
+ private String code;
private String value;
}
@@ -153,6 +156,12 @@ public class HomeDpVo {
private int total;
private int mzNum;
private int zyNum;
+ @ApiModelProperty("单次就诊平均评估次数")
+ private BigDecimal avgNum;
+ @ApiModelProperty("单次就诊最高评估次数")
+ private int maxNum;
+ @ApiModelProperty("单次就诊最低评估次数")
+ private int minNum;
public int getTotal() {
return mzNum + zyNum;
@@ -161,6 +170,7 @@ public class HomeDpVo {
@Data
public static class VersionStatistics {
+ private Long id;
private String version;
private Integer num;
}
@@ -177,6 +187,7 @@ public class HomeDpVo {
private String nickName;
private String userName;
private Integer num;
+ private Long userId;
}
@Data
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/PmsPatientVo.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/PmsPatientVo.java
index 719b2e6..a0bbf21 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/PmsPatientVo.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/PmsPatientVo.java
@@ -795,6 +795,7 @@ public class PmsPatientVo {
@Data
public static class QueryPatientJz {
+ private String idcard;
private String patientName;
private String sex;
@@ -835,7 +836,7 @@ public class PmsPatientVo {
private String outpatientNo;
- private String age;
+ private Integer age;
private String department;
@@ -890,6 +891,23 @@ public class PmsPatientVo {
private String diagnosisDate;
private String hospitalName;
+ private Integer birthYear;
+
+ @ApiModelProperty("其他病史信息")
+ private Map>> otherMsg;
+
+ public String getIdcard() {
+ if(StrUtil.isNotEmpty(idcard)){
+ return idcard.substring(0, 2) + "******" + idcard.substring(idcard.length() - 4, idcard.length());
+ }
+ return idcard;
+ }
+ public Integer getAge() {
+ if(birthYear != null){
+ return Calendar.getInstance().get(Calendar.YEAR) - birthYear;
+ }
+ return age;
+ }
}
}
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/RmsVo.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/RmsVo.java
index 6696d17..ac1f7ab 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/RmsVo.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/domain/vo/RmsVo.java
@@ -117,7 +117,7 @@ public class RmsVo {
}
public String getIdCard() {
- if(StrUtil.isNotEmpty(idCard)){
+ if (StrUtil.isNotEmpty(idCard)) {
return idCard.substring(0, 2) + "******" + idCard.substring(idCard.length() - 4, idCard.length());
}
return idCard;
@@ -138,6 +138,57 @@ public class RmsVo {
// }
}
+ @Data
+ public static class Report {
+ private Long id;
+ @ApiModelProperty("测评ID")
+ private Long evaluationId;
+ private String testerName;
+
+ private Long patientId;
+
+ private String patientIdcard;
+
+ private Integer patientAge;
+
+ private Long testerId;
+
+ private String serialNumber;
+
+ private Long checkTime;
+
+ private String remark;
+
+ private String hospital;
+
+ private Byte completeStatus;
+
+ private Byte recording;
+
+ private Long duration;
+
+ private String createBy;
+
+ private Date createTime;
+
+ private String updateBy;
+
+ private Date updateTime;
+
+ private Byte delFlag;
+
+ private Byte status;
+
+ private String version;
+
+ private String visitNo;
+ private String scaleName;
+ private Byte needPlan;
+
+ private String deptName;
+
+ }
+
@Data
@ApiModel("PatientReportVoGenerate")
public static class Generate {
@@ -224,6 +275,10 @@ public class RmsVo {
@ApiModelProperty("初步印象")
private String initialImpression;
private String testerName;
+
+ @ApiModelProperty("出生日期")
+ private String birthday;
+
public List toPdfRow() {
List rows = getInitRows();
//第四栏
@@ -389,6 +444,8 @@ public class RmsVo {
private Integer sort;
@ApiModelProperty("认知域code")
private String parentCode;
+ @ApiModelProperty("认知域父级id")
+ private Long parentId;
@ApiModelProperty("报告单检查类型名称")
private String name;
@ApiModelProperty("量表类型名称")
@@ -421,10 +478,15 @@ public class RmsVo {
@ApiModelProperty("量表用时")
private Long questionDuration;
+ private BigDecimal levelTotalScale;
+
@ApiModelProperty("最终结论")
private String result;
private String needPlan;
+ @ApiModelProperty("套餐Id")
+ private Long comboId;
+ @ApiModelProperty("测评量表排序")
private Integer ecrSort;
@ApiModelProperty("中医体质辨识结论")
@@ -432,6 +494,7 @@ public class RmsVo {
@ApiModelProperty("中医体质辨识养生建议")
private List reportYsjyList;
+
public void addSub(ReportScore score) {
this.subReport.add(score);
}
@@ -983,10 +1046,10 @@ public class RmsVo {
@ApiModel("病友的答案")
@Data
public static class Answer {
-// @JsonIgnore
+ // @JsonIgnore
@ApiModelProperty("选项id")
private Long optionId;
-// @JsonIgnore
+ // @JsonIgnore
@ApiModelProperty("选项名")
private String optionName;
@ApiModelProperty("答案")
@@ -1148,23 +1211,111 @@ public class RmsVo {
private Integer optionNum;
}
+ @Data
+ public static class ExportInfo {
+ @ApiModelProperty("报告单ID")
+ private Long reporrtId;
+ @ApiModelProperty("量表CODE")
+ private String scaleCode;
+ @ApiModelProperty("量表名称")
+ private String scaleName;
+ @ApiModelProperty("得分")
+ private BigDecimal score;
+ @ApiModelProperty("初步印象")
+ private String impression;
+ @ApiModelProperty("套餐ID")
+ private Long comboId;
+ @ApiModelProperty("套餐名称")
+ private String comboName;
+ @ApiModelProperty("父级套餐名称")
+ private String comboParentName;
+ @ApiModelProperty("量表分值结论配置Id")
+ private String scaleAssConf;
+ @ApiModelProperty("当前分值段结论")
+ private String result;
+ @ApiModelProperty("需要防治(1需要,0不需要)")
+ private Integer needPlan;
+ @ApiModelProperty("防治计划")
+ private String plan;
+ @ApiModelProperty("排序")
+ private Integer sort;
+
+ @ApiModelProperty("中医体质辨识结论")
+ private List reportResultList;
+
+ @ApiModelProperty("中医体质辨识养生建议")
+ private List reportYsjyList;
+ }
+
+
+ @ApiModel("统计四列表之报告单-DTO")
+ @Data
+ public static class QueryReportList {
+ @ApiModelProperty("报告单ID")
+ private Long evaluationId;
+ @ApiModelProperty("姓名")
+ private String name;
+ @ApiModelProperty("性别(0-男 1-女)")
+ private Integer sex;
+ @ApiModelProperty("就诊号")
+ private String outpatientNo;
+ @ApiModelProperty("就诊科室")
+ private String department;
+ @ApiModelProperty("就诊/主治医生")
+ private String doctor;
+ @ApiModelProperty("评估版本")
+ private String versionName;
+ @ApiModelProperty("评估师")
+ private String testerName;
+ @ApiModelProperty("评估量表")
+ private String scaleNames;
+ @ApiModelProperty("评估时间")
+ private String evaluationTime;
+ @ApiModelProperty("完成状态 0:未完成 1:完成 2:中止")
+ private Byte completeStatus;
+
+ }
+
@ApiModel("导出历史报告单(对接)-VO")
@Data
- public static class ReportPDF{
+ public static class ReportPDF {
+ @ApiModelProperty("报告单ID")
+ private Long reportId;
+ @ApiModelProperty("测评ID")
+ private Long evaluationId;
@ApiModelProperty("患者名称")
private String patientName;
@ApiModelProperty("性别")
private Byte sex;
@ApiModelProperty("年龄")
private int Age;
+ @ApiModelProperty("出生日期")
+ private String birthDate;
+ @ApiModelProperty("身份证号")
+ private String idCard;
+ @ApiModelProperty("就诊类型 0门诊 1住院")
+ private String visitType;
@ApiModelProperty("就诊号")
private String visitNo;
- @ApiModelProperty("评估人")
+ @ApiModelProperty("部门")
+ private String department;
+ @ApiModelProperty("评估医生Id")
+ private String assessorId;
+ @ApiModelProperty("评估医生")
private String assessor;
+ @ApiModelProperty("评估医生编号")
+ private String assessorCode;
@ApiModelProperty("评估时间")
private String assessTime;
@ApiModelProperty("报告单文件路径")
private String url;
- }
+ public String getAssessor() {
+ if (StrUtil.isNotEmpty(assessorCode)) {
+ return assessor + "(" + assessorCode + ")";
+ }else {
+ return assessor;
+ }
+ }
+ }
}
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/persist/dao/StatisticsDao.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/persist/dao/StatisticsDao.java
index d1dc506..c7bbbf1 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/persist/dao/StatisticsDao.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/persist/dao/StatisticsDao.java
@@ -74,7 +74,9 @@ public interface StatisticsDao {
List qualificationStatistics(@Param("dto") StatisticsDto.Query dto);
- HomeDpVo.JzStatistics JzStatistics(@Param("dto") StatisticsDto.Query dto);
+ HomeDpVo.JzStatistics JzStatistics(@Param("param") StatisticsDto.Query dto);
+
+ HomeDpVo.JzStatistics JzStatisticsNum(@Param("dto") StatisticsDto.Query dto);
List scaleStatistics(@Param("dto") StatisticsDto.Query dto);
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/persist/mapper/EmsEvaluationScaleCognitiveRelevanceMapper.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/persist/mapper/EmsEvaluationScaleCognitiveRelevanceMapper.java
new file mode 100644
index 0000000..e70b106
--- /dev/null
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/persist/mapper/EmsEvaluationScaleCognitiveRelevanceMapper.java
@@ -0,0 +1,30 @@
+package com.ccsens.system.persist.mapper;
+
+import com.ccsens.system.domain.po.EmsEvaluationScaleCognitiveRelevance;
+import com.ccsens.system.domain.po.EmsEvaluationScaleCognitiveRelevanceExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface EmsEvaluationScaleCognitiveRelevanceMapper {
+ long countByExample(EmsEvaluationScaleCognitiveRelevanceExample example);
+
+ int deleteByExample(EmsEvaluationScaleCognitiveRelevanceExample example);
+
+ int deleteByPrimaryKey(Long id);
+
+ int insert(EmsEvaluationScaleCognitiveRelevance record);
+
+ int insertSelective(EmsEvaluationScaleCognitiveRelevance record);
+
+ List selectByExample(EmsEvaluationScaleCognitiveRelevanceExample example);
+
+ EmsEvaluationScaleCognitiveRelevance selectByPrimaryKey(Long id);
+
+ int updateByExampleSelective(@Param("record") EmsEvaluationScaleCognitiveRelevance record, @Param("example") EmsEvaluationScaleCognitiveRelevanceExample example);
+
+ int updateByExample(@Param("record") EmsEvaluationScaleCognitiveRelevance record, @Param("example") EmsEvaluationScaleCognitiveRelevanceExample example);
+
+ int updateByPrimaryKeySelective(EmsEvaluationScaleCognitiveRelevance record);
+
+ int updateByPrimaryKey(EmsEvaluationScaleCognitiveRelevance record);
+}
\ No newline at end of file
diff --git a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/service/impl/StatisticsServiceImpl.java b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/service/impl/StatisticsServiceImpl.java
index e8e4cac..efb2973 100644
--- a/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/service/impl/StatisticsServiceImpl.java
+++ b/ruisi_java/ruisi-system/src/main/java/com/ccsens/system/service/impl/StatisticsServiceImpl.java
@@ -1,7 +1,7 @@
package com.ccsens.system.service.impl;
-import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
+import cn.hutool.core.util.ObjectUtil;
import com.ccsens.system.domain.dto.StatisticsDto;
import com.ccsens.system.domain.vo.HomeDpVo;
import com.ccsens.system.persist.dao.StatisticsDao;
@@ -27,8 +27,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public HomeDpVo.Zhsjgl nntotal(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -37,8 +37,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public HomeDpVo.Bmi nnbmihjxy(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -47,8 +47,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public List nnlast(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -57,8 +57,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public HomeDpVo.Nlfb nnage(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -67,8 +67,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public HomeDpVo.Tz nntgb(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -77,8 +77,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public List nnicd(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -87,8 +87,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public List nnmap(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -97,8 +97,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public List nnscale(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -107,8 +107,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public List qualificationStatistics(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -117,18 +117,24 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public HomeDpVo.JzStatistics jzStatistics(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
- return statisticsDao.JzStatistics(dto);
+// HomeDpVo.JzStatistics jzStatistics = statisticsDao.JzStatisticsNum(dto);
+// if (jzStatistics!= null) {
+ HomeDpVo.JzStatistics jzStatistics = statisticsDao.JzStatistics(dto);
+// jzStatistics.setZyNum(jzStatistics1.getZyNum());
+// jzStatistics.setMzNum(jzStatistics1.getMzNum());
+// }
+ return ObjectUtil.isNull(jzStatistics) ? new HomeDpVo.JzStatistics() : jzStatistics;
}
@Override
public List scaleStatistics(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -137,8 +143,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public List versionStatistics(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -147,8 +153,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public List userStatistics(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
@@ -157,8 +163,8 @@ public class StatisticsServiceImpl implements StatisticsService {
@Override
public HomeDpVo.SexStatistics sexStatistics(StatisticsDto.Query dto) {
- if (dto.getDateType() != null) {
- List dateByType = getDateByType(dto.getDateType(), dto.getBeginTime());
+ if (dto.getTimeType() != null) {
+ List dateByType = getDateByType(dto.getTimeType(), dto.getBeginTime());
dto.setBeginTime(dateByType.get(0));
dto.setEndTime(dateByType.get(1));
}
diff --git a/ruisi_java/ruisi-system/src/main/resources/mapper/dao/StatisticsDao.xml b/ruisi_java/ruisi-system/src/main/resources/mapper/dao/StatisticsDao.xml
index acfb1e1..47ba00e 100644
--- a/ruisi_java/ruisi-system/src/main/resources/mapper/dao/StatisticsDao.xml
+++ b/ruisi_java/ruisi-system/src/main/resources/mapper/dao/StatisticsDao.xml
@@ -15,7 +15,7 @@
LEFT JOIN ums_user u ON e.create_by = u.user_name
where e.del_flag = 0 and e.complete_status != 0
- AND u.dept_id = #{deptId}
+ AND u.dept_id = #{dto.deptId}
AND e.create_time >= #{dto.beginTime}
@@ -31,21 +31,14 @@
SUM(CASE WHEN (pb.weight/(pb.height*pb.height/10000)) >= 18.5 AND (pb.weight/(pb.height*pb.height/10000)) < 24 THEN 1 ELSE 0 END) AS bmi2,
SUM(CASE WHEN (pb. weight/(pb.height*pb.height/10000)) >= 24 AND (pb.weight/(pb.height*pb.height/10000)) < 28 THEN 1 ELSE 0 END) AS bmi3,
SUM(CASE WHEN (pb.weight/(pb.height*pb.height/10000)) >= 28 AND (pb.weight/(pb.height*pb.height/10000)) < 32 THEN 1 ELSE 0 END) AS bmi4,
- SUM(CASE WHEN (pb.weight/(pb.height*pb.height/10000)) >= 32 THEN 1 ELSE 0 END) AS bmi5,
- SUM(CASE WHEN pp.smoking_history = 1 AND pp.drink_history = 0 THEN 1 ELSE 0 END) AS onlysmoking,
- SUM(CASE WHEN pp.smoking_history = 0 AND pp.drink_history = 1 THEN 1 ELSE 0 END) AS onlydrink,
- SUM(CASE WHEN pp.smoking_history = 1 AND pp.drink_history = 1 THEN 1 ELSE 0 END) AS bothyes,
- SUM(CASE WHEN pp.smoking_history = 0 AND pp.drink_history = 0 THEN 1 ELSE 0 END) AS bothno
+ SUM(CASE WHEN (pb.weight/(pb.height*pb.height/10000)) >= 32 THEN 1 ELSE 0 END) AS bmi5
FROM
pms_patient p
- left JOIN
- pms_patient_body pb ON p.id = pb.patient_id
- left JOIN
- pms_patient_personal pp ON p.id = pp.patient_id
+ left JOIN pms_patient_body pb ON p.id = pb.patient_id
LEFT JOIN ums_user u ON p.create_by = u.user_name
- where p.del_flag
+ where p.del_flag = 0
- AND u.dept_id = #{deptId}
+ AND u.dept_id = #{dto.deptId}
AND p.create_time >= #{dto.beginTime}
@@ -69,7 +62,7 @@
where e.del_flag = 0
and e.patient_id != 0
- AND u.dept_id = #{deptId}
+ AND u.dept_id = #{dto.deptId}
AND e.create_time >= #{dto.beginTime}
@@ -82,14 +75,14 @@