From 6deb5a7c1ca067152d293894d836635fe8d0aac3 Mon Sep 17 00:00:00 2001
From: zy_Java <654600784@qq.com>
Date: Wed, 2 Jun 2021 01:54:57 +0800
Subject: [PATCH] =?UTF-8?q?20210602=E6=96=B0=E5=BB=BA=E8=BF=9C=E7=A8=8B?=
=?UTF-8?q?=E5=BA=B7=E5=A4=8D=E5=88=86=E6=94=AF=E5=8F=8A=E9=A1=B9=E7=9B=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 12 +-
recovery/pom.xml | 71 +
.../ccsens/recovery/RecoveryApplication.java | 28 +
.../ccsens/recovery/api/DebugController.java | 28 +
.../recovery/api/HospitalController.java | 43 +
.../recovery/api/PatientController.java | 83 ++
.../ccsens/recovery/api/RecipeController.java | 83 ++
.../ccsens/recovery/bean/dto/HospitalDto.java | 33 +
.../ccsens/recovery/bean/dto/PatientDto.java | 60 +
.../ccsens/recovery/bean/dto/RecipeDto.java | 65 +
.../com/ccsens/recovery/bean/po/Doctor.java | 150 ++
.../recovery/bean/po/DoctorExample.java | 941 ++++++++++++
.../com/ccsens/recovery/bean/po/Hospital.java | 106 ++
.../recovery/bean/po/HospitalExample.java | 701 +++++++++
.../recovery/bean/po/HospitalRobot.java | 106 ++
.../bean/po/HospitalRobotExample.java | 691 +++++++++
.../com/ccsens/recovery/bean/po/Patient.java | 205 +++
.../recovery/bean/po/PatientExample.java | 1271 +++++++++++++++++
.../recovery/bean/po/PatientRelation.java | 95 ++
.../bean/po/PatientRelationExample.java | 621 ++++++++
.../com/ccsens/recovery/bean/po/RecDrill.java | 106 ++
.../recovery/bean/po/RecDrillExample.java | 711 +++++++++
.../ccsens/recovery/bean/po/RecDrillGame.java | 95 ++
.../recovery/bean/po/RecDrillGameExample.java | 621 ++++++++
.../com/ccsens/recovery/bean/po/RecGame.java | 106 ++
.../recovery/bean/po/RecGameExample.java | 711 +++++++++
.../ccsens/recovery/bean/po/RecRecord.java | 172 +++
.../recovery/bean/po/RecRecordExample.java | 1041 ++++++++++++++
.../com/ccsens/recovery/bean/po/Recipe.java | 128 ++
.../recovery/bean/po/RecipeExample.java | 801 +++++++++++
.../recovery/bean/po/RecipeProject.java | 150 ++
.../bean/po/RecipeProjectExample.java | 931 ++++++++++++
.../com/ccsens/recovery/bean/po/Relation.java | 183 +++
.../recovery/bean/po/RelationExample.java | 1151 +++++++++++++++
.../ccsens/recovery/bean/vo/HospitalVo.java | 25 +
.../ccsens/recovery/bean/vo/PatientVo.java | 42 +
.../com/ccsens/recovery/bean/vo/RecipeVo.java | 98 ++
.../ccsens/recovery/config/BeanConfig.java | 31 +
.../ccsens/recovery/config/SpringConfig.java | 168 +++
.../recovery/config/SwaggerConfigure.java | 56 +
.../intercept/MybatisInterceptor.java | 159 +++
.../recovery/persist/mapper/DoctorMapper.java | 30 +
.../persist/mapper/HospitalMapper.java | 30 +
.../persist/mapper/HospitalRobotMapper.java | 30 +
.../persist/mapper/PatientMapper.java | 30 +
.../persist/mapper/PatientRelationMapper.java | 30 +
.../persist/mapper/RecDrillGameMapper.java | 30 +
.../persist/mapper/RecDrillMapper.java | 30 +
.../persist/mapper/RecGameMapper.java | 30 +
.../persist/mapper/RecRecordMapper.java | 30 +
.../recovery/persist/mapper/RecipeMapper.java | 30 +
.../persist/mapper/RecipeProjectMapper.java | 30 +
.../persist/mapper/RelationMapper.java | 30 +
.../recovery/service/IHospitalService.java | 19 +
.../recovery/service/IPatientService.java | 49 +
.../recovery/service/IRecipeService.java | 50 +
.../com/ccsens/recovery/util/Constant.java | 10 +
.../src/main/resources/application-common.yml | 28 +
.../src/main/resources/application-dev.yml | 39 +
.../src/main/resources/application-prod.yml | 41 +
.../src/main/resources/application-test.yml | 40 +
recovery/src/main/resources/application.yml | 6 +
recovery/src/main/resources/druid-dev.yml | 37 +
recovery/src/main/resources/druid-prod.yml | 34 +
recovery/src/main/resources/druid-test.yml | 35 +
.../src/main/resources/logback-spring.xml | 196 +++
.../resources/mapper_raw/DoctorMapper.xml | 323 +++++
.../resources/mapper_raw/HospitalMapper.xml | 258 ++++
.../mapper_raw/HospitalRobotMapper.xml | 258 ++++
.../resources/mapper_raw/PatientMapper.xml | 400 ++++++
.../mapper_raw/PatientRelationMapper.xml | 243 ++++
.../mapper_raw/RecDrillGameMapper.xml | 243 ++++
.../resources/mapper_raw/RecDrillMapper.xml | 258 ++++
.../resources/mapper_raw/RecGameMapper.xml | 258 ++++
.../resources/mapper_raw/RecRecordMapper.xml | 353 +++++
.../resources/mapper_raw/RecipeMapper.xml | 291 ++++
.../mapper_raw/RecipeProjectMapper.xml | 323 +++++
.../resources/mapper_raw/RelationMapper.xml | 368 +++++
.../main/resources/mybatis/mybatis-config.xml | 62 +
79 files changed, 17455 insertions(+), 6 deletions(-)
create mode 100644 recovery/pom.xml
create mode 100644 recovery/src/main/java/com/ccsens/recovery/RecoveryApplication.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/api/DebugController.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/api/HospitalController.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/api/PatientController.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/api/RecipeController.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/dto/HospitalDto.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/dto/PatientDto.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/dto/RecipeDto.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/Doctor.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/DoctorExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/Hospital.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalRobot.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalRobotExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/Patient.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/PatientExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/PatientRelation.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/PatientRelationExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrill.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillGame.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillGameExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecGame.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecGameExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecRecord.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecRecordExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/Recipe.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecipeExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecipeProject.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RecipeProjectExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/Relation.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/po/RelationExample.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/vo/HospitalVo.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/vo/PatientVo.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/bean/vo/RecipeVo.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/config/BeanConfig.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/config/SpringConfig.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/config/SwaggerConfigure.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/intercept/MybatisInterceptor.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/DoctorMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/HospitalMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/HospitalRobotMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/PatientMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/PatientRelationMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/RecDrillGameMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/RecDrillMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/RecGameMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/RecRecordMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/RecipeMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/RecipeProjectMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/persist/mapper/RelationMapper.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/service/IHospitalService.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/service/IPatientService.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/service/IRecipeService.java
create mode 100644 recovery/src/main/java/com/ccsens/recovery/util/Constant.java
create mode 100644 recovery/src/main/resources/application-common.yml
create mode 100644 recovery/src/main/resources/application-dev.yml
create mode 100644 recovery/src/main/resources/application-prod.yml
create mode 100644 recovery/src/main/resources/application-test.yml
create mode 100644 recovery/src/main/resources/application.yml
create mode 100644 recovery/src/main/resources/druid-dev.yml
create mode 100644 recovery/src/main/resources/druid-prod.yml
create mode 100644 recovery/src/main/resources/druid-test.yml
create mode 100644 recovery/src/main/resources/logback-spring.xml
create mode 100644 recovery/src/main/resources/mapper_raw/DoctorMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/HospitalMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/HospitalRobotMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/PatientMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/PatientRelationMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/RecDrillGameMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/RecDrillMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/RecGameMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/RecRecordMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/RecipeMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/RecipeProjectMapper.xml
create mode 100644 recovery/src/main/resources/mapper_raw/RelationMapper.xml
create mode 100644 recovery/src/main/resources/mybatis/mybatis-config.xml
diff --git a/pom.xml b/pom.xml
index 6a98bbc6..bc0f10ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,16 +10,16 @@
util
tall
- game
- mt
- wisdomcar
- beneficiation
+
+
+
+
- health
+
- tcm
+
diff --git a/recovery/pom.xml b/recovery/pom.xml
new file mode 100644
index 00000000..2d28f8d0
--- /dev/null
+++ b/recovery/pom.xml
@@ -0,0 +1,71 @@
+
+
+
+ ccsenscloud
+ com.ccsens
+ 1.0-SNAPSHOT
+
+ 4.0.0
+
+ recovery
+
+ 1.8
+
+
+
+
+
+ cloudutil
+ com.ccsens
+ 1.0-SNAPSHOT
+
+
+
+
+ com.ccsens
+ util
+ 1.0-SNAPSHOT
+ compile
+
+
+
+
+
+
+
+ org.mybatis.generator
+ mybatis-generator-maven-plugin
+ 1.3.7
+
+ ${basedir}/src/main/resources/mbg.xml
+ true
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.34
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+ com.ccsens.recovery.RecoveryApplication
+
+
+
+
+
+ repackage
+
+
+
+
+
+
+
+
+
diff --git a/recovery/src/main/java/com/ccsens/recovery/RecoveryApplication.java b/recovery/src/main/java/com/ccsens/recovery/RecoveryApplication.java
new file mode 100644
index 00000000..6bcf6394
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/RecoveryApplication.java
@@ -0,0 +1,28 @@
+package com.ccsens.recovery;
+
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.web.servlet.ServletComponentScan;
+import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
+import org.springframework.cloud.openfeign.EnableFeignClients;
+import org.springframework.scheduling.annotation.EnableAsync;
+
+
+/**
+ * @author 逗
+ */
+@MapperScan(basePackages = {"com.ccsens.recovery.persist.*"})
+@ServletComponentScan
+@EnableAsync
+
+@EnableCircuitBreaker
+@EnableFeignClients(basePackages = "com.ccsens.cloudutil.feign")
+@SpringBootApplication(scanBasePackages = "com.ccsens")
+public class RecoveryApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(RecoveryApplication.class, args);
+ }
+
+}
diff --git a/recovery/src/main/java/com/ccsens/recovery/api/DebugController.java b/recovery/src/main/java/com/ccsens/recovery/api/DebugController.java
new file mode 100644
index 00000000..1d8b6828
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/api/DebugController.java
@@ -0,0 +1,28 @@
+package com.ccsens.recovery.api;
+
+import com.ccsens.util.JsonResponse;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.servlet.http.HttpServletRequest;
+
+@Api(tags = "DEBUG" , description = "DebugController | ")
+@RestController
+@RequestMapping("/debug")
+@Slf4j
+public class DebugController {
+ @ApiOperation(value = "/测试",notes = "")
+ @ApiImplicitParams({
+ })
+ @RequestMapping(value="",method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"})
+ public JsonResponse debug(HttpServletRequest request) throws Exception {
+
+ return JsonResponse.newInstance().ok("测试");
+ }
+
+}
diff --git a/recovery/src/main/java/com/ccsens/recovery/api/HospitalController.java b/recovery/src/main/java/com/ccsens/recovery/api/HospitalController.java
new file mode 100644
index 00000000..4959a134
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/api/HospitalController.java
@@ -0,0 +1,43 @@
+package com.ccsens.recovery.api;
+
+import com.ccsens.cloudutil.annotation.MustLogin;
+import com.ccsens.recovery.bean.dto.HospitalDto;
+import com.ccsens.recovery.bean.vo.HospitalVo;
+import com.ccsens.recovery.bean.vo.PatientVo;
+import com.ccsens.recovery.service.IHospitalService;
+import com.ccsens.util.JsonResponse;
+import com.ccsens.util.bean.dto.QueryDto;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * @author 逗
+ */
+@Api(tags = "患者相关接口" , description = "")
+@RestController
+@RequestMapping("/hospital")
+@Slf4j
+public class HospitalController {
+ @Resource
+ private IHospitalService hospitalService;
+
+ @MustLogin
+ @ApiOperation(value = "查看康复中心所有的智能机器人(竖屏)", notes = "zy:")
+ @RequestMapping(value = "/doctorId", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse> queryRobotByHospital(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("查看康复中心所有的智能机器人:{}",params);
+ List robotInfos = hospitalService.queryRobotByHospital(params.getParam(),params.getUserId());
+ log.info("查看康复中心所有的智能机器人成功:{}",robotInfos);
+ return JsonResponse.newInstance().ok(robotInfos);
+ }
+}
diff --git a/recovery/src/main/java/com/ccsens/recovery/api/PatientController.java b/recovery/src/main/java/com/ccsens/recovery/api/PatientController.java
new file mode 100644
index 00000000..9b93da12
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/api/PatientController.java
@@ -0,0 +1,83 @@
+package com.ccsens.recovery.api;
+
+import com.ccsens.cloudutil.annotation.MustLogin;
+import com.ccsens.recovery.bean.dto.HospitalDto;
+import com.ccsens.recovery.bean.dto.PatientDto;
+import com.ccsens.recovery.bean.vo.PatientVo;
+import com.ccsens.recovery.service.IPatientService;
+import com.ccsens.util.JsonResponse;
+import com.ccsens.util.bean.dto.QueryDto;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * @author 逗
+ */
+@Api(tags = "患者相关接口" , description = "")
+@RestController
+@RequestMapping("/patient")
+@Slf4j
+public class PatientController {
+ @Resource
+ private IPatientService patientService;
+
+ @MustLogin
+ @ApiOperation(value = "主治医生查看患者列表", notes = "zy:")
+ @RequestMapping(value = "/doctorId", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse> queryPatientByDoctorId(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("主治医生查看患者列表:{}",params);
+ List patientList = patientService.queryPatientByDoctorId(params.getParam(),params.getUserId());
+ log.info("主治医生查看患者列表成功:{}",patientList);
+ return JsonResponse.newInstance().ok(patientList);
+ }
+
+ @MustLogin
+ @ApiOperation(value = "康复中心查看患者列表", notes = "zy:")
+ @RequestMapping(value = "/recovery", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse> queryPatientByRecovery(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("康复中心查看患者列表:{}",params);
+ List patientList = patientService.queryPatientByRecovery(params.getParam(),params.getUserId());
+ log.info("康复中心查看患者列表成功:{}",patientList);
+ return JsonResponse.newInstance().ok(patientList);
+ }
+
+ @MustLogin
+ @ApiOperation(value = "查看患者的详细信息", notes = "zy:")
+ @RequestMapping(value = "/detail", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse getPatientById(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("查看患者的详细信息:{}",params);
+ PatientVo.Patient patient = patientService.getPatientById(params.getParam(),params.getUserId());
+ log.info("查看患者的详细信息成功:{}",patient);
+ return JsonResponse.newInstance().ok(patient);
+ }
+
+ @MustLogin
+ @ApiOperation(value = "添加患者", notes = "zy:")
+ @RequestMapping(value = "/add", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse addPatient(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("添加患者:{}",params);
+ patientService.addPatient(params.getParam(),params.getUserId());
+ log.info("添加患者成功");
+ return JsonResponse.newInstance().ok();
+ }
+
+ @MustLogin
+ @ApiOperation(value = "康复医生选择需要做康复的患者", notes = "zy:")
+ @RequestMapping(value = "/choose", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse choosePatient(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("康复医生选择需要做康复的患者:{}",params);
+ patientService.choosePatient(params.getParam(),params.getUserId());
+ log.info("康复医生选择需要做康复的患者成功");
+ return JsonResponse.newInstance().ok();
+ }
+}
diff --git a/recovery/src/main/java/com/ccsens/recovery/api/RecipeController.java b/recovery/src/main/java/com/ccsens/recovery/api/RecipeController.java
new file mode 100644
index 00000000..0d909988
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/api/RecipeController.java
@@ -0,0 +1,83 @@
+package com.ccsens.recovery.api;
+
+import com.ccsens.cloudutil.annotation.MustLogin;
+import com.ccsens.recovery.bean.dto.PatientDto;
+import com.ccsens.recovery.bean.dto.RecipeDto;
+import com.ccsens.recovery.bean.vo.RecipeVo;
+import com.ccsens.recovery.service.IRecipeService;
+import com.ccsens.util.JsonResponse;
+import com.ccsens.util.bean.dto.QueryDto;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * @author 逗
+ */
+@Api(tags = "患者相关接口" , description = "")
+@RestController
+@RequestMapping("/recipe")
+@Slf4j
+public class RecipeController {
+ @Resource
+ private IRecipeService recipeService;
+
+ @MustLogin
+ @ApiOperation(value = "查看所有训练", notes = "zy:")
+ @RequestMapping(value = "/queryDrill", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse> queryDrill(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("查看所有训练:{}",params);
+ List drillList = recipeService.queryDrill(params.getUserId());
+ log.info("查看所有训练成功:{}",drillList);
+ return JsonResponse.newInstance().ok(drillList);
+ }
+
+ @MustLogin
+ @ApiOperation(value = "查看训练项目对应的游戏", notes = "zy:")
+ @RequestMapping(value = "/game", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse> queryGameByDrill(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("查看训练项目对应的游戏:{}",params);
+ List gameList = recipeService.queryGameByDrill(params.getParam(),params.getUserId());
+ log.info("查看训练项目对应的游戏成功:{}",gameList);
+ return JsonResponse.newInstance().ok(gameList);
+ }
+
+ @MustLogin
+ @ApiOperation(value = "给患者添加处方", notes = "zy:")
+ @RequestMapping(value = "/add", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse queryPatientByDoctorId(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("主治医生查看患者列表:{}",params);
+ recipeService.queryPatientByDoctorId(params.getParam(),params.getUserId());
+ log.info("主治医生查看患者列表成功");
+ return JsonResponse.newInstance().ok();
+ }
+
+ @MustLogin
+ @ApiOperation(value = "查看患者的处方信息", notes = "zy:查找患者所有的处方信息,按倒叙排列")
+ @RequestMapping(value = "/queryRecipe", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse> queryRecipeByPatientId(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("查看患者的处方信息:{}",params);
+ List patientRecipeList = recipeService.queryRecipeByPatientId(params.getParam(),params.getUserId());
+ log.info("查看患者的处方信息成功:{}",patientRecipeList);
+ return JsonResponse.newInstance().ok(patientRecipeList);
+ }
+
+ @MustLogin
+ @ApiOperation(value = "查看患者处方项下的训练记录", notes = "zy:")
+ @RequestMapping(value = "/queryRecipeRecord", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse> queryRecipeRecord(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("查看患者处方项下的训练记录:{}",params);
+ List recipeRecords = recipeService.queryRecipeRecord(params.getParam(),params.getUserId());
+ log.info("查看患者处方项下的训练记录成功:{}",recipeRecords);
+ return JsonResponse.newInstance().ok(recipeRecords);
+ }
+}
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/dto/HospitalDto.java b/recovery/src/main/java/com/ccsens/recovery/bean/dto/HospitalDto.java
new file mode 100644
index 00000000..0342e142
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/dto/HospitalDto.java
@@ -0,0 +1,33 @@
+package com.ccsens.recovery.bean.dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
+
+/**
+ * @author 逗
+ */
+@Data
+public class HospitalDto {
+
+ @Data
+ @ApiModel("医生id")
+ public static class DoctorId{
+ @NotNull(message = "医生id不能为空")
+ @ApiModelProperty("医生id")
+ private Long id;
+ }
+
+ @Data
+ @ApiModel("康复中心id")
+ public static class HospitalId{
+ @NotNull(message = "康复中心id不能为空")
+ @ApiModelProperty("康复中心id")
+ private Long id;
+ }
+
+
+}
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/dto/PatientDto.java b/recovery/src/main/java/com/ccsens/recovery/bean/dto/PatientDto.java
new file mode 100644
index 00000000..f8671b85
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/dto/PatientDto.java
@@ -0,0 +1,60 @@
+package com.ccsens.recovery.bean.dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
+
+/**
+ * @author 逗
+ */
+@Data
+public class PatientDto {
+
+
+ @Data
+ @ApiModel("患者id")
+ public static class PatientId{
+ @NotNull(message = "患者id不能为空")
+ @ApiModelProperty("患者id")
+ private Long id;
+ }
+
+ @Data
+ @ApiModel("添加患者信息")
+ public static class PatientDetail{
+ @NotBlank(message = "请输入姓名")
+ @ApiModelProperty("姓名")
+ private String name;
+ @ApiModelProperty("性别 0女 1男")
+ private byte sex;
+ @ApiModelProperty("年龄")
+ private int age;
+ @NotBlank(message = "请输入身份证号")
+ @ApiModelProperty("身份证号")
+ private String idCard;
+ @NotBlank(message = "请输入联系方式")
+ @ApiModelProperty("联系方式")
+ private String phone;
+ @ApiModelProperty("家庭地址")
+ private String address;
+ @NotNull(message = "请选择康复中心")
+ @ApiModelProperty("康复中心id")
+ private Long hospitalId;
+ }
+
+ @Data
+ @ApiModel("康复医生选择需要训练的患者")
+ public static class ChoosePatient{
+ @NotNull(message = "患者id不能为空")
+ @ApiModelProperty("患者id")
+ private Long id;
+ @NotNull(message = "机器人id不能为空")
+ @ApiModelProperty("机器人id")
+ private Long robotId;
+ }
+
+
+}
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/dto/RecipeDto.java b/recovery/src/main/java/com/ccsens/recovery/bean/dto/RecipeDto.java
new file mode 100644
index 00000000..4b33e2d0
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/dto/RecipeDto.java
@@ -0,0 +1,65 @@
+package com.ccsens.recovery.bean.dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import javax.validation.constraints.NotNull;
+import java.util.List;
+
+/**
+ * @author 逗
+ */
+@Data
+public class RecipeDto {
+
+ @Data
+ @ApiModel("处方项id")
+ public static class RecipeProjectId{
+ @NotNull(message = "处方项id不能为空")
+ @ApiModelProperty("处方项id")
+ private Long id;
+ }
+
+ @Data
+ @ApiModel("给患者添加处方")
+ public static class DrillId{
+ @NotNull(message = "训练项目id不能为空")
+ @ApiModelProperty("训练项目id")
+ private Long id;
+ }
+
+ @Data
+ @ApiModel("给患者添加处方")
+ public static class AddRecipe{
+ @NotNull(message = "患者id不能为空")
+ @ApiModelProperty("患者id")
+ private Long id;
+ @NotNull(message = "请指定开始时间")
+ @ApiModelProperty("开始时间")
+ private Long startTime;
+ @NotNull(message = "请指定结束时间")
+ @ApiModelProperty("结束时间")
+ private Long endTime;
+ @ApiModelProperty("训练项目")
+ private List recipeProjectList;
+ }
+
+ @Data
+ @ApiModel("处方项信息")
+ public static class RecipeProject{
+ @NotNull(message = "请训练的项目")
+ @ApiModelProperty("康复训练的id")
+ private Long drillId;
+ @ApiModelProperty("训练频率(默认:每天)")
+ private String cycle = "每天";
+ @ApiModelProperty("每天几次")
+ private int timesDay;
+ @ApiModelProperty("每次几组")
+ private int groupTimes;
+ @ApiModelProperty("每组几个")
+ private int severalGroup;
+ }
+
+
+}
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/Doctor.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/Doctor.java
new file mode 100644
index 00000000..946a8963
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/Doctor.java
@@ -0,0 +1,150 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class Doctor implements Serializable {
+ private Long id;
+
+ private Long userId;
+
+ private Long hospitalId;
+
+ private Byte position;
+
+ private String name;
+
+ private Byte sex;
+
+ private Integer age;
+
+ private String remark;
+
+ private Long operator;
+
+ private Date createTime;
+
+ private Date updateTime;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getUserId() {
+ return userId;
+ }
+
+ public void setUserId(Long userId) {
+ this.userId = userId;
+ }
+
+ public Long getHospitalId() {
+ return hospitalId;
+ }
+
+ public void setHospitalId(Long hospitalId) {
+ this.hospitalId = hospitalId;
+ }
+
+ public Byte getPosition() {
+ return position;
+ }
+
+ public void setPosition(Byte position) {
+ this.position = position;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name == null ? null : name.trim();
+ }
+
+ public Byte getSex() {
+ return sex;
+ }
+
+ public void setSex(Byte sex) {
+ this.sex = sex;
+ }
+
+ public Integer getAge() {
+ return age;
+ }
+
+ public void setAge(Integer age) {
+ this.age = age;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark == null ? null : remark.trim();
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", userId=").append(userId);
+ sb.append(", hospitalId=").append(hospitalId);
+ sb.append(", position=").append(position);
+ sb.append(", name=").append(name);
+ sb.append(", sex=").append(sex);
+ sb.append(", age=").append(age);
+ sb.append(", remark=").append(remark);
+ sb.append(", operator=").append(operator);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", updateTime=").append(updateTime);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/DoctorExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/DoctorExample.java
new file mode 100644
index 00000000..75b5da4b
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/DoctorExample.java
@@ -0,0 +1,941 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class DoctorExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public DoctorExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIsNull() {
+ addCriterion("user_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIsNotNull() {
+ addCriterion("user_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdEqualTo(Long value) {
+ addCriterion("user_id =", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotEqualTo(Long value) {
+ addCriterion("user_id <>", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdGreaterThan(Long value) {
+ addCriterion("user_id >", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("user_id >=", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdLessThan(Long value) {
+ addCriterion("user_id <", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdLessThanOrEqualTo(Long value) {
+ addCriterion("user_id <=", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIn(List values) {
+ addCriterion("user_id in", values, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotIn(List values) {
+ addCriterion("user_id not in", values, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdBetween(Long value1, Long value2) {
+ addCriterion("user_id between", value1, value2, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotBetween(Long value1, Long value2) {
+ addCriterion("user_id not between", value1, value2, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNull() {
+ addCriterion("hospital_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNotNull() {
+ addCriterion("hospital_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdEqualTo(Long value) {
+ addCriterion("hospital_id =", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotEqualTo(Long value) {
+ addCriterion("hospital_id <>", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThan(Long value) {
+ addCriterion("hospital_id >", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("hospital_id >=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThan(Long value) {
+ addCriterion("hospital_id <", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThanOrEqualTo(Long value) {
+ addCriterion("hospital_id <=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIn(List values) {
+ addCriterion("hospital_id in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotIn(List values) {
+ addCriterion("hospital_id not in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdBetween(Long value1, Long value2) {
+ addCriterion("hospital_id between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotBetween(Long value1, Long value2) {
+ addCriterion("hospital_id not between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionIsNull() {
+ addCriterion("position is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionIsNotNull() {
+ addCriterion("position is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionEqualTo(Byte value) {
+ addCriterion("position =", value, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionNotEqualTo(Byte value) {
+ addCriterion("position <>", value, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionGreaterThan(Byte value) {
+ addCriterion("position >", value, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionGreaterThanOrEqualTo(Byte value) {
+ addCriterion("position >=", value, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionLessThan(Byte value) {
+ addCriterion("position <", value, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionLessThanOrEqualTo(Byte value) {
+ addCriterion("position <=", value, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionIn(List values) {
+ addCriterion("position in", values, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionNotIn(List values) {
+ addCriterion("position not in", values, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionBetween(Byte value1, Byte value2) {
+ addCriterion("position between", value1, value2, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andPositionNotBetween(Byte value1, Byte value2) {
+ addCriterion("position not between", value1, value2, "position");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexIsNull() {
+ addCriterion("sex is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexIsNotNull() {
+ addCriterion("sex is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexEqualTo(Byte value) {
+ addCriterion("sex =", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexNotEqualTo(Byte value) {
+ addCriterion("sex <>", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexGreaterThan(Byte value) {
+ addCriterion("sex >", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexGreaterThanOrEqualTo(Byte value) {
+ addCriterion("sex >=", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexLessThan(Byte value) {
+ addCriterion("sex <", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexLessThanOrEqualTo(Byte value) {
+ addCriterion("sex <=", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexIn(List values) {
+ addCriterion("sex in", values, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexNotIn(List values) {
+ addCriterion("sex not in", values, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexBetween(Byte value1, Byte value2) {
+ addCriterion("sex between", value1, value2, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexNotBetween(Byte value1, Byte value2) {
+ addCriterion("sex not between", value1, value2, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeIsNull() {
+ addCriterion("age is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeIsNotNull() {
+ addCriterion("age is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeEqualTo(Integer value) {
+ addCriterion("age =", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeNotEqualTo(Integer value) {
+ addCriterion("age <>", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeGreaterThan(Integer value) {
+ addCriterion("age >", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
+ addCriterion("age >=", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeLessThan(Integer value) {
+ addCriterion("age <", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeLessThanOrEqualTo(Integer value) {
+ addCriterion("age <=", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeIn(List values) {
+ addCriterion("age in", values, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeNotIn(List values) {
+ addCriterion("age not in", values, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeBetween(Integer value1, Integer value2) {
+ addCriterion("age between", value1, value2, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeNotBetween(Integer value1, Integer value2) {
+ addCriterion("age not between", value1, value2, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIsNull() {
+ addCriterion("remark is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIsNotNull() {
+ addCriterion("remark is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkEqualTo(String value) {
+ addCriterion("remark =", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotEqualTo(String value) {
+ addCriterion("remark <>", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkGreaterThan(String value) {
+ addCriterion("remark >", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkGreaterThanOrEqualTo(String value) {
+ addCriterion("remark >=", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLessThan(String value) {
+ addCriterion("remark <", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLessThanOrEqualTo(String value) {
+ addCriterion("remark <=", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLike(String value) {
+ addCriterion("remark like", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotLike(String value) {
+ addCriterion("remark not like", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIn(List values) {
+ addCriterion("remark in", values, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotIn(List values) {
+ addCriterion("remark not in", values, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkBetween(String value1, String value2) {
+ addCriterion("remark between", value1, value2, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotBetween(String value1, String value2) {
+ addCriterion("remark not between", value1, value2, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNull() {
+ addCriterion("operator is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNotNull() {
+ addCriterion("operator is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorEqualTo(Long value) {
+ addCriterion("operator =", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotEqualTo(Long value) {
+ addCriterion("operator <>", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThan(Long value) {
+ addCriterion("operator >", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
+ addCriterion("operator >=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThan(Long value) {
+ addCriterion("operator <", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThanOrEqualTo(Long value) {
+ addCriterion("operator <=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIn(List values) {
+ addCriterion("operator in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotIn(List values) {
+ addCriterion("operator not in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorBetween(Long value1, Long value2) {
+ addCriterion("operator between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotBetween(Long value1, Long value2) {
+ addCriterion("operator not between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Date value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Date value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Date value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Date value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Date value1, Date value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Date value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Date value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Date value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Date value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/Hospital.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/Hospital.java
new file mode 100644
index 00000000..47c702f2
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/Hospital.java
@@ -0,0 +1,106 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class Hospital implements Serializable {
+ private Long id;
+
+ private String code;
+
+ private String name;
+
+ private Byte type;
+
+ private Long operator;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getCode() {
+ return code;
+ }
+
+ public void setCode(String code) {
+ this.code = code == null ? null : code.trim();
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name == null ? null : name.trim();
+ }
+
+ public Byte getType() {
+ return type;
+ }
+
+ public void setType(Byte type) {
+ this.type = type;
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @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(", code=").append(code);
+ sb.append(", name=").append(name);
+ sb.append(", type=").append(type);
+ sb.append(", operator=").append(operator);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalExample.java
new file mode 100644
index 00000000..b9ff9fcb
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalExample.java
@@ -0,0 +1,701 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class HospitalExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public HospitalExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeIsNull() {
+ addCriterion("code is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeIsNotNull() {
+ addCriterion("code is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeEqualTo(String value) {
+ addCriterion("code =", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeNotEqualTo(String value) {
+ addCriterion("code <>", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeGreaterThan(String value) {
+ addCriterion("code >", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeGreaterThanOrEqualTo(String value) {
+ addCriterion("code >=", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeLessThan(String value) {
+ addCriterion("code <", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeLessThanOrEqualTo(String value) {
+ addCriterion("code <=", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeLike(String value) {
+ addCriterion("code like", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeNotLike(String value) {
+ addCriterion("code not like", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeIn(List values) {
+ addCriterion("code in", values, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeNotIn(List values) {
+ addCriterion("code not in", values, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeBetween(String value1, String value2) {
+ addCriterion("code between", value1, value2, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeNotBetween(String value1, String value2) {
+ addCriterion("code not between", value1, value2, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("type is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("type is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(Byte value) {
+ addCriterion("type =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(Byte value) {
+ addCriterion("type <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(Byte value) {
+ addCriterion("type >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
+ addCriterion("type >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(Byte value) {
+ addCriterion("type <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(Byte value) {
+ addCriterion("type <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("type in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("type not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(Byte value1, Byte value2) {
+ addCriterion("type between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(Byte value1, Byte value2) {
+ addCriterion("type not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNull() {
+ addCriterion("operator is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNotNull() {
+ addCriterion("operator is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorEqualTo(Long value) {
+ addCriterion("operator =", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotEqualTo(Long value) {
+ addCriterion("operator <>", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThan(Long value) {
+ addCriterion("operator >", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
+ addCriterion("operator >=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThan(Long value) {
+ addCriterion("operator <", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThanOrEqualTo(Long value) {
+ addCriterion("operator <=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIn(List values) {
+ addCriterion("operator in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotIn(List values) {
+ addCriterion("operator not in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorBetween(Long value1, Long value2) {
+ addCriterion("operator between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotBetween(Long value1, Long value2) {
+ addCriterion("operator not between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalRobot.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalRobot.java
new file mode 100644
index 00000000..781d2a94
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalRobot.java
@@ -0,0 +1,106 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class HospitalRobot implements Serializable {
+ private Long id;
+
+ private String code;
+
+ private Long userid;
+
+ private Byte hospitalId;
+
+ private Long operator;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getCode() {
+ return code;
+ }
+
+ public void setCode(String code) {
+ this.code = code == null ? null : code.trim();
+ }
+
+ public Long getUserid() {
+ return userid;
+ }
+
+ public void setUserid(Long userid) {
+ this.userid = userid;
+ }
+
+ public Byte getHospitalId() {
+ return hospitalId;
+ }
+
+ public void setHospitalId(Byte hospitalId) {
+ this.hospitalId = hospitalId;
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @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(", code=").append(code);
+ sb.append(", userid=").append(userid);
+ sb.append(", hospitalId=").append(hospitalId);
+ sb.append(", operator=").append(operator);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalRobotExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalRobotExample.java
new file mode 100644
index 00000000..28199f5e
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/HospitalRobotExample.java
@@ -0,0 +1,691 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class HospitalRobotExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public HospitalRobotExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeIsNull() {
+ addCriterion("code is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeIsNotNull() {
+ addCriterion("code is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeEqualTo(String value) {
+ addCriterion("code =", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeNotEqualTo(String value) {
+ addCriterion("code <>", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeGreaterThan(String value) {
+ addCriterion("code >", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeGreaterThanOrEqualTo(String value) {
+ addCriterion("code >=", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeLessThan(String value) {
+ addCriterion("code <", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeLessThanOrEqualTo(String value) {
+ addCriterion("code <=", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeLike(String value) {
+ addCriterion("code like", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeNotLike(String value) {
+ addCriterion("code not like", value, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeIn(List values) {
+ addCriterion("code in", values, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeNotIn(List values) {
+ addCriterion("code not in", values, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeBetween(String value1, String value2) {
+ addCriterion("code between", value1, value2, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andCodeNotBetween(String value1, String value2) {
+ addCriterion("code not between", value1, value2, "code");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridIsNull() {
+ addCriterion("userId is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridIsNotNull() {
+ addCriterion("userId is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridEqualTo(Long value) {
+ addCriterion("userId =", value, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridNotEqualTo(Long value) {
+ addCriterion("userId <>", value, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridGreaterThan(Long value) {
+ addCriterion("userId >", value, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridGreaterThanOrEqualTo(Long value) {
+ addCriterion("userId >=", value, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridLessThan(Long value) {
+ addCriterion("userId <", value, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridLessThanOrEqualTo(Long value) {
+ addCriterion("userId <=", value, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridIn(List values) {
+ addCriterion("userId in", values, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridNotIn(List values) {
+ addCriterion("userId not in", values, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridBetween(Long value1, Long value2) {
+ addCriterion("userId between", value1, value2, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andUseridNotBetween(Long value1, Long value2) {
+ addCriterion("userId not between", value1, value2, "userid");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNull() {
+ addCriterion("hospital_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNotNull() {
+ addCriterion("hospital_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdEqualTo(Byte value) {
+ addCriterion("hospital_id =", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotEqualTo(Byte value) {
+ addCriterion("hospital_id <>", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThan(Byte value) {
+ addCriterion("hospital_id >", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThanOrEqualTo(Byte value) {
+ addCriterion("hospital_id >=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThan(Byte value) {
+ addCriterion("hospital_id <", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThanOrEqualTo(Byte value) {
+ addCriterion("hospital_id <=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIn(List values) {
+ addCriterion("hospital_id in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotIn(List values) {
+ addCriterion("hospital_id not in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdBetween(Byte value1, Byte value2) {
+ addCriterion("hospital_id between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotBetween(Byte value1, Byte value2) {
+ addCriterion("hospital_id not between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNull() {
+ addCriterion("operator is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNotNull() {
+ addCriterion("operator is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorEqualTo(Long value) {
+ addCriterion("operator =", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotEqualTo(Long value) {
+ addCriterion("operator <>", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThan(Long value) {
+ addCriterion("operator >", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
+ addCriterion("operator >=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThan(Long value) {
+ addCriterion("operator <", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThanOrEqualTo(Long value) {
+ addCriterion("operator <=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIn(List values) {
+ addCriterion("operator in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotIn(List values) {
+ addCriterion("operator not in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorBetween(Long value1, Long value2) {
+ addCriterion("operator between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotBetween(Long value1, Long value2) {
+ addCriterion("operator not between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/Patient.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/Patient.java
new file mode 100644
index 00000000..dca07123
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/Patient.java
@@ -0,0 +1,205 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class Patient implements Serializable {
+ private Long id;
+
+ private Long userId;
+
+ private String name;
+
+ private Byte sex;
+
+ private Integer age;
+
+ private String idCard;
+
+ private String phone;
+
+ private String address;
+
+ private Long inputTime;
+
+ private String remark;
+
+ private Long hospitalId;
+
+ private Long doctorId;
+
+ private Long projectId;
+
+ private Long operator;
+
+ private Date createTime;
+
+ private Date updateTime;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getUserId() {
+ return userId;
+ }
+
+ public void setUserId(Long userId) {
+ this.userId = userId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name == null ? null : name.trim();
+ }
+
+ public Byte getSex() {
+ return sex;
+ }
+
+ public void setSex(Byte sex) {
+ this.sex = sex;
+ }
+
+ public Integer getAge() {
+ return age;
+ }
+
+ public void setAge(Integer age) {
+ this.age = age;
+ }
+
+ public String getIdCard() {
+ return idCard;
+ }
+
+ public void setIdCard(String idCard) {
+ this.idCard = idCard == null ? null : idCard.trim();
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone == null ? null : phone.trim();
+ }
+
+ public String getAddress() {
+ return address;
+ }
+
+ public void setAddress(String address) {
+ this.address = address == null ? null : address.trim();
+ }
+
+ public Long getInputTime() {
+ return inputTime;
+ }
+
+ public void setInputTime(Long inputTime) {
+ this.inputTime = inputTime;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark == null ? null : remark.trim();
+ }
+
+ public Long getHospitalId() {
+ return hospitalId;
+ }
+
+ public void setHospitalId(Long hospitalId) {
+ this.hospitalId = hospitalId;
+ }
+
+ public Long getDoctorId() {
+ return doctorId;
+ }
+
+ public void setDoctorId(Long doctorId) {
+ this.doctorId = doctorId;
+ }
+
+ public Long getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(Long projectId) {
+ this.projectId = projectId;
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", userId=").append(userId);
+ sb.append(", name=").append(name);
+ sb.append(", sex=").append(sex);
+ sb.append(", age=").append(age);
+ sb.append(", idCard=").append(idCard);
+ sb.append(", phone=").append(phone);
+ sb.append(", address=").append(address);
+ sb.append(", inputTime=").append(inputTime);
+ sb.append(", remark=").append(remark);
+ sb.append(", hospitalId=").append(hospitalId);
+ sb.append(", doctorId=").append(doctorId);
+ sb.append(", projectId=").append(projectId);
+ sb.append(", operator=").append(operator);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", updateTime=").append(updateTime);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientExample.java
new file mode 100644
index 00000000..7de3c3c6
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientExample.java
@@ -0,0 +1,1271 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class PatientExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public PatientExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIsNull() {
+ addCriterion("user_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIsNotNull() {
+ addCriterion("user_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdEqualTo(Long value) {
+ addCriterion("user_id =", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotEqualTo(Long value) {
+ addCriterion("user_id <>", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdGreaterThan(Long value) {
+ addCriterion("user_id >", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("user_id >=", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdLessThan(Long value) {
+ addCriterion("user_id <", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdLessThanOrEqualTo(Long value) {
+ addCriterion("user_id <=", value, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdIn(List values) {
+ addCriterion("user_id in", values, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotIn(List values) {
+ addCriterion("user_id not in", values, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdBetween(Long value1, Long value2) {
+ addCriterion("user_id between", value1, value2, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andUserIdNotBetween(Long value1, Long value2) {
+ addCriterion("user_id not between", value1, value2, "userId");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexIsNull() {
+ addCriterion("sex is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexIsNotNull() {
+ addCriterion("sex is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexEqualTo(Byte value) {
+ addCriterion("sex =", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexNotEqualTo(Byte value) {
+ addCriterion("sex <>", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexGreaterThan(Byte value) {
+ addCriterion("sex >", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexGreaterThanOrEqualTo(Byte value) {
+ addCriterion("sex >=", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexLessThan(Byte value) {
+ addCriterion("sex <", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexLessThanOrEqualTo(Byte value) {
+ addCriterion("sex <=", value, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexIn(List values) {
+ addCriterion("sex in", values, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexNotIn(List values) {
+ addCriterion("sex not in", values, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexBetween(Byte value1, Byte value2) {
+ addCriterion("sex between", value1, value2, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andSexNotBetween(Byte value1, Byte value2) {
+ addCriterion("sex not between", value1, value2, "sex");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeIsNull() {
+ addCriterion("age is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeIsNotNull() {
+ addCriterion("age is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeEqualTo(Integer value) {
+ addCriterion("age =", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeNotEqualTo(Integer value) {
+ addCriterion("age <>", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeGreaterThan(Integer value) {
+ addCriterion("age >", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
+ addCriterion("age >=", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeLessThan(Integer value) {
+ addCriterion("age <", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeLessThanOrEqualTo(Integer value) {
+ addCriterion("age <=", value, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeIn(List values) {
+ addCriterion("age in", values, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeNotIn(List values) {
+ addCriterion("age not in", values, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeBetween(Integer value1, Integer value2) {
+ addCriterion("age between", value1, value2, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andAgeNotBetween(Integer value1, Integer value2) {
+ addCriterion("age not between", value1, value2, "age");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardIsNull() {
+ addCriterion("id_card is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardIsNotNull() {
+ addCriterion("id_card is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardEqualTo(String value) {
+ addCriterion("id_card =", value, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardNotEqualTo(String value) {
+ addCriterion("id_card <>", value, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardGreaterThan(String value) {
+ addCriterion("id_card >", value, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardGreaterThanOrEqualTo(String value) {
+ addCriterion("id_card >=", value, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardLessThan(String value) {
+ addCriterion("id_card <", value, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardLessThanOrEqualTo(String value) {
+ addCriterion("id_card <=", value, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardLike(String value) {
+ addCriterion("id_card like", value, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardNotLike(String value) {
+ addCriterion("id_card not like", value, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardIn(List values) {
+ addCriterion("id_card in", values, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardNotIn(List values) {
+ addCriterion("id_card not in", values, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardBetween(String value1, String value2) {
+ addCriterion("id_card between", value1, value2, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdCardNotBetween(String value1, String value2) {
+ addCriterion("id_card not between", value1, value2, "idCard");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneIsNull() {
+ addCriterion("phone is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneIsNotNull() {
+ addCriterion("phone is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneEqualTo(String value) {
+ addCriterion("phone =", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneNotEqualTo(String value) {
+ addCriterion("phone <>", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneGreaterThan(String value) {
+ addCriterion("phone >", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneGreaterThanOrEqualTo(String value) {
+ addCriterion("phone >=", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneLessThan(String value) {
+ addCriterion("phone <", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneLessThanOrEqualTo(String value) {
+ addCriterion("phone <=", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneLike(String value) {
+ addCriterion("phone like", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneNotLike(String value) {
+ addCriterion("phone not like", value, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneIn(List values) {
+ addCriterion("phone in", values, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneNotIn(List values) {
+ addCriterion("phone not in", values, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneBetween(String value1, String value2) {
+ addCriterion("phone between", value1, value2, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andPhoneNotBetween(String value1, String value2) {
+ addCriterion("phone not between", value1, value2, "phone");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressIsNull() {
+ addCriterion("address is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressIsNotNull() {
+ addCriterion("address is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressEqualTo(String value) {
+ addCriterion("address =", value, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressNotEqualTo(String value) {
+ addCriterion("address <>", value, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressGreaterThan(String value) {
+ addCriterion("address >", value, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressGreaterThanOrEqualTo(String value) {
+ addCriterion("address >=", value, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressLessThan(String value) {
+ addCriterion("address <", value, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressLessThanOrEqualTo(String value) {
+ addCriterion("address <=", value, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressLike(String value) {
+ addCriterion("address like", value, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressNotLike(String value) {
+ addCriterion("address not like", value, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressIn(List values) {
+ addCriterion("address in", values, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressNotIn(List values) {
+ addCriterion("address not in", values, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressBetween(String value1, String value2) {
+ addCriterion("address between", value1, value2, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andAddressNotBetween(String value1, String value2) {
+ addCriterion("address not between", value1, value2, "address");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeIsNull() {
+ addCriterion("input_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeIsNotNull() {
+ addCriterion("input_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeEqualTo(Long value) {
+ addCriterion("input_time =", value, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeNotEqualTo(Long value) {
+ addCriterion("input_time <>", value, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeGreaterThan(Long value) {
+ addCriterion("input_time >", value, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("input_time >=", value, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeLessThan(Long value) {
+ addCriterion("input_time <", value, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeLessThanOrEqualTo(Long value) {
+ addCriterion("input_time <=", value, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeIn(List values) {
+ addCriterion("input_time in", values, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeNotIn(List values) {
+ addCriterion("input_time not in", values, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeBetween(Long value1, Long value2) {
+ addCriterion("input_time between", value1, value2, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andInputTimeNotBetween(Long value1, Long value2) {
+ addCriterion("input_time not between", value1, value2, "inputTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIsNull() {
+ addCriterion("remark is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIsNotNull() {
+ addCriterion("remark is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkEqualTo(String value) {
+ addCriterion("remark =", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotEqualTo(String value) {
+ addCriterion("remark <>", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkGreaterThan(String value) {
+ addCriterion("remark >", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkGreaterThanOrEqualTo(String value) {
+ addCriterion("remark >=", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLessThan(String value) {
+ addCriterion("remark <", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLessThanOrEqualTo(String value) {
+ addCriterion("remark <=", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLike(String value) {
+ addCriterion("remark like", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotLike(String value) {
+ addCriterion("remark not like", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIn(List values) {
+ addCriterion("remark in", values, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotIn(List values) {
+ addCriterion("remark not in", values, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkBetween(String value1, String value2) {
+ addCriterion("remark between", value1, value2, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotBetween(String value1, String value2) {
+ addCriterion("remark not between", value1, value2, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNull() {
+ addCriterion("hospital_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNotNull() {
+ addCriterion("hospital_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdEqualTo(Long value) {
+ addCriterion("hospital_id =", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotEqualTo(Long value) {
+ addCriterion("hospital_id <>", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThan(Long value) {
+ addCriterion("hospital_id >", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("hospital_id >=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThan(Long value) {
+ addCriterion("hospital_id <", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThanOrEqualTo(Long value) {
+ addCriterion("hospital_id <=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIn(List values) {
+ addCriterion("hospital_id in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotIn(List values) {
+ addCriterion("hospital_id not in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdBetween(Long value1, Long value2) {
+ addCriterion("hospital_id between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotBetween(Long value1, Long value2) {
+ addCriterion("hospital_id not between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdIsNull() {
+ addCriterion("doctor_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdIsNotNull() {
+ addCriterion("doctor_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdEqualTo(Long value) {
+ addCriterion("doctor_id =", value, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdNotEqualTo(Long value) {
+ addCriterion("doctor_id <>", value, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdGreaterThan(Long value) {
+ addCriterion("doctor_id >", value, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("doctor_id >=", value, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdLessThan(Long value) {
+ addCriterion("doctor_id <", value, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdLessThanOrEqualTo(Long value) {
+ addCriterion("doctor_id <=", value, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdIn(List values) {
+ addCriterion("doctor_id in", values, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdNotIn(List values) {
+ addCriterion("doctor_id not in", values, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdBetween(Long value1, Long value2) {
+ addCriterion("doctor_id between", value1, value2, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDoctorIdNotBetween(Long value1, Long value2) {
+ addCriterion("doctor_id not between", value1, value2, "doctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdIsNull() {
+ addCriterion("project_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdIsNotNull() {
+ addCriterion("project_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdEqualTo(Long value) {
+ addCriterion("project_id =", value, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdNotEqualTo(Long value) {
+ addCriterion("project_id <>", value, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdGreaterThan(Long value) {
+ addCriterion("project_id >", value, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("project_id >=", value, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdLessThan(Long value) {
+ addCriterion("project_id <", value, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdLessThanOrEqualTo(Long value) {
+ addCriterion("project_id <=", value, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdIn(List values) {
+ addCriterion("project_id in", values, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdNotIn(List values) {
+ addCriterion("project_id not in", values, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdBetween(Long value1, Long value2) {
+ addCriterion("project_id between", value1, value2, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andProjectIdNotBetween(Long value1, Long value2) {
+ addCriterion("project_id not between", value1, value2, "projectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNull() {
+ addCriterion("operator is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNotNull() {
+ addCriterion("operator is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorEqualTo(Long value) {
+ addCriterion("operator =", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotEqualTo(Long value) {
+ addCriterion("operator <>", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThan(Long value) {
+ addCriterion("operator >", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
+ addCriterion("operator >=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThan(Long value) {
+ addCriterion("operator <", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThanOrEqualTo(Long value) {
+ addCriterion("operator <=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIn(List values) {
+ addCriterion("operator in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotIn(List values) {
+ addCriterion("operator not in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorBetween(Long value1, Long value2) {
+ addCriterion("operator between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotBetween(Long value1, Long value2) {
+ addCriterion("operator not between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Date value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Date value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Date value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Date value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Date value1, Date value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Date value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Date value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Date value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Date value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientRelation.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientRelation.java
new file mode 100644
index 00000000..977e3dac
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientRelation.java
@@ -0,0 +1,95 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class PatientRelation implements Serializable {
+ private Long id;
+
+ private Long patientId;
+
+ private Long relationId;
+
+ private Long operator;
+
+ private Date createTime;
+
+ private Date updateTime;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getPatientId() {
+ return patientId;
+ }
+
+ public void setPatientId(Long patientId) {
+ this.patientId = patientId;
+ }
+
+ public Long getRelationId() {
+ return relationId;
+ }
+
+ public void setRelationId(Long relationId) {
+ this.relationId = relationId;
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @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(", patientId=").append(patientId);
+ sb.append(", relationId=").append(relationId);
+ sb.append(", operator=").append(operator);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", updateTime=").append(updateTime);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientRelationExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientRelationExample.java
new file mode 100644
index 00000000..b81a1d81
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/PatientRelationExample.java
@@ -0,0 +1,621 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class PatientRelationExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public PatientRelationExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdIsNull() {
+ addCriterion("patient_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdIsNotNull() {
+ addCriterion("patient_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdEqualTo(Long value) {
+ addCriterion("patient_id =", value, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdNotEqualTo(Long value) {
+ addCriterion("patient_id <>", value, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdGreaterThan(Long value) {
+ addCriterion("patient_id >", value, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("patient_id >=", value, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdLessThan(Long value) {
+ addCriterion("patient_id <", value, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdLessThanOrEqualTo(Long value) {
+ addCriterion("patient_id <=", value, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdIn(List values) {
+ addCriterion("patient_id in", values, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdNotIn(List values) {
+ addCriterion("patient_id not in", values, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdBetween(Long value1, Long value2) {
+ addCriterion("patient_id between", value1, value2, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andPatientIdNotBetween(Long value1, Long value2) {
+ addCriterion("patient_id not between", value1, value2, "patientId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdIsNull() {
+ addCriterion("relation_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdIsNotNull() {
+ addCriterion("relation_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdEqualTo(Long value) {
+ addCriterion("relation_id =", value, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdNotEqualTo(Long value) {
+ addCriterion("relation_id <>", value, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdGreaterThan(Long value) {
+ addCriterion("relation_id >", value, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("relation_id >=", value, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdLessThan(Long value) {
+ addCriterion("relation_id <", value, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdLessThanOrEqualTo(Long value) {
+ addCriterion("relation_id <=", value, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdIn(List values) {
+ addCriterion("relation_id in", values, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdNotIn(List values) {
+ addCriterion("relation_id not in", values, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdBetween(Long value1, Long value2) {
+ addCriterion("relation_id between", value1, value2, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRelationIdNotBetween(Long value1, Long value2) {
+ addCriterion("relation_id not between", value1, value2, "relationId");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNull() {
+ addCriterion("operator is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNotNull() {
+ addCriterion("operator is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorEqualTo(Long value) {
+ addCriterion("operator =", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotEqualTo(Long value) {
+ addCriterion("operator <>", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThan(Long value) {
+ addCriterion("operator >", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
+ addCriterion("operator >=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThan(Long value) {
+ addCriterion("operator <", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThanOrEqualTo(Long value) {
+ addCriterion("operator <=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIn(List values) {
+ addCriterion("operator in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotIn(List values) {
+ addCriterion("operator not in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorBetween(Long value1, Long value2) {
+ addCriterion("operator between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotBetween(Long value1, Long value2) {
+ addCriterion("operator not between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Date value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Date value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Date value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Date value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Date value1, Date value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Date value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Date value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Date value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Date value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrill.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrill.java
new file mode 100644
index 00000000..8bacf58f
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrill.java
@@ -0,0 +1,106 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class RecDrill implements Serializable {
+ private Long id;
+
+ private String name;
+
+ private String video;
+
+ private String remark;
+
+ private Long operator;
+
+ private Date createTime;
+
+ private Date updateTime;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name == null ? null : name.trim();
+ }
+
+ public String getVideo() {
+ return video;
+ }
+
+ public void setVideo(String video) {
+ this.video = video == null ? null : video.trim();
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark == null ? null : remark.trim();
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @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(", name=").append(name);
+ sb.append(", video=").append(video);
+ sb.append(", remark=").append(remark);
+ sb.append(", operator=").append(operator);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", updateTime=").append(updateTime);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillExample.java
new file mode 100644
index 00000000..ef43b8cc
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillExample.java
@@ -0,0 +1,711 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class RecDrillExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public RecDrillExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoIsNull() {
+ addCriterion("video is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoIsNotNull() {
+ addCriterion("video is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoEqualTo(String value) {
+ addCriterion("video =", value, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoNotEqualTo(String value) {
+ addCriterion("video <>", value, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoGreaterThan(String value) {
+ addCriterion("video >", value, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoGreaterThanOrEqualTo(String value) {
+ addCriterion("video >=", value, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoLessThan(String value) {
+ addCriterion("video <", value, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoLessThanOrEqualTo(String value) {
+ addCriterion("video <=", value, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoLike(String value) {
+ addCriterion("video like", value, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoNotLike(String value) {
+ addCriterion("video not like", value, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoIn(List values) {
+ addCriterion("video in", values, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoNotIn(List values) {
+ addCriterion("video not in", values, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoBetween(String value1, String value2) {
+ addCriterion("video between", value1, value2, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andVideoNotBetween(String value1, String value2) {
+ addCriterion("video not between", value1, value2, "video");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIsNull() {
+ addCriterion("remark is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIsNotNull() {
+ addCriterion("remark is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkEqualTo(String value) {
+ addCriterion("remark =", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotEqualTo(String value) {
+ addCriterion("remark <>", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkGreaterThan(String value) {
+ addCriterion("remark >", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkGreaterThanOrEqualTo(String value) {
+ addCriterion("remark >=", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLessThan(String value) {
+ addCriterion("remark <", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLessThanOrEqualTo(String value) {
+ addCriterion("remark <=", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLike(String value) {
+ addCriterion("remark like", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotLike(String value) {
+ addCriterion("remark not like", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIn(List values) {
+ addCriterion("remark in", values, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotIn(List values) {
+ addCriterion("remark not in", values, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkBetween(String value1, String value2) {
+ addCriterion("remark between", value1, value2, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotBetween(String value1, String value2) {
+ addCriterion("remark not between", value1, value2, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNull() {
+ addCriterion("operator is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNotNull() {
+ addCriterion("operator is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorEqualTo(Long value) {
+ addCriterion("operator =", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotEqualTo(Long value) {
+ addCriterion("operator <>", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThan(Long value) {
+ addCriterion("operator >", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
+ addCriterion("operator >=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThan(Long value) {
+ addCriterion("operator <", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThanOrEqualTo(Long value) {
+ addCriterion("operator <=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIn(List values) {
+ addCriterion("operator in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotIn(List values) {
+ addCriterion("operator not in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorBetween(Long value1, Long value2) {
+ addCriterion("operator between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotBetween(Long value1, Long value2) {
+ addCriterion("operator not between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Date value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Date value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Date value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Date value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Date value1, Date value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Date value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Date value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Date value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Date value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillGame.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillGame.java
new file mode 100644
index 00000000..3c10bce9
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillGame.java
@@ -0,0 +1,95 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class RecDrillGame implements Serializable {
+ private Long id;
+
+ private Long drillId;
+
+ private Long gameId;
+
+ private Long operator;
+
+ private Date createTime;
+
+ private Date updateTime;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getDrillId() {
+ return drillId;
+ }
+
+ public void setDrillId(Long drillId) {
+ this.drillId = drillId;
+ }
+
+ public Long getGameId() {
+ return gameId;
+ }
+
+ public void setGameId(Long gameId) {
+ this.gameId = gameId;
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @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(", drillId=").append(drillId);
+ sb.append(", gameId=").append(gameId);
+ sb.append(", operator=").append(operator);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", updateTime=").append(updateTime);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillGameExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillGameExample.java
new file mode 100644
index 00000000..256c8b95
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecDrillGameExample.java
@@ -0,0 +1,621 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class RecDrillGameExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public RecDrillGameExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdIsNull() {
+ addCriterion("drill_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdIsNotNull() {
+ addCriterion("drill_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdEqualTo(Long value) {
+ addCriterion("drill_id =", value, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdNotEqualTo(Long value) {
+ addCriterion("drill_id <>", value, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdGreaterThan(Long value) {
+ addCriterion("drill_id >", value, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("drill_id >=", value, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdLessThan(Long value) {
+ addCriterion("drill_id <", value, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdLessThanOrEqualTo(Long value) {
+ addCriterion("drill_id <=", value, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdIn(List values) {
+ addCriterion("drill_id in", values, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdNotIn(List values) {
+ addCriterion("drill_id not in", values, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdBetween(Long value1, Long value2) {
+ addCriterion("drill_id between", value1, value2, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andDrillIdNotBetween(Long value1, Long value2) {
+ addCriterion("drill_id not between", value1, value2, "drillId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdIsNull() {
+ addCriterion("game_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdIsNotNull() {
+ addCriterion("game_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdEqualTo(Long value) {
+ addCriterion("game_id =", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdNotEqualTo(Long value) {
+ addCriterion("game_id <>", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdGreaterThan(Long value) {
+ addCriterion("game_id >", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("game_id >=", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdLessThan(Long value) {
+ addCriterion("game_id <", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdLessThanOrEqualTo(Long value) {
+ addCriterion("game_id <=", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdIn(List values) {
+ addCriterion("game_id in", values, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdNotIn(List values) {
+ addCriterion("game_id not in", values, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdBetween(Long value1, Long value2) {
+ addCriterion("game_id between", value1, value2, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdNotBetween(Long value1, Long value2) {
+ addCriterion("game_id not between", value1, value2, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNull() {
+ addCriterion("operator is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNotNull() {
+ addCriterion("operator is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorEqualTo(Long value) {
+ addCriterion("operator =", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotEqualTo(Long value) {
+ addCriterion("operator <>", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThan(Long value) {
+ addCriterion("operator >", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
+ addCriterion("operator >=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThan(Long value) {
+ addCriterion("operator <", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThanOrEqualTo(Long value) {
+ addCriterion("operator <=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIn(List values) {
+ addCriterion("operator in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotIn(List values) {
+ addCriterion("operator not in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorBetween(Long value1, Long value2) {
+ addCriterion("operator between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotBetween(Long value1, Long value2) {
+ addCriterion("operator not between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Date value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Date value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Date value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Date value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Date value1, Date value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Date value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Date value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Date value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Date value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/RecGame.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecGame.java
new file mode 100644
index 00000000..d222f2be
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecGame.java
@@ -0,0 +1,106 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class RecGame implements Serializable {
+ private Long id;
+
+ private String name;
+
+ private String gameUrl;
+
+ private String remark;
+
+ private Long operator;
+
+ private Date createTime;
+
+ private Date updateTime;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name == null ? null : name.trim();
+ }
+
+ public String getGameUrl() {
+ return gameUrl;
+ }
+
+ public void setGameUrl(String gameUrl) {
+ this.gameUrl = gameUrl == null ? null : gameUrl.trim();
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark == null ? null : remark.trim();
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @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(", name=").append(name);
+ sb.append(", gameUrl=").append(gameUrl);
+ sb.append(", remark=").append(remark);
+ sb.append(", operator=").append(operator);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", updateTime=").append(updateTime);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/RecGameExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecGameExample.java
new file mode 100644
index 00000000..e4b9cfe9
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecGameExample.java
@@ -0,0 +1,711 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class RecGameExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public RecGameExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlIsNull() {
+ addCriterion("game_url is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlIsNotNull() {
+ addCriterion("game_url is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlEqualTo(String value) {
+ addCriterion("game_url =", value, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlNotEqualTo(String value) {
+ addCriterion("game_url <>", value, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlGreaterThan(String value) {
+ addCriterion("game_url >", value, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlGreaterThanOrEqualTo(String value) {
+ addCriterion("game_url >=", value, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlLessThan(String value) {
+ addCriterion("game_url <", value, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlLessThanOrEqualTo(String value) {
+ addCriterion("game_url <=", value, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlLike(String value) {
+ addCriterion("game_url like", value, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlNotLike(String value) {
+ addCriterion("game_url not like", value, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlIn(List values) {
+ addCriterion("game_url in", values, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlNotIn(List values) {
+ addCriterion("game_url not in", values, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlBetween(String value1, String value2) {
+ addCriterion("game_url between", value1, value2, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameUrlNotBetween(String value1, String value2) {
+ addCriterion("game_url not between", value1, value2, "gameUrl");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIsNull() {
+ addCriterion("remark is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIsNotNull() {
+ addCriterion("remark is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkEqualTo(String value) {
+ addCriterion("remark =", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotEqualTo(String value) {
+ addCriterion("remark <>", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkGreaterThan(String value) {
+ addCriterion("remark >", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkGreaterThanOrEqualTo(String value) {
+ addCriterion("remark >=", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLessThan(String value) {
+ addCriterion("remark <", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLessThanOrEqualTo(String value) {
+ addCriterion("remark <=", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkLike(String value) {
+ addCriterion("remark like", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotLike(String value) {
+ addCriterion("remark not like", value, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkIn(List values) {
+ addCriterion("remark in", values, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotIn(List values) {
+ addCriterion("remark not in", values, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkBetween(String value1, String value2) {
+ addCriterion("remark between", value1, value2, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemarkNotBetween(String value1, String value2) {
+ addCriterion("remark not between", value1, value2, "remark");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNull() {
+ addCriterion("operator is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIsNotNull() {
+ addCriterion("operator is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorEqualTo(Long value) {
+ addCriterion("operator =", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotEqualTo(Long value) {
+ addCriterion("operator <>", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThan(Long value) {
+ addCriterion("operator >", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
+ addCriterion("operator >=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThan(Long value) {
+ addCriterion("operator <", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorLessThanOrEqualTo(Long value) {
+ addCriterion("operator <=", value, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorIn(List values) {
+ addCriterion("operator in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotIn(List values) {
+ addCriterion("operator not in", values, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorBetween(Long value1, Long value2) {
+ addCriterion("operator between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andOperatorNotBetween(Long value1, Long value2) {
+ addCriterion("operator not between", value1, value2, "operator");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNull() {
+ addCriterion("create_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIsNotNull() {
+ addCriterion("create_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeEqualTo(Date value) {
+ addCriterion("create_time =", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotEqualTo(Date value) {
+ addCriterion("create_time <>", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThan(Date value) {
+ addCriterion("create_time >", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("create_time >=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThan(Date value) {
+ addCriterion("create_time <", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("create_time <=", value, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeIn(List values) {
+ addCriterion("create_time in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotIn(List values) {
+ addCriterion("create_time not in", values, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeBetween(Date value1, Date value2) {
+ addCriterion("create_time between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("create_time not between", value1, value2, "createTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNull() {
+ addCriterion("update_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIsNotNull() {
+ addCriterion("update_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeEqualTo(Date value) {
+ addCriterion("update_time =", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotEqualTo(Date value) {
+ addCriterion("update_time <>", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThan(Date value) {
+ addCriterion("update_time >", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+ addCriterion("update_time >=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThan(Date value) {
+ addCriterion("update_time <", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+ addCriterion("update_time <=", value, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeIn(List values) {
+ addCriterion("update_time in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotIn(List values) {
+ addCriterion("update_time not in", values, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+ addCriterion("update_time between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+ addCriterion("update_time not between", value1, value2, "updateTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/RecRecord.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecRecord.java
new file mode 100644
index 00000000..a5fda1b9
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecRecord.java
@@ -0,0 +1,172 @@
+package com.ccsens.recovery.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class RecRecord implements Serializable {
+ private Long id;
+
+ private Long recipeProjectId;
+
+ private Long sceneDoctorId;
+
+ private Long startTime;
+
+ private Long endTime;
+
+ private Long gameId;
+
+ private Byte remoteGuidance;
+
+ private Long remoteDoctorId;
+
+ private Integer score;
+
+ private Long subTaskId;
+
+ private Long operator;
+
+ private Date createTime;
+
+ private Date updateTime;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getRecipeProjectId() {
+ return recipeProjectId;
+ }
+
+ public void setRecipeProjectId(Long recipeProjectId) {
+ this.recipeProjectId = recipeProjectId;
+ }
+
+ public Long getSceneDoctorId() {
+ return sceneDoctorId;
+ }
+
+ public void setSceneDoctorId(Long sceneDoctorId) {
+ this.sceneDoctorId = sceneDoctorId;
+ }
+
+ public Long getStartTime() {
+ return startTime;
+ }
+
+ public void setStartTime(Long startTime) {
+ this.startTime = startTime;
+ }
+
+ public Long getEndTime() {
+ return endTime;
+ }
+
+ public void setEndTime(Long endTime) {
+ this.endTime = endTime;
+ }
+
+ public Long getGameId() {
+ return gameId;
+ }
+
+ public void setGameId(Long gameId) {
+ this.gameId = gameId;
+ }
+
+ public Byte getRemoteGuidance() {
+ return remoteGuidance;
+ }
+
+ public void setRemoteGuidance(Byte remoteGuidance) {
+ this.remoteGuidance = remoteGuidance;
+ }
+
+ public Long getRemoteDoctorId() {
+ return remoteDoctorId;
+ }
+
+ public void setRemoteDoctorId(Long remoteDoctorId) {
+ this.remoteDoctorId = remoteDoctorId;
+ }
+
+ public Integer getScore() {
+ return score;
+ }
+
+ public void setScore(Integer score) {
+ this.score = score;
+ }
+
+ public Long getSubTaskId() {
+ return subTaskId;
+ }
+
+ public void setSubTaskId(Long subTaskId) {
+ this.subTaskId = subTaskId;
+ }
+
+ public Long getOperator() {
+ return operator;
+ }
+
+ public void setOperator(Long operator) {
+ this.operator = operator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @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(", recipeProjectId=").append(recipeProjectId);
+ sb.append(", sceneDoctorId=").append(sceneDoctorId);
+ sb.append(", startTime=").append(startTime);
+ sb.append(", endTime=").append(endTime);
+ sb.append(", gameId=").append(gameId);
+ sb.append(", remoteGuidance=").append(remoteGuidance);
+ sb.append(", remoteDoctorId=").append(remoteDoctorId);
+ sb.append(", score=").append(score);
+ sb.append(", subTaskId=").append(subTaskId);
+ sb.append(", operator=").append(operator);
+ sb.append(", createTime=").append(createTime);
+ sb.append(", updateTime=").append(updateTime);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/recovery/src/main/java/com/ccsens/recovery/bean/po/RecRecordExample.java b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecRecordExample.java
new file mode 100644
index 00000000..b88197a2
--- /dev/null
+++ b/recovery/src/main/java/com/ccsens/recovery/bean/po/RecRecordExample.java
@@ -0,0 +1,1041 @@
+package com.ccsens.recovery.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class RecRecordExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public RecRecordExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdIsNull() {
+ addCriterion("recipe_project_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdIsNotNull() {
+ addCriterion("recipe_project_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdEqualTo(Long value) {
+ addCriterion("recipe_project_id =", value, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdNotEqualTo(Long value) {
+ addCriterion("recipe_project_id <>", value, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdGreaterThan(Long value) {
+ addCriterion("recipe_project_id >", value, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("recipe_project_id >=", value, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdLessThan(Long value) {
+ addCriterion("recipe_project_id <", value, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdLessThanOrEqualTo(Long value) {
+ addCriterion("recipe_project_id <=", value, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdIn(List values) {
+ addCriterion("recipe_project_id in", values, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdNotIn(List values) {
+ addCriterion("recipe_project_id not in", values, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdBetween(Long value1, Long value2) {
+ addCriterion("recipe_project_id between", value1, value2, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecipeProjectIdNotBetween(Long value1, Long value2) {
+ addCriterion("recipe_project_id not between", value1, value2, "recipeProjectId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdIsNull() {
+ addCriterion("scene_doctor_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdIsNotNull() {
+ addCriterion("scene_doctor_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdEqualTo(Long value) {
+ addCriterion("scene_doctor_id =", value, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdNotEqualTo(Long value) {
+ addCriterion("scene_doctor_id <>", value, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdGreaterThan(Long value) {
+ addCriterion("scene_doctor_id >", value, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("scene_doctor_id >=", value, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdLessThan(Long value) {
+ addCriterion("scene_doctor_id <", value, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdLessThanOrEqualTo(Long value) {
+ addCriterion("scene_doctor_id <=", value, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdIn(List values) {
+ addCriterion("scene_doctor_id in", values, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdNotIn(List values) {
+ addCriterion("scene_doctor_id not in", values, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdBetween(Long value1, Long value2) {
+ addCriterion("scene_doctor_id between", value1, value2, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andSceneDoctorIdNotBetween(Long value1, Long value2) {
+ addCriterion("scene_doctor_id not between", value1, value2, "sceneDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeIsNull() {
+ addCriterion("start_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeIsNotNull() {
+ addCriterion("start_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeEqualTo(Long value) {
+ addCriterion("start_time =", value, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeNotEqualTo(Long value) {
+ addCriterion("start_time <>", value, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeGreaterThan(Long value) {
+ addCriterion("start_time >", value, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("start_time >=", value, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeLessThan(Long value) {
+ addCriterion("start_time <", value, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeLessThanOrEqualTo(Long value) {
+ addCriterion("start_time <=", value, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeIn(List values) {
+ addCriterion("start_time in", values, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeNotIn(List values) {
+ addCriterion("start_time not in", values, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeBetween(Long value1, Long value2) {
+ addCriterion("start_time between", value1, value2, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andStartTimeNotBetween(Long value1, Long value2) {
+ addCriterion("start_time not between", value1, value2, "startTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeIsNull() {
+ addCriterion("end_time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeIsNotNull() {
+ addCriterion("end_time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeEqualTo(Long value) {
+ addCriterion("end_time =", value, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeNotEqualTo(Long value) {
+ addCriterion("end_time <>", value, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeGreaterThan(Long value) {
+ addCriterion("end_time >", value, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("end_time >=", value, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeLessThan(Long value) {
+ addCriterion("end_time <", value, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeLessThanOrEqualTo(Long value) {
+ addCriterion("end_time <=", value, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeIn(List values) {
+ addCriterion("end_time in", values, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeNotIn(List values) {
+ addCriterion("end_time not in", values, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeBetween(Long value1, Long value2) {
+ addCriterion("end_time between", value1, value2, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndTimeNotBetween(Long value1, Long value2) {
+ addCriterion("end_time not between", value1, value2, "endTime");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdIsNull() {
+ addCriterion("game_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdIsNotNull() {
+ addCriterion("game_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdEqualTo(Long value) {
+ addCriterion("game_id =", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdNotEqualTo(Long value) {
+ addCriterion("game_id <>", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdGreaterThan(Long value) {
+ addCriterion("game_id >", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("game_id >=", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdLessThan(Long value) {
+ addCriterion("game_id <", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdLessThanOrEqualTo(Long value) {
+ addCriterion("game_id <=", value, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdIn(List values) {
+ addCriterion("game_id in", values, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdNotIn(List values) {
+ addCriterion("game_id not in", values, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdBetween(Long value1, Long value2) {
+ addCriterion("game_id between", value1, value2, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andGameIdNotBetween(Long value1, Long value2) {
+ addCriterion("game_id not between", value1, value2, "gameId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceIsNull() {
+ addCriterion("remote_guidance is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceIsNotNull() {
+ addCriterion("remote_guidance is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceEqualTo(Byte value) {
+ addCriterion("remote_guidance =", value, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceNotEqualTo(Byte value) {
+ addCriterion("remote_guidance <>", value, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceGreaterThan(Byte value) {
+ addCriterion("remote_guidance >", value, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceGreaterThanOrEqualTo(Byte value) {
+ addCriterion("remote_guidance >=", value, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceLessThan(Byte value) {
+ addCriterion("remote_guidance <", value, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceLessThanOrEqualTo(Byte value) {
+ addCriterion("remote_guidance <=", value, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceIn(List values) {
+ addCriterion("remote_guidance in", values, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceNotIn(List values) {
+ addCriterion("remote_guidance not in", values, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceBetween(Byte value1, Byte value2) {
+ addCriterion("remote_guidance between", value1, value2, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteGuidanceNotBetween(Byte value1, Byte value2) {
+ addCriterion("remote_guidance not between", value1, value2, "remoteGuidance");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdIsNull() {
+ addCriterion("remote_doctor_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdIsNotNull() {
+ addCriterion("remote_doctor_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdEqualTo(Long value) {
+ addCriterion("remote_doctor_id =", value, "remoteDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdNotEqualTo(Long value) {
+ addCriterion("remote_doctor_id <>", value, "remoteDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdGreaterThan(Long value) {
+ addCriterion("remote_doctor_id >", value, "remoteDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("remote_doctor_id >=", value, "remoteDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdLessThan(Long value) {
+ addCriterion("remote_doctor_id <", value, "remoteDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdLessThanOrEqualTo(Long value) {
+ addCriterion("remote_doctor_id <=", value, "remoteDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdIn(List values) {
+ addCriterion("remote_doctor_id in", values, "remoteDoctorId");
+ return (Criteria) this;
+ }
+
+ public Criteria andRemoteDoctorIdNotIn(List