Compare commits
126 Commits
00e6bb8b43
...
25735b077f
Author | SHA1 | Date |
---|---|---|
|
25735b077f | 1 week ago |
|
fb44de762b | 2 weeks ago |
|
a33c287cbe | 2 weeks ago |
|
fd56638851 | 2 weeks ago |
|
ecf0ab32a4 | 2 weeks ago |
|
b9275ef89e | 3 weeks ago |
|
d8ca14823b | 3 weeks ago |
|
9bb3a5e39a | 3 weeks ago |
|
05af5f1636 | 1 month ago |
|
84a3d946b9 | 1 month ago |
|
fa50718419 | 1 month ago |
|
eb7eb807c8 | 1 month ago |
|
0879878d69 | 1 month ago |
|
1079b4fa4c | 1 month ago |
|
3bf8af7072 | 1 month ago |
|
0987aaf889 | 1 month ago |
|
3be77f2e69 | 1 month ago |
|
8e5bdf663d | 1 month ago |
|
1db155b67d | 2 months ago |
|
5e14a21a78 | 2 months ago |
|
ef4f32c7ea | 2 months ago |
|
2c659de3b0 | 2 months ago |
|
8a4f8df42c | 2 months ago |
|
87d6b3734c | 2 months ago |
|
38dfddc2b2 | 2 months ago |
|
0b2fec8da7 | 2 months ago |
|
64f38a48e8 | 2 months ago |
|
4b0b78e722 | 2 months ago |
|
e7a978f554 | 2 months ago |
|
adba784a32 | 2 months ago |
|
64ee1b4f63 | 2 months ago |
|
140547a21f | 2 months ago |
|
d3abf91a0f | 2 months ago |
|
488b5d87a6 | 2 months ago |
|
66d6872cd7 | 2 months ago |
|
0d78429b4f | 2 months ago |
|
c402fc4654 | 2 months ago |
|
ff8df5b07b | 2 months ago |
|
7c5bd333cc | 2 months ago |
|
bd36381e37 | 2 months ago |
|
3cac6051ae | 2 months ago |
|
eacaa84bf5 | 2 months ago |
|
a132a28729 | 2 months ago |
|
6a76ca50de | 2 months ago |
|
a8ba34ba96 | 2 months ago |
|
aae074e2a4 | 2 months ago |
|
e03ba731f3 | 2 months ago |
|
e5cd10982b | 2 months ago |
|
0563953393 | 2 months ago |
|
395c029bda | 2 months ago |
|
3a317252db | 2 months ago |
|
14f4e66fda | 2 months ago |
|
383ce6458f | 2 months ago |
|
80cbd9d52f | 2 months ago |
|
d4c96b2114 | 2 months ago |
|
5f55da05ed | 2 months ago |
|
141b02d5d0 | 2 months ago |
|
3b881a36c2 | 2 months ago |
|
15fb32822d | 2 months ago |
|
db25b5c12a | 2 months ago |
|
37fa3f5e67 | 2 months ago |
|
c6f07aab49 | 2 months ago |
|
dc6fa19821 | 2 months ago |
|
9fcf08d29b | 2 months ago |
|
52182d8cc0 | 2 months ago |
|
b8e7a0157f | 2 months ago |
|
9653376659 | 3 months ago |
|
738797d52c | 3 months ago |
|
edbc470e7b | 3 months ago |
|
b12e735591 | 3 months ago |
|
7129afacd9 | 3 months ago |
|
1bf3ac18a3 | 3 months ago |
|
96f2e8dabb | 3 months ago |
|
b810b4d509 | 3 months ago |
|
631cb637d6 | 3 months ago |
|
70ce82e02a | 3 months ago |
|
362c0bb654 | 3 months ago |
|
579720f312 | 3 months ago |
|
29b23e839e | 3 months ago |
|
dbc7b30064 | 3 months ago |
|
92bcd95712 | 3 months ago |
|
fa5fa27c7f | 3 months ago |
|
984bc54a9b | 3 months ago |
|
efb8cc950b | 3 months ago |
|
8cb0c801f3 | 3 months ago |
|
df4ff9ab55 | 3 months ago |
|
786881b9f4 | 3 months ago |
|
dc90ec29fb | 3 months ago |
|
6ecc100c89 | 3 months ago |
|
1deacaae58 | 3 months ago |
|
cbebe0448e | 3 months ago |
|
ddc07748ea | 3 months ago |
|
5cf6c8de9b | 3 months ago |
|
5330dde168 | 3 months ago |
|
f2cc04d640 | 3 months ago |
|
902facda2c | 3 months ago |
|
a00f5a6c5b | 3 months ago |
|
d5961db49c | 3 months ago |
|
32f21db6b6 | 3 months ago |
|
7cff9c7ea9 | 3 months ago |
|
298321dc37 | 3 months ago |
|
49150450ef | 3 months ago |
|
f7c89b5865 | 3 months ago |
|
9d2e2683a4 | 3 months ago |
|
2110a1df46 | 3 months ago |
|
5537a63a19 | 3 months ago |
|
87e075383d | 3 months ago |
|
c8c00831f5 | 3 months ago |
|
553259e83c | 3 months ago |
|
0e85f62cd9 | 3 months ago |
|
3273e5b37b | 3 months ago |
|
b5258b5b2a | 3 months ago |
|
0c6691395f | 3 months ago |
|
35ec4795e5 | 3 months ago |
|
a50bfe49db | 3 months ago |
|
3bf72c27b6 | 3 months ago |
|
ba370d8391 | 3 months ago |
|
32aa2d06e6 | 3 months ago |
|
d81db453d1 | 3 months ago |
|
f11c42defc | 3 months ago |
|
e114c2bd87 | 3 months ago |
|
94ad896335 | 3 months ago |
|
572b822fa0 | 3 months ago |
|
cb9b3e3e29 | 3 months ago |
|
131a6b1721 | 3 months ago |
|
9860ba4d56 | 3 months ago |
197 changed files with 29942 additions and 2038 deletions
@ -1,211 +0,0 @@ |
|||
package com.acupuncture.web.controller.web; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import cn.hutool.core.collection.CollectionUtil; |
|||
import cn.hutool.core.date.DateUtil; |
|||
import cn.hutool.core.util.IdUtil; |
|||
import com.acupuncture.common.annotation.Anonymous; |
|||
import com.acupuncture.framework.datasource.DynamicDataSourceContextHolder; |
|||
import com.acupuncture.system.domain.po.FmsFollowupTask; |
|||
import com.acupuncture.system.domain.po.FmsPatientQueueRelation; |
|||
import com.acupuncture.system.domain.vo.FmsFollowupVo; |
|||
import com.acupuncture.system.domain.vo.UmsDataSourceVo; |
|||
import com.acupuncture.system.persist.dao.FmsFollowupDao; |
|||
import com.acupuncture.system.persist.dao.UmsDataSourceDao; |
|||
import com.acupuncture.system.persist.mapper.FmsFollowupTaskMapper; |
|||
import com.acupuncture.system.persist.mapper.FmsPatientQueueRelationMapper; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.quartz.TriggerUtils; |
|||
import org.quartz.impl.triggers.CronTriggerImpl; |
|||
import org.springframework.scheduling.annotation.Scheduled; |
|||
import org.springframework.transaction.annotation.Propagation; |
|||
import org.springframework.transaction.annotation.Transactional; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import javax.annotation.Resource; |
|||
import java.util.ArrayList; |
|||
import java.util.Calendar; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zzc |
|||
* @Package com.acupuncture.web.controller.web |
|||
* @Date 2025/2/13 8:50 |
|||
* @description: |
|||
*/ |
|||
@Slf4j |
|||
@Api(tags = "定时任务相关") |
|||
@RestController |
|||
@RequestMapping("/task") |
|||
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) |
|||
public class TaskController { |
|||
|
|||
@Resource |
|||
private FmsFollowupDao fmsFollowupDao; |
|||
@Resource |
|||
private FmsFollowupTaskMapper fmsFollowupTaskMapper; |
|||
@Resource |
|||
private UmsDataSourceDao umsDataSourceDao; |
|||
@Resource |
|||
private FmsPatientQueueRelationMapper fmsPatientQueueRelationMapper; |
|||
|
|||
@ApiOperation("定时任务添加随访工单") |
|||
@PostMapping("/task") |
|||
// @Scheduled(fixedRate = 10000)
|
|||
@Anonymous |
|||
public void task() { |
|||
// TODO 生成工单第一次生成之后2周的,往后只生成之后一周。第一次随访时间: ( 患者的出院时间 - 7 + 轮次时间) 到 (患者的出院时间 + 7 + 轮次时间 )
|
|||
|
|||
//查询租户,根据租户循环切换数据源,定时处理所有医院的随访工单
|
|||
// UmsDataSourceVo.Result result1 = new UmsDataSourceVo.Result();
|
|||
// result1.setDataSourceKey("MASTER");
|
|||
// changeDataSource(result1);
|
|||
List<UmsDataSourceVo.Result> query = umsDataSourceDao.query(null); |
|||
if (CollectionUtil.isEmpty(query)) { |
|||
return; |
|||
} |
|||
//查询公共队列
|
|||
List<FmsFollowupVo.FollowupQueueVO> queueResults = fmsFollowupDao.queryCommonQueue(null); |
|||
//切换数据源
|
|||
for (UmsDataSourceVo.Result result : query) { |
|||
if ("MASTER".equals(result.getDataSourceKey())) { |
|||
continue; |
|||
} |
|||
changeDataSource(result); |
|||
{ |
|||
//获取随访患者列表,根据患者出院日时间和队列添加工单
|
|||
//1. 查询队列
|
|||
List<FmsFollowupVo.FollowupQueueVO> queueList = fmsFollowupDao.selectQueueList(null, null, null, result.getTenantId()); |
|||
|
|||
if (CollectionUtil.isEmpty(queueList)) { |
|||
queueList = queueResults; |
|||
} else { |
|||
queueList.addAll(queueResults); |
|||
} |
|||
for (FmsFollowupVo.FollowupQueueVO followupQueueVO : queueList) { |
|||
//2. 查询队列随访患者列表
|
|||
List<FmsFollowupVo.FollowupPatient> patientList = fmsFollowupDao.queryPatient(followupQueueVO.getId(), (byte) 0, null, followupQueueVO.getTenantId()); |
|||
if (CollectionUtil.isEmpty(patientList)) { |
|||
continue; |
|||
} |
|||
//随访总月数
|
|||
Integer followupMonth = followupQueueVO.getFollowupMonth(); |
|||
for (FmsFollowupVo.FollowupPatient followupPatient : patientList) { |
|||
//获取随访到期时间 出院时间+随访总月数 = 到期时间
|
|||
Calendar calendar = Calendar.getInstance(); |
|||
calendar.setTime(followupPatient.getDischargeTime()); |
|||
calendar.set(Calendar.MONTH, followupMonth); |
|||
Date time = calendar.getTime(); |
|||
|
|||
//获取队列信息
|
|||
String frequency = followupQueueVO.getFrequency(); |
|||
List<Date> dateList = new ArrayList<>(); |
|||
try { |
|||
CronTriggerImpl cronTrigger = new CronTriggerImpl(); |
|||
cronTrigger.setCronExpression(frequency); |
|||
//TriggerUtils.computeFireTimesBetween(要计算触发时间的触发器对象, 用于计算触发时间的日历对象, 计算触发时间的起始时间点, 计算触发时间的结束时间点);
|
|||
dateList = TriggerUtils.computeFireTimesBetween(cronTrigger, null, followupPatient.getDischargeTime(), time); |
|||
if (CollectionUtil.isEmpty(dateList)) { |
|||
continue; |
|||
} |
|||
} catch (Exception e) { |
|||
e.printStackTrace(); |
|||
} |
|||
//3. 判断随访类型
|
|||
if (followupQueueVO.getFollowupType() == 0) { |
|||
//单次
|
|||
FmsFollowupTask fmsFollowupTask = new FmsFollowupTask(); |
|||
BeanUtil.copyProperties(followupQueueVO, fmsFollowupTask); |
|||
fmsFollowupTask.setId(IdUtil.getSnowflakeNextId()); |
|||
fmsFollowupTask.setName(followupPatient.getName()); |
|||
fmsFollowupTask.setPinyinFull(followupPatient.getPinyinFull()); |
|||
fmsFollowupTask.setPinyinSimple(followupPatient.getPinyinSimple()); |
|||
fmsFollowupTask.setGender(followupPatient.getGender()); |
|||
if (followupPatient.getBirthDate() != null) { |
|||
fmsFollowupTask.setAge(DateUtil.age(followupPatient.getBirthDate(), new Date())); |
|||
} |
|||
fmsFollowupTask.setEthnicity(followupPatient.getEthnicity()); |
|||
fmsFollowupTask.setEducationYears(followupPatient.getEducationYears()); |
|||
fmsFollowupTask.setPhone(followupPatient.getPhone()); |
|||
fmsFollowupTask.setTenantId(followupPatient.getTenantId()); |
|||
fmsFollowupTask.setIdCardType(followupPatient.getIdCardType()); |
|||
fmsFollowupTask.setIdCard(followupPatient.getIdCard()); |
|||
fmsFollowupTask.setTimes(1); |
|||
fmsFollowupTask.setQueueId(followupQueueVO.getId()); |
|||
fmsFollowupTask.setPatientId(followupPatient.getId()); |
|||
fmsFollowupTask.setEducationYears(followupPatient.getEducationYears()); |
|||
fmsFollowupTask.setDelFlag((byte) 0); |
|||
fmsFollowupTask.setCreateTime(new Date()); |
|||
fmsFollowupTask.setStatus((byte) 0); |
|||
fmsFollowupTask.setStartTime(dateList.get(0)); |
|||
fmsFollowupTask.setEndTime(dateList.get(0)); |
|||
fmsFollowupTask.setFollowuper(followupQueueVO.getPersonInCharge()); |
|||
fmsFollowupTask.setFollowupTime(dateList.get(0)); |
|||
changeDataSource(result); |
|||
fmsFollowupTaskMapper.insertSelective(fmsFollowupTask); |
|||
|
|||
} else { |
|||
//周期
|
|||
//4. 根据频次和总月数添加
|
|||
int i = 0; |
|||
for (Date date : dateList) { |
|||
i+=1; |
|||
//单次
|
|||
FmsFollowupTask fmsFollowupTask = new FmsFollowupTask(); |
|||
BeanUtil.copyProperties(followupQueueVO, fmsFollowupTask); |
|||
fmsFollowupTask.setId(IdUtil.getSnowflakeNextId()); |
|||
fmsFollowupTask.setName(followupPatient.getName()); |
|||
fmsFollowupTask.setPinyinFull(followupPatient.getPinyinFull()); |
|||
fmsFollowupTask.setPinyinSimple(followupPatient.getPinyinSimple()); |
|||
fmsFollowupTask.setGender(followupPatient.getGender()); |
|||
if (followupPatient.getBirthDate() != null) { |
|||
fmsFollowupTask.setAge(DateUtil.age(followupPatient.getBirthDate(), new Date())); |
|||
} |
|||
fmsFollowupTask.setEthnicity(followupPatient.getEthnicity()); |
|||
fmsFollowupTask.setEducationYears(followupPatient.getEducationYears()); |
|||
fmsFollowupTask.setTimes(i); |
|||
fmsFollowupTask.setPhone(followupPatient.getPhone()); |
|||
fmsFollowupTask.setTenantId(followupPatient.getTenantId()); |
|||
fmsFollowupTask.setIdCardType(followupPatient.getIdCardType()); |
|||
fmsFollowupTask.setIdCard(followupPatient.getIdCard()); |
|||
fmsFollowupTask.setId(IdUtil.getSnowflakeNextId()); |
|||
fmsFollowupTask.setQueueId(followupQueueVO.getId()); |
|||
fmsFollowupTask.setDelFlag((byte) 0); |
|||
fmsFollowupTask.setCreateTime(new Date()); |
|||
fmsFollowupTask.setEducationYears(followupPatient.getEducationYears()); |
|||
fmsFollowupTask.setStatus((byte) 0); |
|||
fmsFollowupTask.setStartTime(date); |
|||
fmsFollowupTask.setEndTime(date); |
|||
fmsFollowupTask.setFollowuper(followupQueueVO.getPersonInCharge()); |
|||
fmsFollowupTask.setFollowupTime(date); |
|||
changeDataSource(result); |
|||
fmsFollowupTask.setPatientId(followupPatient.getId()); |
|||
fmsFollowupTaskMapper.insertSelective(fmsFollowupTask); |
|||
} |
|||
} |
|||
changeDataSource(result); |
|||
//将患者设置为已生成工单
|
|||
FmsPatientQueueRelation fmsPatientQueueRelation = BeanUtil.copyProperties(followupPatient, FmsPatientQueueRelation.class); |
|||
fmsPatientQueueRelation.setTaskFlag((byte) 1); |
|||
fmsPatientQueueRelation.setPatientId(followupPatient.getId()); |
|||
fmsPatientQueueRelationMapper.updateByPrimaryKeySelective(fmsPatientQueueRelation); |
|||
} |
|||
} |
|||
|
|||
} |
|||
} |
|||
} |
|||
|
|||
private static void changeDataSource(UmsDataSourceVo.Result result) { |
|||
try { |
|||
DynamicDataSourceContextHolder.setDataSourceType(result.getDataSourceKey()); |
|||
}finally { |
|||
DynamicDataSourceContextHolder.clearDataSourceType(); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,87 @@ |
|||
package com.acupuncture.web.controller.web; |
|||
|
|||
import com.acupuncture.common.annotation.Anonymous; |
|||
import com.acupuncture.common.core.domain.BaseDto; |
|||
import com.acupuncture.common.core.domain.JsonResponse; |
|||
import com.acupuncture.common.exception.base.BaseException; |
|||
import com.acupuncture.common.utils.SecurityUtils; |
|||
import com.acupuncture.system.domain.dto.PmsTreatmentDto; |
|||
import com.acupuncture.system.domain.dto.ZytzDto; |
|||
import com.acupuncture.system.domain.vo.ZytzVo; |
|||
import com.acupuncture.system.service.ZytzService; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.validation.annotation.Validated; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import javax.annotation.Resource; |
|||
|
|||
/** |
|||
* @author zhangsan |
|||
* @description |
|||
* @date 2025/4/6 18:37 |
|||
*/ |
|||
|
|||
@Slf4j |
|||
@Api(tags = "中医体质测评相关") |
|||
@RestController |
|||
@RequestMapping("/zytz") |
|||
public class ZytzController { |
|||
@Resource |
|||
private ZytzService zytzService; |
|||
|
|||
@ApiOperation("生成中医体质辨识二维码") |
|||
@PostMapping("/qrcode") |
|||
public JsonResponse<String> getZytzQrcode(@RequestBody @Validated BaseDto<ZytzDto.ZytzQrcode> dto){ |
|||
Long tenantId = SecurityUtils.getTenantId(); |
|||
if(tenantId == null){ |
|||
throw new BaseException("未找到tenantId"); |
|||
} |
|||
return JsonResponse.ok(zytzService.getZytzQrcode(dto.getParam(), tenantId)); |
|||
} |
|||
|
|||
/** |
|||
* 查询测评题目及选项 |
|||
*/ |
|||
@Anonymous |
|||
@PostMapping("/questions/list") |
|||
public JsonResponse<ZytzVo.EvaQuestionList> evaQuestionList(@Validated @RequestBody BaseDto<ZytzDto.EvaQuestionList> dto) { |
|||
return JsonResponse.ok(zytzService.evaQuestionList(dto.getParam())); |
|||
} |
|||
|
|||
/** |
|||
* 提交测评 |
|||
*/ |
|||
@Anonymous |
|||
@PostMapping("/questions/submit") |
|||
public JsonResponse<Integer> evaQuestionSubmit(@Validated @RequestBody BaseDto<ZytzDto.EvaQuestionSubmit> dto) { |
|||
return JsonResponse.ok(zytzService.evaQuestionSubmit(dto.getParam())); |
|||
} |
|||
|
|||
/** |
|||
* 完成测评(生成报告单) |
|||
* @param dto |
|||
* @return |
|||
*/ |
|||
@Anonymous |
|||
@PostMapping("/eva/complete") |
|||
public JsonResponse<Integer> evaComplete(@Validated @RequestBody BaseDto<ZytzDto.EvaComplete> dto) { |
|||
return JsonResponse.ok(zytzService.evaComplete(dto.getParam())); |
|||
} |
|||
|
|||
/** |
|||
* 查看报告单 |
|||
* @param dto |
|||
* @return |
|||
*/ |
|||
@Anonymous |
|||
@PostMapping("/report/view") |
|||
public JsonResponse<ZytzVo.ReportView> reportView(@Validated @RequestBody BaseDto<ZytzDto.ReportView> dto) { |
|||
return JsonResponse.ok(zytzService.reportView(dto.getParam())); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,172 @@ |
|||
package com.acupuncture.system.domain.dto; |
|||
|
|||
import cn.hutool.core.collection.CollectionUtil; |
|||
import cn.hutool.core.date.DateUtil; |
|||
import cn.hutool.core.util.IdcardUtil; |
|||
import cn.hutool.core.util.StrUtil; |
|||
import com.acupuncture.common.constant.UserConstants; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.Valid; |
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotEmpty; |
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.Size; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
import java.util.Objects; |
|||
|
|||
/** |
|||
* @Author zzc |
|||
* @Package com.acupuncture.system.domain.dto |
|||
* @Date 2025/2/11 15:05 |
|||
* @description: |
|||
*/ |
|||
public class ZytzDto { |
|||
@Data |
|||
public static class ZytzQrcode { |
|||
//诊疗档案id
|
|||
@NotNull(message = "id不能为空") |
|||
private Long id; |
|||
//路径
|
|||
@NotNull(message = "path不能为空") |
|||
private String path; |
|||
//是否总是重新生成(1总是重新生成),测试用
|
|||
int rewrite = 0; |
|||
} |
|||
|
|||
@Data |
|||
public static class PatientQuery { |
|||
//关键词
|
|||
private String keywords; |
|||
//患者id
|
|||
private Long patientId; |
|||
} |
|||
|
|||
@Data |
|||
public static class PatientSaveOrUpdate { |
|||
private Long patientId; |
|||
@NotBlank |
|||
private String name; |
|||
private Integer gender; |
|||
private String birthday; |
|||
private String idcard; |
|||
private String phone; |
|||
private String height; |
|||
private String weight; |
|||
private String waistline; |
|||
private List<String> sickness; |
|||
|
|||
public String getBirthday() { |
|||
if (StrUtil.isNotBlank(idcard)) { |
|||
if (IdcardUtil.isValidCard(idcard)) { |
|||
return DateUtil.format(IdcardUtil.getBirthDate(idcard), "yyyy-MM-dd"); |
|||
} |
|||
} |
|||
return birthday; |
|||
} |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaSave { |
|||
@NotNull |
|||
private Long patientId; |
|||
@NotBlank |
|||
private String scaleCode; |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaQuestionList { |
|||
@NotNull |
|||
private Long evaId; |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaQuestionSubmit { |
|||
@NotNull |
|||
private Long evaId; |
|||
@NotEmpty |
|||
@Valid |
|||
private List<Question> questions; |
|||
|
|||
@Data |
|||
public static class Question { |
|||
@NotBlank |
|||
private String quesCode; |
|||
@NotBlank |
|||
private String optionCode; |
|||
@NotBlank |
|||
private String optionName; |
|||
@NotBlank |
|||
private String optionScore; |
|||
} |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaStop { |
|||
@NotNull |
|||
private Long evaId; |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaComplete { |
|||
@NotNull |
|||
private Long evaId; |
|||
} |
|||
|
|||
@Data |
|||
public static class ReportView { |
|||
@NotNull |
|||
private Long evaId; |
|||
} |
|||
|
|||
@Data |
|||
public static class ReportUpdate { |
|||
@NotNull |
|||
private Long reportId; |
|||
private String name; |
|||
private String gender; |
|||
private String birthday; |
|||
private String age; |
|||
private String idcard; |
|||
private String phone; |
|||
private String height; |
|||
private String weight; |
|||
private String waistline; |
|||
private String blh; |
|||
} |
|||
|
|||
@Data |
|||
public static class ReportExport { |
|||
@NotNull |
|||
private Long reportId; |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaList { |
|||
//关键词
|
|||
private String keywords; |
|||
//性别(1男 2女)
|
|||
private Integer gender; |
|||
//年龄小
|
|||
private Integer ageMin; |
|||
//年龄大
|
|||
private Integer ageMax; |
|||
//日期小
|
|||
private Date evaDateMin; |
|||
//日期大
|
|||
private Date evaDateMax; |
|||
//量表
|
|||
private String scaleCode; |
|||
//状态
|
|||
private Integer evaStatus; |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaDelete { |
|||
private List<Long> evaIds ; |
|||
} |
|||
} |
@ -0,0 +1,61 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
public class HmsWeightHeight implements Serializable { |
|||
private Long id; |
|||
|
|||
private String height; |
|||
|
|||
private String weight; |
|||
|
|||
private String testId; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getHeight() { |
|||
return height; |
|||
} |
|||
|
|||
public void setHeight(String height) { |
|||
this.height = height == null ? null : height.trim(); |
|||
} |
|||
|
|||
public String getWeight() { |
|||
return weight; |
|||
} |
|||
|
|||
public void setWeight(String weight) { |
|||
this.weight = weight == null ? null : weight.trim(); |
|||
} |
|||
|
|||
public String getTestId() { |
|||
return testId; |
|||
} |
|||
|
|||
public void setTestId(String testId) { |
|||
this.testId = testId == null ? null : testId.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", height=").append(height); |
|||
sb.append(", weight=").append(weight); |
|||
sb.append(", testId=").append(testId); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,470 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
public class HmsWeightHeightExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public HmsWeightHeightExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightIsNull() { |
|||
addCriterion("height is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightIsNotNull() { |
|||
addCriterion("height is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightEqualTo(String value) { |
|||
addCriterion("height =", value, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightNotEqualTo(String value) { |
|||
addCriterion("height <>", value, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightGreaterThan(String value) { |
|||
addCriterion("height >", value, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightGreaterThanOrEqualTo(String value) { |
|||
addCriterion("height >=", value, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightLessThan(String value) { |
|||
addCriterion("height <", value, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightLessThanOrEqualTo(String value) { |
|||
addCriterion("height <=", value, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightLike(String value) { |
|||
addCriterion("height like", value, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightNotLike(String value) { |
|||
addCriterion("height not like", value, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightIn(List<String> values) { |
|||
addCriterion("height in", values, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightNotIn(List<String> values) { |
|||
addCriterion("height not in", values, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightBetween(String value1, String value2) { |
|||
addCriterion("height between", value1, value2, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andHeightNotBetween(String value1, String value2) { |
|||
addCriterion("height not between", value1, value2, "height"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightIsNull() { |
|||
addCriterion("weight is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightIsNotNull() { |
|||
addCriterion("weight is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightEqualTo(String value) { |
|||
addCriterion("weight =", value, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightNotEqualTo(String value) { |
|||
addCriterion("weight <>", value, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightGreaterThan(String value) { |
|||
addCriterion("weight >", value, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightGreaterThanOrEqualTo(String value) { |
|||
addCriterion("weight >=", value, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightLessThan(String value) { |
|||
addCriterion("weight <", value, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightLessThanOrEqualTo(String value) { |
|||
addCriterion("weight <=", value, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightLike(String value) { |
|||
addCriterion("weight like", value, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightNotLike(String value) { |
|||
addCriterion("weight not like", value, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightIn(List<String> values) { |
|||
addCriterion("weight in", values, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightNotIn(List<String> values) { |
|||
addCriterion("weight not in", values, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightBetween(String value1, String value2) { |
|||
addCriterion("weight between", value1, value2, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andWeightNotBetween(String value1, String value2) { |
|||
addCriterion("weight not between", value1, value2, "weight"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdIsNull() { |
|||
addCriterion("test_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdIsNotNull() { |
|||
addCriterion("test_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdEqualTo(String value) { |
|||
addCriterion("test_id =", value, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdNotEqualTo(String value) { |
|||
addCriterion("test_id <>", value, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdGreaterThan(String value) { |
|||
addCriterion("test_id >", value, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdGreaterThanOrEqualTo(String value) { |
|||
addCriterion("test_id >=", value, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdLessThan(String value) { |
|||
addCriterion("test_id <", value, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdLessThanOrEqualTo(String value) { |
|||
addCriterion("test_id <=", value, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdLike(String value) { |
|||
addCriterion("test_id like", value, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdNotLike(String value) { |
|||
addCriterion("test_id not like", value, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdIn(List<String> values) { |
|||
addCriterion("test_id in", values, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdNotIn(List<String> values) { |
|||
addCriterion("test_id not in", values, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdBetween(String value1, String value2) { |
|||
addCriterion("test_id between", value1, value2, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andTestIdNotBetween(String value1, String value2) { |
|||
addCriterion("test_id not between", value1, value2, "testId"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,129 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzEmsEvaAnswer implements Serializable { |
|||
private Long answerId; |
|||
|
|||
private Long evaId; |
|||
|
|||
private String quesCode; |
|||
|
|||
private String optionCode; |
|||
|
|||
private String optionName; |
|||
|
|||
private BigDecimal optionScore; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getAnswerId() { |
|||
return answerId; |
|||
} |
|||
|
|||
public void setAnswerId(Long answerId) { |
|||
this.answerId = answerId; |
|||
} |
|||
|
|||
public Long getEvaId() { |
|||
return evaId; |
|||
} |
|||
|
|||
public void setEvaId(Long evaId) { |
|||
this.evaId = evaId; |
|||
} |
|||
|
|||
public String getQuesCode() { |
|||
return quesCode; |
|||
} |
|||
|
|||
public void setQuesCode(String quesCode) { |
|||
this.quesCode = quesCode == null ? null : quesCode.trim(); |
|||
} |
|||
|
|||
public String getOptionCode() { |
|||
return optionCode; |
|||
} |
|||
|
|||
public void setOptionCode(String optionCode) { |
|||
this.optionCode = optionCode == null ? null : optionCode.trim(); |
|||
} |
|||
|
|||
public String getOptionName() { |
|||
return optionName; |
|||
} |
|||
|
|||
public void setOptionName(String optionName) { |
|||
this.optionName = optionName == null ? null : optionName.trim(); |
|||
} |
|||
|
|||
public BigDecimal getOptionScore() { |
|||
return optionScore; |
|||
} |
|||
|
|||
public void setOptionScore(BigDecimal optionScore) { |
|||
this.optionScore = optionScore; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", answerId=").append(answerId); |
|||
sb.append(", evaId=").append(evaId); |
|||
sb.append(", quesCode=").append(quesCode); |
|||
sb.append(", optionCode=").append(optionCode); |
|||
sb.append(", optionName=").append(optionName); |
|||
sb.append(", optionScore=").append(optionScore); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,852 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzEmsEvaAnswerExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzEmsEvaAnswerExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andAnswerIdIsNull() { |
|||
addCriterion("answer_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdIsNotNull() { |
|||
addCriterion("answer_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdEqualTo(Long value) { |
|||
addCriterion("answer_id =", value, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdNotEqualTo(Long value) { |
|||
addCriterion("answer_id <>", value, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdGreaterThan(Long value) { |
|||
addCriterion("answer_id >", value, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("answer_id >=", value, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdLessThan(Long value) { |
|||
addCriterion("answer_id <", value, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("answer_id <=", value, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdIn(List<Long> values) { |
|||
addCriterion("answer_id in", values, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdNotIn(List<Long> values) { |
|||
addCriterion("answer_id not in", values, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdBetween(Long value1, Long value2) { |
|||
addCriterion("answer_id between", value1, value2, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andAnswerIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("answer_id not between", value1, value2, "answerId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdIsNull() { |
|||
addCriterion("eva_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdIsNotNull() { |
|||
addCriterion("eva_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdEqualTo(Long value) { |
|||
addCriterion("eva_id =", value, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdNotEqualTo(Long value) { |
|||
addCriterion("eva_id <>", value, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdGreaterThan(Long value) { |
|||
addCriterion("eva_id >", value, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("eva_id >=", value, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdLessThan(Long value) { |
|||
addCriterion("eva_id <", value, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("eva_id <=", value, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdIn(List<Long> values) { |
|||
addCriterion("eva_id in", values, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdNotIn(List<Long> values) { |
|||
addCriterion("eva_id not in", values, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdBetween(Long value1, Long value2) { |
|||
addCriterion("eva_id between", value1, value2, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andEvaIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("eva_id not between", value1, value2, "evaId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIsNull() { |
|||
addCriterion("ques_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIsNotNull() { |
|||
addCriterion("ques_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeEqualTo(String value) { |
|||
addCriterion("ques_code =", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotEqualTo(String value) { |
|||
addCriterion("ques_code <>", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeGreaterThan(String value) { |
|||
addCriterion("ques_code >", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("ques_code >=", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLessThan(String value) { |
|||
addCriterion("ques_code <", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("ques_code <=", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLike(String value) { |
|||
addCriterion("ques_code like", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotLike(String value) { |
|||
addCriterion("ques_code not like", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIn(List<String> values) { |
|||
addCriterion("ques_code in", values, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotIn(List<String> values) { |
|||
addCriterion("ques_code not in", values, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeBetween(String value1, String value2) { |
|||
addCriterion("ques_code between", value1, value2, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotBetween(String value1, String value2) { |
|||
addCriterion("ques_code not between", value1, value2, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeIsNull() { |
|||
addCriterion("option_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeIsNotNull() { |
|||
addCriterion("option_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeEqualTo(String value) { |
|||
addCriterion("option_code =", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeNotEqualTo(String value) { |
|||
addCriterion("option_code <>", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeGreaterThan(String value) { |
|||
addCriterion("option_code >", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("option_code >=", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeLessThan(String value) { |
|||
addCriterion("option_code <", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("option_code <=", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeLike(String value) { |
|||
addCriterion("option_code like", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeNotLike(String value) { |
|||
addCriterion("option_code not like", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeIn(List<String> values) { |
|||
addCriterion("option_code in", values, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeNotIn(List<String> values) { |
|||
addCriterion("option_code not in", values, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeBetween(String value1, String value2) { |
|||
addCriterion("option_code between", value1, value2, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeNotBetween(String value1, String value2) { |
|||
addCriterion("option_code not between", value1, value2, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameIsNull() { |
|||
addCriterion("option_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameIsNotNull() { |
|||
addCriterion("option_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameEqualTo(String value) { |
|||
addCriterion("option_name =", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameNotEqualTo(String value) { |
|||
addCriterion("option_name <>", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameGreaterThan(String value) { |
|||
addCriterion("option_name >", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("option_name >=", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameLessThan(String value) { |
|||
addCriterion("option_name <", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameLessThanOrEqualTo(String value) { |
|||
addCriterion("option_name <=", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameLike(String value) { |
|||
addCriterion("option_name like", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameNotLike(String value) { |
|||
addCriterion("option_name not like", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameIn(List<String> values) { |
|||
addCriterion("option_name in", values, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameNotIn(List<String> values) { |
|||
addCriterion("option_name not in", values, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameBetween(String value1, String value2) { |
|||
addCriterion("option_name between", value1, value2, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameNotBetween(String value1, String value2) { |
|||
addCriterion("option_name not between", value1, value2, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreIsNull() { |
|||
addCriterion("option_score is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreIsNotNull() { |
|||
addCriterion("option_score is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreEqualTo(BigDecimal value) { |
|||
addCriterion("option_score =", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreNotEqualTo(BigDecimal value) { |
|||
addCriterion("option_score <>", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreGreaterThan(BigDecimal value) { |
|||
addCriterion("option_score >", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreGreaterThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("option_score >=", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreLessThan(BigDecimal value) { |
|||
addCriterion("option_score <", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreLessThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("option_score <=", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreIn(List<BigDecimal> values) { |
|||
addCriterion("option_score in", values, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreNotIn(List<BigDecimal> values) { |
|||
addCriterion("option_score not in", values, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("option_score between", value1, value2, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreNotBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("option_score not between", value1, value2, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,106 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzQmsScale implements Serializable { |
|||
private Long scaleId; |
|||
|
|||
private String scaleCode; |
|||
|
|||
private String scaleName; |
|||
|
|||
private String delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getScaleId() { |
|||
return scaleId; |
|||
} |
|||
|
|||
public void setScaleId(Long scaleId) { |
|||
this.scaleId = scaleId; |
|||
} |
|||
|
|||
public String getScaleCode() { |
|||
return scaleCode; |
|||
} |
|||
|
|||
public void setScaleCode(String scaleCode) { |
|||
this.scaleCode = scaleCode == null ? null : scaleCode.trim(); |
|||
} |
|||
|
|||
public String getScaleName() { |
|||
return scaleName; |
|||
} |
|||
|
|||
public void setScaleName(String scaleName) { |
|||
this.scaleName = scaleName == null ? null : scaleName.trim(); |
|||
} |
|||
|
|||
public String getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(String delFlag) { |
|||
this.delFlag = delFlag == null ? null : delFlag.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", scaleId=").append(scaleId); |
|||
sb.append(", scaleCode=").append(scaleCode); |
|||
sb.append(", scaleName=").append(scaleName); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,117 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzQmsScaleConsti implements Serializable { |
|||
private Long constiId; |
|||
|
|||
private String scaleCode; |
|||
|
|||
private String constiCode; |
|||
|
|||
private String constiName; |
|||
|
|||
private String delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getConstiId() { |
|||
return constiId; |
|||
} |
|||
|
|||
public void setConstiId(Long constiId) { |
|||
this.constiId = constiId; |
|||
} |
|||
|
|||
public String getScaleCode() { |
|||
return scaleCode; |
|||
} |
|||
|
|||
public void setScaleCode(String scaleCode) { |
|||
this.scaleCode = scaleCode == null ? null : scaleCode.trim(); |
|||
} |
|||
|
|||
public String getConstiCode() { |
|||
return constiCode; |
|||
} |
|||
|
|||
public void setConstiCode(String constiCode) { |
|||
this.constiCode = constiCode == null ? null : constiCode.trim(); |
|||
} |
|||
|
|||
public String getConstiName() { |
|||
return constiName; |
|||
} |
|||
|
|||
public void setConstiName(String constiName) { |
|||
this.constiName = constiName == null ? null : constiName.trim(); |
|||
} |
|||
|
|||
public String getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(String delFlag) { |
|||
this.delFlag = delFlag == null ? null : delFlag.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", constiId=").append(constiId); |
|||
sb.append(", scaleCode=").append(scaleCode); |
|||
sb.append(", constiCode=").append(constiCode); |
|||
sb.append(", constiName=").append(constiName); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,801 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzQmsScaleConstiExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzQmsScaleConstiExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andConstiIdIsNull() { |
|||
addCriterion("consti_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdIsNotNull() { |
|||
addCriterion("consti_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdEqualTo(Long value) { |
|||
addCriterion("consti_id =", value, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdNotEqualTo(Long value) { |
|||
addCriterion("consti_id <>", value, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdGreaterThan(Long value) { |
|||
addCriterion("consti_id >", value, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("consti_id >=", value, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdLessThan(Long value) { |
|||
addCriterion("consti_id <", value, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("consti_id <=", value, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdIn(List<Long> values) { |
|||
addCriterion("consti_id in", values, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdNotIn(List<Long> values) { |
|||
addCriterion("consti_id not in", values, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdBetween(Long value1, Long value2) { |
|||
addCriterion("consti_id between", value1, value2, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("consti_id not between", value1, value2, "constiId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIsNull() { |
|||
addCriterion("scale_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIsNotNull() { |
|||
addCriterion("scale_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeEqualTo(String value) { |
|||
addCriterion("scale_code =", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotEqualTo(String value) { |
|||
addCriterion("scale_code <>", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeGreaterThan(String value) { |
|||
addCriterion("scale_code >", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("scale_code >=", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLessThan(String value) { |
|||
addCriterion("scale_code <", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("scale_code <=", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLike(String value) { |
|||
addCriterion("scale_code like", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotLike(String value) { |
|||
addCriterion("scale_code not like", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIn(List<String> values) { |
|||
addCriterion("scale_code in", values, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotIn(List<String> values) { |
|||
addCriterion("scale_code not in", values, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeBetween(String value1, String value2) { |
|||
addCriterion("scale_code between", value1, value2, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotBetween(String value1, String value2) { |
|||
addCriterion("scale_code not between", value1, value2, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNull() { |
|||
addCriterion("consti_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNotNull() { |
|||
addCriterion("consti_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeEqualTo(String value) { |
|||
addCriterion("consti_code =", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotEqualTo(String value) { |
|||
addCriterion("consti_code <>", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThan(String value) { |
|||
addCriterion("consti_code >", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_code >=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThan(String value) { |
|||
addCriterion("consti_code <", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_code <=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLike(String value) { |
|||
addCriterion("consti_code like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotLike(String value) { |
|||
addCriterion("consti_code not like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIn(List<String> values) { |
|||
addCriterion("consti_code in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotIn(List<String> values) { |
|||
addCriterion("consti_code not in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeBetween(String value1, String value2) { |
|||
addCriterion("consti_code between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
|||
addCriterion("consti_code not between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIsNull() { |
|||
addCriterion("consti_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIsNotNull() { |
|||
addCriterion("consti_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameEqualTo(String value) { |
|||
addCriterion("consti_name =", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotEqualTo(String value) { |
|||
addCriterion("consti_name <>", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameGreaterThan(String value) { |
|||
addCriterion("consti_name >", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_name >=", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLessThan(String value) { |
|||
addCriterion("consti_name <", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_name <=", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLike(String value) { |
|||
addCriterion("consti_name like", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotLike(String value) { |
|||
addCriterion("consti_name not like", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIn(List<String> values) { |
|||
addCriterion("consti_name in", values, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotIn(List<String> values) { |
|||
addCriterion("consti_name not in", values, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameBetween(String value1, String value2) { |
|||
addCriterion("consti_name between", value1, value2, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotBetween(String value1, String value2) { |
|||
addCriterion("consti_name not between", value1, value2, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(String value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(String value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(String value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(String value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLike(String value) { |
|||
addCriterion("del_flag like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotLike(String value) { |
|||
addCriterion("del_flag not like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<String> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<String> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(String value1, String value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(String value1, String value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,117 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzQmsScaleConstiQuesRel implements Serializable { |
|||
private Long id; |
|||
|
|||
private String constiCode; |
|||
|
|||
private String quesCode; |
|||
|
|||
private Byte reverse; |
|||
|
|||
private String delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getConstiCode() { |
|||
return constiCode; |
|||
} |
|||
|
|||
public void setConstiCode(String constiCode) { |
|||
this.constiCode = constiCode == null ? null : constiCode.trim(); |
|||
} |
|||
|
|||
public String getQuesCode() { |
|||
return quesCode; |
|||
} |
|||
|
|||
public void setQuesCode(String quesCode) { |
|||
this.quesCode = quesCode == null ? null : quesCode.trim(); |
|||
} |
|||
|
|||
public Byte getReverse() { |
|||
return reverse; |
|||
} |
|||
|
|||
public void setReverse(Byte reverse) { |
|||
this.reverse = reverse; |
|||
} |
|||
|
|||
public String getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(String delFlag) { |
|||
this.delFlag = delFlag == null ? null : delFlag.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", constiCode=").append(constiCode); |
|||
sb.append(", quesCode=").append(quesCode); |
|||
sb.append(", reverse=").append(reverse); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,791 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzQmsScaleConstiQuesRelExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzQmsScaleConstiQuesRelExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNull() { |
|||
addCriterion("consti_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNotNull() { |
|||
addCriterion("consti_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeEqualTo(String value) { |
|||
addCriterion("consti_code =", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotEqualTo(String value) { |
|||
addCriterion("consti_code <>", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThan(String value) { |
|||
addCriterion("consti_code >", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_code >=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThan(String value) { |
|||
addCriterion("consti_code <", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_code <=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLike(String value) { |
|||
addCriterion("consti_code like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotLike(String value) { |
|||
addCriterion("consti_code not like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIn(List<String> values) { |
|||
addCriterion("consti_code in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotIn(List<String> values) { |
|||
addCriterion("consti_code not in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeBetween(String value1, String value2) { |
|||
addCriterion("consti_code between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
|||
addCriterion("consti_code not between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIsNull() { |
|||
addCriterion("ques_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIsNotNull() { |
|||
addCriterion("ques_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeEqualTo(String value) { |
|||
addCriterion("ques_code =", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotEqualTo(String value) { |
|||
addCriterion("ques_code <>", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeGreaterThan(String value) { |
|||
addCriterion("ques_code >", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("ques_code >=", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLessThan(String value) { |
|||
addCriterion("ques_code <", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("ques_code <=", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLike(String value) { |
|||
addCriterion("ques_code like", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotLike(String value) { |
|||
addCriterion("ques_code not like", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIn(List<String> values) { |
|||
addCriterion("ques_code in", values, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotIn(List<String> values) { |
|||
addCriterion("ques_code not in", values, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeBetween(String value1, String value2) { |
|||
addCriterion("ques_code between", value1, value2, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotBetween(String value1, String value2) { |
|||
addCriterion("ques_code not between", value1, value2, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseIsNull() { |
|||
addCriterion("reverse is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseIsNotNull() { |
|||
addCriterion("reverse is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseEqualTo(Byte value) { |
|||
addCriterion("reverse =", value, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseNotEqualTo(Byte value) { |
|||
addCriterion("reverse <>", value, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseGreaterThan(Byte value) { |
|||
addCriterion("reverse >", value, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseGreaterThanOrEqualTo(Byte value) { |
|||
addCriterion("reverse >=", value, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseLessThan(Byte value) { |
|||
addCriterion("reverse <", value, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseLessThanOrEqualTo(Byte value) { |
|||
addCriterion("reverse <=", value, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseIn(List<Byte> values) { |
|||
addCriterion("reverse in", values, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseNotIn(List<Byte> values) { |
|||
addCriterion("reverse not in", values, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseBetween(Byte value1, Byte value2) { |
|||
addCriterion("reverse between", value1, value2, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReverseNotBetween(Byte value1, Byte value2) { |
|||
addCriterion("reverse not between", value1, value2, "reverse"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(String value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(String value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(String value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(String value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLike(String value) { |
|||
addCriterion("del_flag like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotLike(String value) { |
|||
addCriterion("del_flag not like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<String> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<String> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(String value1, String value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(String value1, String value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,129 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzQmsScaleConstiRefScore implements Serializable { |
|||
private Long id; |
|||
|
|||
private String constiCode; |
|||
|
|||
private BigDecimal refScoreYes; |
|||
|
|||
private BigDecimal refScoreMaybe; |
|||
|
|||
private BigDecimal fullScore; |
|||
|
|||
private String delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getConstiCode() { |
|||
return constiCode; |
|||
} |
|||
|
|||
public void setConstiCode(String constiCode) { |
|||
this.constiCode = constiCode == null ? null : constiCode.trim(); |
|||
} |
|||
|
|||
public BigDecimal getRefScoreYes() { |
|||
return refScoreYes; |
|||
} |
|||
|
|||
public void setRefScoreYes(BigDecimal refScoreYes) { |
|||
this.refScoreYes = refScoreYes; |
|||
} |
|||
|
|||
public BigDecimal getRefScoreMaybe() { |
|||
return refScoreMaybe; |
|||
} |
|||
|
|||
public void setRefScoreMaybe(BigDecimal refScoreMaybe) { |
|||
this.refScoreMaybe = refScoreMaybe; |
|||
} |
|||
|
|||
public BigDecimal getFullScore() { |
|||
return fullScore; |
|||
} |
|||
|
|||
public void setFullScore(BigDecimal fullScore) { |
|||
this.fullScore = fullScore; |
|||
} |
|||
|
|||
public String getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(String delFlag) { |
|||
this.delFlag = delFlag == null ? null : delFlag.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", constiCode=").append(constiCode); |
|||
sb.append(", refScoreYes=").append(refScoreYes); |
|||
sb.append(", refScoreMaybe=").append(refScoreMaybe); |
|||
sb.append(", fullScore=").append(fullScore); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,842 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzQmsScaleConstiRefScoreExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzQmsScaleConstiRefScoreExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNull() { |
|||
addCriterion("consti_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNotNull() { |
|||
addCriterion("consti_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeEqualTo(String value) { |
|||
addCriterion("consti_code =", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotEqualTo(String value) { |
|||
addCriterion("consti_code <>", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThan(String value) { |
|||
addCriterion("consti_code >", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_code >=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThan(String value) { |
|||
addCriterion("consti_code <", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_code <=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLike(String value) { |
|||
addCriterion("consti_code like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotLike(String value) { |
|||
addCriterion("consti_code not like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIn(List<String> values) { |
|||
addCriterion("consti_code in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotIn(List<String> values) { |
|||
addCriterion("consti_code not in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeBetween(String value1, String value2) { |
|||
addCriterion("consti_code between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
|||
addCriterion("consti_code not between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesIsNull() { |
|||
addCriterion("ref_score_yes is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesIsNotNull() { |
|||
addCriterion("ref_score_yes is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesEqualTo(BigDecimal value) { |
|||
addCriterion("ref_score_yes =", value, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesNotEqualTo(BigDecimal value) { |
|||
addCriterion("ref_score_yes <>", value, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesGreaterThan(BigDecimal value) { |
|||
addCriterion("ref_score_yes >", value, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesGreaterThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("ref_score_yes >=", value, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesLessThan(BigDecimal value) { |
|||
addCriterion("ref_score_yes <", value, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesLessThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("ref_score_yes <=", value, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesIn(List<BigDecimal> values) { |
|||
addCriterion("ref_score_yes in", values, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesNotIn(List<BigDecimal> values) { |
|||
addCriterion("ref_score_yes not in", values, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("ref_score_yes between", value1, value2, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreYesNotBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("ref_score_yes not between", value1, value2, "refScoreYes"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeIsNull() { |
|||
addCriterion("ref_score_Maybe is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeIsNotNull() { |
|||
addCriterion("ref_score_Maybe is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeEqualTo(BigDecimal value) { |
|||
addCriterion("ref_score_Maybe =", value, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeNotEqualTo(BigDecimal value) { |
|||
addCriterion("ref_score_Maybe <>", value, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeGreaterThan(BigDecimal value) { |
|||
addCriterion("ref_score_Maybe >", value, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeGreaterThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("ref_score_Maybe >=", value, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeLessThan(BigDecimal value) { |
|||
addCriterion("ref_score_Maybe <", value, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeLessThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("ref_score_Maybe <=", value, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeIn(List<BigDecimal> values) { |
|||
addCriterion("ref_score_Maybe in", values, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeNotIn(List<BigDecimal> values) { |
|||
addCriterion("ref_score_Maybe not in", values, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("ref_score_Maybe between", value1, value2, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRefScoreMaybeNotBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("ref_score_Maybe not between", value1, value2, "refScoreMaybe"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreIsNull() { |
|||
addCriterion("full_score is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreIsNotNull() { |
|||
addCriterion("full_score is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreEqualTo(BigDecimal value) { |
|||
addCriterion("full_score =", value, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreNotEqualTo(BigDecimal value) { |
|||
addCriterion("full_score <>", value, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreGreaterThan(BigDecimal value) { |
|||
addCriterion("full_score >", value, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreGreaterThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("full_score >=", value, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreLessThan(BigDecimal value) { |
|||
addCriterion("full_score <", value, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreLessThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("full_score <=", value, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreIn(List<BigDecimal> values) { |
|||
addCriterion("full_score in", values, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreNotIn(List<BigDecimal> values) { |
|||
addCriterion("full_score not in", values, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("full_score between", value1, value2, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andFullScoreNotBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("full_score not between", value1, value2, "fullScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(String value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(String value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(String value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(String value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLike(String value) { |
|||
addCriterion("del_flag like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotLike(String value) { |
|||
addCriterion("del_flag not like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<String> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<String> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(String value1, String value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(String value1, String value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,106 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzQmsScaleConstiYsfa implements Serializable { |
|||
private Long id; |
|||
|
|||
private String constiCode; |
|||
|
|||
private String delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String constiYsfaTemplate; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getConstiCode() { |
|||
return constiCode; |
|||
} |
|||
|
|||
public void setConstiCode(String constiCode) { |
|||
this.constiCode = constiCode == null ? null : constiCode.trim(); |
|||
} |
|||
|
|||
public String getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(String delFlag) { |
|||
this.delFlag = delFlag == null ? null : delFlag.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getConstiYsfaTemplate() { |
|||
return constiYsfaTemplate; |
|||
} |
|||
|
|||
public void setConstiYsfaTemplate(String constiYsfaTemplate) { |
|||
this.constiYsfaTemplate = constiYsfaTemplate == null ? null : constiYsfaTemplate.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", constiCode=").append(constiCode); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", constiYsfaTemplate=").append(constiYsfaTemplate); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,661 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzQmsScaleConstiYsfaExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzQmsScaleConstiYsfaExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNull() { |
|||
addCriterion("consti_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNotNull() { |
|||
addCriterion("consti_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeEqualTo(String value) { |
|||
addCriterion("consti_code =", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotEqualTo(String value) { |
|||
addCriterion("consti_code <>", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThan(String value) { |
|||
addCriterion("consti_code >", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_code >=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThan(String value) { |
|||
addCriterion("consti_code <", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_code <=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLike(String value) { |
|||
addCriterion("consti_code like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotLike(String value) { |
|||
addCriterion("consti_code not like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIn(List<String> values) { |
|||
addCriterion("consti_code in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotIn(List<String> values) { |
|||
addCriterion("consti_code not in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeBetween(String value1, String value2) { |
|||
addCriterion("consti_code between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
|||
addCriterion("consti_code not between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(String value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(String value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(String value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(String value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLike(String value) { |
|||
addCriterion("del_flag like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotLike(String value) { |
|||
addCriterion("del_flag not like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<String> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<String> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(String value1, String value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(String value1, String value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,731 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzQmsScaleExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzQmsScaleExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andScaleIdIsNull() { |
|||
addCriterion("scale_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdIsNotNull() { |
|||
addCriterion("scale_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdEqualTo(Long value) { |
|||
addCriterion("scale_id =", value, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdNotEqualTo(Long value) { |
|||
addCriterion("scale_id <>", value, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdGreaterThan(Long value) { |
|||
addCriterion("scale_id >", value, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("scale_id >=", value, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdLessThan(Long value) { |
|||
addCriterion("scale_id <", value, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("scale_id <=", value, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdIn(List<Long> values) { |
|||
addCriterion("scale_id in", values, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdNotIn(List<Long> values) { |
|||
addCriterion("scale_id not in", values, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdBetween(Long value1, Long value2) { |
|||
addCriterion("scale_id between", value1, value2, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("scale_id not between", value1, value2, "scaleId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIsNull() { |
|||
addCriterion("scale_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIsNotNull() { |
|||
addCriterion("scale_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeEqualTo(String value) { |
|||
addCriterion("scale_code =", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotEqualTo(String value) { |
|||
addCriterion("scale_code <>", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeGreaterThan(String value) { |
|||
addCriterion("scale_code >", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("scale_code >=", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLessThan(String value) { |
|||
addCriterion("scale_code <", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("scale_code <=", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLike(String value) { |
|||
addCriterion("scale_code like", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotLike(String value) { |
|||
addCriterion("scale_code not like", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIn(List<String> values) { |
|||
addCriterion("scale_code in", values, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotIn(List<String> values) { |
|||
addCriterion("scale_code not in", values, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeBetween(String value1, String value2) { |
|||
addCriterion("scale_code between", value1, value2, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotBetween(String value1, String value2) { |
|||
addCriterion("scale_code not between", value1, value2, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameIsNull() { |
|||
addCriterion("scale_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameIsNotNull() { |
|||
addCriterion("scale_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameEqualTo(String value) { |
|||
addCriterion("scale_name =", value, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameNotEqualTo(String value) { |
|||
addCriterion("scale_name <>", value, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameGreaterThan(String value) { |
|||
addCriterion("scale_name >", value, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("scale_name >=", value, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameLessThan(String value) { |
|||
addCriterion("scale_name <", value, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameLessThanOrEqualTo(String value) { |
|||
addCriterion("scale_name <=", value, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameLike(String value) { |
|||
addCriterion("scale_name like", value, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameNotLike(String value) { |
|||
addCriterion("scale_name not like", value, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameIn(List<String> values) { |
|||
addCriterion("scale_name in", values, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameNotIn(List<String> values) { |
|||
addCriterion("scale_name not in", values, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameBetween(String value1, String value2) { |
|||
addCriterion("scale_name between", value1, value2, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleNameNotBetween(String value1, String value2) { |
|||
addCriterion("scale_name not between", value1, value2, "scaleName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(String value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(String value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(String value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(String value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLike(String value) { |
|||
addCriterion("del_flag like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotLike(String value) { |
|||
addCriterion("del_flag not like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<String> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<String> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(String value1, String value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(String value1, String value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,139 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzQmsScaleQuestion implements Serializable { |
|||
private Long quesId; |
|||
|
|||
private String scaleCode; |
|||
|
|||
private String quesCode; |
|||
|
|||
private Integer quesSort; |
|||
|
|||
private String quesName; |
|||
|
|||
private String genderApply; |
|||
|
|||
private String delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getQuesId() { |
|||
return quesId; |
|||
} |
|||
|
|||
public void setQuesId(Long quesId) { |
|||
this.quesId = quesId; |
|||
} |
|||
|
|||
public String getScaleCode() { |
|||
return scaleCode; |
|||
} |
|||
|
|||
public void setScaleCode(String scaleCode) { |
|||
this.scaleCode = scaleCode == null ? null : scaleCode.trim(); |
|||
} |
|||
|
|||
public String getQuesCode() { |
|||
return quesCode; |
|||
} |
|||
|
|||
public void setQuesCode(String quesCode) { |
|||
this.quesCode = quesCode == null ? null : quesCode.trim(); |
|||
} |
|||
|
|||
public Integer getQuesSort() { |
|||
return quesSort; |
|||
} |
|||
|
|||
public void setQuesSort(Integer quesSort) { |
|||
this.quesSort = quesSort; |
|||
} |
|||
|
|||
public String getQuesName() { |
|||
return quesName; |
|||
} |
|||
|
|||
public void setQuesName(String quesName) { |
|||
this.quesName = quesName == null ? null : quesName.trim(); |
|||
} |
|||
|
|||
public String getGenderApply() { |
|||
return genderApply; |
|||
} |
|||
|
|||
public void setGenderApply(String genderApply) { |
|||
this.genderApply = genderApply == null ? null : genderApply.trim(); |
|||
} |
|||
|
|||
public String getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(String delFlag) { |
|||
this.delFlag = delFlag == null ? null : delFlag.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", quesId=").append(quesId); |
|||
sb.append(", scaleCode=").append(scaleCode); |
|||
sb.append(", quesCode=").append(quesCode); |
|||
sb.append(", quesSort=").append(quesSort); |
|||
sb.append(", quesName=").append(quesName); |
|||
sb.append(", genderApply=").append(genderApply); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,931 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzQmsScaleQuestionExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzQmsScaleQuestionExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andQuesIdIsNull() { |
|||
addCriterion("ques_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdIsNotNull() { |
|||
addCriterion("ques_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdEqualTo(Long value) { |
|||
addCriterion("ques_id =", value, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdNotEqualTo(Long value) { |
|||
addCriterion("ques_id <>", value, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdGreaterThan(Long value) { |
|||
addCriterion("ques_id >", value, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("ques_id >=", value, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdLessThan(Long value) { |
|||
addCriterion("ques_id <", value, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("ques_id <=", value, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdIn(List<Long> values) { |
|||
addCriterion("ques_id in", values, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdNotIn(List<Long> values) { |
|||
addCriterion("ques_id not in", values, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdBetween(Long value1, Long value2) { |
|||
addCriterion("ques_id between", value1, value2, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("ques_id not between", value1, value2, "quesId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIsNull() { |
|||
addCriterion("scale_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIsNotNull() { |
|||
addCriterion("scale_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeEqualTo(String value) { |
|||
addCriterion("scale_code =", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotEqualTo(String value) { |
|||
addCriterion("scale_code <>", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeGreaterThan(String value) { |
|||
addCriterion("scale_code >", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("scale_code >=", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLessThan(String value) { |
|||
addCriterion("scale_code <", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("scale_code <=", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeLike(String value) { |
|||
addCriterion("scale_code like", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotLike(String value) { |
|||
addCriterion("scale_code not like", value, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeIn(List<String> values) { |
|||
addCriterion("scale_code in", values, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotIn(List<String> values) { |
|||
addCriterion("scale_code not in", values, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeBetween(String value1, String value2) { |
|||
addCriterion("scale_code between", value1, value2, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andScaleCodeNotBetween(String value1, String value2) { |
|||
addCriterion("scale_code not between", value1, value2, "scaleCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIsNull() { |
|||
addCriterion("ques_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIsNotNull() { |
|||
addCriterion("ques_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeEqualTo(String value) { |
|||
addCriterion("ques_code =", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotEqualTo(String value) { |
|||
addCriterion("ques_code <>", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeGreaterThan(String value) { |
|||
addCriterion("ques_code >", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("ques_code >=", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLessThan(String value) { |
|||
addCriterion("ques_code <", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("ques_code <=", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLike(String value) { |
|||
addCriterion("ques_code like", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotLike(String value) { |
|||
addCriterion("ques_code not like", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIn(List<String> values) { |
|||
addCriterion("ques_code in", values, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotIn(List<String> values) { |
|||
addCriterion("ques_code not in", values, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeBetween(String value1, String value2) { |
|||
addCriterion("ques_code between", value1, value2, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotBetween(String value1, String value2) { |
|||
addCriterion("ques_code not between", value1, value2, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortIsNull() { |
|||
addCriterion("ques_sort is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortIsNotNull() { |
|||
addCriterion("ques_sort is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortEqualTo(Integer value) { |
|||
addCriterion("ques_sort =", value, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortNotEqualTo(Integer value) { |
|||
addCriterion("ques_sort <>", value, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortGreaterThan(Integer value) { |
|||
addCriterion("ques_sort >", value, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortGreaterThanOrEqualTo(Integer value) { |
|||
addCriterion("ques_sort >=", value, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortLessThan(Integer value) { |
|||
addCriterion("ques_sort <", value, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortLessThanOrEqualTo(Integer value) { |
|||
addCriterion("ques_sort <=", value, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortIn(List<Integer> values) { |
|||
addCriterion("ques_sort in", values, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortNotIn(List<Integer> values) { |
|||
addCriterion("ques_sort not in", values, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortBetween(Integer value1, Integer value2) { |
|||
addCriterion("ques_sort between", value1, value2, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesSortNotBetween(Integer value1, Integer value2) { |
|||
addCriterion("ques_sort not between", value1, value2, "quesSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameIsNull() { |
|||
addCriterion("ques_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameIsNotNull() { |
|||
addCriterion("ques_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameEqualTo(String value) { |
|||
addCriterion("ques_name =", value, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameNotEqualTo(String value) { |
|||
addCriterion("ques_name <>", value, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameGreaterThan(String value) { |
|||
addCriterion("ques_name >", value, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("ques_name >=", value, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameLessThan(String value) { |
|||
addCriterion("ques_name <", value, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameLessThanOrEqualTo(String value) { |
|||
addCriterion("ques_name <=", value, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameLike(String value) { |
|||
addCriterion("ques_name like", value, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameNotLike(String value) { |
|||
addCriterion("ques_name not like", value, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameIn(List<String> values) { |
|||
addCriterion("ques_name in", values, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameNotIn(List<String> values) { |
|||
addCriterion("ques_name not in", values, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameBetween(String value1, String value2) { |
|||
addCriterion("ques_name between", value1, value2, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesNameNotBetween(String value1, String value2) { |
|||
addCriterion("ques_name not between", value1, value2, "quesName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyIsNull() { |
|||
addCriterion("gender_apply is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyIsNotNull() { |
|||
addCriterion("gender_apply is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyEqualTo(String value) { |
|||
addCriterion("gender_apply =", value, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyNotEqualTo(String value) { |
|||
addCriterion("gender_apply <>", value, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyGreaterThan(String value) { |
|||
addCriterion("gender_apply >", value, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyGreaterThanOrEqualTo(String value) { |
|||
addCriterion("gender_apply >=", value, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyLessThan(String value) { |
|||
addCriterion("gender_apply <", value, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyLessThanOrEqualTo(String value) { |
|||
addCriterion("gender_apply <=", value, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyLike(String value) { |
|||
addCriterion("gender_apply like", value, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyNotLike(String value) { |
|||
addCriterion("gender_apply not like", value, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyIn(List<String> values) { |
|||
addCriterion("gender_apply in", values, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyNotIn(List<String> values) { |
|||
addCriterion("gender_apply not in", values, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyBetween(String value1, String value2) { |
|||
addCriterion("gender_apply between", value1, value2, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andGenderApplyNotBetween(String value1, String value2) { |
|||
addCriterion("gender_apply not between", value1, value2, "genderApply"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(String value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(String value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(String value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(String value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLike(String value) { |
|||
addCriterion("del_flag like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotLike(String value) { |
|||
addCriterion("del_flag not like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<String> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<String> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(String value1, String value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(String value1, String value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,140 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzQmsScaleQuestionOption implements Serializable { |
|||
private Long optionId; |
|||
|
|||
private String quesCode; |
|||
|
|||
private String optionCode; |
|||
|
|||
private String optionName; |
|||
|
|||
private BigDecimal optionScore; |
|||
|
|||
private String optionSort; |
|||
|
|||
private String delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getOptionId() { |
|||
return optionId; |
|||
} |
|||
|
|||
public void setOptionId(Long optionId) { |
|||
this.optionId = optionId; |
|||
} |
|||
|
|||
public String getQuesCode() { |
|||
return quesCode; |
|||
} |
|||
|
|||
public void setQuesCode(String quesCode) { |
|||
this.quesCode = quesCode == null ? null : quesCode.trim(); |
|||
} |
|||
|
|||
public String getOptionCode() { |
|||
return optionCode; |
|||
} |
|||
|
|||
public void setOptionCode(String optionCode) { |
|||
this.optionCode = optionCode == null ? null : optionCode.trim(); |
|||
} |
|||
|
|||
public String getOptionName() { |
|||
return optionName; |
|||
} |
|||
|
|||
public void setOptionName(String optionName) { |
|||
this.optionName = optionName == null ? null : optionName.trim(); |
|||
} |
|||
|
|||
public BigDecimal getOptionScore() { |
|||
return optionScore; |
|||
} |
|||
|
|||
public void setOptionScore(BigDecimal optionScore) { |
|||
this.optionScore = optionScore; |
|||
} |
|||
|
|||
public String getOptionSort() { |
|||
return optionSort; |
|||
} |
|||
|
|||
public void setOptionSort(String optionSort) { |
|||
this.optionSort = optionSort == null ? null : optionSort.trim(); |
|||
} |
|||
|
|||
public String getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(String delFlag) { |
|||
this.delFlag = delFlag == null ? null : delFlag.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", optionId=").append(optionId); |
|||
sb.append(", quesCode=").append(quesCode); |
|||
sb.append(", optionCode=").append(optionCode); |
|||
sb.append(", optionName=").append(optionName); |
|||
sb.append(", optionScore=").append(optionScore); |
|||
sb.append(", optionSort=").append(optionSort); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,932 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzQmsScaleQuestionOptionExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzQmsScaleQuestionOptionExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andOptionIdIsNull() { |
|||
addCriterion("option_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdIsNotNull() { |
|||
addCriterion("option_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdEqualTo(Long value) { |
|||
addCriterion("option_id =", value, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdNotEqualTo(Long value) { |
|||
addCriterion("option_id <>", value, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdGreaterThan(Long value) { |
|||
addCriterion("option_id >", value, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("option_id >=", value, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdLessThan(Long value) { |
|||
addCriterion("option_id <", value, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("option_id <=", value, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdIn(List<Long> values) { |
|||
addCriterion("option_id in", values, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdNotIn(List<Long> values) { |
|||
addCriterion("option_id not in", values, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdBetween(Long value1, Long value2) { |
|||
addCriterion("option_id between", value1, value2, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("option_id not between", value1, value2, "optionId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIsNull() { |
|||
addCriterion("ques_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIsNotNull() { |
|||
addCriterion("ques_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeEqualTo(String value) { |
|||
addCriterion("ques_code =", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotEqualTo(String value) { |
|||
addCriterion("ques_code <>", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeGreaterThan(String value) { |
|||
addCriterion("ques_code >", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("ques_code >=", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLessThan(String value) { |
|||
addCriterion("ques_code <", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("ques_code <=", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeLike(String value) { |
|||
addCriterion("ques_code like", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotLike(String value) { |
|||
addCriterion("ques_code not like", value, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeIn(List<String> values) { |
|||
addCriterion("ques_code in", values, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotIn(List<String> values) { |
|||
addCriterion("ques_code not in", values, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeBetween(String value1, String value2) { |
|||
addCriterion("ques_code between", value1, value2, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andQuesCodeNotBetween(String value1, String value2) { |
|||
addCriterion("ques_code not between", value1, value2, "quesCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeIsNull() { |
|||
addCriterion("option_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeIsNotNull() { |
|||
addCriterion("option_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeEqualTo(String value) { |
|||
addCriterion("option_code =", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeNotEqualTo(String value) { |
|||
addCriterion("option_code <>", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeGreaterThan(String value) { |
|||
addCriterion("option_code >", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("option_code >=", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeLessThan(String value) { |
|||
addCriterion("option_code <", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("option_code <=", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeLike(String value) { |
|||
addCriterion("option_code like", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeNotLike(String value) { |
|||
addCriterion("option_code not like", value, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeIn(List<String> values) { |
|||
addCriterion("option_code in", values, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeNotIn(List<String> values) { |
|||
addCriterion("option_code not in", values, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeBetween(String value1, String value2) { |
|||
addCriterion("option_code between", value1, value2, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionCodeNotBetween(String value1, String value2) { |
|||
addCriterion("option_code not between", value1, value2, "optionCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameIsNull() { |
|||
addCriterion("option_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameIsNotNull() { |
|||
addCriterion("option_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameEqualTo(String value) { |
|||
addCriterion("option_name =", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameNotEqualTo(String value) { |
|||
addCriterion("option_name <>", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameGreaterThan(String value) { |
|||
addCriterion("option_name >", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("option_name >=", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameLessThan(String value) { |
|||
addCriterion("option_name <", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameLessThanOrEqualTo(String value) { |
|||
addCriterion("option_name <=", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameLike(String value) { |
|||
addCriterion("option_name like", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameNotLike(String value) { |
|||
addCriterion("option_name not like", value, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameIn(List<String> values) { |
|||
addCriterion("option_name in", values, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameNotIn(List<String> values) { |
|||
addCriterion("option_name not in", values, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameBetween(String value1, String value2) { |
|||
addCriterion("option_name between", value1, value2, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionNameNotBetween(String value1, String value2) { |
|||
addCriterion("option_name not between", value1, value2, "optionName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreIsNull() { |
|||
addCriterion("option_score is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreIsNotNull() { |
|||
addCriterion("option_score is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreEqualTo(BigDecimal value) { |
|||
addCriterion("option_score =", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreNotEqualTo(BigDecimal value) { |
|||
addCriterion("option_score <>", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreGreaterThan(BigDecimal value) { |
|||
addCriterion("option_score >", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreGreaterThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("option_score >=", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreLessThan(BigDecimal value) { |
|||
addCriterion("option_score <", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreLessThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("option_score <=", value, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreIn(List<BigDecimal> values) { |
|||
addCriterion("option_score in", values, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreNotIn(List<BigDecimal> values) { |
|||
addCriterion("option_score not in", values, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("option_score between", value1, value2, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionScoreNotBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("option_score not between", value1, value2, "optionScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortIsNull() { |
|||
addCriterion("option_sort is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortIsNotNull() { |
|||
addCriterion("option_sort is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortEqualTo(String value) { |
|||
addCriterion("option_sort =", value, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortNotEqualTo(String value) { |
|||
addCriterion("option_sort <>", value, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortGreaterThan(String value) { |
|||
addCriterion("option_sort >", value, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortGreaterThanOrEqualTo(String value) { |
|||
addCriterion("option_sort >=", value, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortLessThan(String value) { |
|||
addCriterion("option_sort <", value, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortLessThanOrEqualTo(String value) { |
|||
addCriterion("option_sort <=", value, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortLike(String value) { |
|||
addCriterion("option_sort like", value, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortNotLike(String value) { |
|||
addCriterion("option_sort not like", value, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortIn(List<String> values) { |
|||
addCriterion("option_sort in", values, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortNotIn(List<String> values) { |
|||
addCriterion("option_sort not in", values, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortBetween(String value1, String value2) { |
|||
addCriterion("option_sort between", value1, value2, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOptionSortNotBetween(String value1, String value2) { |
|||
addCriterion("option_sort not between", value1, value2, "optionSort"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNull() { |
|||
addCriterion("del_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIsNotNull() { |
|||
addCriterion("del_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagEqualTo(String value) { |
|||
addCriterion("del_flag =", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotEqualTo(String value) { |
|||
addCriterion("del_flag <>", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThan(String value) { |
|||
addCriterion("del_flag >", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagGreaterThanOrEqualTo(String value) { |
|||
addCriterion("del_flag >=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThan(String value) { |
|||
addCriterion("del_flag <", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLessThanOrEqualTo(String value) { |
|||
addCriterion("del_flag <=", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagLike(String value) { |
|||
addCriterion("del_flag like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotLike(String value) { |
|||
addCriterion("del_flag not like", value, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagIn(List<String> values) { |
|||
addCriterion("del_flag in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotIn(List<String> values) { |
|||
addCriterion("del_flag not in", values, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagBetween(String value1, String value2) { |
|||
addCriterion("del_flag between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andDelFlagNotBetween(String value1, String value2) { |
|||
addCriterion("del_flag not between", value1, value2, "delFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,293 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzRmsReport implements Serializable { |
|||
private Long reportId; |
|||
|
|||
private Long deptId; |
|||
|
|||
private Long patientId; |
|||
|
|||
private String patientName; |
|||
|
|||
private String patientAge; |
|||
|
|||
private String patientGender; |
|||
|
|||
private String patientHeight; |
|||
|
|||
private String patientWeight; |
|||
|
|||
private String patientWaistline; |
|||
|
|||
private Long evaId; |
|||
|
|||
private String evaScaleCode; |
|||
|
|||
private Date evaTime; |
|||
|
|||
private String evaUsername; |
|||
|
|||
private String evaNickname; |
|||
|
|||
private String blh; |
|||
|
|||
private String delFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String patientNamePinyin; |
|||
|
|||
private String patientNamePy; |
|||
|
|||
private String patientBirthday; |
|||
|
|||
private String patientIdcard; |
|||
|
|||
private String patientPhone; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(Long reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public Long getDeptId() { |
|||
return deptId; |
|||
} |
|||
|
|||
public void setDeptId(Long deptId) { |
|||
this.deptId = deptId; |
|||
} |
|||
|
|||
public Long getPatientId() { |
|||
return patientId; |
|||
} |
|||
|
|||
public void setPatientId(Long patientId) { |
|||
this.patientId = patientId; |
|||
} |
|||
|
|||
public String getPatientName() { |
|||
return patientName; |
|||
} |
|||
|
|||
public void setPatientName(String patientName) { |
|||
this.patientName = patientName == null ? null : patientName.trim(); |
|||
} |
|||
|
|||
public String getPatientAge() { |
|||
return patientAge; |
|||
} |
|||
|
|||
public void setPatientAge(String patientAge) { |
|||
this.patientAge = patientAge == null ? null : patientAge.trim(); |
|||
} |
|||
|
|||
public String getPatientGender() { |
|||
return patientGender; |
|||
} |
|||
|
|||
public void setPatientGender(String patientGender) { |
|||
this.patientGender = patientGender == null ? null : patientGender.trim(); |
|||
} |
|||
|
|||
public String getPatientHeight() { |
|||
return patientHeight; |
|||
} |
|||
|
|||
public void setPatientHeight(String patientHeight) { |
|||
this.patientHeight = patientHeight == null ? null : patientHeight.trim(); |
|||
} |
|||
|
|||
public String getPatientWeight() { |
|||
return patientWeight; |
|||
} |
|||
|
|||
public void setPatientWeight(String patientWeight) { |
|||
this.patientWeight = patientWeight == null ? null : patientWeight.trim(); |
|||
} |
|||
|
|||
public String getPatientWaistline() { |
|||
return patientWaistline; |
|||
} |
|||
|
|||
public void setPatientWaistline(String patientWaistline) { |
|||
this.patientWaistline = patientWaistline == null ? null : patientWaistline.trim(); |
|||
} |
|||
|
|||
public Long getEvaId() { |
|||
return evaId; |
|||
} |
|||
|
|||
public void setEvaId(Long evaId) { |
|||
this.evaId = evaId; |
|||
} |
|||
|
|||
public String getEvaScaleCode() { |
|||
return evaScaleCode; |
|||
} |
|||
|
|||
public void setEvaScaleCode(String evaScaleCode) { |
|||
this.evaScaleCode = evaScaleCode == null ? null : evaScaleCode.trim(); |
|||
} |
|||
|
|||
public Date getEvaTime() { |
|||
return evaTime; |
|||
} |
|||
|
|||
public void setEvaTime(Date evaTime) { |
|||
this.evaTime = evaTime; |
|||
} |
|||
|
|||
public String getEvaUsername() { |
|||
return evaUsername; |
|||
} |
|||
|
|||
public void setEvaUsername(String evaUsername) { |
|||
this.evaUsername = evaUsername == null ? null : evaUsername.trim(); |
|||
} |
|||
|
|||
public String getEvaNickname() { |
|||
return evaNickname; |
|||
} |
|||
|
|||
public void setEvaNickname(String evaNickname) { |
|||
this.evaNickname = evaNickname == null ? null : evaNickname.trim(); |
|||
} |
|||
|
|||
public String getBlh() { |
|||
return blh; |
|||
} |
|||
|
|||
public void setBlh(String blh) { |
|||
this.blh = blh == null ? null : blh.trim(); |
|||
} |
|||
|
|||
public String getDelFlag() { |
|||
return delFlag; |
|||
} |
|||
|
|||
public void setDelFlag(String delFlag) { |
|||
this.delFlag = delFlag == null ? null : delFlag.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getPatientNamePinyin() { |
|||
return patientNamePinyin; |
|||
} |
|||
|
|||
public void setPatientNamePinyin(String patientNamePinyin) { |
|||
this.patientNamePinyin = patientNamePinyin == null ? null : patientNamePinyin.trim(); |
|||
} |
|||
|
|||
public String getPatientNamePy() { |
|||
return patientNamePy; |
|||
} |
|||
|
|||
public void setPatientNamePy(String patientNamePy) { |
|||
this.patientNamePy = patientNamePy == null ? null : patientNamePy.trim(); |
|||
} |
|||
|
|||
public String getPatientBirthday() { |
|||
return patientBirthday; |
|||
} |
|||
|
|||
public void setPatientBirthday(String patientBirthday) { |
|||
this.patientBirthday = patientBirthday == null ? null : patientBirthday.trim(); |
|||
} |
|||
|
|||
public String getPatientIdcard() { |
|||
return patientIdcard; |
|||
} |
|||
|
|||
public void setPatientIdcard(String patientIdcard) { |
|||
this.patientIdcard = patientIdcard == null ? null : patientIdcard.trim(); |
|||
} |
|||
|
|||
public String getPatientPhone() { |
|||
return patientPhone; |
|||
} |
|||
|
|||
public void setPatientPhone(String patientPhone) { |
|||
this.patientPhone = patientPhone == null ? null : patientPhone.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", reportId=").append(reportId); |
|||
sb.append(", deptId=").append(deptId); |
|||
sb.append(", patientId=").append(patientId); |
|||
sb.append(", patientName=").append(patientName); |
|||
sb.append(", patientAge=").append(patientAge); |
|||
sb.append(", patientGender=").append(patientGender); |
|||
sb.append(", patientHeight=").append(patientHeight); |
|||
sb.append(", patientWeight=").append(patientWeight); |
|||
sb.append(", patientWaistline=").append(patientWaistline); |
|||
sb.append(", evaId=").append(evaId); |
|||
sb.append(", evaScaleCode=").append(evaScaleCode); |
|||
sb.append(", evaTime=").append(evaTime); |
|||
sb.append(", evaUsername=").append(evaUsername); |
|||
sb.append(", evaNickname=").append(evaNickname); |
|||
sb.append(", blh=").append(blh); |
|||
sb.append(", delFlag=").append(delFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", patientNamePinyin=").append(patientNamePinyin); |
|||
sb.append(", patientNamePy=").append(patientNamePy); |
|||
sb.append(", patientBirthday=").append(patientBirthday); |
|||
sb.append(", patientIdcard=").append(patientIdcard); |
|||
sb.append(", patientPhone=").append(patientPhone); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,140 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzRmsReportResult implements Serializable { |
|||
private Long resultId; |
|||
|
|||
private Long reportId; |
|||
|
|||
private String constiCode; |
|||
|
|||
private String constiName; |
|||
|
|||
private String constiLevel; |
|||
|
|||
private BigDecimal constiScore; |
|||
|
|||
private Integer mainFlag; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getResultId() { |
|||
return resultId; |
|||
} |
|||
|
|||
public void setResultId(Long resultId) { |
|||
this.resultId = resultId; |
|||
} |
|||
|
|||
public Long getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(Long reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getConstiCode() { |
|||
return constiCode; |
|||
} |
|||
|
|||
public void setConstiCode(String constiCode) { |
|||
this.constiCode = constiCode == null ? null : constiCode.trim(); |
|||
} |
|||
|
|||
public String getConstiName() { |
|||
return constiName; |
|||
} |
|||
|
|||
public void setConstiName(String constiName) { |
|||
this.constiName = constiName == null ? null : constiName.trim(); |
|||
} |
|||
|
|||
public String getConstiLevel() { |
|||
return constiLevel; |
|||
} |
|||
|
|||
public void setConstiLevel(String constiLevel) { |
|||
this.constiLevel = constiLevel == null ? null : constiLevel.trim(); |
|||
} |
|||
|
|||
public BigDecimal getConstiScore() { |
|||
return constiScore; |
|||
} |
|||
|
|||
public void setConstiScore(BigDecimal constiScore) { |
|||
this.constiScore = constiScore; |
|||
} |
|||
|
|||
public Integer getMainFlag() { |
|||
return mainFlag; |
|||
} |
|||
|
|||
public void setMainFlag(Integer mainFlag) { |
|||
this.mainFlag = mainFlag; |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", resultId=").append(resultId); |
|||
sb.append(", reportId=").append(reportId); |
|||
sb.append(", constiCode=").append(constiCode); |
|||
sb.append(", constiName=").append(constiName); |
|||
sb.append(", constiLevel=").append(constiLevel); |
|||
sb.append(", constiScore=").append(constiScore); |
|||
sb.append(", mainFlag=").append(mainFlag); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,912 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzRmsReportResultExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzRmsReportResultExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andResultIdIsNull() { |
|||
addCriterion("result_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdIsNotNull() { |
|||
addCriterion("result_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdEqualTo(Long value) { |
|||
addCriterion("result_id =", value, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdNotEqualTo(Long value) { |
|||
addCriterion("result_id <>", value, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdGreaterThan(Long value) { |
|||
addCriterion("result_id >", value, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("result_id >=", value, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdLessThan(Long value) { |
|||
addCriterion("result_id <", value, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("result_id <=", value, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdIn(List<Long> values) { |
|||
addCriterion("result_id in", values, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdNotIn(List<Long> values) { |
|||
addCriterion("result_id not in", values, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdBetween(Long value1, Long value2) { |
|||
addCriterion("result_id between", value1, value2, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andResultIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("result_id not between", value1, value2, "resultId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdIsNull() { |
|||
addCriterion("report_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdIsNotNull() { |
|||
addCriterion("report_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdEqualTo(Long value) { |
|||
addCriterion("report_id =", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdNotEqualTo(Long value) { |
|||
addCriterion("report_id <>", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdGreaterThan(Long value) { |
|||
addCriterion("report_id >", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("report_id >=", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdLessThan(Long value) { |
|||
addCriterion("report_id <", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("report_id <=", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdIn(List<Long> values) { |
|||
addCriterion("report_id in", values, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdNotIn(List<Long> values) { |
|||
addCriterion("report_id not in", values, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdBetween(Long value1, Long value2) { |
|||
addCriterion("report_id between", value1, value2, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("report_id not between", value1, value2, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNull() { |
|||
addCriterion("consti_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNotNull() { |
|||
addCriterion("consti_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeEqualTo(String value) { |
|||
addCriterion("consti_code =", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotEqualTo(String value) { |
|||
addCriterion("consti_code <>", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThan(String value) { |
|||
addCriterion("consti_code >", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_code >=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThan(String value) { |
|||
addCriterion("consti_code <", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_code <=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLike(String value) { |
|||
addCriterion("consti_code like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotLike(String value) { |
|||
addCriterion("consti_code not like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIn(List<String> values) { |
|||
addCriterion("consti_code in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotIn(List<String> values) { |
|||
addCriterion("consti_code not in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeBetween(String value1, String value2) { |
|||
addCriterion("consti_code between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
|||
addCriterion("consti_code not between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIsNull() { |
|||
addCriterion("consti_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIsNotNull() { |
|||
addCriterion("consti_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameEqualTo(String value) { |
|||
addCriterion("consti_name =", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotEqualTo(String value) { |
|||
addCriterion("consti_name <>", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameGreaterThan(String value) { |
|||
addCriterion("consti_name >", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_name >=", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLessThan(String value) { |
|||
addCriterion("consti_name <", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_name <=", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLike(String value) { |
|||
addCriterion("consti_name like", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotLike(String value) { |
|||
addCriterion("consti_name not like", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIn(List<String> values) { |
|||
addCriterion("consti_name in", values, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotIn(List<String> values) { |
|||
addCriterion("consti_name not in", values, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameBetween(String value1, String value2) { |
|||
addCriterion("consti_name between", value1, value2, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotBetween(String value1, String value2) { |
|||
addCriterion("consti_name not between", value1, value2, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelIsNull() { |
|||
addCriterion("consti_level is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelIsNotNull() { |
|||
addCriterion("consti_level is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelEqualTo(String value) { |
|||
addCriterion("consti_level =", value, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelNotEqualTo(String value) { |
|||
addCriterion("consti_level <>", value, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelGreaterThan(String value) { |
|||
addCriterion("consti_level >", value, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_level >=", value, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelLessThan(String value) { |
|||
addCriterion("consti_level <", value, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_level <=", value, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelLike(String value) { |
|||
addCriterion("consti_level like", value, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelNotLike(String value) { |
|||
addCriterion("consti_level not like", value, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelIn(List<String> values) { |
|||
addCriterion("consti_level in", values, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelNotIn(List<String> values) { |
|||
addCriterion("consti_level not in", values, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelBetween(String value1, String value2) { |
|||
addCriterion("consti_level between", value1, value2, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiLevelNotBetween(String value1, String value2) { |
|||
addCriterion("consti_level not between", value1, value2, "constiLevel"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreIsNull() { |
|||
addCriterion("consti_score is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreIsNotNull() { |
|||
addCriterion("consti_score is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreEqualTo(BigDecimal value) { |
|||
addCriterion("consti_score =", value, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreNotEqualTo(BigDecimal value) { |
|||
addCriterion("consti_score <>", value, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreGreaterThan(BigDecimal value) { |
|||
addCriterion("consti_score >", value, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreGreaterThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("consti_score >=", value, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreLessThan(BigDecimal value) { |
|||
addCriterion("consti_score <", value, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreLessThanOrEqualTo(BigDecimal value) { |
|||
addCriterion("consti_score <=", value, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreIn(List<BigDecimal> values) { |
|||
addCriterion("consti_score in", values, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreNotIn(List<BigDecimal> values) { |
|||
addCriterion("consti_score not in", values, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("consti_score between", value1, value2, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiScoreNotBetween(BigDecimal value1, BigDecimal value2) { |
|||
addCriterion("consti_score not between", value1, value2, "constiScore"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagIsNull() { |
|||
addCriterion("main_flag is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagIsNotNull() { |
|||
addCriterion("main_flag is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagEqualTo(Integer value) { |
|||
addCriterion("main_flag =", value, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagNotEqualTo(Integer value) { |
|||
addCriterion("main_flag <>", value, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagGreaterThan(Integer value) { |
|||
addCriterion("main_flag >", value, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagGreaterThanOrEqualTo(Integer value) { |
|||
addCriterion("main_flag >=", value, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagLessThan(Integer value) { |
|||
addCriterion("main_flag <", value, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagLessThanOrEqualTo(Integer value) { |
|||
addCriterion("main_flag <=", value, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagIn(List<Integer> values) { |
|||
addCriterion("main_flag in", values, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagNotIn(List<Integer> values) { |
|||
addCriterion("main_flag not in", values, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagBetween(Integer value1, Integer value2) { |
|||
addCriterion("main_flag between", value1, value2, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMainFlagNotBetween(Integer value1, Integer value2) { |
|||
addCriterion("main_flag not between", value1, value2, "mainFlag"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,117 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ZytzRmsReportYsjy implements Serializable { |
|||
private Long ysjyId; |
|||
|
|||
private Long reportId; |
|||
|
|||
private String constiCode; |
|||
|
|||
private String constiName; |
|||
|
|||
private String createBy; |
|||
|
|||
private Date createTime; |
|||
|
|||
private String updateBy; |
|||
|
|||
private Date updateTime; |
|||
|
|||
private String constiYsjy; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getYsjyId() { |
|||
return ysjyId; |
|||
} |
|||
|
|||
public void setYsjyId(Long ysjyId) { |
|||
this.ysjyId = ysjyId; |
|||
} |
|||
|
|||
public Long getReportId() { |
|||
return reportId; |
|||
} |
|||
|
|||
public void setReportId(Long reportId) { |
|||
this.reportId = reportId; |
|||
} |
|||
|
|||
public String getConstiCode() { |
|||
return constiCode; |
|||
} |
|||
|
|||
public void setConstiCode(String constiCode) { |
|||
this.constiCode = constiCode == null ? null : constiCode.trim(); |
|||
} |
|||
|
|||
public String getConstiName() { |
|||
return constiName; |
|||
} |
|||
|
|||
public void setConstiName(String constiName) { |
|||
this.constiName = constiName == null ? null : constiName.trim(); |
|||
} |
|||
|
|||
public String getCreateBy() { |
|||
return createBy; |
|||
} |
|||
|
|||
public void setCreateBy(String createBy) { |
|||
this.createBy = createBy == null ? null : createBy.trim(); |
|||
} |
|||
|
|||
public Date getCreateTime() { |
|||
return createTime; |
|||
} |
|||
|
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
|
|||
public String getUpdateBy() { |
|||
return updateBy; |
|||
} |
|||
|
|||
public void setUpdateBy(String updateBy) { |
|||
this.updateBy = updateBy == null ? null : updateBy.trim(); |
|||
} |
|||
|
|||
public Date getUpdateTime() { |
|||
return updateTime; |
|||
} |
|||
|
|||
public void setUpdateTime(Date updateTime) { |
|||
this.updateTime = updateTime; |
|||
} |
|||
|
|||
public String getConstiYsjy() { |
|||
return constiYsjy; |
|||
} |
|||
|
|||
public void setConstiYsjy(String constiYsjy) { |
|||
this.constiYsjy = constiYsjy == null ? null : constiYsjy.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", ysjyId=").append(ysjyId); |
|||
sb.append(", reportId=").append(reportId); |
|||
sb.append(", constiCode=").append(constiCode); |
|||
sb.append(", constiName=").append(constiName); |
|||
sb.append(", createBy=").append(createBy); |
|||
sb.append(", createTime=").append(createTime); |
|||
sb.append(", updateBy=").append(updateBy); |
|||
sb.append(", updateTime=").append(updateTime); |
|||
sb.append(", constiYsjy=").append(constiYsjy); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,721 @@ |
|||
package com.acupuncture.system.domain.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ZytzRmsReportYsjyExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ZytzRmsReportYsjyExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andYsjyIdIsNull() { |
|||
addCriterion("ysjy_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdIsNotNull() { |
|||
addCriterion("ysjy_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdEqualTo(Long value) { |
|||
addCriterion("ysjy_id =", value, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdNotEqualTo(Long value) { |
|||
addCriterion("ysjy_id <>", value, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdGreaterThan(Long value) { |
|||
addCriterion("ysjy_id >", value, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("ysjy_id >=", value, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdLessThan(Long value) { |
|||
addCriterion("ysjy_id <", value, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("ysjy_id <=", value, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdIn(List<Long> values) { |
|||
addCriterion("ysjy_id in", values, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdNotIn(List<Long> values) { |
|||
addCriterion("ysjy_id not in", values, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdBetween(Long value1, Long value2) { |
|||
addCriterion("ysjy_id between", value1, value2, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andYsjyIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("ysjy_id not between", value1, value2, "ysjyId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdIsNull() { |
|||
addCriterion("report_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdIsNotNull() { |
|||
addCriterion("report_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdEqualTo(Long value) { |
|||
addCriterion("report_id =", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdNotEqualTo(Long value) { |
|||
addCriterion("report_id <>", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdGreaterThan(Long value) { |
|||
addCriterion("report_id >", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("report_id >=", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdLessThan(Long value) { |
|||
addCriterion("report_id <", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("report_id <=", value, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdIn(List<Long> values) { |
|||
addCriterion("report_id in", values, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdNotIn(List<Long> values) { |
|||
addCriterion("report_id not in", values, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdBetween(Long value1, Long value2) { |
|||
addCriterion("report_id between", value1, value2, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andReportIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("report_id not between", value1, value2, "reportId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNull() { |
|||
addCriterion("consti_code is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIsNotNull() { |
|||
addCriterion("consti_code is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeEqualTo(String value) { |
|||
addCriterion("consti_code =", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotEqualTo(String value) { |
|||
addCriterion("consti_code <>", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThan(String value) { |
|||
addCriterion("consti_code >", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_code >=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThan(String value) { |
|||
addCriterion("consti_code <", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_code <=", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeLike(String value) { |
|||
addCriterion("consti_code like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotLike(String value) { |
|||
addCriterion("consti_code not like", value, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeIn(List<String> values) { |
|||
addCriterion("consti_code in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotIn(List<String> values) { |
|||
addCriterion("consti_code not in", values, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeBetween(String value1, String value2) { |
|||
addCriterion("consti_code between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiCodeNotBetween(String value1, String value2) { |
|||
addCriterion("consti_code not between", value1, value2, "constiCode"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIsNull() { |
|||
addCriterion("consti_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIsNotNull() { |
|||
addCriterion("consti_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameEqualTo(String value) { |
|||
addCriterion("consti_name =", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotEqualTo(String value) { |
|||
addCriterion("consti_name <>", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameGreaterThan(String value) { |
|||
addCriterion("consti_name >", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("consti_name >=", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLessThan(String value) { |
|||
addCriterion("consti_name <", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLessThanOrEqualTo(String value) { |
|||
addCriterion("consti_name <=", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameLike(String value) { |
|||
addCriterion("consti_name like", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotLike(String value) { |
|||
addCriterion("consti_name not like", value, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameIn(List<String> values) { |
|||
addCriterion("consti_name in", values, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotIn(List<String> values) { |
|||
addCriterion("consti_name not in", values, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameBetween(String value1, String value2) { |
|||
addCriterion("consti_name between", value1, value2, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andConstiNameNotBetween(String value1, String value2) { |
|||
addCriterion("consti_name not between", value1, value2, "constiName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNull() { |
|||
addCriterion("create_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIsNotNull() { |
|||
addCriterion("create_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByEqualTo(String value) { |
|||
addCriterion("create_by =", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotEqualTo(String value) { |
|||
addCriterion("create_by <>", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThan(String value) { |
|||
addCriterion("create_by >", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("create_by >=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThan(String value) { |
|||
addCriterion("create_by <", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLessThanOrEqualTo(String value) { |
|||
addCriterion("create_by <=", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByLike(String value) { |
|||
addCriterion("create_by like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotLike(String value) { |
|||
addCriterion("create_by not like", value, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByIn(List<String> values) { |
|||
addCriterion("create_by in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotIn(List<String> values) { |
|||
addCriterion("create_by not in", values, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByBetween(String value1, String value2) { |
|||
addCriterion("create_by between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateByNotBetween(String value1, String value2) { |
|||
addCriterion("create_by not between", value1, value2, "createBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNull() { |
|||
addCriterion("create_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIsNotNull() { |
|||
addCriterion("create_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeEqualTo(Date value) { |
|||
addCriterion("create_time =", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotEqualTo(Date value) { |
|||
addCriterion("create_time <>", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThan(Date value) { |
|||
addCriterion("create_time >", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("create_time >=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThan(Date value) { |
|||
addCriterion("create_time <", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("create_time <=", value, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeIn(List<Date> values) { |
|||
addCriterion("create_time in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotIn(List<Date> values) { |
|||
addCriterion("create_time not in", values, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("create_time between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("create_time not between", value1, value2, "createTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNull() { |
|||
addCriterion("update_by is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIsNotNull() { |
|||
addCriterion("update_by is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByEqualTo(String value) { |
|||
addCriterion("update_by =", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotEqualTo(String value) { |
|||
addCriterion("update_by <>", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThan(String value) { |
|||
addCriterion("update_by >", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { |
|||
addCriterion("update_by >=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThan(String value) { |
|||
addCriterion("update_by <", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLessThanOrEqualTo(String value) { |
|||
addCriterion("update_by <=", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByLike(String value) { |
|||
addCriterion("update_by like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotLike(String value) { |
|||
addCriterion("update_by not like", value, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByIn(List<String> values) { |
|||
addCriterion("update_by in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotIn(List<String> values) { |
|||
addCriterion("update_by not in", values, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByBetween(String value1, String value2) { |
|||
addCriterion("update_by between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateByNotBetween(String value1, String value2) { |
|||
addCriterion("update_by not between", value1, value2, "updateBy"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNull() { |
|||
addCriterion("update_time is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIsNotNull() { |
|||
addCriterion("update_time is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeEqualTo(Date value) { |
|||
addCriterion("update_time =", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotEqualTo(Date value) { |
|||
addCriterion("update_time <>", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThan(Date value) { |
|||
addCriterion("update_time >", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("update_time >=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThan(Date value) { |
|||
addCriterion("update_time <", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { |
|||
addCriterion("update_time <=", value, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeIn(List<Date> values) { |
|||
addCriterion("update_time in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotIn(List<Date> values) { |
|||
addCriterion("update_time not in", values, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeBetween(Date value1, Date value2) { |
|||
addCriterion("update_time between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { |
|||
addCriterion("update_time not between", value1, value2, "updateTime"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,423 @@ |
|||
package com.acupuncture.system.domain.vo; |
|||
|
|||
import cn.hutool.core.collection.CollectionUtil; |
|||
import cn.hutool.core.date.DateUtil; |
|||
import cn.hutool.core.util.IdcardUtil; |
|||
import cn.hutool.core.util.StrUtil; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Comparator; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
import java.util.Objects; |
|||
import java.util.stream.Collectors; |
|||
|
|||
/** |
|||
* @Author zzc |
|||
* @Package com.acupuncture.system.domain.dto |
|||
* @Date 2025/2/11 15:05 |
|||
* @description: |
|||
*/ |
|||
public class ZytzVo { |
|||
@Data |
|||
public static class PatientQuery { |
|||
private Long patientId; |
|||
private String name; |
|||
private Integer gender; |
|||
private String birthday; |
|||
private String idcard; |
|||
private String phone; |
|||
private String height; |
|||
private String weight; |
|||
private String waistline; |
|||
private List<String> sickness; |
|||
|
|||
public Integer getAge() { |
|||
Integer age = null; |
|||
try { |
|||
if (StrUtil.isNotBlank(idcard) && IdcardUtil.isValidCard(idcard)) { |
|||
age = IdcardUtil.getAgeByIdCard(idcard); |
|||
} else if (StrUtil.isNotBlank(birthday)) { |
|||
age = DateUtil.ageOfNow(DateUtil.parse(birthday)); |
|||
} |
|||
} catch (Exception ignored) { |
|||
} |
|||
return age; |
|||
} |
|||
} |
|||
|
|||
@Data |
|||
public static class PatientSaveOrUpdate { |
|||
private Long patientId; |
|||
private String name; |
|||
private Integer gender; |
|||
private String birthday; |
|||
private String idcard; |
|||
private String phone; |
|||
private String height; |
|||
private String weight; |
|||
private String waistline; |
|||
private List<String> sickness; |
|||
|
|||
public Integer getAge() { |
|||
Integer age = null; |
|||
try { |
|||
if (StrUtil.isNotBlank(idcard) && IdcardUtil.isValidCard(idcard)) { |
|||
age = IdcardUtil.getAgeByIdCard(idcard); |
|||
} else if (StrUtil.isNotBlank(birthday)) { |
|||
age = DateUtil.ageOfNow(DateUtil.parse(birthday)); |
|||
} |
|||
} catch (Exception ignored) { |
|||
} |
|||
return age; |
|||
} |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaSave { |
|||
private Long evaId; |
|||
private Long patientId; |
|||
private String scaleCode; |
|||
private String scaleName; |
|||
private Integer evaStatus; |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaQuestionList { |
|||
private Long evaId; |
|||
private Long patientId; |
|||
private String scaleCode; |
|||
private String scaleName; |
|||
private Integer evaStatus; |
|||
private List<Question> questions; |
|||
|
|||
@Data |
|||
public static class Question { |
|||
private String quesCode; |
|||
private String quesName; |
|||
private String quesSort; |
|||
private List<Option> options; |
|||
|
|||
@Data |
|||
public static class Option { |
|||
private String optionCode; |
|||
private String optionName; |
|||
private String optionScore; |
|||
private String optionSort; |
|||
private String optionChecked; |
|||
} |
|||
} |
|||
} |
|||
|
|||
@Data |
|||
public static class ReportView { |
|||
//报告单信息
|
|||
private Long reportId; |
|||
|
|||
//患者信息
|
|||
private Long patientId; |
|||
private String name; |
|||
private Integer gender; |
|||
private String birthday; |
|||
private String age; |
|||
private String height; |
|||
private String weight; |
|||
private String waistline; |
|||
private String idcard; |
|||
private String phone; |
|||
|
|||
//测评信息
|
|||
private Long evaId; |
|||
private Date evaTime; |
|||
private String evaUsername; |
|||
private String evaNickname; |
|||
private String evaScaleCode; |
|||
private String evaScaleName; |
|||
private String blh; |
|||
|
|||
//分数明细
|
|||
private List<Score> scores; |
|||
//养生方案
|
|||
private List<Ysfa> ysfa; |
|||
//测评结论
|
|||
private String result; |
|||
//主体质
|
|||
private String result1; |
|||
//兼夹体质
|
|||
private String result2; |
|||
|
|||
@Data |
|||
public static class Score { |
|||
private String constiCode; |
|||
private String constiName; |
|||
private String constiLevel; |
|||
private String constiScore; |
|||
private Integer mainFlag; |
|||
//参考分数(是)
|
|||
private String refScoreYes; |
|||
//参考分数(倾向是)
|
|||
private String refScoreMaybe; |
|||
//满分
|
|||
private String fullScore; |
|||
|
|||
public String getConstiScore() { |
|||
if (constiScore != null && new BigDecimal(constiScore).compareTo(BigDecimal.ZERO) < 0) { |
|||
return "0.00"; |
|||
} |
|||
return constiScore; |
|||
} |
|||
} |
|||
|
|||
@Data |
|||
public static class Ysfa { |
|||
private String constiCode; |
|||
private String constiName; |
|||
private String ysjy; |
|||
} |
|||
|
|||
public String getResult() { |
|||
if (CollectionUtil.isEmpty(scores)) { |
|||
return ""; |
|||
} |
|||
|
|||
StringBuilder result = new StringBuilder(); |
|||
String yesStr = "", jbsStr = "", qxsStr = ""; |
|||
|
|||
//拼接三部分字符串(是,基本是,倾向是)
|
|||
for (Score score : scores) { |
|||
if (score.getConstiLevel().equals("00")) { |
|||
yesStr = yesStr + score.getConstiName() + "、"; |
|||
} |
|||
if (score.getConstiLevel().equals("10")) { |
|||
jbsStr = jbsStr + score.getConstiName() + "、"; |
|||
} |
|||
if (score.getConstiLevel().equals("11")) { |
|||
qxsStr = qxsStr + score.getConstiName() + "、"; |
|||
} |
|||
} |
|||
//去掉尾部,
|
|||
if (StrUtil.isNotBlank(yesStr)) { |
|||
yesStr = yesStr.substring(0, yesStr.length() - 1); |
|||
} |
|||
if (StrUtil.isNotBlank(jbsStr)) { |
|||
jbsStr = jbsStr.substring(0, jbsStr.length() - 1); |
|||
} |
|||
if (StrUtil.isNotBlank(qxsStr)) { |
|||
qxsStr = qxsStr.substring(0, qxsStr.length() - 1); |
|||
} |
|||
|
|||
//拼接
|
|||
result.append(StrUtil.isNotBlank(yesStr) ? "【" + yesStr + "】 " : "") |
|||
.append(StrUtil.isNotBlank(jbsStr) ? "基本是【" + yesStr + "】 " : "") |
|||
.append(StrUtil.isNotBlank(qxsStr) ? "有 【" + qxsStr + "】 倾向 " : ""); |
|||
|
|||
return result.toString(); |
|||
} |
|||
|
|||
// public String getResult() {
|
|||
// if (CollectionUtil.isEmpty(scores)) {
|
|||
// return "";
|
|||
// }
|
|||
//
|
|||
// //找到主体质
|
|||
// Score mainSCore = null;
|
|||
// for (Score score : scores) {
|
|||
// if (score.getMainFlag() == 1) {
|
|||
// mainSCore = score;
|
|||
// }
|
|||
// }
|
|||
// if (mainSCore == null) {
|
|||
// return "";
|
|||
// }
|
|||
// if (Objects.equals(mainSCore.getConstiLevel(), "00")) {
|
|||
// return "【" + mainSCore.getConstiName() + "】";
|
|||
// } else if (Objects.equals(mainSCore.getConstiLevel(), "10")) {
|
|||
// return "基本是【" + mainSCore.getConstiName() + "】";
|
|||
// } else if (Objects.equals(mainSCore.getConstiLevel(), "11")) {
|
|||
// return "倾向是【" + mainSCore.getConstiName() + "】";
|
|||
// } else {
|
|||
// return "";
|
|||
// }
|
|||
// }
|
|||
|
|||
public String getResult1() { |
|||
if (CollectionUtil.isEmpty(scores)) { |
|||
return ""; |
|||
} |
|||
scores = scores.stream().filter(e -> e.getMainFlag() != null).collect(Collectors.toList()); |
|||
//找到主体质
|
|||
Score mainSCore = null; |
|||
for (Score score : scores) { |
|||
if (score.getMainFlag() == 1) { |
|||
mainSCore = score; |
|||
} |
|||
} |
|||
if (mainSCore == null) { |
|||
return ""; |
|||
} |
|||
if (Objects.equals(mainSCore.getConstiLevel(), "00")) { |
|||
return "【" + mainSCore.getConstiName() + "】"; |
|||
} else if (Objects.equals(mainSCore.getConstiLevel(), "10")) { |
|||
return "基本是【" + mainSCore.getConstiName() + "】"; |
|||
} else if (Objects.equals(mainSCore.getConstiLevel(), "11")) { |
|||
return "倾向是【" + mainSCore.getConstiName() + "】"; |
|||
} else { |
|||
return ""; |
|||
} |
|||
} |
|||
|
|||
public String getResult2() { |
|||
if (CollectionUtil.isEmpty(scores)) { |
|||
return ""; |
|||
} |
|||
|
|||
scores = scores.stream().filter(e -> e.getMainFlag() != null).collect(Collectors.toList()); |
|||
|
|||
//找到兼夹体质并按照分数从大到小排序
|
|||
List<Score> jianjiaScores = scores.stream().filter(score -> score.getMainFlag() == 2).sorted(Comparator.comparing(Score::getConstiScore).reversed()) |
|||
.collect(Collectors.toList()); |
|||
StringBuilder res = new StringBuilder(); |
|||
for (Score score : jianjiaScores) { |
|||
if (Objects.equals(score.getConstiLevel(), "00")) { |
|||
res.append("【" + score.getConstiName() + "】"); |
|||
} else if (Objects.equals(score.getConstiLevel(), "10")) { |
|||
res.append("基本是【" + score.getConstiName() + "】"); |
|||
} else if (Objects.equals(score.getConstiLevel(), "11")) { |
|||
res.append("倾向是【" + score.getConstiName() + "】"); |
|||
} else { |
|||
res.append(""); |
|||
} |
|||
res.append("、"); |
|||
} |
|||
//去掉尾部
|
|||
if (StrUtil.isNotBlank(res.toString())) { |
|||
res = new StringBuilder(res.substring(0, res.length() - 1)); |
|||
} |
|||
return res.toString(); |
|||
} |
|||
} |
|||
|
|||
@Data |
|||
public static class EvaList { |
|||
//报告单信息
|
|||
private Long reportId; |
|||
|
|||
//患者信息
|
|||
private Long patientId; |
|||
private String name; |
|||
private Integer gender; |
|||
private String birthday; |
|||
private String age; |
|||
private String height; |
|||
private String weight; |
|||
private String waistline; |
|||
private String idcard; |
|||
private String phone; |
|||
|
|||
//测评信息
|
|||
private Long evaId; |
|||
private Date evaTime; |
|||
private String evaUsername; |
|||
private String evaNickname; |
|||
private String evaScaleCode; |
|||
private String evaScaleName; |
|||
private Integer evaStatus; |
|||
private String blh; |
|||
|
|||
//分数明细
|
|||
private List<Score> scores; |
|||
//测评结论
|
|||
private String result; |
|||
|
|||
@Data |
|||
public static class Score { |
|||
private String constiCode; |
|||
private String constiName; |
|||
private String constiLevel; |
|||
private String constiScore; |
|||
private Integer mainFlag; |
|||
//参考分数(是)
|
|||
private String refScoreYes; |
|||
//参考分数(倾向是)
|
|||
private String refScoreMaybe; |
|||
//满分
|
|||
private String fullScore; |
|||
|
|||
public String getConstiScore() { |
|||
if (constiScore != null && new BigDecimal(constiScore).compareTo(BigDecimal.ZERO) < 0) { |
|||
return "0.00"; |
|||
} |
|||
return constiScore; |
|||
} |
|||
} |
|||
|
|||
public String getResult() { |
|||
if (CollectionUtil.isEmpty(scores)) { |
|||
return ""; |
|||
} |
|||
|
|||
StringBuilder result = new StringBuilder(); |
|||
String yesStr = "", jbsStr = "", qxsStr = ""; |
|||
|
|||
//拼接三部分字符串(是,基本是,倾向是)
|
|||
for (Score score : scores) { |
|||
if (score.getConstiLevel().equals("00")) { |
|||
yesStr = yesStr + score.getConstiName() + "、"; |
|||
} |
|||
if (score.getConstiLevel().equals("10")) { |
|||
jbsStr = jbsStr + score.getConstiName() + "、"; |
|||
} |
|||
if (score.getConstiLevel().equals("11")) { |
|||
qxsStr = qxsStr + score.getConstiName() + "、"; |
|||
} |
|||
} |
|||
//去掉尾部,
|
|||
if (StrUtil.isNotBlank(yesStr)) { |
|||
yesStr = yesStr.substring(0, yesStr.length() - 1); |
|||
} |
|||
if (StrUtil.isNotBlank(jbsStr)) { |
|||
jbsStr = jbsStr.substring(0, jbsStr.length() - 1); |
|||
} |
|||
if (StrUtil.isNotBlank(qxsStr)) { |
|||
qxsStr = qxsStr.substring(0, qxsStr.length() - 1); |
|||
} |
|||
|
|||
//拼接
|
|||
result.append(StrUtil.isNotBlank(yesStr) ? "【" + yesStr + "】 " : "") |
|||
.append(StrUtil.isNotBlank(jbsStr) ? "基本是【" + yesStr + "】 " : "") |
|||
.append(StrUtil.isNotBlank(qxsStr) ? "有 【" + qxsStr + "】 倾向 " : ""); |
|||
|
|||
return result.toString(); |
|||
} |
|||
} |
|||
|
|||
|
|||
@Data |
|||
public static class EvaResult { |
|||
//测评id
|
|||
private Long evaId; |
|||
//量表代码
|
|||
private String scaleCode; |
|||
//量表名称
|
|||
private String scaleName; |
|||
//体质代码
|
|||
private String constiCode; |
|||
//体质名称
|
|||
private String constiName; |
|||
//原始分
|
|||
private BigDecimal score; |
|||
//转化分
|
|||
private BigDecimal zhScore; |
|||
//题目数量
|
|||
private Integer quesNum; |
|||
//体质level
|
|||
private String constiLevel; |
|||
//是否主体质
|
|||
private Integer mainFlag; |
|||
|
|||
public BigDecimal getScore() { |
|||
return score == null ? BigDecimal.ZERO : score; |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,133 @@ |
|||
package com.acupuncture.system.persist.dao; |
|||
|
|||
import com.acupuncture.system.domain.dto.AdminDataSourceDto; |
|||
import com.acupuncture.system.domain.po.ZytzEmsEvaAnswer; |
|||
import com.acupuncture.system.domain.po.ZytzRmsReportResult; |
|||
import com.acupuncture.system.domain.vo.AdminDataSourceVo; |
|||
import com.acupuncture.system.domain.vo.ZytzVo; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author zzc |
|||
* @Package com.acupuncture.system.persist.dao |
|||
* @Date 2025/2/10 9:48 |
|||
* @description: |
|||
*/ |
|||
public interface ZytzDao { |
|||
/** |
|||
* 查找患者列表 |
|||
* |
|||
* @param patientId |
|||
* @return |
|||
* @Param deptId |
|||
* @Param keywords |
|||
*/ |
|||
// List<ZytzVo.PatientQuery> patientQuery(@Param("deptId") Long deptId,
|
|||
// @Param("keywords") String keywords,
|
|||
// @Param("patientId") Long patientId);
|
|||
|
|||
/** |
|||
* 根据patientId查询sickness |
|||
* |
|||
* @param patientId |
|||
* @return |
|||
*/ |
|||
//List<String> querySicknessByPatientId(@Param("patientId") Long patientId);
|
|||
|
|||
/** |
|||
* 批量插入sickness |
|||
* |
|||
* @param pmsPatientSicknessList |
|||
*/ |
|||
//void batchInsertSickness(@Param("list") List<PmsPatientSickness> pmsPatientSicknessList);
|
|||
|
|||
/** |
|||
* 查询问题、选项及答案 |
|||
* |
|||
* @param evaId |
|||
* @return |
|||
*/ |
|||
ZytzVo.EvaQuestionList evaQuestionList(@Param("evaId") Long evaId); |
|||
|
|||
/** |
|||
* 批量插入answer |
|||
* |
|||
* @param answerList |
|||
* @return |
|||
*/ |
|||
void batchInsertAnswer(@Param("list") List<ZytzEmsEvaAnswer> answerList); |
|||
|
|||
/** |
|||
* 批量插入reportResult |
|||
* |
|||
* @param reportResultList |
|||
*/ |
|||
void batchInsertReportResult(@Param("list") List<ZytzRmsReportResult> reportResultList); |
|||
|
|||
/** |
|||
* 查询测评分数 |
|||
* |
|||
* @param evaId |
|||
* @return |
|||
*/ |
|||
List<ZytzVo.EvaResult> countReportResult(@Param("evaId") Long evaId); |
|||
|
|||
/** |
|||
* 查询养生建议 |
|||
* |
|||
* @param constiCode |
|||
* @param deptId |
|||
* @return |
|||
*/ |
|||
// String queryYsjy(@Param("constiCode") String constiCode, @Param("deptId") Long deptId);
|
|||
|
|||
/** |
|||
* 查询报告单 |
|||
* |
|||
* @param evaId |
|||
* @return |
|||
*/ |
|||
ZytzVo.ReportView reportView(@Param("evaId") Long evaId); |
|||
|
|||
/** |
|||
* 查询测评列表 |
|||
* |
|||
* @param deptId |
|||
* @param keywords |
|||
* @param scaleCode |
|||
* @param evaStatus |
|||
* @param gender |
|||
* @param ageMin |
|||
* @param ageMax |
|||
* @param evaDateMin |
|||
* @param evaDateMax |
|||
* @return |
|||
*/ |
|||
// List<ZytzVo.EvaList> queryEvaList(@Param("deptId") Long deptId,
|
|||
// @Param("keywords") String keywords,
|
|||
// @Param("scaleCode") String scaleCode,
|
|||
// @Param("evaStatus") Integer evaStatus,
|
|||
// @Param("gender") Integer gender,
|
|||
// @Param("ageMin") Integer ageMin,
|
|||
// @Param("ageMax") Integer ageMax,
|
|||
// @Param("evaDateMin") Date evaDateMin,
|
|||
// @Param("evaDateMax") Date evaDateMax);
|
|||
|
|||
/** |
|||
* 查询报告单分数 |
|||
* |
|||
* @param reportId |
|||
* @return |
|||
*/ |
|||
// List<ZytzVo.EvaList.Score> queryReportScores(@Param("reportId") Long reportId);
|
|||
|
|||
/** |
|||
* 删除 |
|||
* @param evaIds |
|||
* @return |
|||
*/ |
|||
// Integer deleteEvas(@Param("ids") List<Long> evaIds);
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.HmsWeightHeight; |
|||
import com.acupuncture.system.domain.po.HmsWeightHeightExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface HmsWeightHeightMapper { |
|||
long countByExample(HmsWeightHeightExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(HmsWeightHeight record); |
|||
|
|||
int insertSelective(HmsWeightHeight record); |
|||
|
|||
List<HmsWeightHeight> selectByExample(HmsWeightHeightExample example); |
|||
|
|||
HmsWeightHeight selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") HmsWeightHeight record, @Param("example") HmsWeightHeightExample example); |
|||
|
|||
int updateByExample(@Param("record") HmsWeightHeight record, @Param("example") HmsWeightHeightExample example); |
|||
|
|||
int updateByPrimaryKeySelective(HmsWeightHeight record); |
|||
|
|||
int updateByPrimaryKey(HmsWeightHeight record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzEmsEvaAnswer; |
|||
import com.acupuncture.system.domain.po.ZytzEmsEvaAnswerExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzEmsEvaAnswerMapper { |
|||
long countByExample(ZytzEmsEvaAnswerExample example); |
|||
|
|||
int deleteByPrimaryKey(Long answerId); |
|||
|
|||
int insert(ZytzEmsEvaAnswer record); |
|||
|
|||
int insertSelective(ZytzEmsEvaAnswer record); |
|||
|
|||
List<ZytzEmsEvaAnswer> selectByExample(ZytzEmsEvaAnswerExample example); |
|||
|
|||
ZytzEmsEvaAnswer selectByPrimaryKey(Long answerId); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzEmsEvaAnswer record, @Param("example") ZytzEmsEvaAnswerExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzEmsEvaAnswer record, @Param("example") ZytzEmsEvaAnswerExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzEmsEvaAnswer record); |
|||
|
|||
int updateByPrimaryKey(ZytzEmsEvaAnswer record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleConsti; |
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzQmsScaleConstiMapper { |
|||
long countByExample(ZytzQmsScaleConstiExample example); |
|||
|
|||
int deleteByPrimaryKey(Long constiId); |
|||
|
|||
int insert(ZytzQmsScaleConsti record); |
|||
|
|||
int insertSelective(ZytzQmsScaleConsti record); |
|||
|
|||
List<ZytzQmsScaleConsti> selectByExample(ZytzQmsScaleConstiExample example); |
|||
|
|||
ZytzQmsScaleConsti selectByPrimaryKey(Long constiId); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzQmsScaleConsti record, @Param("example") ZytzQmsScaleConstiExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzQmsScaleConsti record, @Param("example") ZytzQmsScaleConstiExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzQmsScaleConsti record); |
|||
|
|||
int updateByPrimaryKey(ZytzQmsScaleConsti record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRel; |
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiQuesRelExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzQmsScaleConstiQuesRelMapper { |
|||
long countByExample(ZytzQmsScaleConstiQuesRelExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ZytzQmsScaleConstiQuesRel record); |
|||
|
|||
int insertSelective(ZytzQmsScaleConstiQuesRel record); |
|||
|
|||
List<ZytzQmsScaleConstiQuesRel> selectByExample(ZytzQmsScaleConstiQuesRelExample example); |
|||
|
|||
ZytzQmsScaleConstiQuesRel selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzQmsScaleConstiQuesRel record, @Param("example") ZytzQmsScaleConstiQuesRelExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzQmsScaleConstiQuesRel record, @Param("example") ZytzQmsScaleConstiQuesRelExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzQmsScaleConstiQuesRel record); |
|||
|
|||
int updateByPrimaryKey(ZytzQmsScaleConstiQuesRel record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScore; |
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiRefScoreExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzQmsScaleConstiRefScoreMapper { |
|||
long countByExample(ZytzQmsScaleConstiRefScoreExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ZytzQmsScaleConstiRefScore record); |
|||
|
|||
int insertSelective(ZytzQmsScaleConstiRefScore record); |
|||
|
|||
List<ZytzQmsScaleConstiRefScore> selectByExample(ZytzQmsScaleConstiRefScoreExample example); |
|||
|
|||
ZytzQmsScaleConstiRefScore selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzQmsScaleConstiRefScore record, @Param("example") ZytzQmsScaleConstiRefScoreExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzQmsScaleConstiRefScore record, @Param("example") ZytzQmsScaleConstiRefScoreExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzQmsScaleConstiRefScore record); |
|||
|
|||
int updateByPrimaryKey(ZytzQmsScaleConstiRefScore record); |
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfa; |
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleConstiYsfaExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzQmsScaleConstiYsfaMapper { |
|||
long countByExample(ZytzQmsScaleConstiYsfaExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ZytzQmsScaleConstiYsfa record); |
|||
|
|||
int insertSelective(ZytzQmsScaleConstiYsfa record); |
|||
|
|||
List<ZytzQmsScaleConstiYsfa> selectByExampleWithBLOBs(ZytzQmsScaleConstiYsfaExample example); |
|||
|
|||
List<ZytzQmsScaleConstiYsfa> selectByExample(ZytzQmsScaleConstiYsfaExample example); |
|||
|
|||
ZytzQmsScaleConstiYsfa selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzQmsScaleConstiYsfa record, @Param("example") ZytzQmsScaleConstiYsfaExample example); |
|||
|
|||
int updateByExampleWithBLOBs(@Param("record") ZytzQmsScaleConstiYsfa record, @Param("example") ZytzQmsScaleConstiYsfaExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzQmsScaleConstiYsfa record, @Param("example") ZytzQmsScaleConstiYsfaExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzQmsScaleConstiYsfa record); |
|||
|
|||
int updateByPrimaryKeyWithBLOBs(ZytzQmsScaleConstiYsfa record); |
|||
|
|||
int updateByPrimaryKey(ZytzQmsScaleConstiYsfa record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzQmsScale; |
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzQmsScaleMapper { |
|||
long countByExample(ZytzQmsScaleExample example); |
|||
|
|||
int deleteByPrimaryKey(Long scaleId); |
|||
|
|||
int insert(ZytzQmsScale record); |
|||
|
|||
int insertSelective(ZytzQmsScale record); |
|||
|
|||
List<ZytzQmsScale> selectByExample(ZytzQmsScaleExample example); |
|||
|
|||
ZytzQmsScale selectByPrimaryKey(Long scaleId); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzQmsScale record, @Param("example") ZytzQmsScaleExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzQmsScale record, @Param("example") ZytzQmsScaleExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzQmsScale record); |
|||
|
|||
int updateByPrimaryKey(ZytzQmsScale record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleQuestion; |
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleQuestionExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzQmsScaleQuestionMapper { |
|||
long countByExample(ZytzQmsScaleQuestionExample example); |
|||
|
|||
int deleteByPrimaryKey(Long quesId); |
|||
|
|||
int insert(ZytzQmsScaleQuestion record); |
|||
|
|||
int insertSelective(ZytzQmsScaleQuestion record); |
|||
|
|||
List<ZytzQmsScaleQuestion> selectByExample(ZytzQmsScaleQuestionExample example); |
|||
|
|||
ZytzQmsScaleQuestion selectByPrimaryKey(Long quesId); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzQmsScaleQuestion record, @Param("example") ZytzQmsScaleQuestionExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzQmsScaleQuestion record, @Param("example") ZytzQmsScaleQuestionExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzQmsScaleQuestion record); |
|||
|
|||
int updateByPrimaryKey(ZytzQmsScaleQuestion record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOption; |
|||
import com.acupuncture.system.domain.po.ZytzQmsScaleQuestionOptionExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzQmsScaleQuestionOptionMapper { |
|||
long countByExample(ZytzQmsScaleQuestionOptionExample example); |
|||
|
|||
int deleteByPrimaryKey(Long optionId); |
|||
|
|||
int insert(ZytzQmsScaleQuestionOption record); |
|||
|
|||
int insertSelective(ZytzQmsScaleQuestionOption record); |
|||
|
|||
List<ZytzQmsScaleQuestionOption> selectByExample(ZytzQmsScaleQuestionOptionExample example); |
|||
|
|||
ZytzQmsScaleQuestionOption selectByPrimaryKey(Long optionId); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzQmsScaleQuestionOption record, @Param("example") ZytzQmsScaleQuestionOptionExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzQmsScaleQuestionOption record, @Param("example") ZytzQmsScaleQuestionOptionExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzQmsScaleQuestionOption record); |
|||
|
|||
int updateByPrimaryKey(ZytzQmsScaleQuestionOption record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzRmsReport; |
|||
import com.acupuncture.system.domain.po.ZytzRmsReportExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzRmsReportMapper { |
|||
long countByExample(ZytzRmsReportExample example); |
|||
|
|||
int deleteByPrimaryKey(Long reportId); |
|||
|
|||
int insert(ZytzRmsReport record); |
|||
|
|||
int insertSelective(ZytzRmsReport record); |
|||
|
|||
List<ZytzRmsReport> selectByExample(ZytzRmsReportExample example); |
|||
|
|||
ZytzRmsReport selectByPrimaryKey(Long reportId); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzRmsReport record, @Param("example") ZytzRmsReportExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzRmsReport record, @Param("example") ZytzRmsReportExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzRmsReport record); |
|||
|
|||
int updateByPrimaryKey(ZytzRmsReport record); |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.acupuncture.system.persist.mapper; |
|||
|
|||
import com.acupuncture.system.domain.po.ZytzRmsReportResult; |
|||
import com.acupuncture.system.domain.po.ZytzRmsReportResultExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ZytzRmsReportResultMapper { |
|||
long countByExample(ZytzRmsReportResultExample example); |
|||
|
|||
int deleteByPrimaryKey(Long resultId); |
|||
|
|||
int insert(ZytzRmsReportResult record); |
|||
|
|||
int insertSelective(ZytzRmsReportResult record); |
|||
|
|||
List<ZytzRmsReportResult> selectByExample(ZytzRmsReportResultExample example); |
|||
|
|||
ZytzRmsReportResult selectByPrimaryKey(Long resultId); |
|||
|
|||
int updateByExampleSelective(@Param("record") ZytzRmsReportResult record, @Param("example") ZytzRmsReportResultExample example); |
|||
|
|||
int updateByExample(@Param("record") ZytzRmsReportResult record, @Param("example") ZytzRmsReportResultExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ZytzRmsReportResult record); |
|||
|
|||
int updateByPrimaryKey(ZytzRmsReportResult record); |
|||
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue