Browse Source

init cloud

master
6 years ago
commit
9c86bc093a
  1. 184
      ccsenscloud.iml
  2. 298
      cloudutil/cloudutil.iml
  3. 43
      cloudutil/pom.xml
  4. 14
      cloudutil/src/main/java/com/ccsens/cloudutil/bean/QueryParam.java
  5. 66
      cloudutil/src/main/java/com/ccsens/cloudutil/feign/TallFeignClient.java
  6. 14
      cloudutil/src/main/java/com/ccsens/cloudutil/ribbon/RibbonClientConfig.java
  7. 41
      cloudutil/src/main/java/com/ccsens/cloudutil/ribbon/RibbonConfiguration.java
  8. 56
      cloudutil/src/main/resources/application-util-dev.yml
  9. 301
      ht/ht.iml
  10. 55
      ht/pom.xml
  11. 30
      ht/src/main/java/com/ccsens/ht/HtApplication.java
  12. 14
      ht/src/main/java/com/ccsens/ht/annotation/DoctorAudit.java
  13. 75
      ht/src/main/java/com/ccsens/ht/api/DoctorController.java
  14. 76
      ht/src/main/java/com/ccsens/ht/api/ImportController.java
  15. 58
      ht/src/main/java/com/ccsens/ht/api/IndexController.java
  16. 129
      ht/src/main/java/com/ccsens/ht/api/PatientController.java
  17. 105
      ht/src/main/java/com/ccsens/ht/api/PatientReportController.java
  18. 53
      ht/src/main/java/com/ccsens/ht/api/PositionController.java
  19. 62
      ht/src/main/java/com/ccsens/ht/api/QuestionController.java
  20. 61
      ht/src/main/java/com/ccsens/ht/aspect/DoctorAuditAspect.java
  21. 20
      ht/src/main/java/com/ccsens/ht/bean/BeanConfig.java
  22. 78
      ht/src/main/java/com/ccsens/ht/bean/dto/DoctorDto.java
  23. 115
      ht/src/main/java/com/ccsens/ht/bean/dto/PatientDto.java
  24. 93
      ht/src/main/java/com/ccsens/ht/bean/dto/PatientReportDto.java
  25. 21
      ht/src/main/java/com/ccsens/ht/bean/dto/PositionDto.java
  26. 20
      ht/src/main/java/com/ccsens/ht/bean/dto/QueryDto.java
  27. 58
      ht/src/main/java/com/ccsens/ht/bean/dto/QuestionDto.java
  28. 161
      ht/src/main/java/com/ccsens/ht/bean/po/HtDoctor.java
  29. 95
      ht/src/main/java/com/ccsens/ht/bean/po/HtDoctorAudit.java
  30. 631
      ht/src/main/java/com/ccsens/ht/bean/po/HtDoctorAuditExample.java
  31. 1001
      ht/src/main/java/com/ccsens/ht/bean/po/HtDoctorExample.java
  32. 128
      ht/src/main/java/com/ccsens/ht/bean/po/HtOperationLog.java
  33. 841
      ht/src/main/java/com/ccsens/ht/bean/po/HtOperationLogExample.java
  34. 337
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatient.java
  35. 172
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientAcp.java
  36. 1131
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientAcpExample.java
  37. 172
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientBody.java
  38. 1111
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientBodyExample.java
  39. 2081
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientExample.java
  40. 150
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFamily.java
  41. 941
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFamilyExample.java
  42. 139
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFamilyIllness.java
  43. 901
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFamilyIllnessExample.java
  44. 128
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFollowUp.java
  45. 831
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFollowUpExample.java
  46. 359
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientIllnessHistory.java
  47. 2071
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientIllnessHistoryExample.java
  48. 238
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientParentIllness.java
  49. 1411
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientParentIllnessExample.java
  50. 293
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientPersional.java
  51. 1711
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientPersionalExample.java
  52. 128
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientQuestionRecord.java
  53. 831
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientQuestionRecordExample.java
  54. 238
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientReport.java
  55. 1501
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientReportExample.java
  56. 106
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientReportRecord.java
  57. 701
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientReportRecordExample.java
  58. 172
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientScore.java
  59. 1081
      ht/src/main/java/com/ccsens/ht/bean/po/HtPatientScoreExample.java
  60. 150
      ht/src/main/java/com/ccsens/ht/bean/po/HtPosition.java
  61. 951
      ht/src/main/java/com/ccsens/ht/bean/po/HtPositionExample.java
  62. 227
      ht/src/main/java/com/ccsens/ht/bean/po/HtQuestion.java
  63. 1411
      ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionExample.java
  64. 106
      ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionIntroducer.java
  65. 701
      ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionIntroducerExample.java
  66. 139
      ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionOption.java
  67. 901
      ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionOptionExample.java
  68. 106
      ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionScoringRule.java
  69. 701
      ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionScoringRuleExample.java
  70. 95
      ht/src/main/java/com/ccsens/ht/bean/po/HtRelation.java
  71. 641
      ht/src/main/java/com/ccsens/ht/bean/po/HtRelationExample.java
  72. 161
      ht/src/main/java/com/ccsens/ht/bean/po/HtReport.java
  73. 1031
      ht/src/main/java/com/ccsens/ht/bean/po/HtReportExample.java
  74. 106
      ht/src/main/java/com/ccsens/ht/bean/po/HtTitle.java
  75. 701
      ht/src/main/java/com/ccsens/ht/bean/po/HtTitleExample.java
  76. 48
      ht/src/main/java/com/ccsens/ht/bean/vo/DoctorVo.java
  77. 139
      ht/src/main/java/com/ccsens/ht/bean/vo/PatientReportVo.java
  78. 100
      ht/src/main/java/com/ccsens/ht/bean/vo/PatientVo.java
  79. 61
      ht/src/main/java/com/ccsens/ht/bean/vo/PositionVo.java
  80. 188
      ht/src/main/java/com/ccsens/ht/bean/vo/QuestionVo.java
  81. 38
      ht/src/main/java/com/ccsens/ht/persist/dao/HtDoctorAuditDao.java
  82. 32
      ht/src/main/java/com/ccsens/ht/persist/dao/HtPatientReportDao.java
  83. 21
      ht/src/main/java/com/ccsens/ht/persist/dao/HtPatientScoreDao.java
  84. 43
      ht/src/main/java/com/ccsens/ht/persist/dao/HtPositionDao.java
  85. 18
      ht/src/main/java/com/ccsens/ht/persist/dao/HtQuestionDao.java
  86. 17
      ht/src/main/java/com/ccsens/ht/persist/dao/HtQuestionIntroducerDao.java
  87. 27
      ht/src/main/java/com/ccsens/ht/persist/dao/HtQuestionOptionDao.java
  88. 20
      ht/src/main/java/com/ccsens/ht/persist/dao/HtQuestionScoringRuleDao.java
  89. 31
      ht/src/main/java/com/ccsens/ht/persist/dao/HtReportDao.java
  90. 24
      ht/src/main/java/com/ccsens/ht/persist/dao/HtTitleDao.java
  91. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtDoctorAuditMapper.java
  92. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtDoctorMapper.java
  93. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtOperationLogMapper.java
  94. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientAcpMapper.java
  95. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientBodyMapper.java
  96. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientFamilyIllnessMapper.java
  97. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientFamilyMapper.java
  98. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientFollowUpMapper.java
  99. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientIllnessHistoryMapper.java
  100. 30
      ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientMapper.java

184
ccsenscloud.iml

@ -0,0 +1,184 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-data-redis:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.3" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.28" level="project" />
<orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.3.2" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.23" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-redis:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-keyvalue:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-tx:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-oxm:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aop:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context-support:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.lettuce:lettuce-core:5.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-common:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-handler:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-buffer:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-codec:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-transport:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-resolver:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.projectreactor:reactor-core:3.2.12.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.reactivestreams:reactive-streams:1.0.3" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:3.2.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.9.9" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.validator:hibernate-validator:6.0.17.Final" level="project" />
<orderEntry type="library" name="Maven: javax.validation:validation-api:2.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.3.Final" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-web:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-expression:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jetty:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlets:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-continuation:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-http:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-util:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-io:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-webapp:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-xml:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlet:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-security:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-server:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-server:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-common:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-api:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-client:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-client:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-servlet:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: javax.servlet:javax.servlet-api:4.0.1" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:javax-websocket-server-impl:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-annotations:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-plus:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm:7.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-commons:7.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-tree:7.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-analysis:7.1" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:javax-websocket-client-impl:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: javax.websocket:javax.websocket-api:1.1" level="project" />
<orderEntry type="library" name="Maven: org.mortbay.jasper:apache-el:8.5.40" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.springframework.boot:spring-boot-devtools:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-configuration-processor:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.projectlombok:lombok:1.18.8" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.jayway.jsonpath:json-path:2.4.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:json-smart:2.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:accessors-smart:1.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.assertj:assertj-core:3.11.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:2.23.4" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy:1.9.16" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy-agent:1.9.16" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:2.6" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-library:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.skyscreamer:jsonassert:1.5.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.1.9.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:5.1.9.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.xmlunit:xmlunit-core:2.6.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: javax.xml.bind:jaxb-api:2.3.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: javax.activation:javax.activation-api:1.2.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-actuator:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.micrometer:micrometer-core:1.1.6" level="project" />
<orderEntry type="library" name="Maven: org.hdrhistogram:HdrHistogram:2.1.9" level="project" />
<orderEntry type="library" name="Maven: org.latencyutils:LatencyUtils:2.0.3" level="project" />
<orderEntry type="library" name="Maven: cn.hutool:hutool-all:4.1.21" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi:3.17" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.11" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:3.17" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:3.17" level="project" />
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.6.0" level="project" />
<orderEntry type="library" name="Maven: stax:stax-api:1.0.1" level="project" />
<orderEntry type="library" name="Maven: com.github.virtuald:curvesapi:1.04" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-websocket:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-messaging:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-websocket:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-amqp:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.amqp:spring-rabbit:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.amqp:spring-amqp:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.retry:spring-retry:1.2.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.rabbitmq:amqp-client:5.4.3" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
<orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper:4.1.4" level="project" />
<orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:0.9.5" level="project" />
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.17" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:druid:1.1.10" level="project" />
<orderEntry type="library" name="Maven: io.jsonwebtoken:jjwt:0.7.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.9.3" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.9" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.4" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.woodstox:woodstox-core:5.0.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-spring:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-lang:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-cache:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-hash:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-cipher:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-config-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-config-ogdl:1.4.0" level="project" />
<orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.9.3" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-event:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-web:1.4.0" level="project" />
<orderEntry type="library" name="Maven: net.sourceforge.htmlcleaner:htmlcleaner:2.22" level="project" />
<orderEntry type="library" name="Maven: org.jdom:jdom2:2.0.6" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger2:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.swagger:swagger-annotations:1.5.20" level="project" />
<orderEntry type="library" name="Maven: io.swagger:swagger-models:1.5.20" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-spi:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-core:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-schema:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger-common:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-spring-web:2.9.2" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml:classmate:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.28" level="project" />
<orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.mapstruct:mapstruct:1.2.0.Final" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger-ui:2.9.2" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.generator:mybatis-generator-core:1.3.7" level="project" />
<orderEntry type="library" name="Maven: org.beanshell:bsh:2.0b5" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.3.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.3.1" level="project" />
<orderEntry type="library" name="Maven: com.github.qcloudsms:qcloudsms:1.0.5" level="project" />
<orderEntry type="library" name="Maven: org.json:json:20170516" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.9" level="project" />
</component>
</module>

298
cloudutil/cloudutil.iml

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="Spring" name="Spring">
<configuration />
</facet>
<facet type="web" name="Web">
<configuration>
<webroots />
<sourceRoots>
<root url="file://$MODULE_DIR$/src/main/java" />
<root url="file://$MODULE_DIR$/src/main/resources" />
</sourceRoots>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-context:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.security:spring-security-rsa:1.0.7.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.bouncycastle:bcpkix-jdk15on:1.60" level="project" />
<orderEntry type="library" name="Maven: org.bouncycastle:bcprov-jdk15on:1.60" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-core:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-eureka-client:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.netflix.eureka:eureka-client:1.9.3" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.codehaus.jettison:jettison:1.3.7" level="project" />
<orderEntry type="library" name="Maven: stax:stax-api:1.0.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-eventbus:0.3.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-infix:0.3.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: commons-jxpath:commons-jxpath:1.3" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: joda-time:joda-time:2.10.3" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.antlr:antlr-runtime:3.4" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.antlr:stringtemplate:3.2.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: antlr:antlr:2.7.7" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.google.code.gson:gson:2.8.5" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.commons:commons-math:2.2" level="project" />
<orderEntry type="library" name="Maven: com.netflix.archaius:archaius-core:0.7.6" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: javax.ws.rs:jsr311-api:1.1.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.servo:servo-core:0.12.21" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey:jersey-core:1.19.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey:jersey-client:1.19.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey.contribs:jersey-apache-client4:1.19.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.google.inject:guice:4.1.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: javax.inject:javax.inject:1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: aopalliance:aopalliance:1.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.github.vlsi.compactmap:compactmap:1.2.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.github.andrewoma.dexx:dexx-collections:0.2" level="project" />
<orderEntry type="library" name="Maven: com.netflix.eureka:eureka-core:1.9.3" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.4.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: javax.xml.stream:stax-api:1.0-2" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-archaius:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-archaius:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: commons-configuration:commons-configuration:1.8" level="project" />
<orderEntry type="library" name="Maven: commons-lang:commons-lang:2.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-ribbon:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon:2.2.5" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.ribbon:ribbon-transport:2.2.5" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty-contexts:0.4.9" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty-servo:0.4.9" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty:0.4.9" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-core:2.2.5" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-httpclient:2.2.5" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.2" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-commons-util:0.3.0" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-loadbalancer:2.2.5" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-statistics:0.1.1" level="project" />
<orderEntry type="library" name="Maven: io.reactivex:rxjava:1.3.8" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-eureka:2.2.5" level="project" />
<orderEntry type="library" name="Maven: com.thoughtworks.xstream:xstream:1.4.10" level="project" />
<orderEntry type="library" name="Maven: xmlpull:xmlpull:1.1.3.1" level="project" />
<orderEntry type="library" name="Maven: xpp3:xpp3_min:1.1.4c" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-openfeign:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-openfeign-core:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign.form:feign-form-spring:3.3.0" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign.form:feign-form:3.3.0" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:annotations:3.0.1" level="project" />
<orderEntry type="library" name="Maven: net.jcip:jcip-annotations:1.0" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:3.0.1" level="project" />
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.3.3" level="project" />
<orderEntry type="library" name="Maven: commons-io:commons-io:2.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-web:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-commons:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.security:spring-security-crypto:5.1.6.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign:feign-core:9.7.0" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign:feign-slf4j:9.7.0" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign:feign-hystrix:9.7.0" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign:feign-java8:9.7.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-hystrix:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-ribbon:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-core:1.5.12" level="project" />
<orderEntry type="library" name="Maven: org.hdrhistogram:HdrHistogram:2.1.9" level="project" />
<orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-serialization:1.5.12" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.fasterxml.jackson.module:jackson-module-afterburner:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-metrics-event-stream:1.5.12" level="project" />
<orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-javanica:1.5.12" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.commons:commons-lang3:3.8.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm:5.0.4" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.9.4" level="project" />
<orderEntry type="library" name="Maven: io.reactivex:rxjava-reactive-streams:1.2.1" level="project" />
<orderEntry type="library" name="Maven: org.reactivestreams:reactive-streams:1.0.3" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-sleuth:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aop:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-sleuth-core:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.9.4" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-context-log4j2:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-spring-web:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-http:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-spring-rabbit:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-kafka-clients:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-httpclient:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-httpasyncclient:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-spring-webmvc:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-servlet:5.4.3" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-sleuth-zipkin:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.zipkin2:zipkin:2.11.7" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.reporter2:zipkin-reporter:2.7.10" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.reporter2:zipkin-sender-kafka11:2.7.10" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.reporter2:zipkin-sender-amqp-client:2.7.10" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-data-redis:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.3" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.28" level="project" />
<orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.3.2" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.23" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-redis:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-keyvalue:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-tx:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-oxm:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context-support:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.lettuce:lettuce-core:5.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-common:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-handler:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-buffer:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-codec:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-transport:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-resolver:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.projectreactor:reactor-core:3.2.12.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:3.2.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.9.9" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.validator:hibernate-validator:6.0.17.Final" level="project" />
<orderEntry type="library" name="Maven: javax.validation:validation-api:2.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.3.Final" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-expression:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jetty:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlets:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-continuation:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-http:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-util:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-io:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-webapp:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-xml:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlet:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-security:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-server:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-server:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-common:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-api:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-client:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-client:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-servlet:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: javax.servlet:javax.servlet-api:4.0.1" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:javax-websocket-server-impl:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-annotations:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-plus:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-commons:7.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-tree:7.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-analysis:7.1" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:javax-websocket-client-impl:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: javax.websocket:javax.websocket-api:1.1" level="project" />
<orderEntry type="library" name="Maven: org.mortbay.jasper:apache-el:8.5.40" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.springframework.boot:spring-boot-devtools:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-configuration-processor:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.projectlombok:lombok:1.18.8" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.jayway.jsonpath:json-path:2.4.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:json-smart:2.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:accessors-smart:1.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.assertj:assertj-core:3.11.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:2.23.4" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy:1.9.16" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy-agent:1.9.16" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:2.6" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-library:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.skyscreamer:jsonassert:1.5.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.1.9.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:5.1.9.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.xmlunit:xmlunit-core:2.6.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: javax.xml.bind:jaxb-api:2.3.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: javax.activation:javax.activation-api:1.2.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-actuator:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.micrometer:micrometer-core:1.1.6" level="project" />
<orderEntry type="library" name="Maven: org.latencyutils:LatencyUtils:2.0.3" level="project" />
<orderEntry type="library" name="Maven: cn.hutool:hutool-all:4.1.21" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi:3.17" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.11" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:3.17" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:3.17" level="project" />
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.6.0" level="project" />
<orderEntry type="library" name="Maven: com.github.virtuald:curvesapi:1.04" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-websocket:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-messaging:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-websocket:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-amqp:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.amqp:spring-rabbit:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.amqp:spring-amqp:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.retry:spring-retry:1.2.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.rabbitmq:amqp-client:5.4.3" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
<orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper:4.1.4" level="project" />
<orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:0.9.5" level="project" />
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.17" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:druid:1.1.10" level="project" />
<orderEntry type="library" name="Maven: io.jsonwebtoken:jjwt:0.7.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.9.3" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.9" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.4" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.woodstox:woodstox-core:5.0.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-spring:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-lang:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-cache:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-hash:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-cipher:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-config-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-config-ogdl:1.4.0" level="project" />
<orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.9.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-event:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-web:1.4.0" level="project" />
<orderEntry type="library" name="Maven: net.sourceforge.htmlcleaner:htmlcleaner:2.22" level="project" />
<orderEntry type="library" name="Maven: org.jdom:jdom2:2.0.6" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger2:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.swagger:swagger-annotations:1.5.20" level="project" />
<orderEntry type="library" name="Maven: io.swagger:swagger-models:1.5.20" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-spi:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-core:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-schema:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger-common:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-spring-web:2.9.2" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml:classmate:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.28" level="project" />
<orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.mapstruct:mapstruct:1.2.0.Final" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger-ui:2.9.2" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.generator:mybatis-generator-core:1.3.7" level="project" />
<orderEntry type="library" name="Maven: org.beanshell:bsh:2.0b5" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.3.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.3.1" level="project" />
<orderEntry type="library" name="Maven: com.github.qcloudsms:qcloudsms:1.0.5" level="project" />
<orderEntry type="library" name="Maven: org.json:json:20170516" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.9" level="project" />
</component>
</module>

43
cloudutil/pom.xml

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>ccsenscloud</artifactId>
<groupId>com.ccsens</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>cloudutil</artifactId>
<dependencies>
<!--eureka client-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<!--Feign-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<!--hystrix-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>
<!--sleuth-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
<!--sleuth 界面-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
</dependency>
</dependencies>
</project>

14
cloudutil/src/main/java/com/ccsens/cloudutil/bean/QueryParam.java

@ -0,0 +1,14 @@
package com.ccsens.cloudutil.bean;
import lombok.Data;
/**
* @description:
* @author: wuHuiJuan
* @create: 2019/11/27 10:06
*/
@Data
public class QueryParam<T> {
private T t;
private Long userId;
}

66
cloudutil/src/main/java/com/ccsens/cloudutil/feign/TallFeignClient.java

@ -0,0 +1,66 @@
package com.ccsens.cloudutil.feign;
import com.ccsens.cloudutil.bean.QueryParam;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.configurationprocessor.json.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.Map;
/**
* @description:
* @author: wuHuiJuan
* @create: 2019/11/27 10:03
*/
@FeignClient(name = "tall", path = "v1.0", fallbackFactory = TallFeignClientFallBack.class)
public interface TallFeignClient {
/**
* 获取
* @param map
* @return
*/
@PostMapping("/getPort")
String get(QueryParam map);
@GetMapping("/")
String index();
/*
1.如果使用url传参,加注解@PathVariable,不能传递对象,只能用作传递基本数值;
2.如果使用get请求传递参数,同样不能传递对象,而且如果传递参数的话,需要用到@RequestParam标注名称
3.传递对象请使用post方式,并且接收端使用@RequestBody注解
*/
}
@Slf4j
@Component
class TallFeignClientFallBack implements FallbackFactory<TallFeignClient> {
@Override
public TallFeignClient create(Throwable throwable) {
String msg = throwable == null ? "" : throwable.getMessage();
if (!StringUtils.isEmpty(msg)) {
log.error(msg);
}
return new TallFeignClient() {
@Override
public String get(QueryParam map) {
return "hello world";
}
@Override
public String index() {
throw new RuntimeException("网络繁忙,请稍后重试");
}
};
}
}

14
cloudutil/src/main/java/com/ccsens/cloudutil/ribbon/RibbonClientConfig.java

@ -0,0 +1,14 @@
package com.ccsens.cloudutil.ribbon;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.context.annotation.Configuration;
/**
* @description:
* @author: wuHuiJuan
* @create: 2019/11/26 12:11
*/
@Configuration
@RibbonClient(name="${spring.application.name}", configuration = RibbonConfiguration.class)
public class RibbonClientConfig {
}

41
cloudutil/src/main/java/com/ccsens/cloudutil/ribbon/RibbonConfiguration.java

@ -0,0 +1,41 @@
package com.ccsens.cloudutil.ribbon;
import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RoundRobinRule;
import com.netflix.loadbalancer.WeightedResponseTimeRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @description: 负载均衡
* @author: wuHuiJuan
* @create: 2019/11/26 12:04
*/
@Configuration
public class RibbonConfiguration {
/**根据响应时间加权,响应时间越长,权重越小,被选中的可能性越低*/
// @Bean
// public IRule weightedResponseTimeRule() {
// return new WeightedResponseTimeRule();
// }
/**轮询*/
@Bean
public IRule roundRobinRule(){
return new RoundRobinRule();
}
/*
负载均衡机制 也可以自定义
AvailabilityFilteringRule过滤掉一直连接失败的被标记为circuit tripped的后端Server并过滤掉那些高并发的后端Server或者使用一个AvailabilityPredicate来包含过滤server的逻辑其实就就是检查status里记录的各个Server的运行状态
BestAvailableRule选择一个最小的并发请求的Server逐个考察Server如果Server被tripped了则跳过
RandomRule随机选择一个Server
ResponseTimeWeightedRule作用同WeightedResponseTimeRule二者作用一样
RetryRule对选定的负载均衡策略机上重试机制在一个配置时间段内当选择Server不成功则一直尝试使用subRule的方式选择一个可用的server
RoundRobinRule轮询选择 轮询index选择index对应位置的Server
WeightedResponseTimeRule根据响应时间加权响应时间越长权重越小被选中的可能性越低
ZoneAvoidanceRule复合判断Server所在区域的性能和Server的可用性选择Server
*/
}

56
cloudutil/src/main/resources/application-util-dev.yml

@ -0,0 +1,56 @@
#服务端点暴露
management:
endpoints:
web:
exposure:
# 暴露xxx端点,如需暴露多个,用,分隔;如需暴露所有端点,用'*'
include: auditevents,caches,conditions,flyway,health,heapdump,httptrace,info,integrationgraph,jolokia,logfile,loggers,liquibase,metrics,mappings,prometheus,scheduledtasks,sessions,shutdown,threaddump,hystrix.stream
# # 不暴露哪些端点
# exclude: env,beans,configprops
endpoint:
health:
# 是否展示健康检查详情
show-details: always
health:
redis:
enabled: false
#eureka注册
eureka:
client:
service-url:
# 指定eureka server通信地址,注意/eureka/小尾巴不能少
defaultZone: http://admin:admin@peer1:8761/eureka/,http://admin:admin@peer2:8762/eureka/
instance:
# 是否注册IP到eureka server,如不指定或设为false,那就回注册主机名到eureka server
prefer-ip-address: true
metadata-map:
management:
context-path: ${server.servlet.context-path}/actuator
home-page-url-path: ${server.servlet.context-path}
status-page-url-path: ${server.servlet.context-path}/actuator/info
health-check-url-path: ${server.servlet.context-path}/actuator/health
feign:
client:
config:
default:
connectTime: 5000
readTimeout: 5000
# NONE【性能最佳,适用于生产】:不记录任何日志(默认值)。
# BASIC【适用于生产环境追踪问题】:仅记录请求方法、URL、响应状态代码以及执行时间。
# HEADERS:记录BASIC级别的基础上,记录请求和响应的header。
# FULL【比较适用于开发及测试环境定位问题】:记录请求和响应的header、body和元数据
loggerLevel: basic
hystrix:
enabled: true
# sleuth
logging:
level:
root: info
org.springframework.cloud.sleuth: DEBUG
spring:
zipkin:
base-url: http://anyring.cc:9411
sleuth:
sampler:
# 采样率,模式0.1,也就是10%,为了便于观察效果,改为1.0,也就是100%。生产环境建议保持默认。
probability: 1.0

301
ht/ht.iml

@ -0,0 +1,301 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="Spring" name="Spring">
<configuration />
</facet>
<facet type="web" name="Web">
<configuration>
<webroots />
<sourceRoots>
<root url="file://$MODULE_DIR$/src/main/java" />
<root url="file://$MODULE_DIR$/src/main/resources" />
</sourceRoots>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="cloudutil" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-context:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.security:spring-security-rsa:1.0.7.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.bouncycastle:bcpkix-jdk15on:1.60" level="project" />
<orderEntry type="library" name="Maven: org.bouncycastle:bcprov-jdk15on:1.60" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-core:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-eureka-client:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.netflix.eureka:eureka-client:1.9.3" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.codehaus.jettison:jettison:1.3.7" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-eventbus:0.3.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-infix:0.3.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: commons-jxpath:commons-jxpath:1.3" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: joda-time:joda-time:2.10.3" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.antlr:antlr-runtime:3.4" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.antlr:stringtemplate:3.2.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: antlr:antlr:2.7.7" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.google.code.gson:gson:2.8.5" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.commons:commons-math:2.2" level="project" />
<orderEntry type="library" name="Maven: com.netflix.archaius:archaius-core:0.7.6" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: javax.ws.rs:jsr311-api:1.1.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.servo:servo-core:0.12.21" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey:jersey-core:1.19.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey:jersey-client:1.19.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey.contribs:jersey-apache-client4:1.19.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.google.inject:guice:4.1.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: javax.inject:javax.inject:1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: aopalliance:aopalliance:1.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.github.vlsi.compactmap:compactmap:1.2.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.github.andrewoma.dexx:dexx-collections:0.2" level="project" />
<orderEntry type="library" name="Maven: com.netflix.eureka:eureka-core:1.9.3" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.4.1" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: javax.xml.stream:stax-api:1.0-2" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-archaius:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-archaius:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: commons-configuration:commons-configuration:1.8" level="project" />
<orderEntry type="library" name="Maven: commons-lang:commons-lang:2.6" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-ribbon:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon:2.2.5" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.ribbon:ribbon-transport:2.2.5" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty-contexts:0.4.9" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty-servo:0.4.9" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty:0.4.9" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-core:2.2.5" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-httpclient:2.2.5" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.2" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-commons-util:0.3.0" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-loadbalancer:2.2.5" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-statistics:0.1.1" level="project" />
<orderEntry type="library" name="Maven: io.reactivex:rxjava:1.3.8" level="project" />
<orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-eureka:2.2.5" level="project" />
<orderEntry type="library" name="Maven: com.thoughtworks.xstream:xstream:1.4.10" level="project" />
<orderEntry type="library" name="Maven: xmlpull:xmlpull:1.1.3.1" level="project" />
<orderEntry type="library" name="Maven: xpp3:xpp3_min:1.1.4c" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-openfeign:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-openfeign-core:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign.form:feign-form-spring:3.3.0" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign.form:feign-form:3.3.0" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:annotations:3.0.1" level="project" />
<orderEntry type="library" name="Maven: net.jcip:jcip-annotations:1.0" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:3.0.1" level="project" />
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.3.3" level="project" />
<orderEntry type="library" name="Maven: commons-io:commons-io:2.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-commons:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.security:spring-security-crypto:5.1.6.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign:feign-core:9.7.0" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign:feign-slf4j:9.7.0" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign:feign-hystrix:9.7.0" level="project" />
<orderEntry type="library" name="Maven: io.github.openfeign:feign-java8:9.7.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-hystrix:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-ribbon:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-core:1.5.12" level="project" />
<orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-serialization:1.5.12" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: com.fasterxml.jackson.module:jackson-module-afterburner:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-metrics-event-stream:1.5.12" level="project" />
<orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-javanica:1.5.12" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.commons:commons-lang3:3.8.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm:5.0.4" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.9.4" level="project" />
<orderEntry type="library" name="Maven: io.reactivex:rxjava-reactive-streams:1.2.1" level="project" />
<orderEntry type="library" name="Maven: org.reactivestreams:reactive-streams:1.0.3" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-sleuth:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-sleuth-core:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.9.4" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-context-log4j2:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-spring-web:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-http:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-spring-rabbit:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-kafka-clients:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-httpclient:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-httpasyncclient:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-spring-webmvc:5.4.3" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.brave:brave-instrumentation-servlet:5.4.3" level="project" />
<orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-sleuth-zipkin:2.0.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.zipkin2:zipkin:2.11.7" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.reporter2:zipkin-reporter:2.7.10" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.reporter2:zipkin-sender-kafka11:2.7.10" level="project" />
<orderEntry type="library" name="Maven: io.zipkin.reporter2:zipkin-sender-amqp-client:2.7.10" level="project" />
<orderEntry type="module" module-name="util" />
<orderEntry type="library" name="Maven: com.alibaba:fastjson:1.2.62" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-data-redis:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.3" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.11.2" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.28" level="project" />
<orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.3.2" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.23" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-redis:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-keyvalue:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:2.1.10.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-tx:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-oxm:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aop:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context-support:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.lettuce:lettuce-core:5.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-common:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-handler:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-buffer:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-codec:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-transport:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-resolver:4.1.39.Final" level="project" />
<orderEntry type="library" name="Maven: io.projectreactor:reactor-core:3.2.12.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:3.2.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.9.9" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.validator:hibernate-validator:6.0.17.Final" level="project" />
<orderEntry type="library" name="Maven: javax.validation:validation-api:2.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.3.Final" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-web:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-expression:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jetty:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlets:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-continuation:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-http:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-util:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-io:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-webapp:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-xml:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-servlet:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-security:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-server:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-server:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-common:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-api:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-client:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-client:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:websocket-servlet:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: javax.servlet:javax.servlet-api:4.0.1" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:javax-websocket-server-impl:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-annotations:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-plus:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-commons:7.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-tree:7.1" level="project" />
<orderEntry type="library" name="Maven: org.ow2.asm:asm-analysis:7.1" level="project" />
<orderEntry type="library" name="Maven: org.eclipse.jetty.websocket:javax-websocket-client-impl:9.4.19.v20190610" level="project" />
<orderEntry type="library" name="Maven: javax.websocket:javax.websocket-api:1.1" level="project" />
<orderEntry type="library" name="Maven: org.mortbay.jasper:apache-el:8.5.40" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.springframework.boot:spring-boot-devtools:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-configuration-processor:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.projectlombok:lombok:1.18.8" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.jayway.jsonpath:json-path:2.4.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:json-smart:2.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:accessors-smart:1.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.assertj:assertj-core:3.11.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:2.23.4" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy:1.9.16" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy-agent:1.9.16" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:2.6" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-library:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.skyscreamer:jsonassert:1.5.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.1.9.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:5.1.9.RELEASE" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.xmlunit:xmlunit-core:2.6.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: javax.xml.bind:jaxb-api:2.3.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: javax.activation:javax.activation-api:1.2.0" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-actuator:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator-autoconfigure:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: io.micrometer:micrometer-core:1.1.6" level="project" />
<orderEntry type="library" name="Maven: org.hdrhistogram:HdrHistogram:2.1.9" level="project" />
<orderEntry type="library" name="Maven: org.latencyutils:LatencyUtils:2.0.3" level="project" />
<orderEntry type="library" name="Maven: cn.hutool:hutool-all:4.1.21" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi:3.17" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.11" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:3.17" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:3.17" level="project" />
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.6.0" level="project" />
<orderEntry type="library" name="Maven: stax:stax-api:1.0.1" level="project" />
<orderEntry type="library" name="Maven: com.github.virtuald:curvesapi:1.04" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-websocket:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-messaging:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-websocket:5.1.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-amqp:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.amqp:spring-rabbit:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.amqp:spring-amqp:2.1.8.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.retry:spring-retry:1.2.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.rabbitmq:amqp-client:5.4.3" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.1.1" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.0" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.0" level="project" />
<orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper:4.1.4" level="project" />
<orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:0.9.5" level="project" />
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.17" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:druid:1.1.10" level="project" />
<orderEntry type="library" name="Maven: io.jsonwebtoken:jjwt:0.7.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.9.3" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.9" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.9" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.4" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.woodstox:woodstox-core:5.0.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-spring:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-lang:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-cache:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-hash:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-crypto-cipher:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-config-core:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-config-ogdl:1.4.0" level="project" />
<orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.9.3" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-event:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-web:1.4.0" level="project" />
<orderEntry type="library" name="Maven: net.sourceforge.htmlcleaner:htmlcleaner:2.22" level="project" />
<orderEntry type="library" name="Maven: org.jdom:jdom2:2.0.6" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger2:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.swagger:swagger-annotations:1.5.20" level="project" />
<orderEntry type="library" name="Maven: io.swagger:swagger-models:1.5.20" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-spi:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-core:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-schema:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger-common:2.9.2" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-spring-web:2.9.2" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml:classmate:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.28" level="project" />
<orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.mapstruct:mapstruct:1.2.0.Final" level="project" />
<orderEntry type="library" name="Maven: io.springfox:springfox-swagger-ui:2.9.2" level="project" />
<orderEntry type="library" name="Maven: org.mybatis.generator:mybatis-generator-core:1.3.7" level="project" />
<orderEntry type="library" name="Maven: org.beanshell:bsh:2.0b5" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.3.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.3.1" level="project" />
<orderEntry type="library" name="Maven: com.github.qcloudsms:qcloudsms:1.0.5" level="project" />
<orderEntry type="library" name="Maven: org.json:json:20170516" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.5.9" level="project" />
</component>
</module>

55
ht/pom.xml

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>ccsenscloud</artifactId>
<groupId>com.ccsens</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>ht</artifactId>
<dependencies>
<!--cloud 工具类-->
<dependency>
<artifactId>cloudutil</artifactId>
<groupId>com.ccsens</groupId>
<version>1.0-SNAPSHOT</version>
</dependency>
<!--util 工具类-->
<dependency>
<artifactId>util</artifactId>
<groupId>com.ccsens</groupId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.62</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<version>1.3.7</version>
<configuration>
<configurationFile>${basedir}/src/main/resources/mbg.xml</configurationFile>
<overwrite>true</overwrite>
</configuration>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.34</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>

30
ht/src/main/java/com/ccsens/ht/HtApplication.java

@ -0,0 +1,30 @@
package com.ccsens.ht;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
/**
* @description:
* @author: wuHuiJuan
* @create: 2019/11/26 14:58
*/
//@ComponentScan(basePackages = "com.ccsens.ht.*")
@MapperScan(basePackages = {"com.ccsens.ht.persist.*"})
@ServletComponentScan
@EnableAsync
//开启断路器功能
@EnableCircuitBreaker
@EnableFeignClients(basePackages = "com.ccsens.cloudutil.feign")
@SpringBootApplication(scanBasePackages = "com.ccsens")
public class HtApplication {
public static void main(String[] args) {
SpringApplication.run(HtApplication.class, args);
}
}

14
ht/src/main/java/com/ccsens/ht/annotation/DoctorAudit.java

@ -0,0 +1,14 @@
package com.ccsens.ht.annotation;
import java.lang.annotation.*;
/**
* 医生是否审核通过
* @author: wuHuiJuan
* @create: 2019/11/21 10:47
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DoctorAudit {
}

75
ht/src/main/java/com/ccsens/ht/api/DoctorController.java

@ -0,0 +1,75 @@
package com.ccsens.ht.api;
import com.ccsens.ht.annotation.DoctorAudit;
import com.ccsens.ht.bean.dto.DoctorDto;
import com.ccsens.ht.bean.dto.QueryDto;
import com.ccsens.ht.bean.vo.DoctorVo;
import com.ccsens.ht.service.IDoctorService;
import com.ccsens.util.CodeEnum;
import com.ccsens.util.JsonResponse;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
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;
/**
* @program: ptpro
* @description:
* @author: wu huijuan
* @create: 2019/10/24 17:03
*/
@Slf4j
@Api(tags = "资格认证/审核",value = "医生进行资格认证和资格审核")
@RestController
public class DoctorController {
@Autowired
private IDoctorService doctorService;
@ApiOperation(value = "资格认证",notes = "医生提交基本信息进行资格认证")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "医生基本信息", required = true)
})
@RequestMapping(value = "/doctorSubmit", method = RequestMethod.POST)
public JsonResponse doctorSubmit(@RequestBody @ApiParam @Validated QueryDto<DoctorDto.Submit> params) {
log.info("资格认证参数:{}", params);
DoctorDto.Submit submit = params.getParam();
return doctorService.doctorSubmit(submit, params.getUserId());
}
@DoctorAudit
@ApiOperation(value = "资格认证列表",notes = "医生资格认证列表")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "医生查询条件", required = true)
})
@RequestMapping(value = "/queryDoctors", method = RequestMethod.POST)
public JsonResponse queryDoctors(@RequestBody @ApiParam @Validated QueryDto<DoctorDto.Query> params) {
log.info("资格认证列表:{}", params);
PageInfo<DoctorVo.Query> dtos = doctorService.queryDoctors(params.getParam(), params.getUserId());
return JsonResponse.newInstance().ok(CodeEnum.SUCCESS, dtos);
}
@DoctorAudit
@ApiOperation(value = "资格审核",notes = "医生资格审核 通过/拒绝")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "医生基本信息", required = true)
})
@RequestMapping(value = "/doctorAudit", method = RequestMethod.POST)
public JsonResponse doctorAudit(@RequestBody @ApiParam @Validated QueryDto<DoctorDto.Audit> params) throws Exception {
log.info("资格审核:{}", params);
DoctorDto.Audit audit = params.getParam();
CodeEnum codeEnum = doctorService.doctorAudit(audit, params.getUserId());
log.info("审核结果:{}", codeEnum);
return JsonResponse.newInstance().ok(codeEnum);
}
}

76
ht/src/main/java/com/ccsens/ht/api/ImportController.java

@ -0,0 +1,76 @@
package com.ccsens.ht.api;
import com.ccsens.ht.service.IImportService;
import com.ccsens.ht.uitl.Constant;
import com.ccsens.util.JsonResponse;
import com.ccsens.util.UploadFileUtil_Servlet3;
import com.ccsens.util.WebConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.Part;
import java.io.File;
/**
* @program: ptpro
* @description: 医疗测评数据导入
* @author: wu huijuan
* @create: 2019/10/21 09:51
*/
@Slf4j
@Api(tags = "数据导入",value = "导入医疗项目相关数据")
@RestController
public class ImportController {
@Autowired
private IImportService importService;
/**
*@Description:
*@Param:
*@return: com.ccsens.ptpro.util.JsonResponse
*@Author: wuhuijuan
*@date: 2019/10/21 10:04
*/
@ApiOperation(value = "导入医疗项目相关数据",notes = "文件大小不能超过20M,支持后缀:.xls|.xlsx")
@ApiImplicitParams({
@ApiImplicitParam(name = "file", value = "医疗项目表", required = true, paramType = "form",dataType = "__file")
})
@RequestMapping(value = "/importBase", method = RequestMethod.POST)
public JsonResponse importAll(@RequestParam(required = true) Part file) throws Exception{
long time1 = System.currentTimeMillis();
//1.上传文件
String allowedExts = "xls,xlsx";
String dir = WebConstant.UPLOAD_PROJECT_WBS + File.separator;
String path = UploadFileUtil_Servlet3.uploadFile(file, allowedExts, dir);
File execlFile = new File(dir+path);
long time2 = System.currentTimeMillis();
log.info("解析文件耗时:{}", (time2 - time1));
importService.importPosition(execlFile, 0);
long time3 = System.currentTimeMillis();
log.info("导入职务耗时:{}", (time3 - time2));
importService.importTitle(execlFile, 1);
long time4 = System.currentTimeMillis();
log.info("导入职称耗时:{}", (time4 - time3));
importService.importReport(execlFile, 2);
long time5 = System.currentTimeMillis();
log.info("导入报告单耗时:{}", (time5 - time4));
importService.importQuestion(execlFile, Constant.Ht.Question.ALL);
return JsonResponse.newInstance().ok();
}
}

58
ht/src/main/java/com/ccsens/ht/api/IndexController.java

@ -0,0 +1,58 @@
package com.ccsens.ht.api;
import com.ccsens.cloudutil.bean.QueryParam;
import com.ccsens.cloudutil.feign.TallFeignClient;
import com.ccsens.util.PropUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.boot.configurationprocessor.json.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;
import java.util.HashMap;
import java.util.Map;
/**
* @description:
* @author: wuHuiJuan
* @create: 2019/11/26 15:01
*/
@RestController
public class IndexController {
// @Autowired
// private RestTemplate restTemplate;
@Autowired
private TallFeignClient tallFeignClient;
@RequestMapping("get/{id}")
public String get(@PathVariable("id") Long id) throws JSONException {
// return restTemplate.getForObject("http://tall/getPort", String.class);
Map t = new HashMap();
t.put("name","zs");
t.put("age",1);
QueryParam json = new QueryParam();
json.setT(t);
json.setUserId(id);
String s = tallFeignClient.get(json);
// String s = tallFeignClient.index();
return s;
}
@RequestMapping({"","/","/index"})
public String index(){
System.out.println("+++++++++++++++++++++++++++++++++:" + PropUtil.domain);
return "hello world:";
}
}

129
ht/src/main/java/com/ccsens/ht/api/PatientController.java

@ -0,0 +1,129 @@
package com.ccsens.ht.api;
import cn.hutool.core.util.IdcardUtil;
import com.ccsens.ht.annotation.DoctorAudit;
import com.ccsens.ht.bean.dto.PatientDto;
import com.ccsens.ht.bean.dto.QueryDto;
import com.ccsens.ht.bean.po.HtPatient;
import com.ccsens.ht.bean.vo.PatientVo;
import com.ccsens.ht.service.IPatientService;
import com.ccsens.ht.uitl.Constant;
import com.ccsens.util.CodeEnum;
import com.ccsens.util.JsonResponse;
import io.swagger.annotations.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.StringUtils;
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 java.util.List;
/**
* @program: ptpro
* @description: 病人信息查询及编辑
* @author: wu huijuan
* @create: 2019/10/28 17:48
*/
@Slf4j
@Api(tags = "病友信息",value = "病友信息查询/编辑")
@RestController
public class PatientController {
@Autowired
private IPatientService patientService;
/**
*@Description:
* @param params
*@return: com.ccsens.ptpro.util.JsonResponse
*@Author: wuhuijuan
*@date: 2019/10/29 9:24
*/
@DoctorAudit
@ApiOperation(value = "基础信息查询",notes = "病友基础信息查询")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "病友基础信息", required = true)
})
@RequestMapping(value="/queryPatient", method = RequestMethod.POST)
public JsonResponse query(@RequestBody @ApiParam @Validated QueryDto<PatientDto.Query> params) {
log.info("病友信息查询:{}", params);
PatientDto.Query patient = params.getParam();
List<HtPatient> patients = patientService.selectPatient(patient);
log.info("病友查询结果:{}", patients);
return JsonResponse.newInstance().ok(PatientVo.Query.copy(patients));
}
/**
*@Description:病人基本信息编辑返回病人ID
* 1.为用户注册账号 2有则修改无则添加
* @param params
*@return: com.ccsens.ptpro.util.JsonResponse
*@Author: wuhuijuan
*@date: 2019/10/30 9:27
*/
@DoctorAudit
@ApiOperation(value = "基础信息编辑",notes = "病友基础信息编辑")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "病友基础信息", required = true)
})
@RequestMapping(value="/editPatient", method = RequestMethod.POST)
public JsonResponse edit(@RequestBody @ApiParam @Validated QueryDto<PatientDto.Edit>params) {
log.info("病友信息编辑:{}", params);
PatientDto.Edit patient = params.getParam();
if(StringUtils.isEmpty(patient.getMobile()) || StringUtils.isEmpty(patient.getName())) {
log.info("手机号或名字为空");
return JsonResponse.newInstance().ok(CodeEnum.PARAM_NULL);
}
//校验身份证格式
if (patient.getId() == null) {
if (StringUtils.isEmpty(patient.getIdcard())) {
return JsonResponse.newInstance().ok(CodeEnum.PARAM_NULL);
}
if (!IdcardUtil.isValidCard(patient.getIdcard())){
return JsonResponse.newInstance().ok(CodeEnum.ID_CARD_ERROR);
}
} else if (StringUtils.isEmpty(patient.getIdcard()) || patient.getIdcard().contains("*")) {
patient.setIdcard(null);
}
//设置记录值
patient.setRecorder(patient.getId() == null ? Constant.Ht.NUMBER_DEFAULT : params.getUserId());
long id = patientService.editPatient(patient.copy());
log.info("病友编辑结果:{}", id);
if (id <= 0) {
log.info("病友编辑失败");
return JsonResponse.newInstance().ok(CodeEnum.PARAM_ERROR);
}
PatientVo.Edit idModel = new PatientVo.Edit();
idModel.setId(id);
return JsonResponse.newInstance().ok(idModel);
}
@DoctorAudit
@ApiOperation(value = "病友其他信息查询",notes = "病友其他信息查询")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "病友其他信息查询", required = true)
})
@RequestMapping(value="/queryPatientOtherMsg", method = RequestMethod.POST)
public JsonResponse queryPatientOtherMsg(@RequestBody @ApiParam @Validated QueryDto<PatientDto.QueryOtherMsg> params) {
log.info("查询其他信息请求参数:{}", params);
List list = patientService.queryPatientOtherMsg(params.getParam(), params.getUserId());
return JsonResponse.newInstance().ok(list);
}
@DoctorAudit
@ApiOperation(value = "编辑其他病友信息",notes = "编辑其他病友信息")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "编辑其他病友信息", required = true)
})
@RequestMapping(value="/editPatientOtherMsg", method = RequestMethod.POST)
public JsonResponse editPatientOtherMsg(@RequestBody @ApiParam @Validated QueryDto<PatientDto.EditOtherMsg> params) {
log.info("查询其他信息请求参数:{}", params);
CodeEnum codeEnum = patientService.editPatientOtherMsg(params.getParam(), params.getUserId());
return JsonResponse.newInstance().ok(codeEnum);
}
}

105
ht/src/main/java/com/ccsens/ht/api/PatientReportController.java

@ -0,0 +1,105 @@
package com.ccsens.ht.api;
import com.ccsens.ht.annotation.DoctorAudit;
import com.ccsens.ht.bean.dto.PatientReportDto;
import com.ccsens.ht.bean.dto.QueryDto;
import com.ccsens.ht.bean.vo.PatientReportVo;
import com.ccsens.ht.service.IPatientReportService;
import com.ccsens.util.CodeEnum;
import com.ccsens.util.JsonResponse;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
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;
/**
* @program: ptpro
* @description:病人报告单
* @author: wu huijuan
* @create: 2019/10/30 16:22
*/
@Slf4j
@Api(tags = "报告单信息",value = "报告单生成,查看,编辑,生成文件等")
@RestController
public class PatientReportController {
@Autowired
private IPatientReportService patientReportService;
@DoctorAudit
@ApiOperation(value = "生成报告单",notes = "生成报告单")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "报告单信息", required = true)
})
@RequestMapping(value="/generatePatientReport", method = RequestMethod.POST)
public JsonResponse generate(@RequestBody @ApiParam @Validated QueryDto<PatientReportDto.Generate> dto){
log.info("生成报告单请求参数:{}", dto);
PatientReportDto.Generate patientReport = dto.getParam();
if (patientReport == null || patientReport.getPatientId() == null || patientReport.getPatientId() == 0) {
return JsonResponse.newInstance().ok(CodeEnum.PARAM_NULL);
}
//TODO 判断病友是否和当前医院绑定,未绑定,进行绑定
JsonResponse response = patientReportService.generatePatientReport(patientReport, dto.getUserId());
log.info("生成病友报告单返回:{}", response);
return JsonResponse.newInstance().ok(response);
}
@DoctorAudit
@ApiOperation(value = "编辑报告单",notes = "编辑报告单")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "编辑报告单信息", required = true)
})
@RequestMapping(value="/editPatientReport", method = RequestMethod.POST)
public JsonResponse edit(@RequestBody @ApiParam @Validated QueryDto<PatientReportDto.Edit> param){
//编辑报告单信息
log.info("编辑报告单:{}", param);
CodeEnum codeEnum = patientReportService.editPatientReport(param.getParam(), param.getUserId());
log.info("编辑报告单结果:{}", codeEnum);
return JsonResponse.newInstance().ok(codeEnum);
}
@ApiOperation(value = "查询报告单列表",notes = "根据病人ID查询报告单列表")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "编辑报告单信息", required = true)
})
@RequestMapping(value="/queryReports", method = RequestMethod.POST)
public JsonResponse queryReports(@RequestBody @ApiParam @Validated QueryDto<PatientReportDto.QueryReports> param){
//编辑报告单信息
log.info("查询报告单列表:{}", param);
PageInfo<PatientReportVo.ReportName> reportNamePageInfo = patientReportService.queryReports(param.getParam(), param.getUserId());
log.info("查询报告单结果:{}", reportNamePageInfo);
return JsonResponse.newInstance().ok(reportNamePageInfo);
}
@ApiOperation(value = "查询报告单详情",notes = "根据病人ID查询报告单详情")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "查询报告单详情", required = true)
})
@RequestMapping(value="/queryReportDetail", method = RequestMethod.POST)
public JsonResponse queryReportDetail(@RequestBody @ApiParam @Validated QueryDto<PatientReportDto.QueryDetail> param){
//查询报告单信息
log.info("查询报告单详情:{}", param);
PatientReportVo.ReprotDetail detail = patientReportService.queryReportDetail(param.getParam(), param.getUserId());
log.info("查询报告单详情结果:{}", detail);
return JsonResponse.newInstance().ok(detail);
}
@ApiOperation(value = "查询医生对报告单的权限",notes = "查询医生对报告单的权限")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "报告单ID", required = true)
})
@RequestMapping(value="/queryAuthority", method = RequestMethod.POST)
public JsonResponse queryAuthority(@RequestBody @ApiParam @Validated QueryDto<PatientReportDto.Authority> param){
//查询报告单信息
log.info("查询医生对报告单的权限:{}", param);
PatientReportVo.Authority authority = patientReportService.queryReportAuthority(param.getParam(), param.getUserId());
log.info("查询医生对报告单的权限结果:{}", authority);
return JsonResponse.newInstance().ok(authority);
}
}

53
ht/src/main/java/com/ccsens/ht/api/PositionController.java

@ -0,0 +1,53 @@
package com.ccsens.ht.api;
import com.ccsens.ht.bean.dto.PositionDto;
import com.ccsens.ht.bean.dto.QueryDto;
import com.ccsens.ht.bean.vo.PositionVo;
import com.ccsens.ht.service.IPositionService;
import com.ccsens.util.JsonResponse;
import io.swagger.annotations.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
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 java.util.List;
/**
* @description: 查询职务职称
* @author: wu huijuan
* @create: 2019/11/19 16:19
*/
@Slf4j
@Api(tags = "部门 和 职称",value = "查询部门/职称")
@RestController
public class PositionController {
@Autowired
private IPositionService positionService;
@ApiOperation(value = "医院/部门/职务查询",notes = "医院/部门/职务查询")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "医院/部门/职务查询", required = true)
})
@RequestMapping(value="/queryPosition", method = RequestMethod.POST)
public JsonResponse queryPosition(@RequestBody @ApiParam @Validated QueryDto<PositionDto.Position> params){
log.info("查询职务:{}", params);
List<PositionVo.Position> positions = positionService.queryPosition(params.getParam(), params.getUserId());
return JsonResponse.newInstance().ok(positions);
}
@ApiOperation(value = "职称查询",notes = "职称查询")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "职称查询", required = true)
})
@RequestMapping(value="/queryTitle", method = RequestMethod.POST)
public JsonResponse queryTitle(@RequestBody @ApiParam @Validated QueryDto params){
log.info("查询职称:{}", params);
List<PositionVo.Title> titles = positionService.queryTitles();
return JsonResponse.newInstance().ok(titles);
}
}

62
ht/src/main/java/com/ccsens/ht/api/QuestionController.java

@ -0,0 +1,62 @@
package com.ccsens.ht.api;
import com.ccsens.ht.annotation.DoctorAudit;
import com.ccsens.ht.bean.dto.QueryDto;
import com.ccsens.ht.bean.dto.QuestionDto;
import com.ccsens.ht.bean.vo.QuestionVo;
import com.ccsens.ht.service.IQuestionService;
import com.ccsens.util.CodeEnum;
import com.ccsens.util.JsonResponse;
import com.ccsens.util.NotSupportedFileTypeException;
import io.swagger.annotations.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
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 java.io.IOException;
/**
* @description:
* @author: wu huijuan
* @create: 2019/11/08 15:33
*/
@Slf4j
@Api(tags = "测评题目信息",value = "测评题目查询等")
@RestController
public class QuestionController {
@Autowired
private IQuestionService questionService;
@DoctorAudit
@ApiOperation(value = "测评试题查询",notes = "测评试题查询")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "测评试题查询信息", required = true)
})
@RequestMapping(value="/queryQuestion", method = RequestMethod.POST)
public JsonResponse query(@RequestBody @ApiParam @Validated QueryDto<QuestionDto.Query> queryDto){
log.info("查询试题:{}", queryDto);
QuestionVo.Query query = questionService.queryQuestion(queryDto.getParam(), queryDto.getUserId());
log.info("查询试题结果:{}", query);
return JsonResponse.newInstance().ok(query);
}
@DoctorAudit
@ApiOperation(value = "保存试题得分",notes = "保存试题得分")
@ApiImplicitParams({
@ApiImplicitParam(name = "json", value = "试题得分情况", required = true)
})
@RequestMapping(value="/saveScore", method = RequestMethod.POST)
public JsonResponse saveScore(@RequestBody @ApiParam @Validated QueryDto<QuestionDto.Score> queryDto) throws IOException, NotSupportedFileTypeException {
log.info("保存试题得分:{}", queryDto);
CodeEnum codeEnum = questionService.saveScore(queryDto.getParam(), queryDto.getUserId());
log.info("保存试题得分结果:{}", codeEnum);
return JsonResponse.newInstance().ok(codeEnum);
}
}

61
ht/src/main/java/com/ccsens/ht/aspect/DoctorAuditAspect.java

@ -0,0 +1,61 @@
package com.ccsens.ht.aspect;
import com.ccsens.ht.bean.dto.QueryDto;
import com.ccsens.ht.bean.po.HtDoctor;
import com.ccsens.ht.bean.po.HtDoctorExample;
import com.ccsens.ht.persist.mapper.HtDoctorMapper;
import com.ccsens.ht.uitl.Constant;
import com.ccsens.util.CodeEnum;
import com.ccsens.util.JsonResponse;
import com.ccsens.util.exception.BaseException;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.CollectionUtils;
import java.util.List;
/**
* 判断医生是否审核通过
* @author: wuHuiJuan
* @create: 2019/11/21 10:51
*/
@Slf4j
@Aspect
@Component
public class DoctorAuditAspect {
@Autowired
private HtDoctorMapper htDoctorMapper;
@Pointcut("@annotation(com.ccsens.ht.annotation.DoctorAudit)")
public void doctorAuditAdvice(){}
@Around("doctorAuditAdvice()")
public Object around(ProceedingJoinPoint pjp){
Object[] args = pjp.getArgs();
QueryDto dto = (QueryDto) args[0];
Long userId = dto.getUserId();
HtDoctorExample doctorExample = new HtDoctorExample();
doctorExample.createCriteria().andUserIdEqualTo(userId).andAuditStateEqualTo(Constant.Ht.Doctor.CHECK_SUCCESS);
List<HtDoctor> doctors = htDoctorMapper.selectByExample(doctorExample);
if (CollectionUtils.isEmpty(doctors)) {
log.info("{}没有审核信息", userId);
return JsonResponse.newInstance().ok(CodeEnum.AUDIT_NOT_PASS);
}
Object result;
try {
result =pjp.proceed();
} catch (Throwable throwable) {
log.error("doctorAudit运行异常", throwable);
throw new BaseException(CodeEnum.SYS_ERROR);
}
return result;
}
}

20
ht/src/main/java/com/ccsens/ht/bean/BeanConfig.java

@ -0,0 +1,20 @@
//package com.ccsens.ht.bean;
//
//import org.springframework.cloud.client.loadbalancer.LoadBalanced;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.client.RestTemplate;
//
///**
// * @description:
// * @author: wuHuiJuan
// * @create: 2019/11/26 15:45
// */
//@Configuration
//public class BeanConfig {
// @Bean
// @LoadBalanced
// public RestTemplate restTemplate() {
// return new RestTemplate();
// }
//}

78
ht/src/main/java/com/ccsens/ht/bean/dto/DoctorDto.java

@ -0,0 +1,78 @@
package com.ccsens.ht.bean.dto;
import com.ccsens.ht.bean.po.HtDoctor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
/**
* @program: ptpro
* @description:
* @author: wu huijuan
* @create: 2019/10/31 10:35
*/
public class DoctorDto {
@ApiModel
@Data
public static class Submit{
@ApiModelProperty("职务ID")
@NotNull
private Long positionId;
@ApiModelProperty("职称ID")
@NotNull
private Long titleId;
@ApiModelProperty("姓名")
@NotNull
private String name;
@ApiModelProperty("性别(0:男 1:女)")
@NotNull
@Min(0)
@Max(1)
private Byte sex;
@ApiModelProperty("年龄")
@NotNull
@Min(0)
@Max(150)
private Integer age;
public HtDoctor copy() {
HtDoctor doctor = new HtDoctor();
BeanUtils.copyProperties(this, doctor);
return doctor;
}
}
@ApiModel
@Data
public static class Audit{
@ApiModelProperty("待审核医生ID")
@NotNull
private Long doctorId;
@ApiModelProperty("审核状态 1:审核通过 2:审核失败")
@NotNull
private Byte auditState;
}
@ApiModel
@Data
public static class Query{
@ApiModelProperty("职称ID")
private Long titleId;
@ApiModelProperty("医院/科室/职务ID")
private Long positionId;
@ApiModelProperty("第几页")
@Min(value = 1)
private int pageNum = 1;
@ApiModelProperty("每页多少条")
@Min(value = 1)
@Max(value=100)
private int pageSize = 10;
}
}

115
ht/src/main/java/com/ccsens/ht/bean/dto/PatientDto.java

@ -0,0 +1,115 @@
package com.ccsens.ht.bean.dto;
import com.alibaba.fastjson.JSONObject;
import com.ccsens.ht.bean.po.HtPatient;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;
/**
* @program: ptpro
* @description: 病人相关接口请求参数
* @author: wu huijuan
* @create: 2019/10/31 09:28
*/
public class PatientDto {
@ApiModel
@Data
public static class Query{
@ApiModelProperty("报告单ID")
private Long reportId;
@ApiModelProperty("病人ID")
private Long id;
@ApiModelProperty("病人名字")
private String name;
@ApiModelProperty("病人门诊号")
private String patientNumber;
@ApiModelProperty("病人住院号")
private String hospitalNumber;
@ApiModelProperty("病人身份证号")
private String idcard;
}
@Data
@ApiModel
public static class Edit{
@ApiModelProperty("病人id")
private Long id;
@ApiModelProperty("病人用户id")
private Long userId;
@ApiModelProperty("病人名字")
private String name;
@ApiModelProperty("病人门诊号")
private String patientNumber;
@ApiModelProperty("病人住院号")
private String hospitalNumber;
@ApiModelProperty("病人身份证号")
private String idcard;
@ApiModelProperty("性别(0:男 1:女)")
private Byte sex;
@ApiModelProperty("婚姻状况(1:未婚2:已婚 3:离异 4:分居 5:丧偶 6:同居 7:其他 )")
private Byte maritalStatus;
@ApiModelProperty("教育程度(1:文盲 2:小学 3:初中 4:高中 5:大学 6:大学以上 7:其他)")
private Byte educationalStatus;
@ApiModelProperty("受教育时间(年或月)")
private String educationalStatusUnit;
@ApiModelProperty("民族")
private String nation;
@ApiModelProperty("籍贯")
private String nativePlace;
@ApiModelProperty("职业(1:农林牧渔水利生产人员 2:教师 3:医务工作者 4:专业技术人员 5:生产、运输设备操作人员及有关人员6:商业、服务业人员7:国家机关、事业单位、企业负责人8:国家机关、事业单位、企业办事人员和有关人员9:军人 10:媒体、文体类工作人员 11:在校学生 12:未就业 13:家务 14:其他")
private Byte career;
@ApiModelProperty("生育数量")
private Integer birthNumber;
@ApiModelProperty("绝经年龄(女)")
private Integer menopauseAge;
@ApiModelProperty("联系人")
private String contact;
@ApiModelProperty("手机")
private String mobile;
@ApiModelProperty("电话")
private String phone;
@ApiModelProperty("省份")
private String province;
@ApiModelProperty("城市")
private String city;
@ApiModelProperty("住址")
private String adress;
@ApiModelProperty("住所(1:自己家中 2:养老院 3:其他)")
private Byte domicile;
@ApiModelProperty("独立生活能力(1:能够独立生活 2:需要他人帮助完成复杂活动 3:需要他人帮助完成基本活动 4:完全依赖他人生活 5:未知 6:其他)")
private Byte independentLivingSkills;
@ApiModelProperty("居住状态(1:独居 2:与配偶或对象或子女 3:与亲戚或朋友居住)")
private Byte dwellingState;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("第一次录入人ID")
private Long recorder;
/**复制当前的对象为HtPatient*/
public HtPatient copy(){
HtPatient patient = new HtPatient();
BeanUtils.copyProperties(this, patient);
return patient;
}
}
@Data
@ApiModel
public static class QueryOtherMsg {
@ApiModelProperty("病人id")
private Long patientId;
@ApiModelProperty("类型")
private String queryType;
}
@Data
@ApiModel
public static class EditOtherMsg {
@ApiModelProperty("病人其他信息")
private JSONObject model;
@ApiModelProperty("类型")
private String editType;
}
}

93
ht/src/main/java/com/ccsens/ht/bean/dto/PatientReportDto.java

@ -0,0 +1,93 @@
package com.ccsens.ht.bean.dto;
import com.ccsens.ht.bean.po.HtPatientReport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
/**
* @program: ptpro
* @description: 报告单请求参数
* @author: wu huijuan
* @create: 2019/10/31 10:22
*/
public class PatientReportDto {
@ApiModel
@Data
public static class Generate{
@ApiModelProperty("病人ID")
@NotNull
private Long patientId;
}
@ApiModel
@Data
public static class Edit{
@ApiModelProperty("初步印象")
@NotNull
private String initialImpression;
@ApiModelProperty("临床诊断")
@NotNull
private String clinicalDiagnosis;
@ApiModelProperty("床号")
@NotNull
private String bedNumber;
@ApiModelProperty("病人年龄 ")
@NotNull
private Byte patientAge;
@ApiModelProperty("严重程度(1:轻度 2:中度 3:重度) ")
@NotNull
private Long pasi;
@ApiModelProperty("科别")
@NotNull
private String department;
@ApiModelProperty("病人报告单ID")
@NotNull
private Long id;
public HtPatientReport copy(){
HtPatientReport report = new HtPatientReport();
BeanUtils.copyProperties(this, report);
report.setReportTime(System.currentTimeMillis());
return report;
}
}
@ApiModel
@Data
public static class QueryReports{
@ApiModelProperty("病人ID")
@NotNull
private Long patientId;
@ApiModelProperty("第几页")
@Min(value = 1)
private int pageNum = 1;
@ApiModelProperty("每页多少条")
@Min(value = 1)
@Max(value=100)
private int pageSize = 10;
}
@ApiModel
@Data
public static class QueryDetail{
@ApiModelProperty("病人报告单ID")
@NotNull
private Long id;
}
/**医生对报告单权限*/
@ApiModel
@Data
public static class Authority{
@ApiModelProperty("病人报告单ID")
@NotNull
private Long id;
}
}

21
ht/src/main/java/com/ccsens/ht/bean/dto/PositionDto.java

@ -0,0 +1,21 @@
package com.ccsens.ht.bean.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @description:职务和职称
* @author: wu huijuan
* @create: 2019/11/19 16:24
*/
public class PositionDto {
@ApiModel
@Data
public static class Position {
@ApiModelProperty("上级部门ID 为空,默认查所有医院")
private Long superiorDepartmentId;
}
}

20
ht/src/main/java/com/ccsens/ht/bean/dto/QueryDto.java

@ -0,0 +1,20 @@
package com.ccsens.ht.bean.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @program: ptpro
* @description: 编辑病人信息
* @author: wu huijuan
* @create: 2019/10/30 14:33
*/
@ApiModel
@Data
public class QueryDto<T> {
@ApiModelProperty("真正的请求参数")
private T param;
@ApiModelProperty("登录用户ID")
private Long userId;
}

58
ht/src/main/java/com/ccsens/ht/bean/dto/QuestionDto.java

@ -0,0 +1,58 @@
package com.ccsens.ht.bean.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.servlet.http.Part;
import javax.validation.constraints.NotNull;
import java.io.File;
import java.util.List;
/**
* @description:
* @author: wu huijuan
* @create: 2019/11/08 15:37
*/
public class QuestionDto {
@Data
@ApiModel
public static class Query{
@ApiModelProperty("病人报告单ID")
@NotNull
private Long patientReportId;
@ApiModelProperty("测评类型")
@NotNull
private String code;
@ApiModelProperty("题号")
@NotNull
private int num;
}
@Data
@ApiModel("保存分数")
public static class Score{
@ApiModelProperty("病人报告单ID")
@NotNull
private Long patientReportId;
@ApiModelProperty("试题ID")
@NotNull
private Long questionId;
@ApiModelProperty("选项集合")
@NotNull
private List<Option> options;
}
@Data
@ApiModel("选项")
public static class Option{
@NotNull
@ApiModelProperty("选项ID")
private Long id;
@NotNull
@ApiModelProperty("病友画图或录音")
private Part part;
}
}

161
ht/src/main/java/com/ccsens/ht/bean/po/HtDoctor.java

@ -0,0 +1,161 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtDoctor implements Serializable {
private Long id;
private Long userId;
private Long positionId;
private Long titleId;
private String name;
private Byte sex;
private Integer age;
private Long auditorId;
private Byte auditState;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 getPositionId() {
return positionId;
}
public void setPositionId(Long positionId) {
this.positionId = positionId;
}
public Long getTitleId() {
return titleId;
}
public void setTitleId(Long titleId) {
this.titleId = titleId;
}
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 Long getAuditorId() {
return auditorId;
}
public void setAuditorId(Long auditorId) {
this.auditorId = auditorId;
}
public Byte getAuditState() {
return auditState;
}
public void setAuditState(Byte auditState) {
this.auditState = auditState;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", positionId=").append(positionId);
sb.append(", titleId=").append(titleId);
sb.append(", name=").append(name);
sb.append(", sex=").append(sex);
sb.append(", age=").append(age);
sb.append(", auditorId=").append(auditorId);
sb.append(", auditState=").append(auditState);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

95
ht/src/main/java/com/ccsens/ht/bean/po/HtDoctorAudit.java

@ -0,0 +1,95 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtDoctorAudit implements Serializable {
private Long id;
private Long doctorId;
private Long auditorId;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getDoctorId() {
return doctorId;
}
public void setDoctorId(Long doctorId) {
this.doctorId = doctorId;
}
public Long getAuditorId() {
return auditorId;
}
public void setAuditorId(Long auditorId) {
this.auditorId = auditorId;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", doctorId=").append(doctorId);
sb.append(", auditorId=").append(auditorId);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

631
ht/src/main/java/com/ccsens/ht/bean/po/HtDoctorAuditExample.java

@ -0,0 +1,631 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtDoctorAuditExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtDoctorAuditExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria 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<Long> values) {
addCriterion("doctor_id in", values, "doctorId");
return (Criteria) this;
}
public Criteria andDoctorIdNotIn(List<Long> 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 andAuditorIdIsNull() {
addCriterion("auditor_id is null");
return (Criteria) this;
}
public Criteria andAuditorIdIsNotNull() {
addCriterion("auditor_id is not null");
return (Criteria) this;
}
public Criteria andAuditorIdEqualTo(Long value) {
addCriterion("auditor_id =", value, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdNotEqualTo(Long value) {
addCriterion("auditor_id <>", value, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdGreaterThan(Long value) {
addCriterion("auditor_id >", value, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdGreaterThanOrEqualTo(Long value) {
addCriterion("auditor_id >=", value, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdLessThan(Long value) {
addCriterion("auditor_id <", value, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdLessThanOrEqualTo(Long value) {
addCriterion("auditor_id <=", value, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdIn(List<Long> values) {
addCriterion("auditor_id in", values, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdNotIn(List<Long> values) {
addCriterion("auditor_id not in", values, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdBetween(Long value1, Long value2) {
addCriterion("auditor_id between", value1, value2, "auditorId");
return (Criteria) this;
}
public Criteria andAuditorIdNotBetween(Long value1, Long value2) {
addCriterion("auditor_id not between", value1, value2, "auditorId");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

1001
ht/src/main/java/com/ccsens/ht/bean/po/HtDoctorExample.java

File diff suppressed because it is too large

128
ht/src/main/java/com/ccsens/ht/bean/po/HtOperationLog.java

@ -0,0 +1,128 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtOperationLog implements Serializable {
private Long id;
private Long userId;
private Byte type;
private String tableName;
private String dataId;
private String content;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 Byte getType() {
return type;
}
public void setType(Byte type) {
this.type = type;
}
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName == null ? null : tableName.trim();
}
public String getDataId() {
return dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId == null ? null : dataId.trim();
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content == null ? null : content.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", type=").append(type);
sb.append(", tableName=").append(tableName);
sb.append(", dataId=").append(dataId);
sb.append(", content=").append(content);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

841
ht/src/main/java/com/ccsens/ht/bean/po/HtOperationLogExample.java

@ -0,0 +1,841 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtOperationLogExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtOperationLogExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andUserIdIsNull() {
addCriterion("user_id is null");
return (Criteria) this;
}
public Criteria andUserIdIsNotNull() {
addCriterion("user_id is not null");
return (Criteria) this;
}
public Criteria andUserIdEqualTo(Long value) {
addCriterion("user_id =", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotEqualTo(Long value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThan(Long value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThan(Long value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThanOrEqualTo(Long value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdIn(List<Long> values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotIn(List<Long> values) {
addCriterion("user_id not in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdBetween(Long value1, Long value2) {
addCriterion("user_id between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotBetween(Long value1, Long value2) {
addCriterion("user_id not between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria 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<Byte> values) {
addCriterion("type in", values, "type");
return (Criteria) this;
}
public Criteria andTypeNotIn(List<Byte> 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 andTableNameIsNull() {
addCriterion("table_name is null");
return (Criteria) this;
}
public Criteria andTableNameIsNotNull() {
addCriterion("table_name is not null");
return (Criteria) this;
}
public Criteria andTableNameEqualTo(String value) {
addCriterion("table_name =", value, "tableName");
return (Criteria) this;
}
public Criteria andTableNameNotEqualTo(String value) {
addCriterion("table_name <>", value, "tableName");
return (Criteria) this;
}
public Criteria andTableNameGreaterThan(String value) {
addCriterion("table_name >", value, "tableName");
return (Criteria) this;
}
public Criteria andTableNameGreaterThanOrEqualTo(String value) {
addCriterion("table_name >=", value, "tableName");
return (Criteria) this;
}
public Criteria andTableNameLessThan(String value) {
addCriterion("table_name <", value, "tableName");
return (Criteria) this;
}
public Criteria andTableNameLessThanOrEqualTo(String value) {
addCriterion("table_name <=", value, "tableName");
return (Criteria) this;
}
public Criteria andTableNameLike(String value) {
addCriterion("table_name like", value, "tableName");
return (Criteria) this;
}
public Criteria andTableNameNotLike(String value) {
addCriterion("table_name not like", value, "tableName");
return (Criteria) this;
}
public Criteria andTableNameIn(List<String> values) {
addCriterion("table_name in", values, "tableName");
return (Criteria) this;
}
public Criteria andTableNameNotIn(List<String> values) {
addCriterion("table_name not in", values, "tableName");
return (Criteria) this;
}
public Criteria andTableNameBetween(String value1, String value2) {
addCriterion("table_name between", value1, value2, "tableName");
return (Criteria) this;
}
public Criteria andTableNameNotBetween(String value1, String value2) {
addCriterion("table_name not between", value1, value2, "tableName");
return (Criteria) this;
}
public Criteria andDataIdIsNull() {
addCriterion("data_id is null");
return (Criteria) this;
}
public Criteria andDataIdIsNotNull() {
addCriterion("data_id is not null");
return (Criteria) this;
}
public Criteria andDataIdEqualTo(String value) {
addCriterion("data_id =", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdNotEqualTo(String value) {
addCriterion("data_id <>", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdGreaterThan(String value) {
addCriterion("data_id >", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdGreaterThanOrEqualTo(String value) {
addCriterion("data_id >=", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdLessThan(String value) {
addCriterion("data_id <", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdLessThanOrEqualTo(String value) {
addCriterion("data_id <=", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdLike(String value) {
addCriterion("data_id like", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdNotLike(String value) {
addCriterion("data_id not like", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdIn(List<String> values) {
addCriterion("data_id in", values, "dataId");
return (Criteria) this;
}
public Criteria andDataIdNotIn(List<String> values) {
addCriterion("data_id not in", values, "dataId");
return (Criteria) this;
}
public Criteria andDataIdBetween(String value1, String value2) {
addCriterion("data_id between", value1, value2, "dataId");
return (Criteria) this;
}
public Criteria andDataIdNotBetween(String value1, String value2) {
addCriterion("data_id not between", value1, value2, "dataId");
return (Criteria) this;
}
public Criteria andContentIsNull() {
addCriterion("content is null");
return (Criteria) this;
}
public Criteria andContentIsNotNull() {
addCriterion("content is not null");
return (Criteria) this;
}
public Criteria andContentEqualTo(String value) {
addCriterion("content =", value, "content");
return (Criteria) this;
}
public Criteria andContentNotEqualTo(String value) {
addCriterion("content <>", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThan(String value) {
addCriterion("content >", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThanOrEqualTo(String value) {
addCriterion("content >=", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThan(String value) {
addCriterion("content <", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThanOrEqualTo(String value) {
addCriterion("content <=", value, "content");
return (Criteria) this;
}
public Criteria andContentLike(String value) {
addCriterion("content like", value, "content");
return (Criteria) this;
}
public Criteria andContentNotLike(String value) {
addCriterion("content not like", value, "content");
return (Criteria) this;
}
public Criteria andContentIn(List<String> values) {
addCriterion("content in", values, "content");
return (Criteria) this;
}
public Criteria andContentNotIn(List<String> values) {
addCriterion("content not in", values, "content");
return (Criteria) this;
}
public Criteria andContentBetween(String value1, String value2) {
addCriterion("content between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andContentNotBetween(String value1, String value2) {
addCriterion("content not between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

337
ht/src/main/java/com/ccsens/ht/bean/po/HtPatient.java

@ -0,0 +1,337 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatient implements Serializable {
private Long id;
private Long userId;
private String name;
private String patientNumber;
private String hospitalNumber;
private String idcard;
private Byte sex;
private Byte maritalStatus;
private Byte educationalStatus;
private String educationalStatusUnit;
private String nation;
private String nativePlace;
private Byte career;
private Integer birthNumber;
private Integer menopauseAge;
private String contact;
private String mobile;
private String phone;
private String province;
private String city;
private String address;
private Byte domicile;
private Byte independentLivingSkills;
private Byte dwellingState;
private String remark;
private Long recorder;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 String getPatientNumber() {
return patientNumber;
}
public void setPatientNumber(String patientNumber) {
this.patientNumber = patientNumber == null ? null : patientNumber.trim();
}
public String getHospitalNumber() {
return hospitalNumber;
}
public void setHospitalNumber(String hospitalNumber) {
this.hospitalNumber = hospitalNumber == null ? null : hospitalNumber.trim();
}
public String getIdcard() {
return idcard;
}
public void setIdcard(String idcard) {
this.idcard = idcard == null ? null : idcard.trim();
}
public Byte getSex() {
return sex;
}
public void setSex(Byte sex) {
this.sex = sex;
}
public Byte getMaritalStatus() {
return maritalStatus;
}
public void setMaritalStatus(Byte maritalStatus) {
this.maritalStatus = maritalStatus;
}
public Byte getEducationalStatus() {
return educationalStatus;
}
public void setEducationalStatus(Byte educationalStatus) {
this.educationalStatus = educationalStatus;
}
public String getEducationalStatusUnit() {
return educationalStatusUnit;
}
public void setEducationalStatusUnit(String educationalStatusUnit) {
this.educationalStatusUnit = educationalStatusUnit == null ? null : educationalStatusUnit.trim();
}
public String getNation() {
return nation;
}
public void setNation(String nation) {
this.nation = nation == null ? null : nation.trim();
}
public String getNativePlace() {
return nativePlace;
}
public void setNativePlace(String nativePlace) {
this.nativePlace = nativePlace == null ? null : nativePlace.trim();
}
public Byte getCareer() {
return career;
}
public void setCareer(Byte career) {
this.career = career;
}
public Integer getBirthNumber() {
return birthNumber;
}
public void setBirthNumber(Integer birthNumber) {
this.birthNumber = birthNumber;
}
public Integer getMenopauseAge() {
return menopauseAge;
}
public void setMenopauseAge(Integer menopauseAge) {
this.menopauseAge = menopauseAge;
}
public String getContact() {
return contact;
}
public void setContact(String contact) {
this.contact = contact == null ? null : contact.trim();
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile == null ? null : mobile.trim();
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone == null ? null : phone.trim();
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province == null ? null : province.trim();
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city == null ? null : city.trim();
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address == null ? null : address.trim();
}
public Byte getDomicile() {
return domicile;
}
public void setDomicile(Byte domicile) {
this.domicile = domicile;
}
public Byte getIndependentLivingSkills() {
return independentLivingSkills;
}
public void setIndependentLivingSkills(Byte independentLivingSkills) {
this.independentLivingSkills = independentLivingSkills;
}
public Byte getDwellingState() {
return dwellingState;
}
public void setDwellingState(Byte dwellingState) {
this.dwellingState = dwellingState;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public Long getRecorder() {
return recorder;
}
public void setRecorder(Long recorder) {
this.recorder = recorder;
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", patientNumber=").append(patientNumber);
sb.append(", hospitalNumber=").append(hospitalNumber);
sb.append(", idcard=").append(idcard);
sb.append(", sex=").append(sex);
sb.append(", maritalStatus=").append(maritalStatus);
sb.append(", educationalStatus=").append(educationalStatus);
sb.append(", educationalStatusUnit=").append(educationalStatusUnit);
sb.append(", nation=").append(nation);
sb.append(", nativePlace=").append(nativePlace);
sb.append(", career=").append(career);
sb.append(", birthNumber=").append(birthNumber);
sb.append(", menopauseAge=").append(menopauseAge);
sb.append(", contact=").append(contact);
sb.append(", mobile=").append(mobile);
sb.append(", phone=").append(phone);
sb.append(", province=").append(province);
sb.append(", city=").append(city);
sb.append(", address=").append(address);
sb.append(", domicile=").append(domicile);
sb.append(", independentLivingSkills=").append(independentLivingSkills);
sb.append(", dwellingState=").append(dwellingState);
sb.append(", remark=").append(remark);
sb.append(", recorder=").append(recorder);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

172
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientAcp.java

@ -0,0 +1,172 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientAcp implements Serializable {
private Long id;
private Long patientId;
private String ct;
private String mri;
private String hcy;
private String vb12;
private String folicAcid;
private String tt3;
private String tt4;
private String tsh;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 String getCt() {
return ct;
}
public void setCt(String ct) {
this.ct = ct == null ? null : ct.trim();
}
public String getMri() {
return mri;
}
public void setMri(String mri) {
this.mri = mri == null ? null : mri.trim();
}
public String getHcy() {
return hcy;
}
public void setHcy(String hcy) {
this.hcy = hcy == null ? null : hcy.trim();
}
public String getVb12() {
return vb12;
}
public void setVb12(String vb12) {
this.vb12 = vb12 == null ? null : vb12.trim();
}
public String getFolicAcid() {
return folicAcid;
}
public void setFolicAcid(String folicAcid) {
this.folicAcid = folicAcid == null ? null : folicAcid.trim();
}
public String getTt3() {
return tt3;
}
public void setTt3(String tt3) {
this.tt3 = tt3 == null ? null : tt3.trim();
}
public String getTt4() {
return tt4;
}
public void setTt4(String tt4) {
this.tt4 = tt4 == null ? null : tt4.trim();
}
public String getTsh() {
return tsh;
}
public void setTsh(String tsh) {
this.tsh = tsh == null ? null : tsh.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", ct=").append(ct);
sb.append(", mri=").append(mri);
sb.append(", hcy=").append(hcy);
sb.append(", vb12=").append(vb12);
sb.append(", folicAcid=").append(folicAcid);
sb.append(", tt3=").append(tt3);
sb.append(", tt4=").append(tt4);
sb.append(", tsh=").append(tsh);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

1131
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientAcpExample.java

File diff suppressed because it is too large

172
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientBody.java

@ -0,0 +1,172 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientBody implements Serializable {
private Long id;
private Long patientId;
private String height;
private String weight;
private String waistline;
private String bloodPressureShrink;
private String bloodPressureDiastole;
private String restingHeartRate;
private Byte vision;
private Byte auditory;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 String getHeight() {
return height;
}
public void setHeight(String height) {
this.height = height == null ? null : height.trim();
}
public String getWeight() {
return weight;
}
public void setWeight(String weight) {
this.weight = weight == null ? null : weight.trim();
}
public String getWaistline() {
return waistline;
}
public void setWaistline(String waistline) {
this.waistline = waistline == null ? null : waistline.trim();
}
public String getBloodPressureShrink() {
return bloodPressureShrink;
}
public void setBloodPressureShrink(String bloodPressureShrink) {
this.bloodPressureShrink = bloodPressureShrink == null ? null : bloodPressureShrink.trim();
}
public String getBloodPressureDiastole() {
return bloodPressureDiastole;
}
public void setBloodPressureDiastole(String bloodPressureDiastole) {
this.bloodPressureDiastole = bloodPressureDiastole == null ? null : bloodPressureDiastole.trim();
}
public String getRestingHeartRate() {
return restingHeartRate;
}
public void setRestingHeartRate(String restingHeartRate) {
this.restingHeartRate = restingHeartRate == null ? null : restingHeartRate.trim();
}
public Byte getVision() {
return vision;
}
public void setVision(Byte vision) {
this.vision = vision;
}
public Byte getAuditory() {
return auditory;
}
public void setAuditory(Byte auditory) {
this.auditory = auditory;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", height=").append(height);
sb.append(", weight=").append(weight);
sb.append(", waistline=").append(waistline);
sb.append(", bloodPressureShrink=").append(bloodPressureShrink);
sb.append(", bloodPressureDiastole=").append(bloodPressureDiastole);
sb.append(", restingHeartRate=").append(restingHeartRate);
sb.append(", vision=").append(vision);
sb.append(", auditory=").append(auditory);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

1111
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientBodyExample.java

File diff suppressed because it is too large

2081
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientExample.java

File diff suppressed because it is too large

150
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFamily.java

@ -0,0 +1,150 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientFamily implements Serializable {
private Long id;
private Long patientId;
private String name;
private Byte age;
private Byte sex;
private Byte educationalStatus;
private Byte relation;
private Byte isLiveTogether;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public Byte getAge() {
return age;
}
public void setAge(Byte age) {
this.age = age;
}
public Byte getSex() {
return sex;
}
public void setSex(Byte sex) {
this.sex = sex;
}
public Byte getEducationalStatus() {
return educationalStatus;
}
public void setEducationalStatus(Byte educationalStatus) {
this.educationalStatus = educationalStatus;
}
public Byte getRelation() {
return relation;
}
public void setRelation(Byte relation) {
this.relation = relation;
}
public Byte getIsLiveTogether() {
return isLiveTogether;
}
public void setIsLiveTogether(Byte isLiveTogether) {
this.isLiveTogether = isLiveTogether;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", name=").append(name);
sb.append(", age=").append(age);
sb.append(", sex=").append(sex);
sb.append(", educationalStatus=").append(educationalStatus);
sb.append(", relation=").append(relation);
sb.append(", isLiveTogether=").append(isLiveTogether);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

941
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFamilyExample.java

@ -0,0 +1,941 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtPatientFamilyExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtPatientFamilyExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria 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<Long> values) {
addCriterion("patient_id in", values, "patientId");
return (Criteria) this;
}
public Criteria andPatientIdNotIn(List<Long> 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 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<String> values) {
addCriterion("name in", values, "name");
return (Criteria) this;
}
public Criteria andNameNotIn(List<String> 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 andAgeIsNull() {
addCriterion("age is null");
return (Criteria) this;
}
public Criteria andAgeIsNotNull() {
addCriterion("age is not null");
return (Criteria) this;
}
public Criteria andAgeEqualTo(Byte value) {
addCriterion("age =", value, "age");
return (Criteria) this;
}
public Criteria andAgeNotEqualTo(Byte value) {
addCriterion("age <>", value, "age");
return (Criteria) this;
}
public Criteria andAgeGreaterThan(Byte value) {
addCriterion("age >", value, "age");
return (Criteria) this;
}
public Criteria andAgeGreaterThanOrEqualTo(Byte value) {
addCriterion("age >=", value, "age");
return (Criteria) this;
}
public Criteria andAgeLessThan(Byte value) {
addCriterion("age <", value, "age");
return (Criteria) this;
}
public Criteria andAgeLessThanOrEqualTo(Byte value) {
addCriterion("age <=", value, "age");
return (Criteria) this;
}
public Criteria andAgeIn(List<Byte> values) {
addCriterion("age in", values, "age");
return (Criteria) this;
}
public Criteria andAgeNotIn(List<Byte> values) {
addCriterion("age not in", values, "age");
return (Criteria) this;
}
public Criteria andAgeBetween(Byte value1, Byte value2) {
addCriterion("age between", value1, value2, "age");
return (Criteria) this;
}
public Criteria andAgeNotBetween(Byte value1, Byte value2) {
addCriterion("age not between", value1, value2, "age");
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<Byte> values) {
addCriterion("sex in", values, "sex");
return (Criteria) this;
}
public Criteria andSexNotIn(List<Byte> 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 andEducationalStatusIsNull() {
addCriterion("educational_status is null");
return (Criteria) this;
}
public Criteria andEducationalStatusIsNotNull() {
addCriterion("educational_status is not null");
return (Criteria) this;
}
public Criteria andEducationalStatusEqualTo(Byte value) {
addCriterion("educational_status =", value, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusNotEqualTo(Byte value) {
addCriterion("educational_status <>", value, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusGreaterThan(Byte value) {
addCriterion("educational_status >", value, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusGreaterThanOrEqualTo(Byte value) {
addCriterion("educational_status >=", value, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusLessThan(Byte value) {
addCriterion("educational_status <", value, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusLessThanOrEqualTo(Byte value) {
addCriterion("educational_status <=", value, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusIn(List<Byte> values) {
addCriterion("educational_status in", values, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusNotIn(List<Byte> values) {
addCriterion("educational_status not in", values, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusBetween(Byte value1, Byte value2) {
addCriterion("educational_status between", value1, value2, "educationalStatus");
return (Criteria) this;
}
public Criteria andEducationalStatusNotBetween(Byte value1, Byte value2) {
addCriterion("educational_status not between", value1, value2, "educationalStatus");
return (Criteria) this;
}
public Criteria andRelationIsNull() {
addCriterion("relation is null");
return (Criteria) this;
}
public Criteria andRelationIsNotNull() {
addCriterion("relation is not null");
return (Criteria) this;
}
public Criteria andRelationEqualTo(Byte value) {
addCriterion("relation =", value, "relation");
return (Criteria) this;
}
public Criteria andRelationNotEqualTo(Byte value) {
addCriterion("relation <>", value, "relation");
return (Criteria) this;
}
public Criteria andRelationGreaterThan(Byte value) {
addCriterion("relation >", value, "relation");
return (Criteria) this;
}
public Criteria andRelationGreaterThanOrEqualTo(Byte value) {
addCriterion("relation >=", value, "relation");
return (Criteria) this;
}
public Criteria andRelationLessThan(Byte value) {
addCriterion("relation <", value, "relation");
return (Criteria) this;
}
public Criteria andRelationLessThanOrEqualTo(Byte value) {
addCriterion("relation <=", value, "relation");
return (Criteria) this;
}
public Criteria andRelationIn(List<Byte> values) {
addCriterion("relation in", values, "relation");
return (Criteria) this;
}
public Criteria andRelationNotIn(List<Byte> values) {
addCriterion("relation not in", values, "relation");
return (Criteria) this;
}
public Criteria andRelationBetween(Byte value1, Byte value2) {
addCriterion("relation between", value1, value2, "relation");
return (Criteria) this;
}
public Criteria andRelationNotBetween(Byte value1, Byte value2) {
addCriterion("relation not between", value1, value2, "relation");
return (Criteria) this;
}
public Criteria andIsLiveTogetherIsNull() {
addCriterion("is_live_together is null");
return (Criteria) this;
}
public Criteria andIsLiveTogetherIsNotNull() {
addCriterion("is_live_together is not null");
return (Criteria) this;
}
public Criteria andIsLiveTogetherEqualTo(Byte value) {
addCriterion("is_live_together =", value, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherNotEqualTo(Byte value) {
addCriterion("is_live_together <>", value, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherGreaterThan(Byte value) {
addCriterion("is_live_together >", value, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherGreaterThanOrEqualTo(Byte value) {
addCriterion("is_live_together >=", value, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherLessThan(Byte value) {
addCriterion("is_live_together <", value, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherLessThanOrEqualTo(Byte value) {
addCriterion("is_live_together <=", value, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherIn(List<Byte> values) {
addCriterion("is_live_together in", values, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherNotIn(List<Byte> values) {
addCriterion("is_live_together not in", values, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherBetween(Byte value1, Byte value2) {
addCriterion("is_live_together between", value1, value2, "isLiveTogether");
return (Criteria) this;
}
public Criteria andIsLiveTogetherNotBetween(Byte value1, Byte value2) {
addCriterion("is_live_together not between", value1, value2, "isLiveTogether");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

139
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFamilyIllness.java

@ -0,0 +1,139 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientFamilyIllness implements Serializable {
private Long id;
private Long patientId;
private String name;
private String relation;
private String diagnose;
private Integer onsetAge;
private Integer nowAge;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public String getRelation() {
return relation;
}
public void setRelation(String relation) {
this.relation = relation == null ? null : relation.trim();
}
public String getDiagnose() {
return diagnose;
}
public void setDiagnose(String diagnose) {
this.diagnose = diagnose == null ? null : diagnose.trim();
}
public Integer getOnsetAge() {
return onsetAge;
}
public void setOnsetAge(Integer onsetAge) {
this.onsetAge = onsetAge;
}
public Integer getNowAge() {
return nowAge;
}
public void setNowAge(Integer nowAge) {
this.nowAge = nowAge;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", name=").append(name);
sb.append(", relation=").append(relation);
sb.append(", diagnose=").append(diagnose);
sb.append(", onsetAge=").append(onsetAge);
sb.append(", nowAge=").append(nowAge);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

901
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFamilyIllnessExample.java

@ -0,0 +1,901 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtPatientFamilyIllnessExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtPatientFamilyIllnessExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria 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<Long> values) {
addCriterion("patient_id in", values, "patientId");
return (Criteria) this;
}
public Criteria andPatientIdNotIn(List<Long> 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 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<String> values) {
addCriterion("name in", values, "name");
return (Criteria) this;
}
public Criteria andNameNotIn(List<String> 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 andRelationIsNull() {
addCriterion("relation is null");
return (Criteria) this;
}
public Criteria andRelationIsNotNull() {
addCriterion("relation is not null");
return (Criteria) this;
}
public Criteria andRelationEqualTo(String value) {
addCriterion("relation =", value, "relation");
return (Criteria) this;
}
public Criteria andRelationNotEqualTo(String value) {
addCriterion("relation <>", value, "relation");
return (Criteria) this;
}
public Criteria andRelationGreaterThan(String value) {
addCriterion("relation >", value, "relation");
return (Criteria) this;
}
public Criteria andRelationGreaterThanOrEqualTo(String value) {
addCriterion("relation >=", value, "relation");
return (Criteria) this;
}
public Criteria andRelationLessThan(String value) {
addCriterion("relation <", value, "relation");
return (Criteria) this;
}
public Criteria andRelationLessThanOrEqualTo(String value) {
addCriterion("relation <=", value, "relation");
return (Criteria) this;
}
public Criteria andRelationLike(String value) {
addCriterion("relation like", value, "relation");
return (Criteria) this;
}
public Criteria andRelationNotLike(String value) {
addCriterion("relation not like", value, "relation");
return (Criteria) this;
}
public Criteria andRelationIn(List<String> values) {
addCriterion("relation in", values, "relation");
return (Criteria) this;
}
public Criteria andRelationNotIn(List<String> values) {
addCriterion("relation not in", values, "relation");
return (Criteria) this;
}
public Criteria andRelationBetween(String value1, String value2) {
addCriterion("relation between", value1, value2, "relation");
return (Criteria) this;
}
public Criteria andRelationNotBetween(String value1, String value2) {
addCriterion("relation not between", value1, value2, "relation");
return (Criteria) this;
}
public Criteria andDiagnoseIsNull() {
addCriterion("diagnose is null");
return (Criteria) this;
}
public Criteria andDiagnoseIsNotNull() {
addCriterion("diagnose is not null");
return (Criteria) this;
}
public Criteria andDiagnoseEqualTo(String value) {
addCriterion("diagnose =", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseNotEqualTo(String value) {
addCriterion("diagnose <>", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseGreaterThan(String value) {
addCriterion("diagnose >", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseGreaterThanOrEqualTo(String value) {
addCriterion("diagnose >=", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseLessThan(String value) {
addCriterion("diagnose <", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseLessThanOrEqualTo(String value) {
addCriterion("diagnose <=", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseLike(String value) {
addCriterion("diagnose like", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseNotLike(String value) {
addCriterion("diagnose not like", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseIn(List<String> values) {
addCriterion("diagnose in", values, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseNotIn(List<String> values) {
addCriterion("diagnose not in", values, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseBetween(String value1, String value2) {
addCriterion("diagnose between", value1, value2, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseNotBetween(String value1, String value2) {
addCriterion("diagnose not between", value1, value2, "diagnose");
return (Criteria) this;
}
public Criteria andOnsetAgeIsNull() {
addCriterion("onset_age is null");
return (Criteria) this;
}
public Criteria andOnsetAgeIsNotNull() {
addCriterion("onset_age is not null");
return (Criteria) this;
}
public Criteria andOnsetAgeEqualTo(Integer value) {
addCriterion("onset_age =", value, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeNotEqualTo(Integer value) {
addCriterion("onset_age <>", value, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeGreaterThan(Integer value) {
addCriterion("onset_age >", value, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeGreaterThanOrEqualTo(Integer value) {
addCriterion("onset_age >=", value, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeLessThan(Integer value) {
addCriterion("onset_age <", value, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeLessThanOrEqualTo(Integer value) {
addCriterion("onset_age <=", value, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeIn(List<Integer> values) {
addCriterion("onset_age in", values, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeNotIn(List<Integer> values) {
addCriterion("onset_age not in", values, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeBetween(Integer value1, Integer value2) {
addCriterion("onset_age between", value1, value2, "onsetAge");
return (Criteria) this;
}
public Criteria andOnsetAgeNotBetween(Integer value1, Integer value2) {
addCriterion("onset_age not between", value1, value2, "onsetAge");
return (Criteria) this;
}
public Criteria andNowAgeIsNull() {
addCriterion("now_age is null");
return (Criteria) this;
}
public Criteria andNowAgeIsNotNull() {
addCriterion("now_age is not null");
return (Criteria) this;
}
public Criteria andNowAgeEqualTo(Integer value) {
addCriterion("now_age =", value, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeNotEqualTo(Integer value) {
addCriterion("now_age <>", value, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeGreaterThan(Integer value) {
addCriterion("now_age >", value, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeGreaterThanOrEqualTo(Integer value) {
addCriterion("now_age >=", value, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeLessThan(Integer value) {
addCriterion("now_age <", value, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeLessThanOrEqualTo(Integer value) {
addCriterion("now_age <=", value, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeIn(List<Integer> values) {
addCriterion("now_age in", values, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeNotIn(List<Integer> values) {
addCriterion("now_age not in", values, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeBetween(Integer value1, Integer value2) {
addCriterion("now_age between", value1, value2, "nowAge");
return (Criteria) this;
}
public Criteria andNowAgeNotBetween(Integer value1, Integer value2) {
addCriterion("now_age not between", value1, value2, "nowAge");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

128
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFollowUp.java

@ -0,0 +1,128 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientFollowUp implements Serializable {
private Long id;
private Long patientId;
private Date followUpDatetime;
private Integer followUpTimes;
private String recorder;
private String diagnose;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 Date getFollowUpDatetime() {
return followUpDatetime;
}
public void setFollowUpDatetime(Date followUpDatetime) {
this.followUpDatetime = followUpDatetime;
}
public Integer getFollowUpTimes() {
return followUpTimes;
}
public void setFollowUpTimes(Integer followUpTimes) {
this.followUpTimes = followUpTimes;
}
public String getRecorder() {
return recorder;
}
public void setRecorder(String recorder) {
this.recorder = recorder == null ? null : recorder.trim();
}
public String getDiagnose() {
return diagnose;
}
public void setDiagnose(String diagnose) {
this.diagnose = diagnose == null ? null : diagnose.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", followUpDatetime=").append(followUpDatetime);
sb.append(", followUpTimes=").append(followUpTimes);
sb.append(", recorder=").append(recorder);
sb.append(", diagnose=").append(diagnose);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

831
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientFollowUpExample.java

@ -0,0 +1,831 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtPatientFollowUpExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtPatientFollowUpExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria 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<Long> values) {
addCriterion("patient_id in", values, "patientId");
return (Criteria) this;
}
public Criteria andPatientIdNotIn(List<Long> 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 andFollowUpDatetimeIsNull() {
addCriterion("follow_up_datetime is null");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeIsNotNull() {
addCriterion("follow_up_datetime is not null");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeEqualTo(Date value) {
addCriterion("follow_up_datetime =", value, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeNotEqualTo(Date value) {
addCriterion("follow_up_datetime <>", value, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeGreaterThan(Date value) {
addCriterion("follow_up_datetime >", value, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeGreaterThanOrEqualTo(Date value) {
addCriterion("follow_up_datetime >=", value, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeLessThan(Date value) {
addCriterion("follow_up_datetime <", value, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeLessThanOrEqualTo(Date value) {
addCriterion("follow_up_datetime <=", value, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeIn(List<Date> values) {
addCriterion("follow_up_datetime in", values, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeNotIn(List<Date> values) {
addCriterion("follow_up_datetime not in", values, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeBetween(Date value1, Date value2) {
addCriterion("follow_up_datetime between", value1, value2, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpDatetimeNotBetween(Date value1, Date value2) {
addCriterion("follow_up_datetime not between", value1, value2, "followUpDatetime");
return (Criteria) this;
}
public Criteria andFollowUpTimesIsNull() {
addCriterion("follow_up_times is null");
return (Criteria) this;
}
public Criteria andFollowUpTimesIsNotNull() {
addCriterion("follow_up_times is not null");
return (Criteria) this;
}
public Criteria andFollowUpTimesEqualTo(Integer value) {
addCriterion("follow_up_times =", value, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesNotEqualTo(Integer value) {
addCriterion("follow_up_times <>", value, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesGreaterThan(Integer value) {
addCriterion("follow_up_times >", value, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesGreaterThanOrEqualTo(Integer value) {
addCriterion("follow_up_times >=", value, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesLessThan(Integer value) {
addCriterion("follow_up_times <", value, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesLessThanOrEqualTo(Integer value) {
addCriterion("follow_up_times <=", value, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesIn(List<Integer> values) {
addCriterion("follow_up_times in", values, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesNotIn(List<Integer> values) {
addCriterion("follow_up_times not in", values, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesBetween(Integer value1, Integer value2) {
addCriterion("follow_up_times between", value1, value2, "followUpTimes");
return (Criteria) this;
}
public Criteria andFollowUpTimesNotBetween(Integer value1, Integer value2) {
addCriterion("follow_up_times not between", value1, value2, "followUpTimes");
return (Criteria) this;
}
public Criteria andRecorderIsNull() {
addCriterion("recorder is null");
return (Criteria) this;
}
public Criteria andRecorderIsNotNull() {
addCriterion("recorder is not null");
return (Criteria) this;
}
public Criteria andRecorderEqualTo(String value) {
addCriterion("recorder =", value, "recorder");
return (Criteria) this;
}
public Criteria andRecorderNotEqualTo(String value) {
addCriterion("recorder <>", value, "recorder");
return (Criteria) this;
}
public Criteria andRecorderGreaterThan(String value) {
addCriterion("recorder >", value, "recorder");
return (Criteria) this;
}
public Criteria andRecorderGreaterThanOrEqualTo(String value) {
addCriterion("recorder >=", value, "recorder");
return (Criteria) this;
}
public Criteria andRecorderLessThan(String value) {
addCriterion("recorder <", value, "recorder");
return (Criteria) this;
}
public Criteria andRecorderLessThanOrEqualTo(String value) {
addCriterion("recorder <=", value, "recorder");
return (Criteria) this;
}
public Criteria andRecorderLike(String value) {
addCriterion("recorder like", value, "recorder");
return (Criteria) this;
}
public Criteria andRecorderNotLike(String value) {
addCriterion("recorder not like", value, "recorder");
return (Criteria) this;
}
public Criteria andRecorderIn(List<String> values) {
addCriterion("recorder in", values, "recorder");
return (Criteria) this;
}
public Criteria andRecorderNotIn(List<String> values) {
addCriterion("recorder not in", values, "recorder");
return (Criteria) this;
}
public Criteria andRecorderBetween(String value1, String value2) {
addCriterion("recorder between", value1, value2, "recorder");
return (Criteria) this;
}
public Criteria andRecorderNotBetween(String value1, String value2) {
addCriterion("recorder not between", value1, value2, "recorder");
return (Criteria) this;
}
public Criteria andDiagnoseIsNull() {
addCriterion("diagnose is null");
return (Criteria) this;
}
public Criteria andDiagnoseIsNotNull() {
addCriterion("diagnose is not null");
return (Criteria) this;
}
public Criteria andDiagnoseEqualTo(String value) {
addCriterion("diagnose =", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseNotEqualTo(String value) {
addCriterion("diagnose <>", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseGreaterThan(String value) {
addCriterion("diagnose >", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseGreaterThanOrEqualTo(String value) {
addCriterion("diagnose >=", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseLessThan(String value) {
addCriterion("diagnose <", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseLessThanOrEqualTo(String value) {
addCriterion("diagnose <=", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseLike(String value) {
addCriterion("diagnose like", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseNotLike(String value) {
addCriterion("diagnose not like", value, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseIn(List<String> values) {
addCriterion("diagnose in", values, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseNotIn(List<String> values) {
addCriterion("diagnose not in", values, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseBetween(String value1, String value2) {
addCriterion("diagnose between", value1, value2, "diagnose");
return (Criteria) this;
}
public Criteria andDiagnoseNotBetween(String value1, String value2) {
addCriterion("diagnose not between", value1, value2, "diagnose");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

359
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientIllnessHistory.java

@ -0,0 +1,359 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientIllnessHistory implements Serializable {
private Long id;
private Long patientId;
private Byte cardiacArrestHistory;
private Byte angina;
private Byte mi;
private Byte atrialFibrillation;
private Byte chf;
private Byte otherCardiovascularDiseases;
private Byte wuis;
private Byte hcvd;
private Byte parkinsonDisease;
private Byte epilepsy;
private Byte brainTrauma;
private Byte hypertension;
private Byte diabetes;
private Byte hlp;
private Byte hyperhomocysteinemia;
private Byte vb12Deficiency;
private Byte thyroidDisease;
private Byte copd;
private Byte asthma;
private Byte insomnia;
private Byte sleepSuspend;
private Byte ckd;
private Byte rheumatoid;
private Byte depression;
private Integer generalAnesthesiaSurgery;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 Byte getCardiacArrestHistory() {
return cardiacArrestHistory;
}
public void setCardiacArrestHistory(Byte cardiacArrestHistory) {
this.cardiacArrestHistory = cardiacArrestHistory;
}
public Byte getAngina() {
return angina;
}
public void setAngina(Byte angina) {
this.angina = angina;
}
public Byte getMi() {
return mi;
}
public void setMi(Byte mi) {
this.mi = mi;
}
public Byte getAtrialFibrillation() {
return atrialFibrillation;
}
public void setAtrialFibrillation(Byte atrialFibrillation) {
this.atrialFibrillation = atrialFibrillation;
}
public Byte getChf() {
return chf;
}
public void setChf(Byte chf) {
this.chf = chf;
}
public Byte getOtherCardiovascularDiseases() {
return otherCardiovascularDiseases;
}
public void setOtherCardiovascularDiseases(Byte otherCardiovascularDiseases) {
this.otherCardiovascularDiseases = otherCardiovascularDiseases;
}
public Byte getWuis() {
return wuis;
}
public void setWuis(Byte wuis) {
this.wuis = wuis;
}
public Byte getHcvd() {
return hcvd;
}
public void setHcvd(Byte hcvd) {
this.hcvd = hcvd;
}
public Byte getParkinsonDisease() {
return parkinsonDisease;
}
public void setParkinsonDisease(Byte parkinsonDisease) {
this.parkinsonDisease = parkinsonDisease;
}
public Byte getEpilepsy() {
return epilepsy;
}
public void setEpilepsy(Byte epilepsy) {
this.epilepsy = epilepsy;
}
public Byte getBrainTrauma() {
return brainTrauma;
}
public void setBrainTrauma(Byte brainTrauma) {
this.brainTrauma = brainTrauma;
}
public Byte getHypertension() {
return hypertension;
}
public void setHypertension(Byte hypertension) {
this.hypertension = hypertension;
}
public Byte getDiabetes() {
return diabetes;
}
public void setDiabetes(Byte diabetes) {
this.diabetes = diabetes;
}
public Byte getHlp() {
return hlp;
}
public void setHlp(Byte hlp) {
this.hlp = hlp;
}
public Byte getHyperhomocysteinemia() {
return hyperhomocysteinemia;
}
public void setHyperhomocysteinemia(Byte hyperhomocysteinemia) {
this.hyperhomocysteinemia = hyperhomocysteinemia;
}
public Byte getVb12Deficiency() {
return vb12Deficiency;
}
public void setVb12Deficiency(Byte vb12Deficiency) {
this.vb12Deficiency = vb12Deficiency;
}
public Byte getThyroidDisease() {
return thyroidDisease;
}
public void setThyroidDisease(Byte thyroidDisease) {
this.thyroidDisease = thyroidDisease;
}
public Byte getCopd() {
return copd;
}
public void setCopd(Byte copd) {
this.copd = copd;
}
public Byte getAsthma() {
return asthma;
}
public void setAsthma(Byte asthma) {
this.asthma = asthma;
}
public Byte getInsomnia() {
return insomnia;
}
public void setInsomnia(Byte insomnia) {
this.insomnia = insomnia;
}
public Byte getSleepSuspend() {
return sleepSuspend;
}
public void setSleepSuspend(Byte sleepSuspend) {
this.sleepSuspend = sleepSuspend;
}
public Byte getCkd() {
return ckd;
}
public void setCkd(Byte ckd) {
this.ckd = ckd;
}
public Byte getRheumatoid() {
return rheumatoid;
}
public void setRheumatoid(Byte rheumatoid) {
this.rheumatoid = rheumatoid;
}
public Byte getDepression() {
return depression;
}
public void setDepression(Byte depression) {
this.depression = depression;
}
public Integer getGeneralAnesthesiaSurgery() {
return generalAnesthesiaSurgery;
}
public void setGeneralAnesthesiaSurgery(Integer generalAnesthesiaSurgery) {
this.generalAnesthesiaSurgery = generalAnesthesiaSurgery;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", cardiacArrestHistory=").append(cardiacArrestHistory);
sb.append(", angina=").append(angina);
sb.append(", mi=").append(mi);
sb.append(", atrialFibrillation=").append(atrialFibrillation);
sb.append(", chf=").append(chf);
sb.append(", otherCardiovascularDiseases=").append(otherCardiovascularDiseases);
sb.append(", wuis=").append(wuis);
sb.append(", hcvd=").append(hcvd);
sb.append(", parkinsonDisease=").append(parkinsonDisease);
sb.append(", epilepsy=").append(epilepsy);
sb.append(", brainTrauma=").append(brainTrauma);
sb.append(", hypertension=").append(hypertension);
sb.append(", diabetes=").append(diabetes);
sb.append(", hlp=").append(hlp);
sb.append(", hyperhomocysteinemia=").append(hyperhomocysteinemia);
sb.append(", vb12Deficiency=").append(vb12Deficiency);
sb.append(", thyroidDisease=").append(thyroidDisease);
sb.append(", copd=").append(copd);
sb.append(", asthma=").append(asthma);
sb.append(", insomnia=").append(insomnia);
sb.append(", sleepSuspend=").append(sleepSuspend);
sb.append(", ckd=").append(ckd);
sb.append(", rheumatoid=").append(rheumatoid);
sb.append(", depression=").append(depression);
sb.append(", generalAnesthesiaSurgery=").append(generalAnesthesiaSurgery);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

2071
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientIllnessHistoryExample.java

File diff suppressed because it is too large

238
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientParentIllness.java

@ -0,0 +1,238 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientParentIllness implements Serializable {
private Long id;
private Long patientId;
private Byte memory;
private Byte language;
private Byte space;
private Byte emotion;
private Byte depression;
private Byte illusion;
private Byte delusion;
private Byte derepression;
private Byte irritable;
private Byte personalityChanges;
private Byte exercise;
private Byte firstIllness;
private Byte reason;
private Byte changeForm;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 Byte getMemory() {
return memory;
}
public void setMemory(Byte memory) {
this.memory = memory;
}
public Byte getLanguage() {
return language;
}
public void setLanguage(Byte language) {
this.language = language;
}
public Byte getSpace() {
return space;
}
public void setSpace(Byte space) {
this.space = space;
}
public Byte getEmotion() {
return emotion;
}
public void setEmotion(Byte emotion) {
this.emotion = emotion;
}
public Byte getDepression() {
return depression;
}
public void setDepression(Byte depression) {
this.depression = depression;
}
public Byte getIllusion() {
return illusion;
}
public void setIllusion(Byte illusion) {
this.illusion = illusion;
}
public Byte getDelusion() {
return delusion;
}
public void setDelusion(Byte delusion) {
this.delusion = delusion;
}
public Byte getDerepression() {
return derepression;
}
public void setDerepression(Byte derepression) {
this.derepression = derepression;
}
public Byte getIrritable() {
return irritable;
}
public void setIrritable(Byte irritable) {
this.irritable = irritable;
}
public Byte getPersonalityChanges() {
return personalityChanges;
}
public void setPersonalityChanges(Byte personalityChanges) {
this.personalityChanges = personalityChanges;
}
public Byte getExercise() {
return exercise;
}
public void setExercise(Byte exercise) {
this.exercise = exercise;
}
public Byte getFirstIllness() {
return firstIllness;
}
public void setFirstIllness(Byte firstIllness) {
this.firstIllness = firstIllness;
}
public Byte getReason() {
return reason;
}
public void setReason(Byte reason) {
this.reason = reason;
}
public Byte getChangeForm() {
return changeForm;
}
public void setChangeForm(Byte changeForm) {
this.changeForm = changeForm;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", memory=").append(memory);
sb.append(", language=").append(language);
sb.append(", space=").append(space);
sb.append(", emotion=").append(emotion);
sb.append(", depression=").append(depression);
sb.append(", illusion=").append(illusion);
sb.append(", delusion=").append(delusion);
sb.append(", derepression=").append(derepression);
sb.append(", irritable=").append(irritable);
sb.append(", personalityChanges=").append(personalityChanges);
sb.append(", exercise=").append(exercise);
sb.append(", firstIllness=").append(firstIllness);
sb.append(", reason=").append(reason);
sb.append(", changeForm=").append(changeForm);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

1411
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientParentIllnessExample.java

File diff suppressed because it is too large

293
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientPersional.java

@ -0,0 +1,293 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientPersional implements Serializable {
private Long id;
private Long patientId;
private Byte smokingHistory;
private Integer smokingYear;
private Integer smokingAmount;
private Byte smokingQuit;
private Integer smokingQuitYear;
private Byte drinkHistory;
private Integer drinkYear;
private Byte drinkType;
private Integer drinkAmount;
private Byte teaCoffeeHistory;
private Integer teaCoffeeYear;
private Byte teaCoffeeType;
private Byte teaCoffeeFrequency;
private Byte teaCoffeeQuit;
private Integer teaCoffeeQuitYear;
private Byte dietaryHabit;
private Byte workoutTime;
private Integer sleepTime;
private Byte snore;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 Byte getSmokingHistory() {
return smokingHistory;
}
public void setSmokingHistory(Byte smokingHistory) {
this.smokingHistory = smokingHistory;
}
public Integer getSmokingYear() {
return smokingYear;
}
public void setSmokingYear(Integer smokingYear) {
this.smokingYear = smokingYear;
}
public Integer getSmokingAmount() {
return smokingAmount;
}
public void setSmokingAmount(Integer smokingAmount) {
this.smokingAmount = smokingAmount;
}
public Byte getSmokingQuit() {
return smokingQuit;
}
public void setSmokingQuit(Byte smokingQuit) {
this.smokingQuit = smokingQuit;
}
public Integer getSmokingQuitYear() {
return smokingQuitYear;
}
public void setSmokingQuitYear(Integer smokingQuitYear) {
this.smokingQuitYear = smokingQuitYear;
}
public Byte getDrinkHistory() {
return drinkHistory;
}
public void setDrinkHistory(Byte drinkHistory) {
this.drinkHistory = drinkHistory;
}
public Integer getDrinkYear() {
return drinkYear;
}
public void setDrinkYear(Integer drinkYear) {
this.drinkYear = drinkYear;
}
public Byte getDrinkType() {
return drinkType;
}
public void setDrinkType(Byte drinkType) {
this.drinkType = drinkType;
}
public Integer getDrinkAmount() {
return drinkAmount;
}
public void setDrinkAmount(Integer drinkAmount) {
this.drinkAmount = drinkAmount;
}
public Byte getTeaCoffeeHistory() {
return teaCoffeeHistory;
}
public void setTeaCoffeeHistory(Byte teaCoffeeHistory) {
this.teaCoffeeHistory = teaCoffeeHistory;
}
public Integer getTeaCoffeeYear() {
return teaCoffeeYear;
}
public void setTeaCoffeeYear(Integer teaCoffeeYear) {
this.teaCoffeeYear = teaCoffeeYear;
}
public Byte getTeaCoffeeType() {
return teaCoffeeType;
}
public void setTeaCoffeeType(Byte teaCoffeeType) {
this.teaCoffeeType = teaCoffeeType;
}
public Byte getTeaCoffeeFrequency() {
return teaCoffeeFrequency;
}
public void setTeaCoffeeFrequency(Byte teaCoffeeFrequency) {
this.teaCoffeeFrequency = teaCoffeeFrequency;
}
public Byte getTeaCoffeeQuit() {
return teaCoffeeQuit;
}
public void setTeaCoffeeQuit(Byte teaCoffeeQuit) {
this.teaCoffeeQuit = teaCoffeeQuit;
}
public Integer getTeaCoffeeQuitYear() {
return teaCoffeeQuitYear;
}
public void setTeaCoffeeQuitYear(Integer teaCoffeeQuitYear) {
this.teaCoffeeQuitYear = teaCoffeeQuitYear;
}
public Byte getDietaryHabit() {
return dietaryHabit;
}
public void setDietaryHabit(Byte dietaryHabit) {
this.dietaryHabit = dietaryHabit;
}
public Byte getWorkoutTime() {
return workoutTime;
}
public void setWorkoutTime(Byte workoutTime) {
this.workoutTime = workoutTime;
}
public Integer getSleepTime() {
return sleepTime;
}
public void setSleepTime(Integer sleepTime) {
this.sleepTime = sleepTime;
}
public Byte getSnore() {
return snore;
}
public void setSnore(Byte snore) {
this.snore = snore;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", smokingHistory=").append(smokingHistory);
sb.append(", smokingYear=").append(smokingYear);
sb.append(", smokingAmount=").append(smokingAmount);
sb.append(", smokingQuit=").append(smokingQuit);
sb.append(", smokingQuitYear=").append(smokingQuitYear);
sb.append(", drinkHistory=").append(drinkHistory);
sb.append(", drinkYear=").append(drinkYear);
sb.append(", drinkType=").append(drinkType);
sb.append(", drinkAmount=").append(drinkAmount);
sb.append(", teaCoffeeHistory=").append(teaCoffeeHistory);
sb.append(", teaCoffeeYear=").append(teaCoffeeYear);
sb.append(", teaCoffeeType=").append(teaCoffeeType);
sb.append(", teaCoffeeFrequency=").append(teaCoffeeFrequency);
sb.append(", teaCoffeeQuit=").append(teaCoffeeQuit);
sb.append(", teaCoffeeQuitYear=").append(teaCoffeeQuitYear);
sb.append(", dietaryHabit=").append(dietaryHabit);
sb.append(", workoutTime=").append(workoutTime);
sb.append(", sleepTime=").append(sleepTime);
sb.append(", snore=").append(snore);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

1711
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientPersionalExample.java

File diff suppressed because it is too large

128
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientQuestionRecord.java

@ -0,0 +1,128 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientQuestionRecord implements Serializable {
private Long id;
private Long patientReportId;
private Long questionId;
private String recordType;
private String recordValue;
private Long recordTime;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getPatientReportId() {
return patientReportId;
}
public void setPatientReportId(Long patientReportId) {
this.patientReportId = patientReportId;
}
public Long getQuestionId() {
return questionId;
}
public void setQuestionId(Long questionId) {
this.questionId = questionId;
}
public String getRecordType() {
return recordType;
}
public void setRecordType(String recordType) {
this.recordType = recordType == null ? null : recordType.trim();
}
public String getRecordValue() {
return recordValue;
}
public void setRecordValue(String recordValue) {
this.recordValue = recordValue == null ? null : recordValue.trim();
}
public Long getRecordTime() {
return recordTime;
}
public void setRecordTime(Long recordTime) {
this.recordTime = recordTime;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", patientReportId=").append(patientReportId);
sb.append(", questionId=").append(questionId);
sb.append(", recordType=").append(recordType);
sb.append(", recordValue=").append(recordValue);
sb.append(", recordTime=").append(recordTime);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

831
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientQuestionRecordExample.java

@ -0,0 +1,831 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtPatientQuestionRecordExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtPatientQuestionRecordExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andPatientReportIdIsNull() {
addCriterion("patient_report_id is null");
return (Criteria) this;
}
public Criteria andPatientReportIdIsNotNull() {
addCriterion("patient_report_id is not null");
return (Criteria) this;
}
public Criteria andPatientReportIdEqualTo(Long value) {
addCriterion("patient_report_id =", value, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdNotEqualTo(Long value) {
addCriterion("patient_report_id <>", value, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdGreaterThan(Long value) {
addCriterion("patient_report_id >", value, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdGreaterThanOrEqualTo(Long value) {
addCriterion("patient_report_id >=", value, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdLessThan(Long value) {
addCriterion("patient_report_id <", value, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdLessThanOrEqualTo(Long value) {
addCriterion("patient_report_id <=", value, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdIn(List<Long> values) {
addCriterion("patient_report_id in", values, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdNotIn(List<Long> values) {
addCriterion("patient_report_id not in", values, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdBetween(Long value1, Long value2) {
addCriterion("patient_report_id between", value1, value2, "patientReportId");
return (Criteria) this;
}
public Criteria andPatientReportIdNotBetween(Long value1, Long value2) {
addCriterion("patient_report_id not between", value1, value2, "patientReportId");
return (Criteria) this;
}
public Criteria andQuestionIdIsNull() {
addCriterion("question_id is null");
return (Criteria) this;
}
public Criteria andQuestionIdIsNotNull() {
addCriterion("question_id is not null");
return (Criteria) this;
}
public Criteria andQuestionIdEqualTo(Long value) {
addCriterion("question_id =", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotEqualTo(Long value) {
addCriterion("question_id <>", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdGreaterThan(Long value) {
addCriterion("question_id >", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdGreaterThanOrEqualTo(Long value) {
addCriterion("question_id >=", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdLessThan(Long value) {
addCriterion("question_id <", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdLessThanOrEqualTo(Long value) {
addCriterion("question_id <=", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdIn(List<Long> values) {
addCriterion("question_id in", values, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotIn(List<Long> values) {
addCriterion("question_id not in", values, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdBetween(Long value1, Long value2) {
addCriterion("question_id between", value1, value2, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotBetween(Long value1, Long value2) {
addCriterion("question_id not between", value1, value2, "questionId");
return (Criteria) this;
}
public Criteria andRecordTypeIsNull() {
addCriterion("record_type is null");
return (Criteria) this;
}
public Criteria andRecordTypeIsNotNull() {
addCriterion("record_type is not null");
return (Criteria) this;
}
public Criteria andRecordTypeEqualTo(String value) {
addCriterion("record_type =", value, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeNotEqualTo(String value) {
addCriterion("record_type <>", value, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeGreaterThan(String value) {
addCriterion("record_type >", value, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeGreaterThanOrEqualTo(String value) {
addCriterion("record_type >=", value, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeLessThan(String value) {
addCriterion("record_type <", value, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeLessThanOrEqualTo(String value) {
addCriterion("record_type <=", value, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeLike(String value) {
addCriterion("record_type like", value, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeNotLike(String value) {
addCriterion("record_type not like", value, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeIn(List<String> values) {
addCriterion("record_type in", values, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeNotIn(List<String> values) {
addCriterion("record_type not in", values, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeBetween(String value1, String value2) {
addCriterion("record_type between", value1, value2, "recordType");
return (Criteria) this;
}
public Criteria andRecordTypeNotBetween(String value1, String value2) {
addCriterion("record_type not between", value1, value2, "recordType");
return (Criteria) this;
}
public Criteria andRecordValueIsNull() {
addCriterion("record_value is null");
return (Criteria) this;
}
public Criteria andRecordValueIsNotNull() {
addCriterion("record_value is not null");
return (Criteria) this;
}
public Criteria andRecordValueEqualTo(String value) {
addCriterion("record_value =", value, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueNotEqualTo(String value) {
addCriterion("record_value <>", value, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueGreaterThan(String value) {
addCriterion("record_value >", value, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueGreaterThanOrEqualTo(String value) {
addCriterion("record_value >=", value, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueLessThan(String value) {
addCriterion("record_value <", value, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueLessThanOrEqualTo(String value) {
addCriterion("record_value <=", value, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueLike(String value) {
addCriterion("record_value like", value, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueNotLike(String value) {
addCriterion("record_value not like", value, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueIn(List<String> values) {
addCriterion("record_value in", values, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueNotIn(List<String> values) {
addCriterion("record_value not in", values, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueBetween(String value1, String value2) {
addCriterion("record_value between", value1, value2, "recordValue");
return (Criteria) this;
}
public Criteria andRecordValueNotBetween(String value1, String value2) {
addCriterion("record_value not between", value1, value2, "recordValue");
return (Criteria) this;
}
public Criteria andRecordTimeIsNull() {
addCriterion("record_time is null");
return (Criteria) this;
}
public Criteria andRecordTimeIsNotNull() {
addCriterion("record_time is not null");
return (Criteria) this;
}
public Criteria andRecordTimeEqualTo(Long value) {
addCriterion("record_time =", value, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeNotEqualTo(Long value) {
addCriterion("record_time <>", value, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeGreaterThan(Long value) {
addCriterion("record_time >", value, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeGreaterThanOrEqualTo(Long value) {
addCriterion("record_time >=", value, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeLessThan(Long value) {
addCriterion("record_time <", value, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeLessThanOrEqualTo(Long value) {
addCriterion("record_time <=", value, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeIn(List<Long> values) {
addCriterion("record_time in", values, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeNotIn(List<Long> values) {
addCriterion("record_time not in", values, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeBetween(Long value1, Long value2) {
addCriterion("record_time between", value1, value2, "recordTime");
return (Criteria) this;
}
public Criteria andRecordTimeNotBetween(Long value1, Long value2) {
addCriterion("record_time not between", value1, value2, "recordTime");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

238
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientReport.java

@ -0,0 +1,238 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientReport implements Serializable {
private Long id;
private String name;
private Long patientId;
private String patientIdcard;
private Byte patientAge;
private Long doctorId;
private String serialNumber;
private String initialImpression;
private String clinicalDiagnosis;
private Byte pasi;
private String department;
private String bedNumber;
private Long reportTime;
private Long checkTime;
private String evaluationCode;
private String url;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 Long getPatientId() {
return patientId;
}
public void setPatientId(Long patientId) {
this.patientId = patientId;
}
public String getPatientIdcard() {
return patientIdcard;
}
public void setPatientIdcard(String patientIdcard) {
this.patientIdcard = patientIdcard == null ? null : patientIdcard.trim();
}
public Byte getPatientAge() {
return patientAge;
}
public void setPatientAge(Byte patientAge) {
this.patientAge = patientAge;
}
public Long getDoctorId() {
return doctorId;
}
public void setDoctorId(Long doctorId) {
this.doctorId = doctorId;
}
public String getSerialNumber() {
return serialNumber;
}
public void setSerialNumber(String serialNumber) {
this.serialNumber = serialNumber == null ? null : serialNumber.trim();
}
public String getInitialImpression() {
return initialImpression;
}
public void setInitialImpression(String initialImpression) {
this.initialImpression = initialImpression == null ? null : initialImpression.trim();
}
public String getClinicalDiagnosis() {
return clinicalDiagnosis;
}
public void setClinicalDiagnosis(String clinicalDiagnosis) {
this.clinicalDiagnosis = clinicalDiagnosis == null ? null : clinicalDiagnosis.trim();
}
public Byte getPasi() {
return pasi;
}
public void setPasi(Byte pasi) {
this.pasi = pasi;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department == null ? null : department.trim();
}
public String getBedNumber() {
return bedNumber;
}
public void setBedNumber(String bedNumber) {
this.bedNumber = bedNumber == null ? null : bedNumber.trim();
}
public Long getReportTime() {
return reportTime;
}
public void setReportTime(Long reportTime) {
this.reportTime = reportTime;
}
public Long getCheckTime() {
return checkTime;
}
public void setCheckTime(Long checkTime) {
this.checkTime = checkTime;
}
public String getEvaluationCode() {
return evaluationCode;
}
public void setEvaluationCode(String evaluationCode) {
this.evaluationCode = evaluationCode == null ? null : evaluationCode.trim();
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url == null ? null : url.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", patientId=").append(patientId);
sb.append(", patientIdcard=").append(patientIdcard);
sb.append(", patientAge=").append(patientAge);
sb.append(", doctorId=").append(doctorId);
sb.append(", serialNumber=").append(serialNumber);
sb.append(", initialImpression=").append(initialImpression);
sb.append(", clinicalDiagnosis=").append(clinicalDiagnosis);
sb.append(", pasi=").append(pasi);
sb.append(", department=").append(department);
sb.append(", bedNumber=").append(bedNumber);
sb.append(", reportTime=").append(reportTime);
sb.append(", checkTime=").append(checkTime);
sb.append(", evaluationCode=").append(evaluationCode);
sb.append(", url=").append(url);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

1501
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientReportExample.java

File diff suppressed because it is too large

106
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientReportRecord.java

@ -0,0 +1,106 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientReportRecord implements Serializable {
private Long id;
private Long reportId;
private Long doctorId;
private String content;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getReportId() {
return reportId;
}
public void setReportId(Long reportId) {
this.reportId = reportId;
}
public Long getDoctorId() {
return doctorId;
}
public void setDoctorId(Long doctorId) {
this.doctorId = doctorId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content == null ? null : content.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", reportId=").append(reportId);
sb.append(", doctorId=").append(doctorId);
sb.append(", content=").append(content);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

701
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientReportRecordExample.java

@ -0,0 +1,701 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtPatientReportRecordExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtPatientReportRecordExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andReportIdIsNull() {
addCriterion("report_id is null");
return (Criteria) this;
}
public Criteria andReportIdIsNotNull() {
addCriterion("report_id is not null");
return (Criteria) this;
}
public Criteria andReportIdEqualTo(Long value) {
addCriterion("report_id =", value, "reportId");
return (Criteria) this;
}
public Criteria andReportIdNotEqualTo(Long value) {
addCriterion("report_id <>", value, "reportId");
return (Criteria) this;
}
public Criteria andReportIdGreaterThan(Long value) {
addCriterion("report_id >", value, "reportId");
return (Criteria) this;
}
public Criteria andReportIdGreaterThanOrEqualTo(Long value) {
addCriterion("report_id >=", value, "reportId");
return (Criteria) this;
}
public Criteria andReportIdLessThan(Long value) {
addCriterion("report_id <", value, "reportId");
return (Criteria) this;
}
public Criteria andReportIdLessThanOrEqualTo(Long value) {
addCriterion("report_id <=", value, "reportId");
return (Criteria) this;
}
public Criteria andReportIdIn(List<Long> values) {
addCriterion("report_id in", values, "reportId");
return (Criteria) this;
}
public Criteria andReportIdNotIn(List<Long> values) {
addCriterion("report_id not in", values, "reportId");
return (Criteria) this;
}
public Criteria andReportIdBetween(Long value1, Long value2) {
addCriterion("report_id between", value1, value2, "reportId");
return (Criteria) this;
}
public Criteria andReportIdNotBetween(Long value1, Long value2) {
addCriterion("report_id not between", value1, value2, "reportId");
return (Criteria) this;
}
public Criteria 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<Long> values) {
addCriterion("doctor_id in", values, "doctorId");
return (Criteria) this;
}
public Criteria andDoctorIdNotIn(List<Long> 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 andContentIsNull() {
addCriterion("content is null");
return (Criteria) this;
}
public Criteria andContentIsNotNull() {
addCriterion("content is not null");
return (Criteria) this;
}
public Criteria andContentEqualTo(String value) {
addCriterion("content =", value, "content");
return (Criteria) this;
}
public Criteria andContentNotEqualTo(String value) {
addCriterion("content <>", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThan(String value) {
addCriterion("content >", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThanOrEqualTo(String value) {
addCriterion("content >=", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThan(String value) {
addCriterion("content <", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThanOrEqualTo(String value) {
addCriterion("content <=", value, "content");
return (Criteria) this;
}
public Criteria andContentLike(String value) {
addCriterion("content like", value, "content");
return (Criteria) this;
}
public Criteria andContentNotLike(String value) {
addCriterion("content not like", value, "content");
return (Criteria) this;
}
public Criteria andContentIn(List<String> values) {
addCriterion("content in", values, "content");
return (Criteria) this;
}
public Criteria andContentNotIn(List<String> values) {
addCriterion("content not in", values, "content");
return (Criteria) this;
}
public Criteria andContentBetween(String value1, String value2) {
addCriterion("content between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andContentNotBetween(String value1, String value2) {
addCriterion("content not between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

172
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientScore.java

@ -0,0 +1,172 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPatientScore implements Serializable {
private Long id;
private Long patientReportId;
private Long patientId;
private String questionParentCode;
private Long questionId;
private Long optionId;
private String optionName;
private Integer score;
private Byte type;
private String answer;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getPatientReportId() {
return patientReportId;
}
public void setPatientReportId(Long patientReportId) {
this.patientReportId = patientReportId;
}
public Long getPatientId() {
return patientId;
}
public void setPatientId(Long patientId) {
this.patientId = patientId;
}
public String getQuestionParentCode() {
return questionParentCode;
}
public void setQuestionParentCode(String questionParentCode) {
this.questionParentCode = questionParentCode == null ? null : questionParentCode.trim();
}
public Long getQuestionId() {
return questionId;
}
public void setQuestionId(Long questionId) {
this.questionId = questionId;
}
public Long getOptionId() {
return optionId;
}
public void setOptionId(Long optionId) {
this.optionId = optionId;
}
public String getOptionName() {
return optionName;
}
public void setOptionName(String optionName) {
this.optionName = optionName == null ? null : optionName.trim();
}
public Integer getScore() {
return score;
}
public void setScore(Integer score) {
this.score = score;
}
public Byte getType() {
return type;
}
public void setType(Byte type) {
this.type = type;
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer == null ? null : answer.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", patientReportId=").append(patientReportId);
sb.append(", patientId=").append(patientId);
sb.append(", questionParentCode=").append(questionParentCode);
sb.append(", questionId=").append(questionId);
sb.append(", optionId=").append(optionId);
sb.append(", optionName=").append(optionName);
sb.append(", score=").append(score);
sb.append(", type=").append(type);
sb.append(", answer=").append(answer);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

1081
ht/src/main/java/com/ccsens/ht/bean/po/HtPatientScoreExample.java

File diff suppressed because it is too large

150
ht/src/main/java/com/ccsens/ht/bean/po/HtPosition.java

@ -0,0 +1,150 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtPosition implements Serializable {
private Long id;
private Byte type;
private String name;
private Long superiorDepartmentId;
private Long superiorId;
private String relevancy;
private Byte hasManage;
private Byte hasAudit;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Byte getType() {
return type;
}
public void setType(Byte type) {
this.type = type;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public Long getSuperiorDepartmentId() {
return superiorDepartmentId;
}
public void setSuperiorDepartmentId(Long superiorDepartmentId) {
this.superiorDepartmentId = superiorDepartmentId;
}
public Long getSuperiorId() {
return superiorId;
}
public void setSuperiorId(Long superiorId) {
this.superiorId = superiorId;
}
public String getRelevancy() {
return relevancy;
}
public void setRelevancy(String relevancy) {
this.relevancy = relevancy == null ? null : relevancy.trim();
}
public Byte getHasManage() {
return hasManage;
}
public void setHasManage(Byte hasManage) {
this.hasManage = hasManage;
}
public Byte getHasAudit() {
return hasAudit;
}
public void setHasAudit(Byte hasAudit) {
this.hasAudit = hasAudit;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", type=").append(type);
sb.append(", name=").append(name);
sb.append(", superiorDepartmentId=").append(superiorDepartmentId);
sb.append(", superiorId=").append(superiorId);
sb.append(", relevancy=").append(relevancy);
sb.append(", hasManage=").append(hasManage);
sb.append(", hasAudit=").append(hasAudit);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

951
ht/src/main/java/com/ccsens/ht/bean/po/HtPositionExample.java

@ -0,0 +1,951 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtPositionExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtPositionExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria 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<Byte> values) {
addCriterion("type in", values, "type");
return (Criteria) this;
}
public Criteria andTypeNotIn(List<Byte> 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 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<String> values) {
addCriterion("name in", values, "name");
return (Criteria) this;
}
public Criteria andNameNotIn(List<String> 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 andSuperiorDepartmentIdIsNull() {
addCriterion("superior_department_id is null");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdIsNotNull() {
addCriterion("superior_department_id is not null");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdEqualTo(Long value) {
addCriterion("superior_department_id =", value, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdNotEqualTo(Long value) {
addCriterion("superior_department_id <>", value, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdGreaterThan(Long value) {
addCriterion("superior_department_id >", value, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdGreaterThanOrEqualTo(Long value) {
addCriterion("superior_department_id >=", value, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdLessThan(Long value) {
addCriterion("superior_department_id <", value, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdLessThanOrEqualTo(Long value) {
addCriterion("superior_department_id <=", value, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdIn(List<Long> values) {
addCriterion("superior_department_id in", values, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdNotIn(List<Long> values) {
addCriterion("superior_department_id not in", values, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdBetween(Long value1, Long value2) {
addCriterion("superior_department_id between", value1, value2, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorDepartmentIdNotBetween(Long value1, Long value2) {
addCriterion("superior_department_id not between", value1, value2, "superiorDepartmentId");
return (Criteria) this;
}
public Criteria andSuperiorIdIsNull() {
addCriterion("superior_id is null");
return (Criteria) this;
}
public Criteria andSuperiorIdIsNotNull() {
addCriterion("superior_id is not null");
return (Criteria) this;
}
public Criteria andSuperiorIdEqualTo(Long value) {
addCriterion("superior_id =", value, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdNotEqualTo(Long value) {
addCriterion("superior_id <>", value, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdGreaterThan(Long value) {
addCriterion("superior_id >", value, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdGreaterThanOrEqualTo(Long value) {
addCriterion("superior_id >=", value, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdLessThan(Long value) {
addCriterion("superior_id <", value, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdLessThanOrEqualTo(Long value) {
addCriterion("superior_id <=", value, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdIn(List<Long> values) {
addCriterion("superior_id in", values, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdNotIn(List<Long> values) {
addCriterion("superior_id not in", values, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdBetween(Long value1, Long value2) {
addCriterion("superior_id between", value1, value2, "superiorId");
return (Criteria) this;
}
public Criteria andSuperiorIdNotBetween(Long value1, Long value2) {
addCriterion("superior_id not between", value1, value2, "superiorId");
return (Criteria) this;
}
public Criteria andRelevancyIsNull() {
addCriterion("relevancy is null");
return (Criteria) this;
}
public Criteria andRelevancyIsNotNull() {
addCriterion("relevancy is not null");
return (Criteria) this;
}
public Criteria andRelevancyEqualTo(String value) {
addCriterion("relevancy =", value, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyNotEqualTo(String value) {
addCriterion("relevancy <>", value, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyGreaterThan(String value) {
addCriterion("relevancy >", value, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyGreaterThanOrEqualTo(String value) {
addCriterion("relevancy >=", value, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyLessThan(String value) {
addCriterion("relevancy <", value, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyLessThanOrEqualTo(String value) {
addCriterion("relevancy <=", value, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyLike(String value) {
addCriterion("relevancy like", value, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyNotLike(String value) {
addCriterion("relevancy not like", value, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyIn(List<String> values) {
addCriterion("relevancy in", values, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyNotIn(List<String> values) {
addCriterion("relevancy not in", values, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyBetween(String value1, String value2) {
addCriterion("relevancy between", value1, value2, "relevancy");
return (Criteria) this;
}
public Criteria andRelevancyNotBetween(String value1, String value2) {
addCriterion("relevancy not between", value1, value2, "relevancy");
return (Criteria) this;
}
public Criteria andHasManageIsNull() {
addCriterion("has_manage is null");
return (Criteria) this;
}
public Criteria andHasManageIsNotNull() {
addCriterion("has_manage is not null");
return (Criteria) this;
}
public Criteria andHasManageEqualTo(Byte value) {
addCriterion("has_manage =", value, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageNotEqualTo(Byte value) {
addCriterion("has_manage <>", value, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageGreaterThan(Byte value) {
addCriterion("has_manage >", value, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageGreaterThanOrEqualTo(Byte value) {
addCriterion("has_manage >=", value, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageLessThan(Byte value) {
addCriterion("has_manage <", value, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageLessThanOrEqualTo(Byte value) {
addCriterion("has_manage <=", value, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageIn(List<Byte> values) {
addCriterion("has_manage in", values, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageNotIn(List<Byte> values) {
addCriterion("has_manage not in", values, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageBetween(Byte value1, Byte value2) {
addCriterion("has_manage between", value1, value2, "hasManage");
return (Criteria) this;
}
public Criteria andHasManageNotBetween(Byte value1, Byte value2) {
addCriterion("has_manage not between", value1, value2, "hasManage");
return (Criteria) this;
}
public Criteria andHasAuditIsNull() {
addCriterion("has_audit is null");
return (Criteria) this;
}
public Criteria andHasAuditIsNotNull() {
addCriterion("has_audit is not null");
return (Criteria) this;
}
public Criteria andHasAuditEqualTo(Byte value) {
addCriterion("has_audit =", value, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditNotEqualTo(Byte value) {
addCriterion("has_audit <>", value, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditGreaterThan(Byte value) {
addCriterion("has_audit >", value, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditGreaterThanOrEqualTo(Byte value) {
addCriterion("has_audit >=", value, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditLessThan(Byte value) {
addCriterion("has_audit <", value, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditLessThanOrEqualTo(Byte value) {
addCriterion("has_audit <=", value, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditIn(List<Byte> values) {
addCriterion("has_audit in", values, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditNotIn(List<Byte> values) {
addCriterion("has_audit not in", values, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditBetween(Byte value1, Byte value2) {
addCriterion("has_audit between", value1, value2, "hasAudit");
return (Criteria) this;
}
public Criteria andHasAuditNotBetween(Byte value1, Byte value2) {
addCriterion("has_audit not between", value1, value2, "hasAudit");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

227
ht/src/main/java/com/ccsens/ht/bean/po/HtQuestion.java

@ -0,0 +1,227 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtQuestion implements Serializable {
private Long id;
private String evaluationCode;
private String parentCode;
private Integer sort;
private String question;
private Byte type;
private String recordType;
private String recordContent;
private String relationCode;
private Byte operateType;
private Byte recodeStarttime;
private Byte timeWabei;
private Byte allowClear;
private Integer clearTimes;
private Integer timingLength;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getEvaluationCode() {
return evaluationCode;
}
public void setEvaluationCode(String evaluationCode) {
this.evaluationCode = evaluationCode == null ? null : evaluationCode.trim();
}
public String getParentCode() {
return parentCode;
}
public void setParentCode(String parentCode) {
this.parentCode = parentCode == null ? null : parentCode.trim();
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public String getQuestion() {
return question;
}
public void setQuestion(String question) {
this.question = question == null ? null : question.trim();
}
public Byte getType() {
return type;
}
public void setType(Byte type) {
this.type = type;
}
public String getRecordType() {
return recordType;
}
public void setRecordType(String recordType) {
this.recordType = recordType == null ? null : recordType.trim();
}
public String getRecordContent() {
return recordContent;
}
public void setRecordContent(String recordContent) {
this.recordContent = recordContent == null ? null : recordContent.trim();
}
public String getRelationCode() {
return relationCode;
}
public void setRelationCode(String relationCode) {
this.relationCode = relationCode == null ? null : relationCode.trim();
}
public Byte getOperateType() {
return operateType;
}
public void setOperateType(Byte operateType) {
this.operateType = operateType;
}
public Byte getRecodeStarttime() {
return recodeStarttime;
}
public void setRecodeStarttime(Byte recodeStarttime) {
this.recodeStarttime = recodeStarttime;
}
public Byte getTimeWabei() {
return timeWabei;
}
public void setTimeWabei(Byte timeWabei) {
this.timeWabei = timeWabei;
}
public Byte getAllowClear() {
return allowClear;
}
public void setAllowClear(Byte allowClear) {
this.allowClear = allowClear;
}
public Integer getClearTimes() {
return clearTimes;
}
public void setClearTimes(Integer clearTimes) {
this.clearTimes = clearTimes;
}
public Integer getTimingLength() {
return timingLength;
}
public void setTimingLength(Integer timingLength) {
this.timingLength = timingLength;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", evaluationCode=").append(evaluationCode);
sb.append(", parentCode=").append(parentCode);
sb.append(", sort=").append(sort);
sb.append(", question=").append(question);
sb.append(", type=").append(type);
sb.append(", recordType=").append(recordType);
sb.append(", recordContent=").append(recordContent);
sb.append(", relationCode=").append(relationCode);
sb.append(", operateType=").append(operateType);
sb.append(", recodeStarttime=").append(recodeStarttime);
sb.append(", timeWabei=").append(timeWabei);
sb.append(", allowClear=").append(allowClear);
sb.append(", clearTimes=").append(clearTimes);
sb.append(", timingLength=").append(timingLength);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

1411
ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionExample.java

File diff suppressed because it is too large

106
ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionIntroducer.java

@ -0,0 +1,106 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtQuestionIntroducer implements Serializable {
private Long id;
private Long questionId;
private String content;
private Integer sort;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getQuestionId() {
return questionId;
}
public void setQuestionId(Long questionId) {
this.questionId = questionId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content == null ? null : content.trim();
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public 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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", questionId=").append(questionId);
sb.append(", content=").append(content);
sb.append(", sort=").append(sort);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

701
ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionIntroducerExample.java

@ -0,0 +1,701 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtQuestionIntroducerExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtQuestionIntroducerExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andQuestionIdIsNull() {
addCriterion("question_id is null");
return (Criteria) this;
}
public Criteria andQuestionIdIsNotNull() {
addCriterion("question_id is not null");
return (Criteria) this;
}
public Criteria andQuestionIdEqualTo(Long value) {
addCriterion("question_id =", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotEqualTo(Long value) {
addCriterion("question_id <>", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdGreaterThan(Long value) {
addCriterion("question_id >", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdGreaterThanOrEqualTo(Long value) {
addCriterion("question_id >=", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdLessThan(Long value) {
addCriterion("question_id <", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdLessThanOrEqualTo(Long value) {
addCriterion("question_id <=", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdIn(List<Long> values) {
addCriterion("question_id in", values, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotIn(List<Long> values) {
addCriterion("question_id not in", values, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdBetween(Long value1, Long value2) {
addCriterion("question_id between", value1, value2, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotBetween(Long value1, Long value2) {
addCriterion("question_id not between", value1, value2, "questionId");
return (Criteria) this;
}
public Criteria andContentIsNull() {
addCriterion("content is null");
return (Criteria) this;
}
public Criteria andContentIsNotNull() {
addCriterion("content is not null");
return (Criteria) this;
}
public Criteria andContentEqualTo(String value) {
addCriterion("content =", value, "content");
return (Criteria) this;
}
public Criteria andContentNotEqualTo(String value) {
addCriterion("content <>", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThan(String value) {
addCriterion("content >", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThanOrEqualTo(String value) {
addCriterion("content >=", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThan(String value) {
addCriterion("content <", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThanOrEqualTo(String value) {
addCriterion("content <=", value, "content");
return (Criteria) this;
}
public Criteria andContentLike(String value) {
addCriterion("content like", value, "content");
return (Criteria) this;
}
public Criteria andContentNotLike(String value) {
addCriterion("content not like", value, "content");
return (Criteria) this;
}
public Criteria andContentIn(List<String> values) {
addCriterion("content in", values, "content");
return (Criteria) this;
}
public Criteria andContentNotIn(List<String> values) {
addCriterion("content not in", values, "content");
return (Criteria) this;
}
public Criteria andContentBetween(String value1, String value2) {
addCriterion("content between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andContentNotBetween(String value1, String value2) {
addCriterion("content not between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andSortIsNull() {
addCriterion("sort is null");
return (Criteria) this;
}
public Criteria andSortIsNotNull() {
addCriterion("sort is not null");
return (Criteria) this;
}
public Criteria andSortEqualTo(Integer value) {
addCriterion("sort =", value, "sort");
return (Criteria) this;
}
public Criteria andSortNotEqualTo(Integer value) {
addCriterion("sort <>", value, "sort");
return (Criteria) this;
}
public Criteria andSortGreaterThan(Integer value) {
addCriterion("sort >", value, "sort");
return (Criteria) this;
}
public Criteria andSortGreaterThanOrEqualTo(Integer value) {
addCriterion("sort >=", value, "sort");
return (Criteria) this;
}
public Criteria andSortLessThan(Integer value) {
addCriterion("sort <", value, "sort");
return (Criteria) this;
}
public Criteria andSortLessThanOrEqualTo(Integer value) {
addCriterion("sort <=", value, "sort");
return (Criteria) this;
}
public Criteria andSortIn(List<Integer> values) {
addCriterion("sort in", values, "sort");
return (Criteria) this;
}
public Criteria andSortNotIn(List<Integer> values) {
addCriterion("sort not in", values, "sort");
return (Criteria) this;
}
public Criteria andSortBetween(Integer value1, Integer value2) {
addCriterion("sort between", value1, value2, "sort");
return (Criteria) this;
}
public Criteria andSortNotBetween(Integer value1, Integer value2) {
addCriterion("sort not between", value1, value2, "sort");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

139
ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionOption.java

@ -0,0 +1,139 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtQuestionOption implements Serializable {
private Long id;
private Long questionId;
private Integer sort;
private String type;
private String name;
private Integer score;
private String display;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getQuestionId() {
return questionId;
}
public void setQuestionId(Long questionId) {
this.questionId = questionId;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type == null ? null : type.trim();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public Integer getScore() {
return score;
}
public void setScore(Integer score) {
this.score = score;
}
public String getDisplay() {
return display;
}
public void setDisplay(String display) {
this.display = display == null ? null : display.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", questionId=").append(questionId);
sb.append(", sort=").append(sort);
sb.append(", type=").append(type);
sb.append(", name=").append(name);
sb.append(", score=").append(score);
sb.append(", display=").append(display);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

901
ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionOptionExample.java

@ -0,0 +1,901 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtQuestionOptionExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtQuestionOptionExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andQuestionIdIsNull() {
addCriterion("question_id is null");
return (Criteria) this;
}
public Criteria andQuestionIdIsNotNull() {
addCriterion("question_id is not null");
return (Criteria) this;
}
public Criteria andQuestionIdEqualTo(Long value) {
addCriterion("question_id =", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotEqualTo(Long value) {
addCriterion("question_id <>", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdGreaterThan(Long value) {
addCriterion("question_id >", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdGreaterThanOrEqualTo(Long value) {
addCriterion("question_id >=", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdLessThan(Long value) {
addCriterion("question_id <", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdLessThanOrEqualTo(Long value) {
addCriterion("question_id <=", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdIn(List<Long> values) {
addCriterion("question_id in", values, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotIn(List<Long> values) {
addCriterion("question_id not in", values, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdBetween(Long value1, Long value2) {
addCriterion("question_id between", value1, value2, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotBetween(Long value1, Long value2) {
addCriterion("question_id not between", value1, value2, "questionId");
return (Criteria) this;
}
public Criteria andSortIsNull() {
addCriterion("sort is null");
return (Criteria) this;
}
public Criteria andSortIsNotNull() {
addCriterion("sort is not null");
return (Criteria) this;
}
public Criteria andSortEqualTo(Integer value) {
addCriterion("sort =", value, "sort");
return (Criteria) this;
}
public Criteria andSortNotEqualTo(Integer value) {
addCriterion("sort <>", value, "sort");
return (Criteria) this;
}
public Criteria andSortGreaterThan(Integer value) {
addCriterion("sort >", value, "sort");
return (Criteria) this;
}
public Criteria andSortGreaterThanOrEqualTo(Integer value) {
addCriterion("sort >=", value, "sort");
return (Criteria) this;
}
public Criteria andSortLessThan(Integer value) {
addCriterion("sort <", value, "sort");
return (Criteria) this;
}
public Criteria andSortLessThanOrEqualTo(Integer value) {
addCriterion("sort <=", value, "sort");
return (Criteria) this;
}
public Criteria andSortIn(List<Integer> values) {
addCriterion("sort in", values, "sort");
return (Criteria) this;
}
public Criteria andSortNotIn(List<Integer> values) {
addCriterion("sort not in", values, "sort");
return (Criteria) this;
}
public Criteria andSortBetween(Integer value1, Integer value2) {
addCriterion("sort between", value1, value2, "sort");
return (Criteria) this;
}
public Criteria andSortNotBetween(Integer value1, Integer value2) {
addCriterion("sort not between", value1, value2, "sort");
return (Criteria) this;
}
public Criteria andTypeIsNull() {
addCriterion("type is null");
return (Criteria) this;
}
public Criteria andTypeIsNotNull() {
addCriterion("type is not null");
return (Criteria) this;
}
public Criteria andTypeEqualTo(String value) {
addCriterion("type =", value, "type");
return (Criteria) this;
}
public Criteria andTypeNotEqualTo(String value) {
addCriterion("type <>", value, "type");
return (Criteria) this;
}
public Criteria andTypeGreaterThan(String value) {
addCriterion("type >", value, "type");
return (Criteria) this;
}
public Criteria andTypeGreaterThanOrEqualTo(String value) {
addCriterion("type >=", value, "type");
return (Criteria) this;
}
public Criteria andTypeLessThan(String value) {
addCriterion("type <", value, "type");
return (Criteria) this;
}
public Criteria andTypeLessThanOrEqualTo(String value) {
addCriterion("type <=", value, "type");
return (Criteria) this;
}
public Criteria andTypeLike(String value) {
addCriterion("type like", value, "type");
return (Criteria) this;
}
public Criteria andTypeNotLike(String value) {
addCriterion("type not like", value, "type");
return (Criteria) this;
}
public Criteria andTypeIn(List<String> values) {
addCriterion("type in", values, "type");
return (Criteria) this;
}
public Criteria andTypeNotIn(List<String> values) {
addCriterion("type not in", values, "type");
return (Criteria) this;
}
public Criteria andTypeBetween(String value1, String value2) {
addCriterion("type between", value1, value2, "type");
return (Criteria) this;
}
public Criteria andTypeNotBetween(String value1, String value2) {
addCriterion("type not between", value1, value2, "type");
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<String> values) {
addCriterion("name in", values, "name");
return (Criteria) this;
}
public Criteria andNameNotIn(List<String> 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 andScoreIsNull() {
addCriterion("score is null");
return (Criteria) this;
}
public Criteria andScoreIsNotNull() {
addCriterion("score is not null");
return (Criteria) this;
}
public Criteria andScoreEqualTo(Integer value) {
addCriterion("score =", value, "score");
return (Criteria) this;
}
public Criteria andScoreNotEqualTo(Integer value) {
addCriterion("score <>", value, "score");
return (Criteria) this;
}
public Criteria andScoreGreaterThan(Integer value) {
addCriterion("score >", value, "score");
return (Criteria) this;
}
public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
addCriterion("score >=", value, "score");
return (Criteria) this;
}
public Criteria andScoreLessThan(Integer value) {
addCriterion("score <", value, "score");
return (Criteria) this;
}
public Criteria andScoreLessThanOrEqualTo(Integer value) {
addCriterion("score <=", value, "score");
return (Criteria) this;
}
public Criteria andScoreIn(List<Integer> values) {
addCriterion("score in", values, "score");
return (Criteria) this;
}
public Criteria andScoreNotIn(List<Integer> values) {
addCriterion("score not in", values, "score");
return (Criteria) this;
}
public Criteria andScoreBetween(Integer value1, Integer value2) {
addCriterion("score between", value1, value2, "score");
return (Criteria) this;
}
public Criteria andScoreNotBetween(Integer value1, Integer value2) {
addCriterion("score not between", value1, value2, "score");
return (Criteria) this;
}
public Criteria andDisplayIsNull() {
addCriterion("display is null");
return (Criteria) this;
}
public Criteria andDisplayIsNotNull() {
addCriterion("display is not null");
return (Criteria) this;
}
public Criteria andDisplayEqualTo(String value) {
addCriterion("display =", value, "display");
return (Criteria) this;
}
public Criteria andDisplayNotEqualTo(String value) {
addCriterion("display <>", value, "display");
return (Criteria) this;
}
public Criteria andDisplayGreaterThan(String value) {
addCriterion("display >", value, "display");
return (Criteria) this;
}
public Criteria andDisplayGreaterThanOrEqualTo(String value) {
addCriterion("display >=", value, "display");
return (Criteria) this;
}
public Criteria andDisplayLessThan(String value) {
addCriterion("display <", value, "display");
return (Criteria) this;
}
public Criteria andDisplayLessThanOrEqualTo(String value) {
addCriterion("display <=", value, "display");
return (Criteria) this;
}
public Criteria andDisplayLike(String value) {
addCriterion("display like", value, "display");
return (Criteria) this;
}
public Criteria andDisplayNotLike(String value) {
addCriterion("display not like", value, "display");
return (Criteria) this;
}
public Criteria andDisplayIn(List<String> values) {
addCriterion("display in", values, "display");
return (Criteria) this;
}
public Criteria andDisplayNotIn(List<String> values) {
addCriterion("display not in", values, "display");
return (Criteria) this;
}
public Criteria andDisplayBetween(String value1, String value2) {
addCriterion("display between", value1, value2, "display");
return (Criteria) this;
}
public Criteria andDisplayNotBetween(String value1, String value2) {
addCriterion("display not between", value1, value2, "display");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

106
ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionScoringRule.java

@ -0,0 +1,106 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtQuestionScoringRule implements Serializable {
private Long id;
private Long questionId;
private Byte type;
private String detail;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getQuestionId() {
return questionId;
}
public void setQuestionId(Long questionId) {
this.questionId = questionId;
}
public Byte getType() {
return type;
}
public void setType(Byte type) {
this.type = type;
}
public String getDetail() {
return detail;
}
public void setDetail(String detail) {
this.detail = detail == null ? null : detail.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", questionId=").append(questionId);
sb.append(", type=").append(type);
sb.append(", detail=").append(detail);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

701
ht/src/main/java/com/ccsens/ht/bean/po/HtQuestionScoringRuleExample.java

@ -0,0 +1,701 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtQuestionScoringRuleExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtQuestionScoringRuleExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andQuestionIdIsNull() {
addCriterion("question_id is null");
return (Criteria) this;
}
public Criteria andQuestionIdIsNotNull() {
addCriterion("question_id is not null");
return (Criteria) this;
}
public Criteria andQuestionIdEqualTo(Long value) {
addCriterion("question_id =", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotEqualTo(Long value) {
addCriterion("question_id <>", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdGreaterThan(Long value) {
addCriterion("question_id >", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdGreaterThanOrEqualTo(Long value) {
addCriterion("question_id >=", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdLessThan(Long value) {
addCriterion("question_id <", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdLessThanOrEqualTo(Long value) {
addCriterion("question_id <=", value, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdIn(List<Long> values) {
addCriterion("question_id in", values, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotIn(List<Long> values) {
addCriterion("question_id not in", values, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdBetween(Long value1, Long value2) {
addCriterion("question_id between", value1, value2, "questionId");
return (Criteria) this;
}
public Criteria andQuestionIdNotBetween(Long value1, Long value2) {
addCriterion("question_id not between", value1, value2, "questionId");
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<Byte> values) {
addCriterion("type in", values, "type");
return (Criteria) this;
}
public Criteria andTypeNotIn(List<Byte> 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 andDetailIsNull() {
addCriterion("detail is null");
return (Criteria) this;
}
public Criteria andDetailIsNotNull() {
addCriterion("detail is not null");
return (Criteria) this;
}
public Criteria andDetailEqualTo(String value) {
addCriterion("detail =", value, "detail");
return (Criteria) this;
}
public Criteria andDetailNotEqualTo(String value) {
addCriterion("detail <>", value, "detail");
return (Criteria) this;
}
public Criteria andDetailGreaterThan(String value) {
addCriterion("detail >", value, "detail");
return (Criteria) this;
}
public Criteria andDetailGreaterThanOrEqualTo(String value) {
addCriterion("detail >=", value, "detail");
return (Criteria) this;
}
public Criteria andDetailLessThan(String value) {
addCriterion("detail <", value, "detail");
return (Criteria) this;
}
public Criteria andDetailLessThanOrEqualTo(String value) {
addCriterion("detail <=", value, "detail");
return (Criteria) this;
}
public Criteria andDetailLike(String value) {
addCriterion("detail like", value, "detail");
return (Criteria) this;
}
public Criteria andDetailNotLike(String value) {
addCriterion("detail not like", value, "detail");
return (Criteria) this;
}
public Criteria andDetailIn(List<String> values) {
addCriterion("detail in", values, "detail");
return (Criteria) this;
}
public Criteria andDetailNotIn(List<String> values) {
addCriterion("detail not in", values, "detail");
return (Criteria) this;
}
public Criteria andDetailBetween(String value1, String value2) {
addCriterion("detail between", value1, value2, "detail");
return (Criteria) this;
}
public Criteria andDetailNotBetween(String value1, String value2) {
addCriterion("detail not between", value1, value2, "detail");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

95
ht/src/main/java/com/ccsens/ht/bean/po/HtRelation.java

@ -0,0 +1,95 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtRelation implements Serializable {
private Long id;
private Long userId;
private String relationUrl;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 getRelationUrl() {
return relationUrl;
}
public void setRelationUrl(String relationUrl) {
this.relationUrl = relationUrl == null ? null : relationUrl.trim();
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", relationUrl=").append(relationUrl);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

641
ht/src/main/java/com/ccsens/ht/bean/po/HtRelationExample.java

@ -0,0 +1,641 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtRelationExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtRelationExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andUserIdIsNull() {
addCriterion("user_id is null");
return (Criteria) this;
}
public Criteria andUserIdIsNotNull() {
addCriterion("user_id is not null");
return (Criteria) this;
}
public Criteria andUserIdEqualTo(Long value) {
addCriterion("user_id =", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotEqualTo(Long value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThan(Long value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThan(Long value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThanOrEqualTo(Long value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdIn(List<Long> values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotIn(List<Long> values) {
addCriterion("user_id not in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdBetween(Long value1, Long value2) {
addCriterion("user_id between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotBetween(Long value1, Long value2) {
addCriterion("user_id not between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andRelationUrlIsNull() {
addCriterion("relation_url is null");
return (Criteria) this;
}
public Criteria andRelationUrlIsNotNull() {
addCriterion("relation_url is not null");
return (Criteria) this;
}
public Criteria andRelationUrlEqualTo(String value) {
addCriterion("relation_url =", value, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlNotEqualTo(String value) {
addCriterion("relation_url <>", value, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlGreaterThan(String value) {
addCriterion("relation_url >", value, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlGreaterThanOrEqualTo(String value) {
addCriterion("relation_url >=", value, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlLessThan(String value) {
addCriterion("relation_url <", value, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlLessThanOrEqualTo(String value) {
addCriterion("relation_url <=", value, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlLike(String value) {
addCriterion("relation_url like", value, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlNotLike(String value) {
addCriterion("relation_url not like", value, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlIn(List<String> values) {
addCriterion("relation_url in", values, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlNotIn(List<String> values) {
addCriterion("relation_url not in", values, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlBetween(String value1, String value2) {
addCriterion("relation_url between", value1, value2, "relationUrl");
return (Criteria) this;
}
public Criteria andRelationUrlNotBetween(String value1, String value2) {
addCriterion("relation_url not between", value1, value2, "relationUrl");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

161
ht/src/main/java/com/ccsens/ht/bean/po/HtReport.java

@ -0,0 +1,161 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtReport implements Serializable {
private Long id;
private String code;
private String name;
private String parentCode;
private String description;
private Integer totalScore;
private Byte type;
private Byte isShow;
private Integer sort;
private String remark;
private Date createTime;
private Date updateTime;
private Byte isDel;
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 String getParentCode() {
return parentCode;
}
public void setParentCode(String parentCode) {
this.parentCode = parentCode == null ? null : parentCode.trim();
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description == null ? null : description.trim();
}
public Integer getTotalScore() {
return totalScore;
}
public void setTotalScore(Integer totalScore) {
this.totalScore = totalScore;
}
public Byte getType() {
return type;
}
public void setType(Byte type) {
this.type = type;
}
public Byte getIsShow() {
return isShow;
}
public void setIsShow(Byte isShow) {
this.isShow = isShow;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public 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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", parentCode=").append(parentCode);
sb.append(", description=").append(description);
sb.append(", totalScore=").append(totalScore);
sb.append(", type=").append(type);
sb.append(", isShow=").append(isShow);
sb.append(", sort=").append(sort);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

1031
ht/src/main/java/com/ccsens/ht/bean/po/HtReportExample.java

File diff suppressed because it is too large

106
ht/src/main/java/com/ccsens/ht/bean/po/HtTitle.java

@ -0,0 +1,106 @@
package com.ccsens.ht.bean.po;
import java.io.Serializable;
import java.util.Date;
public class HtTitle implements Serializable {
private Long id;
private Byte type;
private String title;
private Long superidorId;
private String remark = "";
private Date createTime;
private Date updateTime;
private Byte isDel;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Byte getType() {
return type;
}
public void setType(Byte type) {
this.type = type;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title == null ? null : title.trim();
}
public Long getSuperidorId() {
return superidorId;
}
public void setSuperidorId(Long superidorId) {
this.superidorId = superidorId;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
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 getIsDel() {
return isDel;
}
public void setIsDel(Byte isDel) {
this.isDel = isDel;
}
@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(", type=").append(type);
sb.append(", title=").append(title);
sb.append(", superidorId=").append(superidorId);
sb.append(", remark=").append(remark);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", isDel=").append(isDel);
sb.append("]");
return sb.toString();
}
}

701
ht/src/main/java/com/ccsens/ht/bean/po/HtTitleExample.java

@ -0,0 +1,701 @@
package com.ccsens.ht.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class HtTitleExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public HtTitleExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria 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<Byte> values) {
addCriterion("type in", values, "type");
return (Criteria) this;
}
public Criteria andTypeNotIn(List<Byte> 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 andTitleIsNull() {
addCriterion("title is null");
return (Criteria) this;
}
public Criteria andTitleIsNotNull() {
addCriterion("title is not null");
return (Criteria) this;
}
public Criteria andTitleEqualTo(String value) {
addCriterion("title =", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotEqualTo(String value) {
addCriterion("title <>", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThan(String value) {
addCriterion("title >", value, "title");
return (Criteria) this;
}
public Criteria andTitleGreaterThanOrEqualTo(String value) {
addCriterion("title >=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThan(String value) {
addCriterion("title <", value, "title");
return (Criteria) this;
}
public Criteria andTitleLessThanOrEqualTo(String value) {
addCriterion("title <=", value, "title");
return (Criteria) this;
}
public Criteria andTitleLike(String value) {
addCriterion("title like", value, "title");
return (Criteria) this;
}
public Criteria andTitleNotLike(String value) {
addCriterion("title not like", value, "title");
return (Criteria) this;
}
public Criteria andTitleIn(List<String> values) {
addCriterion("title in", values, "title");
return (Criteria) this;
}
public Criteria andTitleNotIn(List<String> values) {
addCriterion("title not in", values, "title");
return (Criteria) this;
}
public Criteria andTitleBetween(String value1, String value2) {
addCriterion("title between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andTitleNotBetween(String value1, String value2) {
addCriterion("title not between", value1, value2, "title");
return (Criteria) this;
}
public Criteria andSuperidorIdIsNull() {
addCriterion("superidor_id is null");
return (Criteria) this;
}
public Criteria andSuperidorIdIsNotNull() {
addCriterion("superidor_id is not null");
return (Criteria) this;
}
public Criteria andSuperidorIdEqualTo(Long value) {
addCriterion("superidor_id =", value, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdNotEqualTo(Long value) {
addCriterion("superidor_id <>", value, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdGreaterThan(Long value) {
addCriterion("superidor_id >", value, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdGreaterThanOrEqualTo(Long value) {
addCriterion("superidor_id >=", value, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdLessThan(Long value) {
addCriterion("superidor_id <", value, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdLessThanOrEqualTo(Long value) {
addCriterion("superidor_id <=", value, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdIn(List<Long> values) {
addCriterion("superidor_id in", values, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdNotIn(List<Long> values) {
addCriterion("superidor_id not in", values, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdBetween(Long value1, Long value2) {
addCriterion("superidor_id between", value1, value2, "superidorId");
return (Criteria) this;
}
public Criteria andSuperidorIdNotBetween(Long value1, Long value2) {
addCriterion("superidor_id not between", value1, value2, "superidorId");
return (Criteria) this;
}
public Criteria andRemarkIsNull() {
addCriterion("remark is null");
return (Criteria) this;
}
public Criteria andRemarkIsNotNull() {
addCriterion("remark is not null");
return (Criteria) this;
}
public Criteria andRemarkEqualTo(String value) {
addCriterion("remark =", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotEqualTo(String value) {
addCriterion("remark <>", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThan(String value) {
addCriterion("remark >", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
addCriterion("remark >=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThan(String value) {
addCriterion("remark <", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLessThanOrEqualTo(String value) {
addCriterion("remark <=", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkLike(String value) {
addCriterion("remark like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotLike(String value) {
addCriterion("remark not like", value, "remark");
return (Criteria) this;
}
public Criteria andRemarkIn(List<String> values) {
addCriterion("remark in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotIn(List<String> values) {
addCriterion("remark not in", values, "remark");
return (Criteria) this;
}
public Criteria andRemarkBetween(String value1, String value2) {
addCriterion("remark between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andRemarkNotBetween(String value1, String value2) {
addCriterion("remark not between", value1, value2, "remark");
return (Criteria) this;
}
public Criteria andCreateTimeIsNull() {
addCriterion("create_time is null");
return (Criteria) this;
}
public Criteria andCreateTimeIsNotNull() {
addCriterion("create_time is not null");
return (Criteria) this;
}
public Criteria andCreateTimeEqualTo(Date value) {
addCriterion("create_time =", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotEqualTo(Date value) {
addCriterion("create_time <>", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThan(Date value) {
addCriterion("create_time >", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("create_time >=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThan(Date value) {
addCriterion("create_time <", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
addCriterion("create_time <=", value, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeIn(List<Date> values) {
addCriterion("create_time in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotIn(List<Date> values) {
addCriterion("create_time not in", values, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeBetween(Date value1, Date value2) {
addCriterion("create_time between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
addCriterion("create_time not between", value1, value2, "createTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andIsDelIsNull() {
addCriterion("is_del is null");
return (Criteria) this;
}
public Criteria andIsDelIsNotNull() {
addCriterion("is_del is not null");
return (Criteria) this;
}
public Criteria andIsDelEqualTo(Byte value) {
addCriterion("is_del =", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotEqualTo(Byte value) {
addCriterion("is_del <>", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThan(Byte value) {
addCriterion("is_del >", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelGreaterThanOrEqualTo(Byte value) {
addCriterion("is_del >=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThan(Byte value) {
addCriterion("is_del <", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelLessThanOrEqualTo(Byte value) {
addCriterion("is_del <=", value, "isDel");
return (Criteria) this;
}
public Criteria andIsDelIn(List<Byte> values) {
addCriterion("is_del in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotIn(List<Byte> values) {
addCriterion("is_del not in", values, "isDel");
return (Criteria) this;
}
public Criteria andIsDelBetween(Byte value1, Byte value2) {
addCriterion("is_del between", value1, value2, "isDel");
return (Criteria) this;
}
public Criteria andIsDelNotBetween(Byte value1, Byte value2) {
addCriterion("is_del not between", value1, value2, "isDel");
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);
}
}
}

48
ht/src/main/java/com/ccsens/ht/bean/vo/DoctorVo.java

@ -0,0 +1,48 @@
package com.ccsens.ht.bean.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @program: ptpro
* @description:
* @author: wu huijuan
* @create: 2019/10/25 16:23
*/
public class DoctorVo {
@Data
@ApiModel
public static class Query{
@ApiModelProperty("id")
private Long id;
@ApiModelProperty("用户id")
private Long userId;
@ApiModelProperty("职务id")
private Long positionId;
@ApiModelProperty("职称ID")
private Long titleId;
@ApiModelProperty("姓名")
private String name;
@ApiModelProperty("性别")
private Byte sex;
@ApiModelProperty("年龄")
private Integer age;
@ApiModelProperty("审核人ID")
private Long auditorId;
@ApiModelProperty("审核")
private Byte auditState;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("职称名称")
private String titleName;
@ApiModelProperty("职务名称")
private String positionName;
}
}

139
ht/src/main/java/com/ccsens/ht/bean/vo/PatientReportVo.java

@ -0,0 +1,139 @@
package com.ccsens.ht.bean.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* @program: ptpro
* @description:
* @author: wu huijuan
* @create: 2019/10/31 10:28
*/
public class PatientReportVo {
@Data
@ApiModel
public static class Generate{
@ApiModelProperty("病人报告单ID")
private Long id;
}
@Data
@ApiModel
public static class ReportName{
@ApiModelProperty("报告单ID")
private Long id;
@ApiModelProperty("报告单名称")
private String name;
@ApiModelProperty("有无查看详情的权利 0:无 1有")
private Byte authority;
@ApiModelProperty("报告单文件路径")
private String url;
}
@ApiModel
@Data
public static class ReprotDetail{
@ApiModelProperty("报告单上病人信息")
private ReprotPatient patient;
@ApiModelProperty("报告单上分数信息")
private List<ReportScore> scores;
}
@ApiModel()
@Data
public static class ReprotPatient{
@ApiModelProperty("病人报告单ID")
private Long id;
@ApiModelProperty("报告单名字")
private String name;
@ApiModelProperty("病人ID")
private Long patientId;
@ApiModelProperty("病人年龄")
private Byte patientAge;
@ApiModelProperty("医生ID")
private Long doctorId;
@ApiModelProperty("医生名字")
private String doctorName;
@ApiModelProperty("编号")
private String serialNumber;
@ApiModelProperty("初步印象")
private String initialImpression;
@ApiModelProperty("临床诊断")
private String clinicalDiagnosis;
@ApiModelProperty("严重程度(0:未评测 1:轻度 2:中度 3:重度) ")
private Byte pasi;
@ApiModelProperty("科别")
private String department;
@ApiModelProperty("床号")
private String bedNumber;
@ApiModelProperty("报告时间")
private Long reportTime;
@ApiModelProperty("检查时间")
private Long checkTime;
@ApiModelProperty("报告单路径")
private String url;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("病人名字")
private String patientName;
@ApiModelProperty("门诊号")
private String patientNumber;
@ApiModelProperty("住院号")
private String hospitalNumber;
@ApiModelProperty("性别")
private Byte sex;
@ApiModelProperty("教育程度(1:文盲 2:小学 3:初中 4:高中 5:大学 6:大学以上 7:其他)")
private Byte educationalStatus;
@ApiModelProperty("受教育时间(年或月)")
private String educationalStatusUnit;
@ApiModelProperty("职业")
private Byte career;
}
/**分数类型*/
@ApiModel
@Data
public static class ReportScore{
@ApiModelProperty("报告单检查类型")
private String code;
@ApiModelProperty("上级类型")
private String parentCode;
@ApiModelProperty("报告单检查类型名称")
private String name;
@ApiModelProperty("划界描述")
private String description;
@ApiModelProperty("总分(<0:不需要显示总分,=0:不计分, >0:总分)")
private Integer totalScore;
@ApiModelProperty("病人得分")
private Integer score;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("类型(1:报告单 2:测评 3:测评子类 4:二级子类)")
private Byte type;
@ApiModelProperty("子报告单")
private List<ReportScore> subReport = new ArrayList<>();
public void addSub(ReportScore score) {
this.subReport.add(score);
}
}
/**医生对报告单权限*/
@ApiModel
@Data
public static class Authority{
@ApiModelProperty("对报告单的操作权限 0:仅查看 1: 可修改 2:可审查")
private int authority;
public static final int OLAY_READ = 0;
public static final int READ_WRITE = 1;
public static final int CHECK = 2;
}
}

100
ht/src/main/java/com/ccsens/ht/bean/vo/PatientVo.java

@ -0,0 +1,100 @@
package com.ccsens.ht.bean.vo;
import com.ccsens.ht.bean.po.HtPatient;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;
import org.springframework.util.CollectionUtils;
import java.util.ArrayList;
import java.util.List;
/**
* @program: ptpro
* @description:
* @author: wu huijuan
* @create: 2019/10/31 09:42
*/
public class PatientVo {
/**病友查询返回*/
@ApiModel
@Data
public static class Query{
@ApiModelProperty("病人id")
private Long id;
@ApiModelProperty("病人用户id")
private Long userId;
@ApiModelProperty("病人名字")
private String name;
@ApiModelProperty("病人门诊号")
private String patientNumber;
@ApiModelProperty("病人住院号")
private String hospitalNumber;
@ApiModelProperty("病人身份证号")
private String idcard;
@ApiModelProperty("性别(0:男 1:女)")
private Byte sex;
@ApiModelProperty("婚姻状况(1:未婚2:已婚 3:离异 4:分居 5:丧偶 6:同居 7:其他 )")
private Byte maritalStatus;
@ApiModelProperty("教育程度(1:文盲 2:小学 3:初中 4:高中 5:大学 6:大学以上 7:其他)")
private Byte educationalStatus;
@ApiModelProperty("受教育时间(年或月)")
private String educationalStatusUnit;
@ApiModelProperty("民族")
private String nation;
@ApiModelProperty("籍贯")
private String nativePlace;
@ApiModelProperty("职业(1:农林牧渔水利生产人员 2:教师 3:医务工作者 4:专业技术人员 5:生产、运输设备操作人员及有关人员6:商业、服务业人员7:国家机关、事业单位、企业负责人8:国家机关、事业单位、企业办事人员和有关人员9:军人 10:媒体、文体类工作人员 11:在校学生 12:未就业 13:家务 14:其他")
private Byte career;
@ApiModelProperty("生育数量")
private Integer birthNumber;
@ApiModelProperty("绝经年龄(女)")
private Integer menopauseAge;
@ApiModelProperty("联系人")
private String contact;
@ApiModelProperty("手机")
private String mobile;
@ApiModelProperty("电话")
private String phone;
@ApiModelProperty("省份")
private String province;
@ApiModelProperty("城市")
private String city;
@ApiModelProperty("住址")
private String address;
@ApiModelProperty("住所(1:自己家中 2:养老院 3:其他)")
private Byte domicile;
@ApiModelProperty("独立生活能力(1:能够独立生活 2:需要他人帮助完成复杂活动 3:需要他人帮助完成基本活动 4:完全依赖他人生活 5:未知 6:其他)")
private Byte independentLivingSkills;
@ApiModelProperty("居住状态(1:独居 2:与配偶或对象或子女 3:与亲戚或朋友居住)")
private Byte dwellingState;
@ApiModelProperty("备注")
private String remark;
@ApiModelProperty("第一次录入人ID")
private Long recorder;
public static List<Query> copy(List<HtPatient> patients) {
List<Query> querys = new ArrayList<>();
if (CollectionUtils.isEmpty(patients)) {
return querys;
}
patients.forEach(patient -> {
Query query = new Query();
BeanUtils.copyProperties(patient, query);
querys.add(query);
});
return querys;
}
}
@ApiModel
@Data
public static class Edit {
@ApiModelProperty("病友ID")
private Long id;
}
}

61
ht/src/main/java/com/ccsens/ht/bean/vo/PositionVo.java

@ -0,0 +1,61 @@
package com.ccsens.ht.bean.vo;
import com.ccsens.ht.bean.po.HtPosition;
import com.ccsens.ht.bean.po.HtTitle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;
import java.util.ArrayList;
import java.util.List;
/**
* @description:
* @author: wu huijuan
* @create: 2019/11/19 16:21
*/
public class PositionVo {
@ApiModel
@Data
public static class Position {
@ApiModelProperty("职务ID")
private Long id;
@ApiModelProperty("职务类型(1:医院 2:科室 3:职务)")
private Byte type;
@ApiModelProperty("职务名称")
private String name;
public static List<Position> copy(List<HtPosition> positionList) {
List<Position> positions = new ArrayList<>();
positionList.forEach(position -> {
Position pos = new Position();
BeanUtils.copyProperties(position, pos);
positions.add(pos);
});
return positions;
}
}
@ApiModel
@Data
public static class Title{
@ApiModelProperty("职称ID")
private Long id;
@ApiModelProperty("职称")
private String title;
public static List<Title> copy(List<HtTitle> titleList) {
List<Title> titles = new ArrayList<>();
titleList.forEach(htTitle -> {
Title title = new Title();
BeanUtils.copyProperties(htTitle, title);
titles.add(title);
});
return titles;
}
}
}

188
ht/src/main/java/com/ccsens/ht/bean/vo/QuestionVo.java

@ -0,0 +1,188 @@
package com.ccsens.ht.bean.vo;
import com.ccsens.ht.bean.po.HtPatientQuestionRecord;
import com.ccsens.ht.bean.po.HtQuestion;
import com.ccsens.ht.bean.po.HtQuestionIntroducer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;
import org.springframework.util.CollectionUtils;
import java.util.ArrayList;
import java.util.List;
/**
* @description:
* @author: wu huijuan
* @create: 2019/11/12 15:44
*/
public class QuestionVo {
@Data
@ApiModel
public static class Query{
@ApiModelProperty("问题")
private Question question;
@ApiModelProperty("引导语")
private List<Introduce> introduces;
@ApiModelProperty("选项")
private List<Option> options;
@ApiModelProperty("记录")
private List<Record> records;
public Query(){
super();
}
public Query(Question question, List<Option> options, List<Introduce> introduces, List<Record> records) {
this.question = question;
this.introduces = introduces;
this.options = options;
this.records = records;
}
}
@Data
@ApiModel("试题")
public static class Question{
@ApiModelProperty("试题ID")
private Long id;
@ApiModelProperty("评测类型")
private String parentCode;
@ApiModelProperty("排序")
private Integer sort;
@ApiModelProperty("题目")
private String question;
@ApiModelProperty("展示类型 1文本,2图片,3语音,4选项,5连线且文字倒转,6文本倒转,7:图片且题目和选项位置互换,选项文字颠倒")
private Byte type;
@ApiModelProperty("额外记录类型(errorMsg:错误信息,otherMsg:其他内容)")
private String recordType;
@ApiModelProperty("额外记录内容")
private String recordContent;
@ApiModelProperty("用户操作类型(0无,1语音,2画图,4敲击)")
private Byte operateType;
@ApiModelProperty("是否需要记录动笔时长(1是0否)")
private Byte recodeStarttime;
@ApiModelProperty("是否需要定时截图保存(1是0否)")
private Byte timeWabei;
@ApiModelProperty("是否允许重画(0否1是2回退)")
private Byte allowClear;
@ApiModelProperty("最多重画次数")
private Integer clearTimes;
@ApiModelProperty("定时器时长")
private Integer timingLength;
@ApiModelProperty("关联试题")
List<Question> relationQuestions = new ArrayList<>();
/**
* 将HtQuestion转化成Question
* @param question
* @return
*/
public static Question toQuestionVo(HtQuestion question) {
Question vo = new Question();
BeanUtils.copyProperties(question, vo);
return vo;
}
/**
* 将HtQuestion集合转化成Question集合
* @param questions
* @return
*/
public static List<Question> toQuestionVos(List<HtQuestion> questions) {
List<Question> vos = new ArrayList<>();
if (CollectionUtils.isEmpty(questions)) {
return vos;
}
questions.forEach(question -> {
Question vo = new Question();
BeanUtils.copyProperties(question, vo);
vos.add(vo);
});
return vos;
}
}
@Data
@ApiModel("选项")
public static class Option {
@ApiModelProperty("选项ID")
private Long id;
@ApiModelProperty("试题ID")
private Long questionId;
@ApiModelProperty("类型")
private String type;
@ApiModelProperty("变量名")
private String name;
@ApiModelProperty("分数")
private Integer score;
@ApiModelProperty("显示")
private String display;
@ApiModelProperty("答案")
private String answer;
@ApiModelProperty("是否选中")
private Byte choose;
}
@Data
@ApiModel("引导语")
public static class Introduce {
@ApiModelProperty("引导语ID")
private Long id;
@ApiModelProperty("试题ID")
private Long questionId;
@ApiModelProperty("引导语内容")
private String content;
/**
* 将HtQuestionIntroduce转化成介绍vo
* @param introduces
* @return
*/
public static List<Introduce> toIntroduces(List<HtQuestionIntroducer> introduces) {
List<Introduce> vos = new ArrayList<>();
if (CollectionUtils.isEmpty(introduces)) {
return vos;
}
introduces.forEach(introducer -> {
Introduce vo = new Introduce();
BeanUtils.copyProperties(introducer, vo);
vos.add(vo);
});
return vos;
}
}
@Data
@ApiModel("病友答题记录")
public static class Record{
@ApiModelProperty("答题记录ID")
private Long id;
@ApiModelProperty("额外记录类型(errorMsg:错误信息,otherMsg:其他内容,paint:画图,voice:语音,startTime:起笔时长)")
private String recordType;
@ApiModelProperty("病友回答情况")
private String recordValue;
@ApiModelProperty("记录时间")
private Long recordTime;
/**
* HtPatientQuestionRecord转化成介绍vo
* @param records
* @return
*/
public static List<Record> toRecords(List<HtPatientQuestionRecord> records) {
List<Record> vos = new ArrayList<>();
if (CollectionUtils.isEmpty(records)) {
return vos;
}
records.forEach(record -> {
Record vo = new Record();
BeanUtils.copyProperties(record, vo);
vos.add(vo);
});
return vos;
}
}
}

38
ht/src/main/java/com/ccsens/ht/persist/dao/HtDoctorAuditDao.java

@ -0,0 +1,38 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.po.HtDoctorAudit;
import com.ccsens.ht.bean.vo.DoctorVo;
import com.ccsens.ht.persist.mapper.HtDoctorAuditMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*@Description:HtPositionAuditDao
*@Author: wuhuijuan
*@date: 2019/10/25 14:19
*/
public interface HtDoctorAuditDao extends HtDoctorAuditMapper {
/**
*@Description: 批量添加
* @param audits
*@return: void
*@Author: wuhuijuan
*@date: 2019/10/22 16:40
*/
void insertBatch(List<HtDoctorAudit> audits);
/**
*@Description: 查询审核人名下的所有医生信息
* @param auditorId 审核人ID
* @param titleId 职称ID
* @param jobId 职务ID
* @param recursionId 职务ID(查询=该职务和该职务的子职务)
*@return: java.util.List<com.ccsens.ht.bean.po.HtDoctor>
*@Author: wuhuijuan
*@date: 2019/10/25 16:14
*/
List<DoctorVo.Query> queryDoctor(@Param(value = "auditorId") Long auditorId, @Param(value = "titleId") Long titleId, @Param(value = "jobId") Long jobId, @Param(value = "recursionId")Long recursionId);
}

32
ht/src/main/java/com/ccsens/ht/persist/dao/HtPatientReportDao.java

@ -0,0 +1,32 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.vo.PatientReportVo;
import com.ccsens.ht.persist.mapper.HtPatientReportMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 病人报告单信息查询
* @author wuHuiJuan
*/
public interface HtPatientReportDao extends HtPatientReportMapper {
/**
*根据病人报告单ID查询报告单结果
* @param id
*@return: com.ccsens.ht.bean.vo.PatientReportVo.ReprotPatient
*@Author: wuHuiJuan
*@date: 2019/11/19 11:08
*/
PatientReportVo.ReprotPatient queryReportResult(@Param("id") Long id);
/**
* 根据病人报告单ID查询报告单各项相关分数
* @param id
*@return: com.ccsens.ht.bean.vo.PatientReportVo.ReportScore
*@Author: wuHuiJuan
*@date: 2019/11/19 11:46
*/
List<PatientReportVo.ReportScore> queryReportScore(@Param("id") Long id);
}

21
ht/src/main/java/com/ccsens/ht/persist/dao/HtPatientScoreDao.java

@ -0,0 +1,21 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.po.HtPatientScore;
import com.ccsens.ht.persist.mapper.HtPatientScoreMapper;
import java.util.List;
/**
* @author wu
*/
public interface HtPatientScoreDao extends HtPatientScoreMapper {
/**
* 批量添加答案分数信息
*@param scores
*@return: void
*@Author: wuhuijuan
*@date: 2019/11/14 9:29
*/
void insertBatch(List<HtPatientScore> scores);
}

43
ht/src/main/java/com/ccsens/ht/persist/dao/HtPositionDao.java

@ -0,0 +1,43 @@
package com.ccsens.ht.persist.dao;
import com.alibaba.fastjson.JSONObject;
import com.ccsens.ht.bean.po.HtPosition;
import com.ccsens.ht.persist.mapper.HtPositionMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
* @Description:htposition
* @Author: wuhuijuan
* @date: 2019/10/23 9:19
*/
public interface HtPositionDao extends HtPositionMapper {
/**
* @param positions
* @Description: 批量添加
* @return: void
* @Author: wuhuijuan
* @date: 2019/10/22 16:40
*/
void insertBatch(List<HtPosition> positions);
/**
* @param position 直接上级职务ID(必填) 是否有审核权限非必填 是否有管理权限非必填
* @Description: 根据上级职务ID查询所有上级职务ID和name
* @return: java.util.List<java.util.Map < String, String>>
* @Author: wuhuijuan
* @date: 2019/10/25 10:51
*/
List<JSONObject> queryAllSuperior(HtPosition position);
/**
* 查询所有下级职位
*
* @param id
* @return
*/
List<Long> queryAllLowerPosition(@Param("id") Long id);
}

18
ht/src/main/java/com/ccsens/ht/persist/dao/HtQuestionDao.java

@ -0,0 +1,18 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.po.HtQuestion;
import com.ccsens.ht.persist.mapper.HtQuestionMapper;
import java.util.List;
public interface HtQuestionDao extends HtQuestionMapper {
/**
*@Description: 批量添加以ID为唯一标志有则修改无则添加
* @param questitons
*@return: void
*@Author: wuhuijuan
*@date: 2019/10/23 18:14
*/
void insertBatch(List<HtQuestion> questitons);
}

17
ht/src/main/java/com/ccsens/ht/persist/dao/HtQuestionIntroducerDao.java

@ -0,0 +1,17 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.po.HtQuestionIntroducer;
import com.ccsens.ht.persist.mapper.HtQuestionIntroducerMapper;
import java.util.List;
public interface HtQuestionIntroducerDao extends HtQuestionIntroducerMapper {
/**
*@Description: 批量添加以ID为唯一标志有则修改无则添加
* @param intrduces
*@return: void
*@Author: wuhuijuan
*@date: 2019/10/23 18:14
*/
void insertBatch(List<HtQuestionIntroducer> intrduces);
}

27
ht/src/main/java/com/ccsens/ht/persist/dao/HtQuestionOptionDao.java

@ -0,0 +1,27 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.po.HtQuestionOption;
import com.ccsens.ht.bean.vo.QuestionVo;
import com.ccsens.ht.persist.mapper.HtQuestionOptionMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface HtQuestionOptionDao extends HtQuestionOptionMapper {
/**
* 批量添加以ID为唯一标志有则修改无则添加
* @param options
*@return: void
*@Author: wuhuijuan
*@date: 2019/10/23 18:14
*/
void insertBatch(List<HtQuestionOption> options);
/**
* 根据试题ID查询选项信息
* @param questionId 试题ID
* @param patientReportId 报告单ID
* @return
*/
List<QuestionVo.Option> queryOption(@Param("questionId") Long questionId, @Param("patientReportId") Long patientReportId);
}

20
ht/src/main/java/com/ccsens/ht/persist/dao/HtQuestionScoringRuleDao.java

@ -0,0 +1,20 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.po.HtQuestionScoringRule;
import com.ccsens.ht.persist.mapper.HtQuestionScoringRuleMapper;
import java.util.List;
public interface HtQuestionScoringRuleDao extends HtQuestionScoringRuleMapper {
/**
*@Description: 批量添加以ID为唯一标志有则修改无则添加
* @param rules
*@return: void
*@Author: wuhuijuan
*@date: 2019/10/23 18:14
*/
void insertBatch(List<HtQuestionScoringRule> rules);
}

31
ht/src/main/java/com/ccsens/ht/persist/dao/HtReportDao.java

@ -0,0 +1,31 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.po.HtReport;
import com.ccsens.ht.persist.mapper.HtReportMapper;
import java.util.List;
/**
* @program: ptpro
* @description: 操作t_ht_report
* @author: wu huijuan
* @create: 2019/10/24 09:25
*/
public interface HtReportDao extends HtReportMapper {
/**
* 批量添加报告单信息
* @param reports
*@return: void
*@Author: wuhuijuan
*@date: 2019/10/24 9:27
*/
void insertBatch(List<HtReport> reports);
/**
*查询报告单上的code
* @param
*@return: java.util.List<com.ccsens.ht.bean.po.HtReport>
*@Author: wuHuiJuan
*@date: 2019/11/19 10:10
*/
List<HtReport> queryReportShow();
}

24
ht/src/main/java/com/ccsens/ht/persist/dao/HtTitleDao.java

@ -0,0 +1,24 @@
package com.ccsens.ht.persist.dao;
import com.ccsens.ht.bean.po.HtTitle;
import com.ccsens.ht.persist.mapper.HtTitleMapper;
import java.util.List;
/**
* @program: ptpro
* @description: 操作t_ht_title
* @author: wu huijuan
* @create: 2019/10/24 09:25
*/
public interface HtTitleDao extends HtTitleMapper {
/**
*@Description:
* @param titles
*@return: void
*@Author: wuhuijuan
*@date: 2019/10/24 9:27
*/
void insertBatch(List<HtTitle> titles);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtDoctorAuditMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtDoctorAudit;
import com.ccsens.ht.bean.po.HtDoctorAuditExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtDoctorAuditMapper {
long countByExample(HtDoctorAuditExample example);
int deleteByExample(HtDoctorAuditExample example);
int deleteByPrimaryKey(Long id);
int insert(HtDoctorAudit record);
int insertSelective(HtDoctorAudit record);
List<HtDoctorAudit> selectByExample(HtDoctorAuditExample example);
HtDoctorAudit selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtDoctorAudit record, @Param("example") HtDoctorAuditExample example);
int updateByExample(@Param("record") HtDoctorAudit record, @Param("example") HtDoctorAuditExample example);
int updateByPrimaryKeySelective(HtDoctorAudit record);
int updateByPrimaryKey(HtDoctorAudit record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtDoctorMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtDoctor;
import com.ccsens.ht.bean.po.HtDoctorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtDoctorMapper {
long countByExample(HtDoctorExample example);
int deleteByExample(HtDoctorExample example);
int deleteByPrimaryKey(Long id);
int insert(HtDoctor record);
int insertSelective(HtDoctor record);
List<HtDoctor> selectByExample(HtDoctorExample example);
HtDoctor selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtDoctor record, @Param("example") HtDoctorExample example);
int updateByExample(@Param("record") HtDoctor record, @Param("example") HtDoctorExample example);
int updateByPrimaryKeySelective(HtDoctor record);
int updateByPrimaryKey(HtDoctor record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtOperationLogMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtOperationLog;
import com.ccsens.ht.bean.po.HtOperationLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtOperationLogMapper {
long countByExample(HtOperationLogExample example);
int deleteByExample(HtOperationLogExample example);
int deleteByPrimaryKey(Long id);
int insert(HtOperationLog record);
int insertSelective(HtOperationLog record);
List<HtOperationLog> selectByExample(HtOperationLogExample example);
HtOperationLog selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtOperationLog record, @Param("example") HtOperationLogExample example);
int updateByExample(@Param("record") HtOperationLog record, @Param("example") HtOperationLogExample example);
int updateByPrimaryKeySelective(HtOperationLog record);
int updateByPrimaryKey(HtOperationLog record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientAcpMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtPatientAcp;
import com.ccsens.ht.bean.po.HtPatientAcpExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtPatientAcpMapper {
long countByExample(HtPatientAcpExample example);
int deleteByExample(HtPatientAcpExample example);
int deleteByPrimaryKey(Long id);
int insert(HtPatientAcp record);
int insertSelective(HtPatientAcp record);
List<HtPatientAcp> selectByExample(HtPatientAcpExample example);
HtPatientAcp selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtPatientAcp record, @Param("example") HtPatientAcpExample example);
int updateByExample(@Param("record") HtPatientAcp record, @Param("example") HtPatientAcpExample example);
int updateByPrimaryKeySelective(HtPatientAcp record);
int updateByPrimaryKey(HtPatientAcp record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientBodyMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtPatientBody;
import com.ccsens.ht.bean.po.HtPatientBodyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtPatientBodyMapper {
long countByExample(HtPatientBodyExample example);
int deleteByExample(HtPatientBodyExample example);
int deleteByPrimaryKey(Long id);
int insert(HtPatientBody record);
int insertSelective(HtPatientBody record);
List<HtPatientBody> selectByExample(HtPatientBodyExample example);
HtPatientBody selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtPatientBody record, @Param("example") HtPatientBodyExample example);
int updateByExample(@Param("record") HtPatientBody record, @Param("example") HtPatientBodyExample example);
int updateByPrimaryKeySelective(HtPatientBody record);
int updateByPrimaryKey(HtPatientBody record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientFamilyIllnessMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtPatientFamilyIllness;
import com.ccsens.ht.bean.po.HtPatientFamilyIllnessExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtPatientFamilyIllnessMapper {
long countByExample(HtPatientFamilyIllnessExample example);
int deleteByExample(HtPatientFamilyIllnessExample example);
int deleteByPrimaryKey(Long id);
int insert(HtPatientFamilyIllness record);
int insertSelective(HtPatientFamilyIllness record);
List<HtPatientFamilyIllness> selectByExample(HtPatientFamilyIllnessExample example);
HtPatientFamilyIllness selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtPatientFamilyIllness record, @Param("example") HtPatientFamilyIllnessExample example);
int updateByExample(@Param("record") HtPatientFamilyIllness record, @Param("example") HtPatientFamilyIllnessExample example);
int updateByPrimaryKeySelective(HtPatientFamilyIllness record);
int updateByPrimaryKey(HtPatientFamilyIllness record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientFamilyMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtPatientFamily;
import com.ccsens.ht.bean.po.HtPatientFamilyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtPatientFamilyMapper {
long countByExample(HtPatientFamilyExample example);
int deleteByExample(HtPatientFamilyExample example);
int deleteByPrimaryKey(Long id);
int insert(HtPatientFamily record);
int insertSelective(HtPatientFamily record);
List<HtPatientFamily> selectByExample(HtPatientFamilyExample example);
HtPatientFamily selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtPatientFamily record, @Param("example") HtPatientFamilyExample example);
int updateByExample(@Param("record") HtPatientFamily record, @Param("example") HtPatientFamilyExample example);
int updateByPrimaryKeySelective(HtPatientFamily record);
int updateByPrimaryKey(HtPatientFamily record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientFollowUpMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtPatientFollowUp;
import com.ccsens.ht.bean.po.HtPatientFollowUpExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtPatientFollowUpMapper {
long countByExample(HtPatientFollowUpExample example);
int deleteByExample(HtPatientFollowUpExample example);
int deleteByPrimaryKey(Long id);
int insert(HtPatientFollowUp record);
int insertSelective(HtPatientFollowUp record);
List<HtPatientFollowUp> selectByExample(HtPatientFollowUpExample example);
HtPatientFollowUp selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtPatientFollowUp record, @Param("example") HtPatientFollowUpExample example);
int updateByExample(@Param("record") HtPatientFollowUp record, @Param("example") HtPatientFollowUpExample example);
int updateByPrimaryKeySelective(HtPatientFollowUp record);
int updateByPrimaryKey(HtPatientFollowUp record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientIllnessHistoryMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtPatientIllnessHistory;
import com.ccsens.ht.bean.po.HtPatientIllnessHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtPatientIllnessHistoryMapper {
long countByExample(HtPatientIllnessHistoryExample example);
int deleteByExample(HtPatientIllnessHistoryExample example);
int deleteByPrimaryKey(Long id);
int insert(HtPatientIllnessHistory record);
int insertSelective(HtPatientIllnessHistory record);
List<HtPatientIllnessHistory> selectByExample(HtPatientIllnessHistoryExample example);
HtPatientIllnessHistory selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtPatientIllnessHistory record, @Param("example") HtPatientIllnessHistoryExample example);
int updateByExample(@Param("record") HtPatientIllnessHistory record, @Param("example") HtPatientIllnessHistoryExample example);
int updateByPrimaryKeySelective(HtPatientIllnessHistory record);
int updateByPrimaryKey(HtPatientIllnessHistory record);
}

30
ht/src/main/java/com/ccsens/ht/persist/mapper/HtPatientMapper.java

@ -0,0 +1,30 @@
package com.ccsens.ht.persist.mapper;
import com.ccsens.ht.bean.po.HtPatient;
import com.ccsens.ht.bean.po.HtPatientExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface HtPatientMapper {
long countByExample(HtPatientExample example);
int deleteByExample(HtPatientExample example);
int deleteByPrimaryKey(Long id);
int insert(HtPatient record);
int insertSelective(HtPatient record);
List<HtPatient> selectByExample(HtPatientExample example);
HtPatient selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") HtPatient record, @Param("example") HtPatientExample example);
int updateByExample(@Param("record") HtPatient record, @Param("example") HtPatientExample example);
int updateByPrimaryKeySelective(HtPatient record);
int updateByPrimaryKey(HtPatient record);
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save