Commit f329c750bfcf988eeefc92dbaebf17f23d33c2fa

Authored by xujiahong
1 parent ee4e62ba68
Exists in master

删除重复的【辅助检查】文件,与前端对接【高危转诊】列表

Showing 37 changed files with 2716 additions and 672 deletions

parent/hospital.mac/src/main/java/com/lyms/hospital/dao/changehospital/HighriskChangeHospitalMapper.xml View file @ f329c75
... ... @@ -14,13 +14,14 @@
14 14 <result column="CHANGEWAY" property="changeway" />
15 15 <result column="APPLY_DOCTORID" property="applyDoctorid" />
16 16 <result column="CREATE_ID" property="createId" />
17   - <result column="CREATE_TIME" property="createTime" />
18 17 <result column="STATUS" property="status" />
  18 + <result column="CREATE_TIME" property="createTime" />
  19 + <result column="RECEIVE_TIME" property="receiveTime" />
19 20 </resultMap>
20 21  
21 22 <!-- 通用查询结果列 -->
22 23 <sql id="Base_Column_List">
23   - ID AS id, WOMAN_ID AS womanId, OUT_ORGID AS outOrgid, INTO_ORGID AS intoOrgid, DESCRIPTION AS description, MUSTDESC AS mustdesc, RISK AS risk, CHANGEWAY AS changeway, APPLY_DOCTORID AS applyDoctorid, CREATE_ID AS createId, CREATE_TIME AS createTime, STATUS AS status
  24 + ID AS id, WOMAN_ID AS womanId, OUT_ORGID AS outOrgid, INTO_ORGID AS intoOrgid, DESCRIPTION AS description, MUSTDESC AS mustdesc, RISK AS risk, CHANGEWAY AS changeway, APPLY_DOCTORID AS applyDoctorid, CREATE_ID AS createId, CREATE_TIME AS createTime, STATUS AS status, RECEIVE_TIME AS receiveTime
24 25 </sql>
25 26 </mapper>
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectManMapper.java View file @ f329c75
  1 +package com.lyms.hospital.dao.inspect;
  2 +
  3 +import com.lyms.hospital.entity.inspect.MarrybeInspectMan;
  4 +import com.baomidou.mybatisplus.mapper.BaseMapper;
  5 +import org.springframework.stereotype.Repository;
  6 +import java.io.Serializable;
  7 +/**
  8 + * <p>
  9 + * Mapper接口
  10 + * </p>
  11 + *
  12 + * @author xujiahong
  13 + * @since 2017-04-06
  14 + */
  15 +@Repository
  16 +public interface MarrybeInspectManMapper extends BaseMapper<MarrybeInspectMan> {
  17 +
  18 + public Integer deleteLogicById(Serializable id);
  19 +
  20 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectManMapper.xml View file @ f329c75
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.lyms.hospital.dao.inspect.MarrybeInspectManMapper">
  4 +
  5 + <!-- 通用查询映射结果 -->
  6 + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.inspect.MarrybeInspectMan">
  7 + <id column="ID" property="id" />
  8 + <result column="MID" property="mid" />
  9 + <result column="HISTORY_MARRIED" property="historyMarried" />
  10 + <result column="HISTORY_WIDOWED" property="historyWidowed" />
  11 + <result column="HISTORY_DIVORCE" property="historyDivorce" />
  12 + <result column="CHILD_NUM" property="childNum" />
  13 + <result column="INCEST" property="incest" />
  14 + <result column="INCEST_PARENT" property="incestParent" />
  15 + <result column="INCEST_GRANDPARENT" property="incestGrandparent" />
  16 + <result column="INCEST_MATERNAL_GRANDPARENT" property="incestMaternalGrandparent" />
  17 + <result column="BODY" property="body" />
  18 + <result column="BODY_TEXT" property="bodyText" />
  19 + <result column="POMUM" property="pomum" />
  20 + <result column="POMUM_TEXT" property="pomumText" />
  21 + <result column="CHEST" property="chest" />
  22 + <result column="CHEST_TEXT" property="chestText" />
  23 + <result column="PUBES" property="pubes" />
  24 + <result column="GENITAL_YJ" property="genitalYj" />
  25 + <result column="GENITAL_YJ_TEXT" property="genitalYjText" />
  26 + <result column="GENITAL_BP" property="genitalBp" />
  27 + <result column="GENITAL_GW" property="genitalGw" />
  28 + <result column="GENITAL_GW_LEFT" property="genitalGwLeft" />
  29 + <result column="GENITAL_GW_RIGHT" property="genitalGwRight" />
  30 + <result column="GENITAL_FG" property="genitalFg" />
  31 + <result column="GENITAL_FG_LEFT" property="genitalFgLeft" />
  32 + <result column="GENITAL_FG_RIGHT" property="genitalFgRight" />
  33 + <result column="GENITAL_JS" property="genitalJs" />
  34 + <result column="GENITAL_JS_LEFT" property="genitalJsLeft" />
  35 + <result column="GENITAL_JS_RIGHT" property="genitalJsRight" />
  36 + <result column="GENITAL_OTHER" property="genitalOther" />
  37 + <result column="CREATE_TIME" property="createTime" />
  38 + <result column="IF_DEL" property="ifDel" />
  39 + </resultMap>
  40 +
  41 + <!-- 通用查询结果列 -->
  42 + <sql id="Base_Column_List">
  43 + ID AS id, MID AS mid, HISTORY_MARRIED AS historyMarried, HISTORY_WIDOWED AS historyWidowed, HISTORY_DIVORCE AS historyDivorce, CHILD_NUM AS childNum, INCEST AS incest, INCEST_PARENT AS incestParent, INCEST_GRANDPARENT AS incestGrandparent, INCEST_MATERNAL_GRANDPARENT AS incestMaternalGrandparent, BODY AS body, BODY_TEXT AS bodyText, POMUM AS pomum, POMUM_TEXT AS pomumText, CHEST AS chest, CHEST_TEXT AS chestText, PUBES AS pubes, GENITAL_YJ AS genitalYj, GENITAL_YJ_TEXT AS genitalYjText, GENITAL_BP AS genitalBp, GENITAL_GW AS genitalGw, GENITAL_GW_LEFT AS genitalGwLeft, GENITAL_GW_RIGHT AS genitalGwRight, GENITAL_FG AS genitalFg, GENITAL_FG_LEFT AS genitalFgLeft, GENITAL_FG_RIGHT AS genitalFgRight, GENITAL_JS AS genitalJs, GENITAL_JS_LEFT AS genitalJsLeft, GENITAL_JS_RIGHT AS genitalJsRight, GENITAL_OTHER AS genitalOther, CREATE_TIME AS createTime, IF_DEL AS ifDel
  44 + </sql>
  45 +</mapper>
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectMapper.java View file @ f329c75
  1 +package com.lyms.hospital.dao.inspect;
  2 +
  3 +import com.lyms.hospital.entity.inspect.MarrybeInspect;
  4 +import com.baomidou.mybatisplus.mapper.BaseMapper;
  5 +import org.springframework.stereotype.Repository;
  6 +import java.io.Serializable;
  7 +/**
  8 + * <p>
  9 + * Mapper接口
  10 + * </p>
  11 + *
  12 + * @author xujiahong
  13 + * @since 2017-04-06
  14 + */
  15 +@Repository
  16 +public interface MarrybeInspectMapper extends BaseMapper<MarrybeInspect> {
  17 +
  18 + public Integer deleteLogicById(Serializable id);
  19 +
  20 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectMapper.xml View file @ f329c75
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.lyms.hospital.dao.inspect.MarrybeInspectMapper">
  4 +
  5 + <!-- 通用查询映射结果 -->
  6 + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.inspect.MarrybeInspect">
  7 + <id column="ID" property="id" />
  8 + <result column="ARCHIVE_ID" property="archiveId" />
  9 + <result column="INSPECT_DATE" property="inspectDate" />
  10 + <result column="ORG_ID" property="orgId" />
  11 + <result column="SPIRIT" property="spirit" />
  12 + <result column="SPIRIT_TEXT" property="spiritText" />
  13 + <result column="LANGUAGE" property="language" />
  14 + <result column="LANGUAGE_TEXT" property="languageText" />
  15 + <result column="FACE" property="face" />
  16 + <result column="FACE_TEXT" property="faceText" />
  17 + <result column="BODY" property="body" />
  18 + <result column="BODY_TEXT" property="bodyText" />
  19 + <result column="HEIGHT" property="height" />
  20 + <result column="WEIGHT" property="weight" />
  21 + <result column="BLOOD_SHRINK" property="bloodShrink" />
  22 + <result column="BLOOD_DIASTOLE" property="bloodDiastole" />
  23 + <result column="SKIN" property="skin" />
  24 + <result column="SKIN_PZ" property="skinPz" />
  25 + <result column="SKIN_BH" property="skinBh" />
  26 + <result column="SKIN_GJYC" property="skinGjyc" />
  27 + <result column="HAIR" property="hair" />
  28 + <result column="HAIR_FB" property="hairFb" />
  29 + <result column="HAIR_COLOR" property="hairColor" />
  30 + <result column="HAIR_TLBW" property="hairTlbw" />
  31 + <result column="LIMB" property="limb" />
  32 + <result column="LIMB_JWS" property="limbJws" />
  33 + <result column="LIMB_MB" property="limbMb" />
  34 + <result column="LIMB_JL" property="limbJl" />
  35 + <result column="LIMB_ZC" property="limbZc" />
  36 + <result column="LIMB_OTHER" property="limbOther" />
  37 + <result column="LIMB_OTHER_TEXT" property="limbOtherText" />
  38 + <result column="SPINE" property="spine" />
  39 + <result column="SPINE_TEXT" property="spineText" />
  40 + <result column="LYMPH" property="lymph" />
  41 + <result column="EYE_LEFT" property="eyeLeft" />
  42 + <result column="EYE_RIGHT" property="eyeRight" />
  43 + <result column="EAR_LEFT" property="earLeft" />
  44 + <result column="EAR_RIGHT" property="earRight" />
  45 + <result column="DISTINGUISH_COLOR" property="distinguishColor" />
  46 + <result column="DISTINGUISH_COLOR_TEXT" property="distinguishColorText" />
  47 + <result column="THYROID" property="thyroid" />
  48 + <result column="THYROID_TEXT" property="thyroidText" />
  49 + <result column="CHEST" property="chest" />
  50 + <result column="CHEST_TEXT" property="chestText" />
  51 + <result column="LUNG" property="lung" />
  52 + <result column="LUNG_TEXT" property="lungText" />
  53 + <result column="HEART_RATE" property="heartRate" />
  54 + <result column="HEART_RHYTHM" property="heartRhythm" />
  55 + <result column="NOISE" property="noise" />
  56 + <result column="NOISE_TEXT" property="noiseText" />
  57 + <result column="BELLY_LIVER" property="bellyLiver" />
  58 + <result column="BELLY_SPLEEN" property="bellySpleen" />
  59 + <result column="BELLY_OTHER" property="bellyOther" />
  60 + <result column="INSPECT_RESULT" property="inspectResult" />
  61 + <result column="EXCEPTION_TEXT" property="exceptionText" />
  62 + <result column="DISEASE_TEXT" property="diseaseText" />
  63 + <result column="MEDICAL_SUGGESTION" property="medicalSuggestion" />
  64 + <result column="DOCTOR_SUGGESTION" property="doctorSuggestion" />
  65 + <result column="DOCTOR_ID" property="doctorId" />
  66 + <result column="CREATE_TIME" property="createTime" />
  67 + <result column="IF_DEL" property="ifDel" />
  68 + </resultMap>
  69 +
  70 + <!-- 通用查询结果列 -->
  71 + <sql id="Base_Column_List">
  72 + ID AS id, ARCHIVE_ID AS archiveId, INSPECT_DATE AS inspectDate, ORG_ID AS orgId, SPIRIT AS spirit, SPIRIT_TEXT AS spiritText, LANGUAGE AS language, LANGUAGE_TEXT AS languageText, FACE AS face, FACE_TEXT AS faceText, BODY AS body, BODY_TEXT AS bodyText, HEIGHT AS height, WEIGHT AS weight, BLOOD_SHRINK AS bloodShrink, BLOOD_DIASTOLE AS bloodDiastole, SKIN AS skin, SKIN_PZ AS skinPz, SKIN_BH AS skinBh, SKIN_GJYC AS skinGjyc, HAIR AS hair, HAIR_FB AS hairFb, HAIR_COLOR AS hairColor, HAIR_TLBW AS hairTlbw, LIMB AS limb, LIMB_JWS AS limbJws, LIMB_MB AS limbMb, LIMB_JL AS limbJl, LIMB_ZC AS limbZc, LIMB_OTHER AS limbOther, LIMB_OTHER_TEXT AS limbOtherText, SPINE AS spine, SPINE_TEXT AS spineText, LYMPH AS lymph, EYE_LEFT AS eyeLeft, EYE_RIGHT AS eyeRight, EAR_LEFT AS earLeft, EAR_RIGHT AS earRight, DISTINGUISH_COLOR AS distinguishColor, DISTINGUISH_COLOR_TEXT AS distinguishColorText, THYROID AS thyroid, THYROID_TEXT AS thyroidText, CHEST AS chest, CHEST_TEXT AS chestText, LUNG AS lung, LUNG_TEXT AS lungText, HEART_RATE AS heartRate, HEART_RHYTHM AS heartRhythm, NOISE AS noise, NOISE_TEXT AS noiseText, BELLY_LIVER AS bellyLiver, BELLY_SPLEEN AS bellySpleen, BELLY_OTHER AS bellyOther, INSPECT_RESULT AS inspectResult, EXCEPTION_TEXT AS exceptionText, DISEASE_TEXT AS diseaseText, MEDICAL_SUGGESTION AS medicalSuggestion, DOCTOR_SUGGESTION AS doctorSuggestion, DOCTOR_ID AS doctorId, CREATE_TIME AS createTime, IF_DEL AS ifDel
  73 + </sql>
  74 +</mapper>
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectWomanMapper.java View file @ f329c75
  1 +package com.lyms.hospital.dao.inspect;
  2 +
  3 +import com.lyms.hospital.entity.inspect.MarrybeInspectWoman;
  4 +import com.baomidou.mybatisplus.mapper.BaseMapper;
  5 +import org.springframework.stereotype.Repository;
  6 +import java.io.Serializable;
  7 +/**
  8 + * <p>
  9 + * Mapper接口
  10 + * </p>
  11 + *
  12 + * @author xujiahong
  13 + * @since 2017-04-06
  14 + */
  15 +@Repository
  16 +public interface MarrybeInspectWomanMapper extends BaseMapper<MarrybeInspectWoman> {
  17 +
  18 + public Integer deleteLogicById(Serializable id);
  19 +
  20 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectWomanMapper.xml View file @ f329c75
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.lyms.hospital.dao.inspect.MarrybeInspectWomanMapper">
  4 +
  5 + <!-- 通用查询映射结果 -->
  6 + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.inspect.MarrybeInspectWoman">
  7 + <id column="ID" property="id" />
  8 + <result column="MID" property="mid" />
  9 + <result column="FIRST_BLOOD" property="firstBlood" />
  10 + <result column="MENSES_START" property="mensesStart" />
  11 + <result column="MENSES_END" property="mensesEnd" />
  12 + <result column="MENSES" property="menses" />
  13 + <result column="MENSES_LAST_DATE" property="mensesLastDate" />
  14 + <result column="DYSMENORRHEA" property="dysmenorrhea" />
  15 + <result column="HISTORY_MARRIED" property="historyMarried" />
  16 + <result column="HISTORY_WIDOWED" property="historyWidowed" />
  17 + <result column="HISTORY_DIVORCE" property="historyDivorce" />
  18 + <result column="POURED_NUM" property="pouredNum" />
  19 + <result column="CHILD_NUM" property="childNum" />
  20 + <result column="INCEST" property="incest" />
  21 + <result column="INCEST_PARENT" property="incestParent" />
  22 + <result column="INCEST_GRANDPARENT" property="incestGrandparent" />
  23 + <result column="INCEST_MATERNAL_GRANDPARENT" property="incestMaternalGrandparent" />
  24 + <result column="BODY" property="body" />
  25 + <result column="BODY_TEXT" property="bodyText" />
  26 + <result column="CHEST" property="chest" />
  27 + <result column="CHEST_TEXT" property="chestText" />
  28 + <result column="PUBES" property="pubes" />
  29 + <result column="ANUS_WY" property="anusWy" />
  30 + <result column="ANUS_FMW" property="anusFmw" />
  31 + <result column="ANUS_ZG" property="anusZg" />
  32 + <result column="ANUS_FJ" property="anusFj" />
  33 + <result column="VAGINA_WY" property="vaginaWy" />
  34 + <result column="VAGINA_YD" property="vaginaYd" />
  35 + <result column="VAGINA_GJ" property="vaginaGj" />
  36 + <result column="VAGINA_ZG" property="vaginaZg" />
  37 + <result column="VAGINA_FJ" property="vaginaFj" />
  38 + <result column="VAGINA_OTHER" property="vaginaOther" />
  39 + <result column="CREATE_TIME" property="createTime" />
  40 + <result column="IF_DEL" property="ifDel" />
  41 + </resultMap>
  42 +
  43 + <!-- 通用查询结果列 -->
  44 + <sql id="Base_Column_List">
  45 + ID AS id, MID AS mid, FIRST_BLOOD AS firstBlood, MENSES_START AS mensesStart, MENSES_END AS mensesEnd, MENSES AS menses, MENSES_LAST_DATE AS mensesLastDate, DYSMENORRHEA AS dysmenorrhea, HISTORY_MARRIED AS historyMarried, HISTORY_WIDOWED AS historyWidowed, HISTORY_DIVORCE AS historyDivorce, POURED_NUM AS pouredNum, CHILD_NUM AS childNum, INCEST AS incest, INCEST_PARENT AS incestParent, INCEST_GRANDPARENT AS incestGrandparent, INCEST_MATERNAL_GRANDPARENT AS incestMaternalGrandparent, BODY AS body, BODY_TEXT AS bodyText, CHEST AS chest, CHEST_TEXT AS chestText, PUBES AS pubes, ANUS_WY AS anusWy, ANUS_FMW AS anusFmw, ANUS_ZG AS anusZg, ANUS_FJ AS anusFj, VAGINA_WY AS vaginaWy, VAGINA_YD AS vaginaYd, VAGINA_GJ AS vaginaGj, VAGINA_ZG AS vaginaZg, VAGINA_FJ AS vaginaFj, VAGINA_OTHER AS vaginaOther, CREATE_TIME AS createTime, IF_DEL AS ifDel
  46 + </sql>
  47 +</mapper>
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/DiagnoseAssitMapper.java View file @ f329c75
1   -package com.lyms.hospital.dao.woman;
2   -
3   -import java.io.Serializable;
4   -
5   -import org.springframework.stereotype.Repository;
6   -
7   -import com.baomidou.mybatisplus.mapper.BaseMapper;
8   -import com.lyms.hospital.entity.diagnose.DiagnoseAssit;
9   -
10   -/**
11   - * <p>
12   - * Mapper接口
13   - * </p>
14   - *
15   - * @author jiangjiazhi
16   - * @since 2017-03-29
17   - */
18   -@Repository
19   -public interface DiagnoseAssitMapper extends BaseMapper<DiagnoseAssit> {
20   -
21   - public Integer deleteLogicById(Serializable id);
22   -
23   -}
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/DiagnoseAssitMapper.xml View file @ f329c75
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3   -<mapper namespace="com.lyms.hospital.dao.woman.DiagnoseAssitMapper">
4   -
5   - <!-- 通用查询映射结果 -->
6   - <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.woman.DiagnoseAssit">
7   - <id column="ID" property="id" />
8   - <result column="DIAGNOSE_ID" property="diagnoseId" />
9   - <result column="BLOODROUTINE_XHDB" property="bloodroutineXhdb" />
10   - <result column="BLOODROUTINE_BXBJS" property="bloodroutineBxbjs" />
11   - <result column="BLOODROUTINE_XXBJS" property="bloodroutineXxbjs" />
12   - <result column="BLOODROUTINE_OTHER" property="bloodroutineOther" />
13   - <result column="PISS_NDB" property="pissNdb" />
14   - <result column="PISS_NT" property="pissNt" />
15   - <result column="PISS_NTT" property="pissNtt" />
16   - <result column="PISS_NQX" property="pissNqx" />
17   - <result column="PISS_OTHER" property="pissOther" />
18   - <result column="BLOODTYPE" property="bloodtype" />
19   - <result column="BLOODTYPE_RH" property="bloodtypeRh" />
20   - <result column="BLOODTYPE_XT" property="bloodtypeXt" />
21   - <result column="LIVER_XQGBZAM" property="liverXqgbzam" />
22   - <result column="LIVER_XQGCZAM" property="liverXqgczam" />
23   - <result column="LIVER_BDB" property="liverBdb" />
24   - <result column="LIVER_ZDHS" property="liverZdhs" />
25   - <result column="LIVER_ZHDHS" property="liverZhdhs" />
26   - <result column="LIVER_BG" property="liverBg" />
27   - <result column="HEPATITISB_YGBMKY" property="hepatitisbYgbmky" />
28   - <result column="HEPATITISB_YGBMKT" property="hepatitisbYgbmkt" />
29   - <result column="HEPATITISB_YGEKY" property="hepatitisbYgeky" />
30   - <result column="HEPATITISB_YGEKT" property="hepatitisbYgekt" />
31   - <result column="HEPATITISB_YGHXKT" property="hepatitisbYghxkt" />
32   - <result column="KIDNEY_XQJG" property="kidneyXqjg" />
33   - <result column="KIDNEY_XNSD" property="kidneyXnsd" />
34   - <result column="SYPHILIS_SYJG" property="syphilisSyjg" />
35   - <result column="SYPHILIS_HIV" property="syphilisHiv" />
36   - <result column="VAGINA_DC" property="vaginaDc" />
37   - <result column="VAGINA_JSJMJ" property="vaginaJsjmj" />
38   - <result column="VAGINA_OTHER" property="vaginaOther" />
39   - <result column="VAGINA_OTHER_TXT" property="vaginaOtherTxt" />
40   - <result column="VAGINA_YDQJD" property="vaginaYdqjd" />
41   - <result column="GONORRHOEA" property="gonorrhoea" />
42   - <result column="IMAGE_BULTRASOUND" property="imageBultrasound" />
43   - <result column="IMAGE_XT" property="imageXt" />
44   - </resultMap>
45   -
46   - <!-- 通用查询结果列 -->
47   - <sql id="Base_Column_List">
48   - ID AS id, DIAGNOSE_ID AS diagnoseId, BLOODROUTINE_XHDB AS bloodroutineXhdb, BLOODROUTINE_BXBJS AS bloodroutineBxbjs, BLOODROUTINE_XXBJS AS bloodroutineXxbjs, BLOODROUTINE_OTHER AS bloodroutineOther, PISS_NDB AS pissNdb, PISS_NT AS pissNt, PISS_NTT AS pissNtt, PISS_NQX AS pissNqx, PISS_OTHER AS pissOther, BLOODTYPE AS bloodtype, BLOODTYPE_RH AS bloodtypeRh, BLOODTYPE_XT AS bloodtypeXt, LIVER_XQGBZAM AS liverXqgbzam, LIVER_XQGCZAM AS liverXqgczam, LIVER_BDB AS liverBdb, LIVER_ZDHS AS liverZdhs, LIVER_ZHDHS AS liverZhdhs, LIVER_BG AS liverBg, HEPATITISB_YGBMKY AS hepatitisbYgbmky, HEPATITISB_YGBMKT AS hepatitisbYgbmkt, HEPATITISB_YGEKY AS hepatitisbYgeky, HEPATITISB_YGEKT AS hepatitisbYgekt, HEPATITISB_YGHXKT AS hepatitisbYghxkt, KIDNEY_XQJG AS kidneyXqjg, KIDNEY_XNSD AS kidneyXnsd, SYPHILIS_SYJG AS syphilisSyjg, SYPHILIS_HIV AS syphilisHiv, VAGINA_DC AS vaginaDc, VAGINA_JSJMJ AS vaginaJsjmj, VAGINA_OTHER AS vaginaOther, VAGINA_OTHER_TXT AS vaginaOtherTxt, VAGINA_YDQJD AS vaginaYdqjd, GONORRHOEA AS gonorrhoea, IMAGE_BULTRASOUND AS imageBultrasound, IMAGE_XT AS imageXt
49   - </sql>
50   -</mapper>
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanHusbandMapper.xml View file @ f329c75
... ... @@ -20,13 +20,18 @@
20 20 <result column="HUSBAND_REGISTER_AREA" property="husbandRegisterArea" />
21 21 <result column="HUSBAND_REGISTER_STREET" property="husbandRegisterStreet" />
22 22 <result column="HUSBAND_REGISTER_DETAIL" property="husbandRegisterDetail" />
23   - <result column="WOMAN_RECORD_ID" property="womanRecordId" />
24   - <result column="CREATE_DATE" property="createDate" />
  23 + <result column="IS_PROVIDE" property="idProvide" />
  24 + <result column="BLOOD_RELATION" property="bloodRelation" />
  25 + <result column="BLOOD_RELATION_TEXT" property="bloodRelationText" />
  26 + <result column="TARGET_TYPE" property="targetType" />
  27 + <result column="TARGET_ID" property="targetId" />
  28 + <result column="CREATE_TIME" property="createTime" />
25 29 </resultMap>
26 30  
27 31 <!-- 通用查询结果列 -->
28 32 <sql id="Base_Column_List">
29   - ID AS id, HUSBAND_NAME AS husbandName, HUSBAND_PAPERS_TYPE AS husbandPapersType, HUSBAND_PAPERS_NUMBER AS husbandPapersNumber, HUSBAND_COUNTRY AS husbandCountry, HUSBAND_NATION AS husbandNation, HUSBAND_BIRTH AS husbandBirth, HUSBAND_OCCUPATION_TYPE AS husbandOccupationType, HUSBAND_CULTURE AS husbandCulture, HUSBAND_WAY AS husbandWay, HUSBAND_WORK_ADDRESS AS husbandWorkAddress, HUSBAND_REGISTER_PROVINCE AS husbandRegisterProvince, HUSBAND_REGISTER_CITY AS husbandRegisterCity, HUSBAND_REGISTER_AREA AS husbandRegisterArea, HUSBAND_REGISTER_STREET AS husbandRegisterStreet, HUSBAND_REGISTER_DETAIL AS husbandRegisterDetail, WOMAN_RECORD_ID AS womanRecordId, CREATE_DATE AS createDate
  33 + ID AS id, HUSBAND_NAME AS husbandName, HUSBAND_PAPERS_TYPE AS husbandPapersType, HUSBAND_PAPERS_NUMBER AS husbandPapersNumber, HUSBAND_COUNTRY AS husbandCountry, HUSBAND_NATION AS husbandNation, HUSBAND_BIRTH AS husbandBirth, HUSBAND_OCCUPATION_TYPE AS husbandOccupationType, HUSBAND_CULTURE AS husbandCulture, HUSBAND_WAY AS husbandWay, HUSBAND_WORK_ADDRESS AS husbandWorkAddress, HUSBAND_REGISTER_PROVINCE AS husbandRegisterProvince, HUSBAND_REGISTER_CITY AS husbandRegisterCity, HUSBAND_REGISTER_AREA AS husbandRegisterArea, HUSBAND_REGISTER_STREET AS husbandRegisterStreet, HUSBAND_REGISTER_DETAIL AS husbandRegisterDetail
  34 + , IS_PROVIDE AS idProvide, BLOOD_RELATION AS bloodRelation, BLOOD_RELATION_TEXT AS bloodRelationText, TARGET_TYPE AS targetType, TARGET_ID AS targetId, CREATE_TIME AS createTime
30 35 </sql>
31 36 </mapper>
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/changehospital/HighriskChangeHospital.java View file @ f329c75
... ... @@ -70,15 +70,20 @@
70 70 @TableField(value="CREATE_ID")
71 71 private String createId;
72 72 /**
  73 + * 状态:1待接收,2已接收
  74 + */
  75 + @TableField(value="STATUS")
  76 + private Integer status;
  77 + /**
73 78 * 创建时间
74 79 */
75 80 @TableField(value="CREATE_TIME")
76 81 private Date createTime;
77 82 /**
78   - * 状态:1待接收,2已接收
  83 + * 接收时间
79 84 */
80   - @TableField(value="STATUS")
81   - private Integer status;
  85 + @TableField(value="RECEIVE_TIME")
  86 + private Date receiveTime;
82 87  
83 88 public String getId() {
84 89 return id;
... ... @@ -175,6 +180,16 @@
175 180 public void setStatus(Integer status) {
176 181 this.status = status;
177 182 }
  183 +
  184 + public Date getReceiveTime() {
  185 + return receiveTime;
  186 + }
  187 +
  188 + public void setReceiveTime(Date receiveTime) {
  189 + this.receiveTime = receiveTime;
  190 + }
  191 +
  192 +
178 193  
179 194 }
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/diagnose/DiagnoseAssit.java View file @ f329c75
1   -package com.lyms.hospital.entity.diagnose;
2   -
3   -import java.io.Serializable;
4   -
5   -import com.baomidou.mybatisplus.annotations.TableField;
6   -import com.baomidou.mybatisplus.annotations.TableId;
7   -import com.baomidou.mybatisplus.annotations.TableName;
8   -
9   -/**
10   - * <p>
11   - * 辅助检查项
12   - * </p>
13   - *
14   - * @author jiangjiazhi
15   - * @since 2017-03-29
16   - */
17   -@TableName("DIAGNOSE_ASSIT")
18   -public class DiagnoseAssit implements Serializable {
19   -
20   - private static final long serialVersionUID = 1L;
21   -
22   - /**
23   - *
24   - */
25   - @TableId(value = "ID")
26   - private String id;
27   - /**
28   - * 诊断ID,或婚前检查ID
29   - */
30   - @TableField(value = "DIAGNOSE_ID")
31   - private String diagnoseId;
32   - /**
33   - * 血红蛋白
34   - */
35   - @TableField(value = "BLOODROUTINE_XHDB")
36   - private Integer bloodroutineXhdb;
37   - /**
38   - * 白细胞计数
39   - */
40   - @TableField(value = "BLOODROUTINE_BXBJS")
41   - private Integer bloodroutineBxbjs;
42   - /**
43   - * 血小板计数
44   - */
45   - @TableField(value = "BLOODROUTINE_XXBJS")
46   - private Integer bloodroutineXxbjs;
47   - /**
48   - * 其他
49   - */
50   - @TableField(value = "BLOODROUTINE_OTHER")
51   - private String bloodroutineOther;
52   - /**
53   - * 尿蛋白
54   - */
55   - @TableField(value = "PISS_NDB")
56   - private String pissNdb;
57   - /**
58   - * 尿糖
59   - */
60   - @TableField(value = "PISS_NT")
61   - private String pissNt;
62   - /**
63   - * 尿酮体
64   - */
65   - @TableField(value = "PISS_NTT")
66   - private String pissNtt;
67   - /**
68   - * 尿潜血
69   - */
70   - @TableField(value = "PISS_NQX")
71   - private String pissNqx;
72   - /**
73   - * 其他
74   - */
75   - @TableField(value = "PISS_OTHER")
76   - private String pissOther;
77   - /**
78   - * 血型
79   - */
80   - @TableField(value = "BLOODTYPE")
81   - private String bloodtype;
82   - /**
83   - * RH血型
84   - */
85   - @TableField(value = "BLOODTYPE_RH")
86   - private Integer bloodtypeRh;
87   - /**
88   - * 血糖
89   - */
90   - @TableField(value = "BLOODTYPE_XT")
91   - private String bloodtypeXt;
92   - /**
93   - * 血清谷丙转氨酶
94   - */
95   - @TableField(value = "LIVER_XQGBZAM")
96   - private Integer liverXqgbzam;
97   - /**
98   - * 血清谷草转氨酶
99   - */
100   - @TableField(value = "LIVER_XQGCZAM")
101   - private Integer liverXqgczam;
102   - /**
103   - * 白蛋白
104   - */
105   - @TableField(value = "LIVER_BDB")
106   - private Integer liverBdb;
107   - /**
108   - * 总胆红素
109   - */
110   - @TableField(value = "LIVER_ZDHS")
111   - private Integer liverZdhs;
112   - /**
113   - * 综合胆红素
114   - */
115   - @TableField(value = "LIVER_ZHDHS")
116   - private Integer liverZhdhs;
117   - /**
118   - * 丙肝
119   - */
120   - @TableField(value = "LIVER_BG")
121   - private Integer liverBg;
122   - /**
123   - * 乙肝表面抗原
124   - */
125   - @TableField(value = "HEPATITISB_YGBMKY")
126   - private Integer hepatitisbYgbmky;
127   - /**
128   - * 乙肝表面抗体
129   - */
130   - @TableField(value = "HEPATITISB_YGBMKT")
131   - private Integer hepatitisbYgbmkt;
132   - /**
133   - * 乙肝E抗原
134   - */
135   - @TableField(value = "HEPATITISB_YGEKY")
136   - private Integer hepatitisbYgeky;
137   - /**
138   - * 乙肝E抗体
139   - */
140   - @TableField(value = "HEPATITISB_YGEKT")
141   - private Integer hepatitisbYgekt;
142   - /**
143   - * 乙肝核心抗体
144   - */
145   - @TableField(value = "HEPATITISB_YGHXKT")
146   - private Integer hepatitisbYghxkt;
147   - /**
148   - * 血清肌酐
149   - */
150   - @TableField(value = "KIDNEY_XQJG")
151   - private Integer kidneyXqjg;
152   - /**
153   - * 血尿素氮
154   - */
155   - @TableField(value = "KIDNEY_XNSD")
156   - private Integer kidneyXnsd;
157   - /**
158   - * 梅毒血清实验-实验结果
159   - */
160   - @TableField(value = "SYPHILIS_SYJG")
161   - private Integer syphilisSyjg;
162   - /**
163   - * HIV抗体检测
164   - */
165   - @TableField(value = "SYPHILIS_HIV")
166   - private Integer syphilisHiv;
167   - /**
168   - * 阴道分泌物-滴虫
169   - */
170   - @TableField(value = "VAGINA_DC")
171   - private Integer vaginaDc;
172   - /**
173   - * 假丝酵母菌
174   - */
175   - @TableField(value = "VAGINA_JSJMJ")
176   - private Integer vaginaJsjmj;
177   - /**
178   - * 其他
179   - */
180   - @TableField(value = "VAGINA_OTHER")
181   - private Integer vaginaOther;
182   - /**
183   - * 其他文本
184   - */
185   - @TableField(value = "VAGINA_OTHER_TXT")
186   - private String vaginaOtherTxt;
187   - /**
188   - * 阴道清洁度
189   - */
190   - @TableField(value = "VAGINA_YDQJD")
191   - private Integer vaginaYdqjd;
192   - /**
193   - * 淋病
194   - */
195   - @TableField(value = "GONORRHOEA")
196   - private String gonorrhoea;
197   - /**
198   - * B超描述
199   - */
200   - @TableField(value = "IMAGE_BULTRASOUND")
201   - private String imageBultrasound;
202   - /**
203   - * 胸透描述
204   - */
205   - @TableField(value = "IMAGE_XT")
206   - private String imageXt;
207   -
208   - public String getId() {
209   - return id;
210   - }
211   -
212   - public void setId(String id) {
213   - this.id = id;
214   - }
215   -
216   - public String getDiagnoseId() {
217   - return diagnoseId;
218   - }
219   -
220   - public void setDiagnoseId(String diagnoseId) {
221   - this.diagnoseId = diagnoseId;
222   - }
223   -
224   - public Integer getBloodroutineXhdb() {
225   - return bloodroutineXhdb;
226   - }
227   -
228   - public void setBloodroutineXhdb(Integer bloodroutineXhdb) {
229   - this.bloodroutineXhdb = bloodroutineXhdb;
230   - }
231   -
232   - public Integer getBloodroutineBxbjs() {
233   - return bloodroutineBxbjs;
234   - }
235   -
236   - public void setBloodroutineBxbjs(Integer bloodroutineBxbjs) {
237   - this.bloodroutineBxbjs = bloodroutineBxbjs;
238   - }
239   -
240   - public Integer getBloodroutineXxbjs() {
241   - return bloodroutineXxbjs;
242   - }
243   -
244   - public void setBloodroutineXxbjs(Integer bloodroutineXxbjs) {
245   - this.bloodroutineXxbjs = bloodroutineXxbjs;
246   - }
247   -
248   - public String getBloodroutineOther() {
249   - return bloodroutineOther;
250   - }
251   -
252   - public void setBloodroutineOther(String bloodroutineOther) {
253   - this.bloodroutineOther = bloodroutineOther;
254   - }
255   -
256   - public String getPissNdb() {
257   - return pissNdb;
258   - }
259   -
260   - public void setPissNdb(String pissNdb) {
261   - this.pissNdb = pissNdb;
262   - }
263   -
264   - public String getPissNt() {
265   - return pissNt;
266   - }
267   -
268   - public void setPissNt(String pissNt) {
269   - this.pissNt = pissNt;
270   - }
271   -
272   - public String getPissNtt() {
273   - return pissNtt;
274   - }
275   -
276   - public void setPissNtt(String pissNtt) {
277   - this.pissNtt = pissNtt;
278   - }
279   -
280   - public String getPissNqx() {
281   - return pissNqx;
282   - }
283   -
284   - public void setPissNqx(String pissNqx) {
285   - this.pissNqx = pissNqx;
286   - }
287   -
288   - public String getPissOther() {
289   - return pissOther;
290   - }
291   -
292   - public void setPissOther(String pissOther) {
293   - this.pissOther = pissOther;
294   - }
295   -
296   - public String getBloodtype() {
297   - return bloodtype;
298   - }
299   -
300   - public void setBloodtype(String bloodtype) {
301   - this.bloodtype = bloodtype;
302   - }
303   -
304   - public Integer getBloodtypeRh() {
305   - return bloodtypeRh;
306   - }
307   -
308   - public void setBloodtypeRh(Integer bloodtypeRh) {
309   - this.bloodtypeRh = bloodtypeRh;
310   - }
311   -
312   - public String getBloodtypeXt() {
313   - return bloodtypeXt;
314   - }
315   -
316   - public void setBloodtypeXt(String bloodtypeXt) {
317   - this.bloodtypeXt = bloodtypeXt;
318   - }
319   -
320   - public Integer getLiverXqgbzam() {
321   - return liverXqgbzam;
322   - }
323   -
324   - public void setLiverXqgbzam(Integer liverXqgbzam) {
325   - this.liverXqgbzam = liverXqgbzam;
326   - }
327   -
328   - public Integer getLiverXqgczam() {
329   - return liverXqgczam;
330   - }
331   -
332   - public void setLiverXqgczam(Integer liverXqgczam) {
333   - this.liverXqgczam = liverXqgczam;
334   - }
335   -
336   - public Integer getLiverBdb() {
337   - return liverBdb;
338   - }
339   -
340   - public void setLiverBdb(Integer liverBdb) {
341   - this.liverBdb = liverBdb;
342   - }
343   -
344   - public Integer getLiverZdhs() {
345   - return liverZdhs;
346   - }
347   -
348   - public void setLiverZdhs(Integer liverZdhs) {
349   - this.liverZdhs = liverZdhs;
350   - }
351   -
352   - public Integer getLiverZhdhs() {
353   - return liverZhdhs;
354   - }
355   -
356   - public void setLiverZhdhs(Integer liverZhdhs) {
357   - this.liverZhdhs = liverZhdhs;
358   - }
359   -
360   - public Integer getLiverBg() {
361   - return liverBg;
362   - }
363   -
364   - public void setLiverBg(Integer liverBg) {
365   - this.liverBg = liverBg;
366   - }
367   -
368   - public Integer getHepatitisbYgbmky() {
369   - return hepatitisbYgbmky;
370   - }
371   -
372   - public void setHepatitisbYgbmky(Integer hepatitisbYgbmky) {
373   - this.hepatitisbYgbmky = hepatitisbYgbmky;
374   - }
375   -
376   - public Integer getHepatitisbYgbmkt() {
377   - return hepatitisbYgbmkt;
378   - }
379   -
380   - public void setHepatitisbYgbmkt(Integer hepatitisbYgbmkt) {
381   - this.hepatitisbYgbmkt = hepatitisbYgbmkt;
382   - }
383   -
384   - public Integer getHepatitisbYgeky() {
385   - return hepatitisbYgeky;
386   - }
387   -
388   - public void setHepatitisbYgeky(Integer hepatitisbYgeky) {
389   - this.hepatitisbYgeky = hepatitisbYgeky;
390   - }
391   -
392   - public Integer getHepatitisbYgekt() {
393   - return hepatitisbYgekt;
394   - }
395   -
396   - public void setHepatitisbYgekt(Integer hepatitisbYgekt) {
397   - this.hepatitisbYgekt = hepatitisbYgekt;
398   - }
399   -
400   - public Integer getHepatitisbYghxkt() {
401   - return hepatitisbYghxkt;
402   - }
403   -
404   - public void setHepatitisbYghxkt(Integer hepatitisbYghxkt) {
405   - this.hepatitisbYghxkt = hepatitisbYghxkt;
406   - }
407   -
408   - public Integer getKidneyXqjg() {
409   - return kidneyXqjg;
410   - }
411   -
412   - public void setKidneyXqjg(Integer kidneyXqjg) {
413   - this.kidneyXqjg = kidneyXqjg;
414   - }
415   -
416   - public Integer getKidneyXnsd() {
417   - return kidneyXnsd;
418   - }
419   -
420   - public void setKidneyXnsd(Integer kidneyXnsd) {
421   - this.kidneyXnsd = kidneyXnsd;
422   - }
423   -
424   - public Integer getSyphilisSyjg() {
425   - return syphilisSyjg;
426   - }
427   -
428   - public void setSyphilisSyjg(Integer syphilisSyjg) {
429   - this.syphilisSyjg = syphilisSyjg;
430   - }
431   -
432   - public Integer getSyphilisHiv() {
433   - return syphilisHiv;
434   - }
435   -
436   - public void setSyphilisHiv(Integer syphilisHiv) {
437   - this.syphilisHiv = syphilisHiv;
438   - }
439   -
440   - public Integer getVaginaDc() {
441   - return vaginaDc;
442   - }
443   -
444   - public void setVaginaDc(Integer vaginaDc) {
445   - this.vaginaDc = vaginaDc;
446   - }
447   -
448   - public Integer getVaginaJsjmj() {
449   - return vaginaJsjmj;
450   - }
451   -
452   - public void setVaginaJsjmj(Integer vaginaJsjmj) {
453   - this.vaginaJsjmj = vaginaJsjmj;
454   - }
455   -
456   - public Integer getVaginaOther() {
457   - return vaginaOther;
458   - }
459   -
460   - public void setVaginaOther(Integer vaginaOther) {
461   - this.vaginaOther = vaginaOther;
462   - }
463   -
464   - public String getVaginaOtherTxt() {
465   - return vaginaOtherTxt;
466   - }
467   -
468   - public void setVaginaOtherTxt(String vaginaOtherTxt) {
469   - this.vaginaOtherTxt = vaginaOtherTxt;
470   - }
471   -
472   - public Integer getVaginaYdqjd() {
473   - return vaginaYdqjd;
474   - }
475   -
476   - public void setVaginaYdqjd(Integer vaginaYdqjd) {
477   - this.vaginaYdqjd = vaginaYdqjd;
478   - }
479   -
480   - public String getGonorrhoea() {
481   - return gonorrhoea;
482   - }
483   -
484   - public void setGonorrhoea(String gonorrhoea) {
485   - this.gonorrhoea = gonorrhoea;
486   - }
487   -
488   - public String getImageBultrasound() {
489   - return imageBultrasound;
490   - }
491   -
492   - public void setImageBultrasound(String imageBultrasound) {
493   - this.imageBultrasound = imageBultrasound;
494   - }
495   -
496   - public String getImageXt() {
497   - return imageXt;
498   - }
499   -
500   - public void setImageXt(String imageXt) {
501   - this.imageXt = imageXt;
502   - }
503   -
504   -}
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/inspect/InspectManVo.java View file @ f329c75
  1 +package com.lyms.hospital.entity.inspect;
  2 +
  3 +public class InspectManVo extends InspectVo {
  4 +
  5 + private MarrybeInspectMan inspectMan;//男性婚检信息
  6 +
  7 + public MarrybeInspectMan getInspectMan() {
  8 + return inspectMan;
  9 + }
  10 + public void setInspectMan(MarrybeInspectMan inspectMan) {
  11 + this.inspectMan = inspectMan;
  12 + }
  13 +
  14 +
  15 +
  16 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/inspect/InspectVo.java View file @ f329c75
  1 +package com.lyms.hospital.entity.inspect;
  2 +
  3 +import com.lyms.hospital.entity.assist.DiagnoseAssit;
  4 +import com.lyms.hospital.entity.woman.WomanHusband;
  5 +
  6 +public class InspectVo {
  7 +
  8 + private MarrybeInspect inspect;//基础婚检信息
  9 + private WomanHusband wh;//配偶信息
  10 + private DiagnoseAssit assist;//辅助检查
  11 +
  12 + public MarrybeInspect getInspect() {
  13 + return inspect;
  14 + }
  15 + public void setInspect(MarrybeInspect inspect) {
  16 + this.inspect = inspect;
  17 + }
  18 + public WomanHusband getWh() {
  19 + return wh;
  20 + }
  21 + public void setWh(WomanHusband wh) {
  22 + this.wh = wh;
  23 + }
  24 + public DiagnoseAssit getAssist() {
  25 + return assist;
  26 + }
  27 + public void setAssist(DiagnoseAssit assist) {
  28 + this.assist = assist;
  29 + }
  30 +
  31 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/inspect/InspectWomanVo.java View file @ f329c75
  1 +package com.lyms.hospital.entity.inspect;
  2 +
  3 +public class InspectWomanVo extends InspectVo {
  4 +
  5 + private MarrybeInspectWoman inspectWoman;//女性婚检信息
  6 +
  7 + public MarrybeInspectWoman getInspectWoman() {
  8 + return inspectWoman;
  9 + }
  10 + public void setInspectWoman(MarrybeInspectWoman inspectWoman) {
  11 + this.inspectWoman = inspectWoman;
  12 + }
  13 +
  14 +
  15 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/inspect/MarrybeInspect.java View file @ f329c75
  1 +package com.lyms.hospital.entity.inspect;
  2 +
  3 +import com.baomidou.mybatisplus.annotations.TableId;
  4 +import com.baomidou.mybatisplus.annotations.TableField;
  5 +import com.baomidou.mybatisplus.annotations.TableName;
  6 +import java.io.Serializable;
  7 +import java.util.Date;
  8 +
  9 +/**
  10 + * <p>
  11 + *
  12 + * </p>
  13 + *
  14 + * @author xujiahong
  15 + * @since 2017-04-06
  16 + */
  17 +@TableName("MARRYBE_INSPECT")
  18 +public class MarrybeInspect implements Serializable {
  19 +
  20 + private static final long serialVersionUID = 1L;
  21 +
  22 + /**
  23 + * ID(婚前检查基础表)
  24 + */
  25 + @TableId(value="ID")
  26 + private String id;
  27 + /**
  28 + * 档案ID
  29 + */
  30 + @TableField(value="ARCHIVE_ID")
  31 + private String archiveId;
  32 + /**
  33 + * 婚检日期
  34 + */
  35 + @TableField(value="INSPECT_DATE")
  36 + private Date inspectDate;
  37 + /**
  38 + * 检查医院
  39 + */
  40 + @TableField(value="ORG_ID")
  41 + private String orgId;
  42 + /**
  43 + * 精神状态:1正常,2异常
  44 + */
  45 + @TableField(value="SPIRIT")
  46 + private Integer spirit;
  47 + /**
  48 + * 精神状态异常文本
  49 + */
  50 + @TableField(value="SPIRIT_TEXT")
  51 + private String spiritText;
  52 + /**
  53 + * 语言能力:1正常,2异常
  54 + */
  55 + @TableField(value="LANGUAGE")
  56 + private Integer language;
  57 + /**
  58 + * 语言能力异常文本
  59 + */
  60 + @TableField(value="LANGUAGE_TEXT")
  61 + private String languageText;
  62 + /**
  63 + * 特殊面容:1正常,2异常
  64 + */
  65 + @TableField(value="FACE")
  66 + private Integer face;
  67 + /**
  68 + * 特殊面容异常文本
  69 + */
  70 + @TableField(value="FACE_TEXT")
  71 + private String faceText;
  72 + /**
  73 + * 特殊体态:1正常,2异常
  74 + */
  75 + @TableField(value="BODY")
  76 + private Integer body;
  77 + /**
  78 + * 特殊体态异常文本
  79 + */
  80 + @TableField(value="BODY_TEXT")
  81 + private String bodyText;
  82 + /**
  83 + * 身高
  84 + */
  85 + @TableField(value="HEIGHT")
  86 + private Float height;
  87 + /**
  88 + * 体重
  89 + */
  90 + @TableField(value="WEIGHT")
  91 + private Float weight;
  92 + /**
  93 + * 收缩压
  94 + */
  95 + @TableField(value="BLOOD_SHRINK")
  96 + private Integer bloodShrink;
  97 + /**
  98 + * 舒张压
  99 + */
  100 + @TableField(value="BLOOD_DIASTOLE")
  101 + private Integer bloodDiastole;
  102 + /**
  103 + * 皮肤状态:1正常,2异常
  104 + */
  105 + @TableField(value="SKIN")
  106 + private Integer skin;
  107 + /**
  108 + * 皮疹文本
  109 + */
  110 + @TableField(value="SKIN_PZ")
  111 + private String skinPz;
  112 + /**
  113 + * 闭汗文本
  114 + */
  115 + @TableField(value="SKIN_BH")
  116 + private String skinBh;
  117 + /**
  118 + * 感觉异常文本
  119 + */
  120 + @TableField(value="SKIN_GJYC")
  121 + private String skinGjyc;
  122 + /**
  123 + * 毛发状态:1正常,2异常
  124 + */
  125 + @TableField(value="HAIR")
  126 + private Integer hair;
  127 + /**
  128 + * 分布文本
  129 + */
  130 + @TableField(value="HAIR_FB")
  131 + private String hairFb;
  132 + /**
  133 + * 颜色文本
  134 + */
  135 + @TableField(value="HAIR_COLOR")
  136 + private String hairColor;
  137 + /**
  138 + * 脱离部位文本
  139 + */
  140 + @TableField(value="HAIR_TLBW")
  141 + private String hairTlbw;
  142 + /**
  143 + * 四肢状态:1正常,2异常
  144 + */
  145 + @TableField(value="LIMB")
  146 + private Integer limb;
  147 + /**
  148 + * 肌萎缩:1是,0否
  149 + */
  150 + @TableField(value="LIMB_JWS")
  151 + private Integer limbJws;
  152 + /**
  153 + * 麻痹:1是,0否
  154 + */
  155 + @TableField(value="LIMB_MB")
  156 + private Integer limbMb;
  157 + /**
  158 + * 痉挛:1是,0否
  159 + */
  160 + @TableField(value="LIMB_JL")
  161 + private Integer limbJl;
  162 + /**
  163 + * 震颤:1是,0否
  164 + */
  165 + @TableField(value="LIMB_ZC")
  166 + private Integer limbZc;
  167 + /**
  168 + * 其他:1是,0否
  169 + */
  170 + @TableField(value="LIMB_OTHER")
  171 + private Integer limbOther;
  172 + /**
  173 + * 四肢-其他文本
  174 + */
  175 + @TableField(value="LIMB_OTHER_TEXT")
  176 + private String limbOtherText;
  177 + /**
  178 + * 脊柱状态:1正常,2异常
  179 + */
  180 + @TableField(value="SPINE")
  181 + private Integer spine;
  182 + /**
  183 + * 脊柱异常文本
  184 + */
  185 + @TableField(value="SPINE_TEXT")
  186 + private String spineText;
  187 + /**
  188 + * 浅表淋巴结
  189 + */
  190 + @TableField(value="LYMPH")
  191 + private String lymph;
  192 + /**
  193 + * 左眼视力
  194 + */
  195 + @TableField(value="EYE_LEFT")
  196 + private Float eyeLeft;
  197 + /**
  198 + * 右眼视力
  199 + */
  200 + @TableField(value="EYE_RIGHT")
  201 + private Float eyeRight;
  202 + /**
  203 + * 左耳听力
  204 + */
  205 + @TableField(value="EAR_LEFT")
  206 + private Float earLeft;
  207 + /**
  208 + * 右耳听力
  209 + */
  210 + @TableField(value="EAR_RIGHT")
  211 + private Float earRight;
  212 + /**
  213 + * 辨色能力:1正常,2异常
  214 + */
  215 + @TableField(value="DISTINGUISH_COLOR")
  216 + private Integer distinguishColor;
  217 + /**
  218 + * 辨色能力异常文本
  219 + */
  220 + @TableField(value="DISTINGUISH_COLOR_TEXT")
  221 + private String distinguishColorText;
  222 + /**
  223 + * 甲状腺:1正常,2异常
  224 + */
  225 + @TableField(value="THYROID")
  226 + private Integer thyroid;
  227 + /**
  228 + * 甲状腺异常文本
  229 + */
  230 + @TableField(value="THYROID_TEXT")
  231 + private String thyroidText;
  232 + /**
  233 + * 胸廓:1正常,2异常
  234 + */
  235 + @TableField(value="CHEST")
  236 + private Integer chest;
  237 + /**
  238 + * 胸廓异常文本
  239 + */
  240 + @TableField(value="CHEST_TEXT")
  241 + private String chestText;
  242 + /**
  243 + * 肺:1正常,2异常
  244 + */
  245 + @TableField(value="LUNG")
  246 + private Integer lung;
  247 + /**
  248 + * 肺异常文本
  249 + */
  250 + @TableField(value="LUNG_TEXT")
  251 + private String lungText;
  252 + /**
  253 + * 心率
  254 + */
  255 + @TableField(value="HEART_RATE")
  256 + private Integer heartRate;
  257 + /**
  258 + * 心律
  259 + */
  260 + @TableField(value="HEART_RHYTHM")
  261 + private Integer heartRhythm;
  262 + /**
  263 + * 杂音:1正常,2异常
  264 + */
  265 + @TableField(value="NOISE")
  266 + private Integer noise;
  267 + /**
  268 + * 杂音异常文本
  269 + */
  270 + @TableField(value="NOISE_TEXT")
  271 + private String noiseText;
  272 + /**
  273 + * 腹部-肝
  274 + */
  275 + @TableField(value="BELLY_LIVER")
  276 + private String bellyLiver;
  277 + /**
  278 + * 腹部-脾
  279 + */
  280 + @TableField(value="BELLY_SPLEEN")
  281 + private String bellySpleen;
  282 + /**
  283 + * 腹部-其他
  284 + */
  285 + @TableField(value="BELLY_OTHER")
  286 + private String bellyOther;
  287 + /**
  288 + * 检查结果:1正常,2异常
  289 + */
  290 + @TableField(value="INSPECT_RESULT")
  291 + private Integer inspectResult;
  292 + /**
  293 + * 异常情况
  294 + */
  295 + @TableField(value="EXCEPTION_TEXT")
  296 + private String exceptionText;
  297 + /**
  298 + * 疾病诊断
  299 + */
  300 + @TableField(value="DISEASE_TEXT")
  301 + private String diseaseText;
  302 + /**
  303 + * 医学意见(文字不匹配则算做其它)
  304 + */
  305 + @TableField(value="MEDICAL_SUGGESTION")
  306 + private String medicalSuggestion;
  307 + /**
  308 + * 指导意见
  309 + */
  310 + @TableField(value="DOCTOR_SUGGESTION")
  311 + private String doctorSuggestion;
  312 + /**
  313 + * 婚检医生
  314 + */
  315 + @TableField(value="DOCTOR_ID")
  316 + private String doctorId;
  317 + /**
  318 + * 创建时间
  319 + */
  320 + @TableField(value="CREATE_TIME")
  321 + private Date createTime;
  322 + /**
  323 + * 软删除标识:1删除,0正常
  324 + */
  325 + @TableField(value="IF_DEL")
  326 + private Integer ifDel;
  327 +
  328 +
  329 + public String getId() {
  330 + return id;
  331 + }
  332 +
  333 + public void setId(String id) {
  334 + this.id = id;
  335 + }
  336 +
  337 + public String getArchiveId() {
  338 + return archiveId;
  339 + }
  340 +
  341 + public void setArchiveId(String archiveId) {
  342 + this.archiveId = archiveId;
  343 + }
  344 +
  345 + public Date getInspectDate() {
  346 + return inspectDate;
  347 + }
  348 +
  349 + public void setInspectDate(Date inspectDate) {
  350 + this.inspectDate = inspectDate;
  351 + }
  352 +
  353 + public String getOrgId() {
  354 + return orgId;
  355 + }
  356 +
  357 + public void setOrgId(String orgId) {
  358 + this.orgId = orgId;
  359 + }
  360 +
  361 + public Integer getSpirit() {
  362 + return spirit;
  363 + }
  364 +
  365 + public void setSpirit(Integer spirit) {
  366 + this.spirit = spirit;
  367 + }
  368 +
  369 + public String getSpiritText() {
  370 + return spiritText;
  371 + }
  372 +
  373 + public void setSpiritText(String spiritText) {
  374 + this.spiritText = spiritText;
  375 + }
  376 +
  377 + public Integer getLanguage() {
  378 + return language;
  379 + }
  380 +
  381 + public void setLanguage(Integer language) {
  382 + this.language = language;
  383 + }
  384 +
  385 + public String getLanguageText() {
  386 + return languageText;
  387 + }
  388 +
  389 + public void setLanguageText(String languageText) {
  390 + this.languageText = languageText;
  391 + }
  392 +
  393 + public Integer getFace() {
  394 + return face;
  395 + }
  396 +
  397 + public void setFace(Integer face) {
  398 + this.face = face;
  399 + }
  400 +
  401 + public String getFaceText() {
  402 + return faceText;
  403 + }
  404 +
  405 + public void setFaceText(String faceText) {
  406 + this.faceText = faceText;
  407 + }
  408 +
  409 + public Integer getBody() {
  410 + return body;
  411 + }
  412 +
  413 + public void setBody(Integer body) {
  414 + this.body = body;
  415 + }
  416 +
  417 + public String getBodyText() {
  418 + return bodyText;
  419 + }
  420 +
  421 + public void setBodyText(String bodyText) {
  422 + this.bodyText = bodyText;
  423 + }
  424 +
  425 + public Float getHeight() {
  426 + return height;
  427 + }
  428 +
  429 + public void setHeight(Float height) {
  430 + this.height = height;
  431 + }
  432 +
  433 + public Float getWeight() {
  434 + return weight;
  435 + }
  436 +
  437 + public void setWeight(Float weight) {
  438 + this.weight = weight;
  439 + }
  440 +
  441 + public Integer getBloodShrink() {
  442 + return bloodShrink;
  443 + }
  444 +
  445 + public void setBloodShrink(Integer bloodShrink) {
  446 + this.bloodShrink = bloodShrink;
  447 + }
  448 +
  449 + public Integer getBloodDiastole() {
  450 + return bloodDiastole;
  451 + }
  452 +
  453 + public void setBloodDiastole(Integer bloodDiastole) {
  454 + this.bloodDiastole = bloodDiastole;
  455 + }
  456 +
  457 + public Integer getSkin() {
  458 + return skin;
  459 + }
  460 +
  461 + public void setSkin(Integer skin) {
  462 + this.skin = skin;
  463 + }
  464 +
  465 + public String getSkinPz() {
  466 + return skinPz;
  467 + }
  468 +
  469 + public void setSkinPz(String skinPz) {
  470 + this.skinPz = skinPz;
  471 + }
  472 +
  473 + public String getSkinBh() {
  474 + return skinBh;
  475 + }
  476 +
  477 + public void setSkinBh(String skinBh) {
  478 + this.skinBh = skinBh;
  479 + }
  480 +
  481 + public String getSkinGjyc() {
  482 + return skinGjyc;
  483 + }
  484 +
  485 + public void setSkinGjyc(String skinGjyc) {
  486 + this.skinGjyc = skinGjyc;
  487 + }
  488 +
  489 + public Integer getHair() {
  490 + return hair;
  491 + }
  492 +
  493 + public void setHair(Integer hair) {
  494 + this.hair = hair;
  495 + }
  496 +
  497 + public String getHairFb() {
  498 + return hairFb;
  499 + }
  500 +
  501 + public void setHairFb(String hairFb) {
  502 + this.hairFb = hairFb;
  503 + }
  504 +
  505 + public String getHairColor() {
  506 + return hairColor;
  507 + }
  508 +
  509 + public void setHairColor(String hairColor) {
  510 + this.hairColor = hairColor;
  511 + }
  512 +
  513 + public String getHairTlbw() {
  514 + return hairTlbw;
  515 + }
  516 +
  517 + public void setHairTlbw(String hairTlbw) {
  518 + this.hairTlbw = hairTlbw;
  519 + }
  520 +
  521 + public Integer getLimb() {
  522 + return limb;
  523 + }
  524 +
  525 + public void setLimb(Integer limb) {
  526 + this.limb = limb;
  527 + }
  528 +
  529 + public Integer getLimbJws() {
  530 + return limbJws;
  531 + }
  532 +
  533 + public void setLimbJws(Integer limbJws) {
  534 + this.limbJws = limbJws;
  535 + }
  536 +
  537 + public Integer getLimbMb() {
  538 + return limbMb;
  539 + }
  540 +
  541 + public void setLimbMb(Integer limbMb) {
  542 + this.limbMb = limbMb;
  543 + }
  544 +
  545 + public Integer getLimbJl() {
  546 + return limbJl;
  547 + }
  548 +
  549 + public void setLimbJl(Integer limbJl) {
  550 + this.limbJl = limbJl;
  551 + }
  552 +
  553 + public Integer getLimbZc() {
  554 + return limbZc;
  555 + }
  556 +
  557 + public void setLimbZc(Integer limbZc) {
  558 + this.limbZc = limbZc;
  559 + }
  560 +
  561 + public Integer getLimbOther() {
  562 + return limbOther;
  563 + }
  564 +
  565 + public void setLimbOther(Integer limbOther) {
  566 + this.limbOther = limbOther;
  567 + }
  568 +
  569 + public String getLimbOtherText() {
  570 + return limbOtherText;
  571 + }
  572 +
  573 + public void setLimbOtherText(String limbOtherText) {
  574 + this.limbOtherText = limbOtherText;
  575 + }
  576 +
  577 + public Integer getSpine() {
  578 + return spine;
  579 + }
  580 +
  581 + public void setSpine(Integer spine) {
  582 + this.spine = spine;
  583 + }
  584 +
  585 + public String getSpineText() {
  586 + return spineText;
  587 + }
  588 +
  589 + public void setSpineText(String spineText) {
  590 + this.spineText = spineText;
  591 + }
  592 +
  593 + public String getLymph() {
  594 + return lymph;
  595 + }
  596 +
  597 + public void setLymph(String lymph) {
  598 + this.lymph = lymph;
  599 + }
  600 +
  601 + public Float getEyeLeft() {
  602 + return eyeLeft;
  603 + }
  604 +
  605 + public void setEyeLeft(Float eyeLeft) {
  606 + this.eyeLeft = eyeLeft;
  607 + }
  608 +
  609 + public Float getEyeRight() {
  610 + return eyeRight;
  611 + }
  612 +
  613 + public void setEyeRight(Float eyeRight) {
  614 + this.eyeRight = eyeRight;
  615 + }
  616 +
  617 + public Float getEarLeft() {
  618 + return earLeft;
  619 + }
  620 +
  621 + public void setEarLeft(Float earLeft) {
  622 + this.earLeft = earLeft;
  623 + }
  624 +
  625 + public Float getEarRight() {
  626 + return earRight;
  627 + }
  628 +
  629 + public void setEarRight(Float earRight) {
  630 + this.earRight = earRight;
  631 + }
  632 +
  633 + public Integer getDistinguishColor() {
  634 + return distinguishColor;
  635 + }
  636 +
  637 + public void setDistinguishColor(Integer distinguishColor) {
  638 + this.distinguishColor = distinguishColor;
  639 + }
  640 +
  641 + public String getDistinguishColorText() {
  642 + return distinguishColorText;
  643 + }
  644 +
  645 + public void setDistinguishColorText(String distinguishColorText) {
  646 + this.distinguishColorText = distinguishColorText;
  647 + }
  648 +
  649 + public Integer getThyroid() {
  650 + return thyroid;
  651 + }
  652 +
  653 + public void setThyroid(Integer thyroid) {
  654 + this.thyroid = thyroid;
  655 + }
  656 +
  657 + public String getThyroidText() {
  658 + return thyroidText;
  659 + }
  660 +
  661 + public void setThyroidText(String thyroidText) {
  662 + this.thyroidText = thyroidText;
  663 + }
  664 +
  665 + public Integer getChest() {
  666 + return chest;
  667 + }
  668 +
  669 + public void setChest(Integer chest) {
  670 + this.chest = chest;
  671 + }
  672 +
  673 + public String getChestText() {
  674 + return chestText;
  675 + }
  676 +
  677 + public void setChestText(String chestText) {
  678 + this.chestText = chestText;
  679 + }
  680 +
  681 + public Integer getLung() {
  682 + return lung;
  683 + }
  684 +
  685 + public void setLung(Integer lung) {
  686 + this.lung = lung;
  687 + }
  688 +
  689 + public String getLungText() {
  690 + return lungText;
  691 + }
  692 +
  693 + public void setLungText(String lungText) {
  694 + this.lungText = lungText;
  695 + }
  696 +
  697 + public Integer getHeartRate() {
  698 + return heartRate;
  699 + }
  700 +
  701 + public void setHeartRate(Integer heartRate) {
  702 + this.heartRate = heartRate;
  703 + }
  704 +
  705 + public Integer getHeartRhythm() {
  706 + return heartRhythm;
  707 + }
  708 +
  709 + public void setHeartRhythm(Integer heartRhythm) {
  710 + this.heartRhythm = heartRhythm;
  711 + }
  712 +
  713 + public Integer getNoise() {
  714 + return noise;
  715 + }
  716 +
  717 + public void setNoise(Integer noise) {
  718 + this.noise = noise;
  719 + }
  720 +
  721 + public String getNoiseText() {
  722 + return noiseText;
  723 + }
  724 +
  725 + public void setNoiseText(String noiseText) {
  726 + this.noiseText = noiseText;
  727 + }
  728 +
  729 + public String getBellyLiver() {
  730 + return bellyLiver;
  731 + }
  732 +
  733 + public void setBellyLiver(String bellyLiver) {
  734 + this.bellyLiver = bellyLiver;
  735 + }
  736 +
  737 + public String getBellySpleen() {
  738 + return bellySpleen;
  739 + }
  740 +
  741 + public void setBellySpleen(String bellySpleen) {
  742 + this.bellySpleen = bellySpleen;
  743 + }
  744 +
  745 + public String getBellyOther() {
  746 + return bellyOther;
  747 + }
  748 +
  749 + public void setBellyOther(String bellyOther) {
  750 + this.bellyOther = bellyOther;
  751 + }
  752 +
  753 + public Integer getInspectResult() {
  754 + return inspectResult;
  755 + }
  756 +
  757 + public void setInspectResult(Integer inspectResult) {
  758 + this.inspectResult = inspectResult;
  759 + }
  760 +
  761 + public String getExceptionText() {
  762 + return exceptionText;
  763 + }
  764 +
  765 + public void setExceptionText(String exceptionText) {
  766 + this.exceptionText = exceptionText;
  767 + }
  768 +
  769 + public String getDiseaseText() {
  770 + return diseaseText;
  771 + }
  772 +
  773 + public void setDiseaseText(String diseaseText) {
  774 + this.diseaseText = diseaseText;
  775 + }
  776 +
  777 + public String getMedicalSuggestion() {
  778 + return medicalSuggestion;
  779 + }
  780 +
  781 + public void setMedicalSuggestion(String medicalSuggestion) {
  782 + this.medicalSuggestion = medicalSuggestion;
  783 + }
  784 +
  785 + public String getDoctorSuggestion() {
  786 + return doctorSuggestion;
  787 + }
  788 +
  789 + public void setDoctorSuggestion(String doctorSuggestion) {
  790 + this.doctorSuggestion = doctorSuggestion;
  791 + }
  792 +
  793 + public String getDoctorId() {
  794 + return doctorId;
  795 + }
  796 +
  797 + public void setDoctorId(String doctorId) {
  798 + this.doctorId = doctorId;
  799 + }
  800 +
  801 + public Date getCreateTime() {
  802 + return createTime;
  803 + }
  804 +
  805 + public void setCreateTime(Date createTime) {
  806 + this.createTime = createTime;
  807 + }
  808 +
  809 + public Integer getIfDel() {
  810 + return ifDel;
  811 + }
  812 +
  813 + public void setIfDel(Integer ifDel) {
  814 + this.ifDel = ifDel;
  815 + }
  816 +
  817 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/inspect/MarrybeInspectMan.java View file @ f329c75
  1 +package com.lyms.hospital.entity.inspect;
  2 +
  3 +import com.baomidou.mybatisplus.annotations.TableId;
  4 +import com.baomidou.mybatisplus.annotations.TableField;
  5 +import com.baomidou.mybatisplus.annotations.TableName;
  6 +import java.io.Serializable;
  7 +import java.util.Date;
  8 +
  9 +/**
  10 + * <p>
  11 + *
  12 + * </p>
  13 + *
  14 + * @author xujiahong
  15 + * @since 2017-04-06
  16 + */
  17 +@TableName("MARRYBE_INSPECT_MAN")
  18 +public class MarrybeInspectMan implements Serializable {
  19 +
  20 + private static final long serialVersionUID = 1L;
  21 +
  22 + /**
  23 + * 男性\婚育史\生殖检查
  24 + */
  25 + @TableId(value="ID")
  26 + private String id;
  27 + /**
  28 + * 婚前检查ID
  29 + */
  30 + @TableField(value="MID")
  31 + private String mid;
  32 + /**
  33 + * 既往婚育史:1无,2有
  34 + */
  35 + @TableField(value="HISTORY_MARRIED")
  36 + private Integer historyMarried;
  37 + /**
  38 + * 是否丧偶
  39 + */
  40 + @TableField(value="HISTORY_WIDOWED")
  41 + private Integer historyWidowed;
  42 + /**
  43 + * 是否离异
  44 + */
  45 + @TableField(value="HISTORY_DIVORCE")
  46 + private Integer historyDivorce;
  47 + /**
  48 + * 子女人数
  49 + */
  50 + @TableField(value="CHILD_NUM")
  51 + private Integer childNum;
  52 + /**
  53 + * 家族近亲婚配:1无,2有
  54 + */
  55 + @TableField(value="INCEST")
  56 + private Integer incest;
  57 + /**
  58 + * 父母-近亲婚配
  59 + */
  60 + @TableField(value="INCEST_PARENT")
  61 + private Integer incestParent;
  62 + /**
  63 + * 祖父母-近亲婚配
  64 + */
  65 + @TableField(value="INCEST_GRANDPARENT")
  66 + private Integer incestGrandparent;
  67 + /**
  68 + * 外祖父母-近亲婚配
  69 + */
  70 + @TableField(value="INCEST_MATERNAL_GRANDPARENT")
  71 + private Integer incestMaternalGrandparent;
  72 + /**
  73 + * 体态:1正常,2异常
  74 + */
  75 + @TableField(value="BODY")
  76 + private Integer body;
  77 + /**
  78 + * 体态异常文本
  79 + */
  80 + @TableField(value="BODY_TEXT")
  81 + private String bodyText;
  82 + /**
  83 + * 喉结:1正常,2异常
  84 + */
  85 + @TableField(value="POMUM")
  86 + private Integer pomum;
  87 + /**
  88 + * 喉结异常文本
  89 + */
  90 + @TableField(value="POMUM_TEXT")
  91 + private String pomumText;
  92 + /**
  93 + * 男性乳腺女性化:1正常,2异常
  94 + */
  95 + @TableField(value="CHEST")
  96 + private Integer chest;
  97 + /**
  98 + * 男性乳腺女性化异常文本
  99 + */
  100 + @TableField(value="CHEST_TEXT")
  101 + private String chestText;
  102 + /**
  103 + * 阴毛:1正常,2无,3稀少
  104 + */
  105 + @TableField(value="PUBES")
  106 + private Integer pubes;
  107 + /**
  108 + * 生殖器-阴茎:1正常,2异常
  109 + */
  110 + @TableField(value="GENITAL_YJ")
  111 + private Integer genitalYj;
  112 + /**
  113 + * 阴茎异常文本
  114 + */
  115 + @TableField(value="GENITAL_YJ_TEXT")
  116 + private String genitalYjText;
  117 + /**
  118 + * 包皮:1正常,2过长,3包茎
  119 + */
  120 + @TableField(value="GENITAL_BP")
  121 + private Integer genitalBp;
  122 + /**
  123 + * 睾丸:1扪及,2未扪及
  124 + */
  125 + @TableField(value="GENITAL_GW")
  126 + private Integer genitalGw;
  127 + /**
  128 + * 睾丸-左
  129 + */
  130 + @TableField(value="GENITAL_GW_LEFT")
  131 + private String genitalGwLeft;
  132 + /**
  133 + * 睾丸-右
  134 + */
  135 + @TableField(value="GENITAL_GW_RIGHT")
  136 + private String genitalGwRight;
  137 + /**
  138 + * 附睾:1正常,2结节
  139 + */
  140 + @TableField(value="GENITAL_FG")
  141 + private Integer genitalFg;
  142 + /**
  143 + * 附睾-左
  144 + */
  145 + @TableField(value="GENITAL_FG_LEFT")
  146 + private String genitalFgLeft;
  147 + /**
  148 + * 附睾-右
  149 + */
  150 + @TableField(value="GENITAL_FG_RIGHT")
  151 + private String genitalFgRight;
  152 + /**
  153 + * 精索静脉曲张:1无,2有
  154 + */
  155 + @TableField(value="GENITAL_JS")
  156 + private Integer genitalJs;
  157 + /**
  158 + * 精索-左
  159 + */
  160 + @TableField(value="GENITAL_JS_LEFT")
  161 + private String genitalJsLeft;
  162 + /**
  163 + * 精索-右
  164 + */
  165 + @TableField(value="GENITAL_JS_RIGHT")
  166 + private String genitalJsRight;
  167 + /**
  168 + * 生殖器-其他
  169 + */
  170 + @TableField(value="GENITAL_OTHER")
  171 + private String genitalOther;
  172 + /**
  173 + * 创建时间
  174 + */
  175 + @TableField(value="CREATE_TIME")
  176 + private Date createTime;
  177 + /**
  178 + * 软删除标识:1删除,0正常
  179 + */
  180 + @TableField(value="IF_DEL")
  181 + private Integer ifDel;
  182 +
  183 +
  184 + public String getId() {
  185 + return id;
  186 + }
  187 +
  188 + public void setId(String id) {
  189 + this.id = id;
  190 + }
  191 +
  192 + public String getMid() {
  193 + return mid;
  194 + }
  195 +
  196 + public void setMid(String mid) {
  197 + this.mid = mid;
  198 + }
  199 +
  200 + public Integer getHistoryMarried() {
  201 + return historyMarried;
  202 + }
  203 +
  204 + public void setHistoryMarried(Integer historyMarried) {
  205 + this.historyMarried = historyMarried;
  206 + }
  207 +
  208 + public Integer getHistoryWidowed() {
  209 + return historyWidowed;
  210 + }
  211 +
  212 + public void setHistoryWidowed(Integer historyWidowed) {
  213 + this.historyWidowed = historyWidowed;
  214 + }
  215 +
  216 + public Integer getHistoryDivorce() {
  217 + return historyDivorce;
  218 + }
  219 +
  220 + public void setHistoryDivorce(Integer historyDivorce) {
  221 + this.historyDivorce = historyDivorce;
  222 + }
  223 +
  224 + public Integer getChildNum() {
  225 + return childNum;
  226 + }
  227 +
  228 + public void setChildNum(Integer childNum) {
  229 + this.childNum = childNum;
  230 + }
  231 +
  232 + public Integer getIncest() {
  233 + return incest;
  234 + }
  235 +
  236 + public void setIncest(Integer incest) {
  237 + this.incest = incest;
  238 + }
  239 +
  240 + public Integer getIncestParent() {
  241 + return incestParent;
  242 + }
  243 +
  244 + public void setIncestParent(Integer incestParent) {
  245 + this.incestParent = incestParent;
  246 + }
  247 +
  248 + public Integer getIncestGrandparent() {
  249 + return incestGrandparent;
  250 + }
  251 +
  252 + public void setIncestGrandparent(Integer incestGrandparent) {
  253 + this.incestGrandparent = incestGrandparent;
  254 + }
  255 +
  256 + public Integer getIncestMaternalGrandparent() {
  257 + return incestMaternalGrandparent;
  258 + }
  259 +
  260 + public void setIncestMaternalGrandparent(Integer incestMaternalGrandparent) {
  261 + this.incestMaternalGrandparent = incestMaternalGrandparent;
  262 + }
  263 +
  264 + public Integer getBody() {
  265 + return body;
  266 + }
  267 +
  268 + public void setBody(Integer body) {
  269 + this.body = body;
  270 + }
  271 +
  272 + public String getBodyText() {
  273 + return bodyText;
  274 + }
  275 +
  276 + public void setBodyText(String bodyText) {
  277 + this.bodyText = bodyText;
  278 + }
  279 +
  280 + public Integer getPomum() {
  281 + return pomum;
  282 + }
  283 +
  284 + public void setPomum(Integer pomum) {
  285 + this.pomum = pomum;
  286 + }
  287 +
  288 + public String getPomumText() {
  289 + return pomumText;
  290 + }
  291 +
  292 + public void setPomumText(String pomumText) {
  293 + this.pomumText = pomumText;
  294 + }
  295 +
  296 + public Integer getChest() {
  297 + return chest;
  298 + }
  299 +
  300 + public void setChest(Integer chest) {
  301 + this.chest = chest;
  302 + }
  303 +
  304 + public String getChestText() {
  305 + return chestText;
  306 + }
  307 +
  308 + public void setChestText(String chestText) {
  309 + this.chestText = chestText;
  310 + }
  311 +
  312 + public Integer getPubes() {
  313 + return pubes;
  314 + }
  315 +
  316 + public void setPubes(Integer pubes) {
  317 + this.pubes = pubes;
  318 + }
  319 +
  320 + public Integer getGenitalYj() {
  321 + return genitalYj;
  322 + }
  323 +
  324 + public void setGenitalYj(Integer genitalYj) {
  325 + this.genitalYj = genitalYj;
  326 + }
  327 +
  328 + public String getGenitalYjText() {
  329 + return genitalYjText;
  330 + }
  331 +
  332 + public void setGenitalYjText(String genitalYjText) {
  333 + this.genitalYjText = genitalYjText;
  334 + }
  335 +
  336 + public Integer getGenitalBp() {
  337 + return genitalBp;
  338 + }
  339 +
  340 + public void setGenitalBp(Integer genitalBp) {
  341 + this.genitalBp = genitalBp;
  342 + }
  343 +
  344 + public Integer getGenitalGw() {
  345 + return genitalGw;
  346 + }
  347 +
  348 + public void setGenitalGw(Integer genitalGw) {
  349 + this.genitalGw = genitalGw;
  350 + }
  351 +
  352 + public String getGenitalGwLeft() {
  353 + return genitalGwLeft;
  354 + }
  355 +
  356 + public void setGenitalGwLeft(String genitalGwLeft) {
  357 + this.genitalGwLeft = genitalGwLeft;
  358 + }
  359 +
  360 + public String getGenitalGwRight() {
  361 + return genitalGwRight;
  362 + }
  363 +
  364 + public void setGenitalGwRight(String genitalGwRight) {
  365 + this.genitalGwRight = genitalGwRight;
  366 + }
  367 +
  368 + public Integer getGenitalFg() {
  369 + return genitalFg;
  370 + }
  371 +
  372 + public void setGenitalFg(Integer genitalFg) {
  373 + this.genitalFg = genitalFg;
  374 + }
  375 +
  376 + public String getGenitalFgLeft() {
  377 + return genitalFgLeft;
  378 + }
  379 +
  380 + public void setGenitalFgLeft(String genitalFgLeft) {
  381 + this.genitalFgLeft = genitalFgLeft;
  382 + }
  383 +
  384 + public String getGenitalFgRight() {
  385 + return genitalFgRight;
  386 + }
  387 +
  388 + public void setGenitalFgRight(String genitalFgRight) {
  389 + this.genitalFgRight = genitalFgRight;
  390 + }
  391 +
  392 + public Integer getGenitalJs() {
  393 + return genitalJs;
  394 + }
  395 +
  396 + public void setGenitalJs(Integer genitalJs) {
  397 + this.genitalJs = genitalJs;
  398 + }
  399 +
  400 + public String getGenitalJsLeft() {
  401 + return genitalJsLeft;
  402 + }
  403 +
  404 + public void setGenitalJsLeft(String genitalJsLeft) {
  405 + this.genitalJsLeft = genitalJsLeft;
  406 + }
  407 +
  408 + public String getGenitalJsRight() {
  409 + return genitalJsRight;
  410 + }
  411 +
  412 + public void setGenitalJsRight(String genitalJsRight) {
  413 + this.genitalJsRight = genitalJsRight;
  414 + }
  415 +
  416 + public String getGenitalOther() {
  417 + return genitalOther;
  418 + }
  419 +
  420 + public void setGenitalOther(String genitalOther) {
  421 + this.genitalOther = genitalOther;
  422 + }
  423 +
  424 + public Date getCreateTime() {
  425 + return createTime;
  426 + }
  427 +
  428 + public void setCreateTime(Date createTime) {
  429 + this.createTime = createTime;
  430 + }
  431 +
  432 + public Integer getIfDel() {
  433 + return ifDel;
  434 + }
  435 +
  436 + public void setIfDel(Integer ifDel) {
  437 + this.ifDel = ifDel;
  438 + }
  439 +
  440 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/inspect/MarrybeInspectWoman.java View file @ f329c75
  1 +package com.lyms.hospital.entity.inspect;
  2 +
  3 +import com.baomidou.mybatisplus.annotations.TableId;
  4 +import com.baomidou.mybatisplus.annotations.TableField;
  5 +import com.baomidou.mybatisplus.annotations.TableName;
  6 +import java.io.Serializable;
  7 +import java.util.Date;
  8 +
  9 +/**
  10 + * <p>
  11 + *
  12 + * </p>
  13 + *
  14 + * @author xujiahong
  15 + * @since 2017-04-06
  16 + */
  17 +@TableName("MARRYBE_INSPECT_WOMAN")
  18 +public class MarrybeInspectWoman implements Serializable {
  19 +
  20 + private static final long serialVersionUID = 1L;
  21 +
  22 + /**
  23 + * 男性\婚育史\生殖检查
  24 + */
  25 + @TableId(value="ID")
  26 + private String id;
  27 + /**
  28 + * 婚前检查ID
  29 + */
  30 + @TableField(value="MID")
  31 + private String mid;
  32 + /**
  33 + * 初潮年龄
  34 + */
  35 + @TableField(value="FIRST_BLOOD")
  36 + private Integer firstBlood;
  37 + /**
  38 + * 月经周期开始
  39 + */
  40 + @TableField(value="MENSES_START")
  41 + private Integer mensesStart;
  42 + /**
  43 + * 月经周期结束
  44 + */
  45 + @TableField(value="MENSES_END")
  46 + private Integer mensesEnd;
  47 + /**
  48 + * 月经量
  49 + */
  50 + @TableField(value="MENSES")
  51 + private String menses;
  52 + /**
  53 + * 末次月经
  54 + */
  55 + @TableField(value="MENSES_LAST_DATE")
  56 + private Date mensesLastDate;
  57 + /**
  58 + * 痛经:1无,2有
  59 + */
  60 + @TableField(value="DYSMENORRHEA")
  61 + private Integer dysmenorrhea;
  62 + /**
  63 + * 既往婚育史:1无,2有
  64 + */
  65 + @TableField(value="HISTORY_MARRIED")
  66 + private Integer historyMarried;
  67 + /**
  68 + * 是否丧偶
  69 + */
  70 + @TableField(value="HISTORY_WIDOWED")
  71 + private Integer historyWidowed;
  72 + /**
  73 + * 是否离异
  74 + */
  75 + @TableField(value="HISTORY_DIVORCE")
  76 + private Integer historyDivorce;
  77 + /**
  78 + * 人流次数
  79 + */
  80 + @TableField(value="POURED_NUM")
  81 + private Integer pouredNum;
  82 + /**
  83 + * 子女人数
  84 + */
  85 + @TableField(value="CHILD_NUM")
  86 + private Integer childNum;
  87 + /**
  88 + * 家族近亲婚配:1无,2有
  89 + */
  90 + @TableField(value="INCEST")
  91 + private Integer incest;
  92 + /**
  93 + * 父母-近亲婚配
  94 + */
  95 + @TableField(value="INCEST_PARENT")
  96 + private Integer incestParent;
  97 + /**
  98 + * 祖父母-近亲婚配
  99 + */
  100 + @TableField(value="INCEST_GRANDPARENT")
  101 + private Integer incestGrandparent;
  102 + /**
  103 + * 外祖父母-近亲婚配
  104 + */
  105 + @TableField(value="INCEST_MATERNAL_GRANDPARENT")
  106 + private Integer incestMaternalGrandparent;
  107 + /**
  108 + * 体态:1正常,2异常
  109 + */
  110 + @TableField(value="BODY")
  111 + private Integer body;
  112 + /**
  113 + * 体态异常文本
  114 + */
  115 + @TableField(value="BODY_TEXT")
  116 + private String bodyText;
  117 + /**
  118 + * 乳房发育:1正常,2异常
  119 + */
  120 + @TableField(value="CHEST")
  121 + private Integer chest;
  122 + /**
  123 + * 乳房发育文本
  124 + */
  125 + @TableField(value="CHEST_TEXT")
  126 + private String chestText;
  127 + /**
  128 + * 阴毛:1正常,2无,3稀少
  129 + */
  130 + @TableField(value="PUBES")
  131 + private Integer pubes;
  132 + /**
  133 + * 肛检-外阴
  134 + */
  135 + @TableField(value="ANUS_WY")
  136 + private String anusWy;
  137 + /**
  138 + * 肛检-分泌物
  139 + */
  140 + @TableField(value="ANUS_FMW")
  141 + private String anusFmw;
  142 + /**
  143 + * 肛检-子宫
  144 + */
  145 + @TableField(value="ANUS_ZG")
  146 + private String anusZg;
  147 + /**
  148 + * 肛检-附件
  149 + */
  150 + @TableField(value="ANUS_FJ")
  151 + private String anusFj;
  152 + /**
  153 + * 阴道-外阴
  154 + */
  155 + @TableField(value="VAGINA_WY")
  156 + private String vaginaWy;
  157 + /**
  158 + * 阴道-阴道
  159 + */
  160 + @TableField(value="VAGINA_YD")
  161 + private String vaginaYd;
  162 + /**
  163 + * 阴道-宫颈
  164 + */
  165 + @TableField(value="VAGINA_GJ")
  166 + private String vaginaGj;
  167 + /**
  168 + * 阴道-子宫
  169 + */
  170 + @TableField(value="VAGINA_ZG")
  171 + private String vaginaZg;
  172 + /**
  173 + * 阴道-附件
  174 + */
  175 + @TableField(value="VAGINA_FJ")
  176 + private String vaginaFj;
  177 + /**
  178 + * 阴道-其他
  179 + */
  180 + @TableField(value="VAGINA_OTHER")
  181 + private String vaginaOther;
  182 + /**
  183 + * 创建时间
  184 + */
  185 + @TableField(value="CREATE_TIME")
  186 + private Date createTime;
  187 + /**
  188 + * 软删除标识:1删除,0正常
  189 + */
  190 + @TableField(value="IF_DEL")
  191 + private Integer ifDel;
  192 +
  193 +
  194 + public String getId() {
  195 + return id;
  196 + }
  197 +
  198 + public void setId(String id) {
  199 + this.id = id;
  200 + }
  201 +
  202 + public String getMid() {
  203 + return mid;
  204 + }
  205 +
  206 + public void setMid(String mid) {
  207 + this.mid = mid;
  208 + }
  209 +
  210 + public Integer getFirstBlood() {
  211 + return firstBlood;
  212 + }
  213 +
  214 + public void setFirstBlood(Integer firstBlood) {
  215 + this.firstBlood = firstBlood;
  216 + }
  217 +
  218 + public Integer getMensesStart() {
  219 + return mensesStart;
  220 + }
  221 +
  222 + public void setMensesStart(Integer mensesStart) {
  223 + this.mensesStart = mensesStart;
  224 + }
  225 +
  226 + public Integer getMensesEnd() {
  227 + return mensesEnd;
  228 + }
  229 +
  230 + public void setMensesEnd(Integer mensesEnd) {
  231 + this.mensesEnd = mensesEnd;
  232 + }
  233 +
  234 + public String getMenses() {
  235 + return menses;
  236 + }
  237 +
  238 + public void setMenses(String menses) {
  239 + this.menses = menses;
  240 + }
  241 +
  242 + public Date getMensesLastDate() {
  243 + return mensesLastDate;
  244 + }
  245 +
  246 + public void setMensesLastDate(Date mensesLastDate) {
  247 + this.mensesLastDate = mensesLastDate;
  248 + }
  249 +
  250 + public Integer getDysmenorrhea() {
  251 + return dysmenorrhea;
  252 + }
  253 +
  254 + public void setDysmenorrhea(Integer dysmenorrhea) {
  255 + this.dysmenorrhea = dysmenorrhea;
  256 + }
  257 +
  258 + public Integer getHistoryMarried() {
  259 + return historyMarried;
  260 + }
  261 +
  262 + public void setHistoryMarried(Integer historyMarried) {
  263 + this.historyMarried = historyMarried;
  264 + }
  265 +
  266 + public Integer getHistoryWidowed() {
  267 + return historyWidowed;
  268 + }
  269 +
  270 + public void setHistoryWidowed(Integer historyWidowed) {
  271 + this.historyWidowed = historyWidowed;
  272 + }
  273 +
  274 + public Integer getHistoryDivorce() {
  275 + return historyDivorce;
  276 + }
  277 +
  278 + public void setHistoryDivorce(Integer historyDivorce) {
  279 + this.historyDivorce = historyDivorce;
  280 + }
  281 +
  282 + public Integer getPouredNum() {
  283 + return pouredNum;
  284 + }
  285 +
  286 + public void setPouredNum(Integer pouredNum) {
  287 + this.pouredNum = pouredNum;
  288 + }
  289 +
  290 + public Integer getChildNum() {
  291 + return childNum;
  292 + }
  293 +
  294 + public void setChildNum(Integer childNum) {
  295 + this.childNum = childNum;
  296 + }
  297 +
  298 + public Integer getIncest() {
  299 + return incest;
  300 + }
  301 +
  302 + public void setIncest(Integer incest) {
  303 + this.incest = incest;
  304 + }
  305 +
  306 + public Integer getIncestParent() {
  307 + return incestParent;
  308 + }
  309 +
  310 + public void setIncestParent(Integer incestParent) {
  311 + this.incestParent = incestParent;
  312 + }
  313 +
  314 + public Integer getIncestGrandparent() {
  315 + return incestGrandparent;
  316 + }
  317 +
  318 + public void setIncestGrandparent(Integer incestGrandparent) {
  319 + this.incestGrandparent = incestGrandparent;
  320 + }
  321 +
  322 + public Integer getIncestMaternalGrandparent() {
  323 + return incestMaternalGrandparent;
  324 + }
  325 +
  326 + public void setIncestMaternalGrandparent(Integer incestMaternalGrandparent) {
  327 + this.incestMaternalGrandparent = incestMaternalGrandparent;
  328 + }
  329 +
  330 + public Integer getBody() {
  331 + return body;
  332 + }
  333 +
  334 + public void setBody(Integer body) {
  335 + this.body = body;
  336 + }
  337 +
  338 + public String getBodyText() {
  339 + return bodyText;
  340 + }
  341 +
  342 + public void setBodyText(String bodyText) {
  343 + this.bodyText = bodyText;
  344 + }
  345 +
  346 + public Integer getChest() {
  347 + return chest;
  348 + }
  349 +
  350 + public void setChest(Integer chest) {
  351 + this.chest = chest;
  352 + }
  353 +
  354 + public String getChestText() {
  355 + return chestText;
  356 + }
  357 +
  358 + public void setChestText(String chestText) {
  359 + this.chestText = chestText;
  360 + }
  361 +
  362 + public Integer getPubes() {
  363 + return pubes;
  364 + }
  365 +
  366 + public void setPubes(Integer pubes) {
  367 + this.pubes = pubes;
  368 + }
  369 +
  370 + public String getAnusWy() {
  371 + return anusWy;
  372 + }
  373 +
  374 + public void setAnusWy(String anusWy) {
  375 + this.anusWy = anusWy;
  376 + }
  377 +
  378 + public String getAnusFmw() {
  379 + return anusFmw;
  380 + }
  381 +
  382 + public void setAnusFmw(String anusFmw) {
  383 + this.anusFmw = anusFmw;
  384 + }
  385 +
  386 + public String getAnusZg() {
  387 + return anusZg;
  388 + }
  389 +
  390 + public void setAnusZg(String anusZg) {
  391 + this.anusZg = anusZg;
  392 + }
  393 +
  394 + public String getAnusFj() {
  395 + return anusFj;
  396 + }
  397 +
  398 + public void setAnusFj(String anusFj) {
  399 + this.anusFj = anusFj;
  400 + }
  401 +
  402 + public String getVaginaWy() {
  403 + return vaginaWy;
  404 + }
  405 +
  406 + public void setVaginaWy(String vaginaWy) {
  407 + this.vaginaWy = vaginaWy;
  408 + }
  409 +
  410 + public String getVaginaYd() {
  411 + return vaginaYd;
  412 + }
  413 +
  414 + public void setVaginaYd(String vaginaYd) {
  415 + this.vaginaYd = vaginaYd;
  416 + }
  417 +
  418 + public String getVaginaGj() {
  419 + return vaginaGj;
  420 + }
  421 +
  422 + public void setVaginaGj(String vaginaGj) {
  423 + this.vaginaGj = vaginaGj;
  424 + }
  425 +
  426 + public String getVaginaZg() {
  427 + return vaginaZg;
  428 + }
  429 +
  430 + public void setVaginaZg(String vaginaZg) {
  431 + this.vaginaZg = vaginaZg;
  432 + }
  433 +
  434 + public String getVaginaFj() {
  435 + return vaginaFj;
  436 + }
  437 +
  438 + public void setVaginaFj(String vaginaFj) {
  439 + this.vaginaFj = vaginaFj;
  440 + }
  441 +
  442 + public String getVaginaOther() {
  443 + return vaginaOther;
  444 + }
  445 +
  446 + public void setVaginaOther(String vaginaOther) {
  447 + this.vaginaOther = vaginaOther;
  448 + }
  449 +
  450 + public Date getCreateTime() {
  451 + return createTime;
  452 + }
  453 +
  454 + public void setCreateTime(Date createTime) {
  455 + this.createTime = createTime;
  456 + }
  457 +
  458 + public Integer getIfDel() {
  459 + return ifDel;
  460 + }
  461 +
  462 + public void setIfDel(Integer ifDel) {
  463 + this.ifDel = ifDel;
  464 + }
  465 +
  466 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanHusband.java View file @ f329c75
... ... @@ -100,15 +100,35 @@
100 100 @TableField(value="HUSBAND_REGISTER_DETAIL")
101 101 private String husbandRegisterDetail;
102 102 /**
103   - *
  103 + * 是否提供:1是,0否
104 104 */
105   - @TableField(value="WOMAN_RECORD_ID")
106   - private String womanRecordId;
  105 + @TableField(value="IS_PROVIDE")
  106 + private Integer isProvide;
107 107 /**
108   - * 建档时间
  108 + * 血缘关系:1无,2有
109 109 */
110   - @TableField(value="CREATE_DATE")
111   - private Date createDate;
  110 + @TableField(value="BLOOD_RELATION")
  111 + private Integer bloodRelation;
  112 + /**
  113 + * 血缘关系文本
  114 + */
  115 + @TableField(value="BLOOD_RELATION_TEXT")
  116 + private String bloodRelationText;
  117 + /**
  118 + * 记录来源:1孕妇建档,2婚前检查
  119 + */
  120 + @TableField(value="TARGET_TYPE")
  121 + private Integer targetType;
  122 + /**
  123 + * 孕妇建档ID,或婚前检查ID
  124 + */
  125 + @TableField(value="TARGET_ID")
  126 + private String targetId;
  127 + /**
  128 + * 创建时间
  129 + */
  130 + @TableField(value="CREATE_TIME")
  131 + private Date createTime;
112 132  
113 133  
114 134 public String getId() {
115 135  
116 136  
117 137  
118 138  
... ... @@ -239,21 +259,55 @@
239 259 this.husbandRegisterDetail = husbandRegisterDetail;
240 260 }
241 261  
242   - public String getWomanRecordId() {
243   - return womanRecordId;
  262 + public Integer getIsProvide() {
  263 + return isProvide;
244 264 }
245 265  
246   - public void setWomanRecordId(String womanRecordId) {
247   - this.womanRecordId = womanRecordId;
  266 + public void setIsProvide(Integer isProvide) {
  267 + this.isProvide = isProvide;
248 268 }
249 269  
250   - public Date getCreateDate() {
251   - return createDate;
  270 + public Integer getBloodRelation() {
  271 + return bloodRelation;
252 272 }
253 273  
254   - public void setCreateDate(Date createDate) {
255   - this.createDate = createDate;
  274 + public void setBloodRelation(Integer bloodRelation) {
  275 + this.bloodRelation = bloodRelation;
256 276 }
  277 +
  278 + public String getBloodRelationText() {
  279 + return bloodRelationText;
  280 + }
  281 +
  282 + public void setBloodRelationText(String bloodRelationText) {
  283 + this.bloodRelationText = bloodRelationText;
  284 + }
  285 +
  286 + public Integer getTargetType() {
  287 + return targetType;
  288 + }
  289 +
  290 + public void setTargetType(Integer targetType) {
  291 + this.targetType = targetType;
  292 + }
  293 +
  294 + public String getTargetId() {
  295 + return targetId;
  296 + }
  297 +
  298 + public void setTargetId(String targetId) {
  299 + this.targetId = targetId;
  300 + }
  301 +
  302 + public Date getCreateTime() {
  303 + return createTime;
  304 + }
  305 +
  306 + public void setCreateTime(Date createTime) {
  307 + this.createTime = createTime;
  308 + }
  309 +
  310 +
257 311  
258 312 }
parent/hospital.mac/src/main/java/com/lyms/hospital/service/diagnose/DiagnoseAssitService.java View file @ f329c75
1   -package com.lyms.hospital.service.diagnose;
2   -
3   -import java.io.Serializable;
4   -
5   -import com.lyms.hospital.entity.diagnose.DiagnoseAssit;
6   -import com.lyms.web.service.BaseService;
7   -
8   -/**
9   - * <p>
10   - * 服务类
11   - * </p>
12   - *
13   - * @author jiangjiazhi
14   - * @since 2017-03-29
15   - */
16   -public interface DiagnoseAssitService extends BaseService<DiagnoseAssit> {
17   -
18   - /**
19   - * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除
20   - * <li>@param id 删除主键id
21   - * <li>@return 大于0修改成功,否则为失败
22   - */
23   - public Integer deleteLogicById(Serializable id);
24   -
25   -}
parent/hospital.mac/src/main/java/com/lyms/hospital/service/diagnose/impl/DiagnoseAssitServiceImpl.java View file @ f329c75
1   -package com.lyms.hospital.service.diagnose.impl;
2   -
3   -import java.io.Serializable;
4   -
5   -import org.springframework.stereotype.Service;
6   -
7   -import com.baomidou.mybatisplus.service.impl.ServiceImpl;
8   -import com.lyms.hospital.dao.woman.DiagnoseAssitMapper;
9   -import com.lyms.hospital.entity.diagnose.DiagnoseAssit;
10   -import com.lyms.hospital.service.diagnose.DiagnoseAssitService;
11   -
12   -/**
13   - * <p>
14   - * 辅助检查项 服务实现类
15   - * </p>
16   - *
17   - * @author jiangjiazhi
18   - * @since 2017-03-29
19   - */
20   -@Service
21   -public class DiagnoseAssitServiceImpl extends ServiceImpl<DiagnoseAssitMapper, DiagnoseAssit> implements
22   - DiagnoseAssitService {
23   -
24   - public Integer deleteLogicById(Serializable id) {
25   - return baseMapper.deleteLogicById(id);
26   - }
27   -}
parent/hospital.mac/src/main/java/com/lyms/hospital/service/diagnose/impl/DiagnoseInfoServiceImpl.java View file @ f329c75
... ... @@ -11,9 +11,9 @@
11 11 import com.baomidou.mybatisplus.mapper.EntityWrapper;
12 12 import com.baomidou.mybatisplus.service.impl.ServiceImpl;
13 13 import com.lyms.hospital.dao.diagnose.DiagnoseInfoMapper;
14   -import com.lyms.hospital.entity.diagnose.DiagnoseAssit;
  14 +import com.lyms.hospital.entity.assist.DiagnoseAssit;
15 15 import com.lyms.hospital.entity.diagnose.DiagnoseInfo;
16   -import com.lyms.hospital.service.diagnose.DiagnoseAssitService;
  16 +import com.lyms.hospital.service.assist.DiagnoseAssitService;
17 17 import com.lyms.hospital.service.diagnose.DiagnoseInfoService;
18 18 import com.lyms.util.StrUtils;
19 19  
parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/MarrybeInspectManService.java View file @ f329c75
  1 +package com.lyms.hospital.service.inspect;
  2 +
  3 +import com.lyms.hospital.entity.inspect.MarrybeInspectMan;
  4 +import com.lyms.web.service.BaseService;
  5 +import java.io.Serializable;
  6 +
  7 +/**
  8 + * <p>
  9 + * 服务类
  10 + *
  11 + * 新增-男性婚检信息
  12 + * 修改-男性婚检信息
  13 + * 查询详情-男性婚检信息
  14 + *
  15 + * </p>
  16 + *
  17 + * @author xujiahong
  18 + * @since 2017-04-06
  19 + */
  20 +public interface MarrybeInspectManService extends BaseService<MarrybeInspectMan> {
  21 +
  22 + /**
  23 + * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除
  24 + * <li>@param id 删除主键id
  25 + * <li>@return 大于0修改成功,否则为失败
  26 + */
  27 + public Integer deleteLogicById(Serializable id);
  28 +
  29 + /**
  30 + * <li>@Description:新增-男性婚检信息
  31 + * <li>@param inspectMan
  32 + * <li>@return
  33 + * <li>创建人:xujiahong
  34 + * <li>创建时间:2017年4月6日
  35 + * <li>修改人:
  36 + * <li>修改时间:
  37 + */
  38 + public String create(MarrybeInspectMan inspectMan);
  39 +
  40 + /**
  41 + * <li>@Description:修改-男性婚检信息
  42 + * <li>@param inspectMan
  43 + * <li>@return
  44 + * <li>创建人:xujiahong
  45 + * <li>创建时间:2017年4月6日
  46 + * <li>修改人:
  47 + * <li>修改时间:
  48 + */
  49 + public boolean update(MarrybeInspectMan inspectMan);
  50 +
  51 + /**
  52 + * <li>@Description:查询详情-男性婚检信息
  53 + * <li>@param id
  54 + * <li>@return
  55 + * <li>创建人:xujiahong
  56 + * <li>创建时间:2017年4月6日
  57 + * <li>修改人:
  58 + * <li>修改时间:
  59 + */
  60 + public MarrybeInspectMan selectById(String id);
  61 +
  62 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/MarrybeInspectService.java View file @ f329c75
  1 +package com.lyms.hospital.service.inspect;
  2 +
  3 +import java.io.Serializable;
  4 +
  5 +import com.lyms.hospital.entity.inspect.InspectManVo;
  6 +import com.lyms.hospital.entity.inspect.InspectWomanVo;
  7 +import com.lyms.hospital.entity.inspect.MarrybeInspect;
  8 +import com.lyms.web.service.BaseService;
  9 +
  10 +/**
  11 + * <p>
  12 + * 【婚前检查 服务类】
  13 + * 新增-单表婚检基本信息
  14 + * 修改-单表婚检基本信息
  15 + * 查询-单表婚检基本信息(基础类提供)
  16 + *
  17 + * []新增女性婚检vo(事务:基本婚检信息、配偶信息、女性婚育史/生殖信息、新增辅助信息)
  18 + * []新增男性婚检vo(事务:基本婚检信息、配偶信息、男性婚育史/生殖信息、新增辅助信息)
  19 + * []修改女性婚检vo
  20 + * []修改男性婚检vo
  21 + * 查询女性婚检详情(事务:基本婚检信息、配偶信息、女性婚育史/生殖信息、新增辅助信息)
  22 + * 查询男性婚检详情(事务:基本婚检信息、配偶信息、男性婚育史/生殖信息、新增辅助信息)
  23 + *
  24 + * 查询某人历史婚检记录列表
  25 + * 查询某医院女性婚检列表(多表关联条件查询)
  26 + * 查询某医院男性婚检列表(多表关联条件查询)
  27 + * </p>
  28 + *
  29 + * @author xujiahong
  30 + * @since 2017-04-06
  31 + */
  32 +public interface MarrybeInspectService extends BaseService<MarrybeInspect> {
  33 +
  34 + /**
  35 + * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除
  36 + * <li>@param id 删除主键id
  37 + * <li>@return 大于0修改成功,否则为失败
  38 + */
  39 + public Integer deleteLogicById(Serializable id);
  40 +
  41 + /*
  42 + * 单表新增、修改操作
  43 + */
  44 + public String create(MarrybeInspect obj);
  45 + public boolean update(MarrybeInspect obj);
  46 +
  47 + /**
  48 + * <li>@Description:新增女性婚检(事务:基本婚检信息、配偶信息、女性婚育史/生殖信息、新增辅助信息)
  49 + * <li>@return
  50 + * <li>创建人:xujiahong
  51 + * <li>创建时间:2017年4月6日
  52 + * <li>修改人:
  53 + * <li>修改时间:
  54 + */
  55 + public String createInspectWomanVo(InspectWomanVo vo);
  56 +
  57 + /**
  58 + * <li>@Description:新增男性婚检vo(事务:基本婚检信息、配偶信息、男性婚育史/生殖信息、新增辅助信息)
  59 + * <li>@return
  60 + * <li>创建人:xujiahong
  61 + * <li>创建时间:2017年4月6日
  62 + * <li>修改人:
  63 + * <li>修改时间:
  64 + */
  65 + public String createInspectManVo(InspectManVo vo);
  66 +
  67 + /**
  68 + * <li>@Description:修改女性婚检vo
  69 + * <li>@return
  70 + * <li>创建人:xujiahong
  71 + * <li>创建时间:2017年4月6日
  72 + * <li>修改人:
  73 + * <li>修改时间:
  74 + */
  75 + public boolean updateInspectWomanVo(InspectWomanVo vo);
  76 +
  77 + /**
  78 + * <li>@Description:修改男性婚检vo
  79 + * <li>@param vo
  80 + * <li>@return
  81 + * <li>创建人:xujiahong
  82 + * <li>创建时间:2017年4月6日
  83 + * <li>修改人:
  84 + * <li>修改时间:
  85 + */
  86 + public boolean updateInspectManVo(InspectManVo vo);
  87 +
  88 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/MarrybeInspectWomanService.java View file @ f329c75
  1 +package com.lyms.hospital.service.inspect;
  2 +
  3 +import java.io.Serializable;
  4 +
  5 +import com.lyms.hospital.entity.inspect.MarrybeInspectWoman;
  6 +import com.lyms.web.service.BaseService;
  7 +
  8 +/**
  9 + * <p>
  10 + * 服务类
  11 + *
  12 + * 新增-女性婚检信息
  13 + * 修改-女性婚检信息
  14 + * 查询详情-女性婚检信息
  15 + * </p>
  16 + *
  17 + * @author xujiahong
  18 + * @since 2017-04-06
  19 + */
  20 +public interface MarrybeInspectWomanService extends BaseService<MarrybeInspectWoman> {
  21 +
  22 + /**
  23 + * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除
  24 + * <li>@param id 删除主键id
  25 + * <li>@return 大于0修改成功,否则为失败
  26 + */
  27 + public Integer deleteLogicById(Serializable id);
  28 +
  29 + public String create(MarrybeInspectWoman obj);
  30 +
  31 + public boolean update(MarrybeInspectWoman obj);
  32 +
  33 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/impl/MarrybeInspectManServiceImpl.java View file @ f329c75
  1 +package com.lyms.hospital.service.inspect.impl;
  2 +
  3 +import com.lyms.hospital.entity.inspect.MarrybeInspectMan;
  4 +import com.lyms.hospital.enums.IfdelEnum;
  5 +import com.lyms.exception.SystemException;
  6 +import com.lyms.hospital.dao.inspect.MarrybeInspectManMapper;
  7 +import com.lyms.hospital.service.inspect.MarrybeInspectManService;
  8 +import com.lyms.util.StrUtils;
  9 +import com.baomidou.mybatisplus.service.impl.ServiceImpl;
  10 +import org.springframework.stereotype.Service;
  11 +import org.springframework.util.StringUtils;
  12 +
  13 +import java.io.Serializable;
  14 +
  15 +/**
  16 + * <p>
  17 + * 服务实现类
  18 + * </p>
  19 + *
  20 + * @author xujiahong
  21 + * @since 2017-04-06
  22 + */
  23 +@Service
  24 +public class MarrybeInspectManServiceImpl extends ServiceImpl<MarrybeInspectManMapper, MarrybeInspectMan> implements MarrybeInspectManService {
  25 +
  26 + public Integer deleteLogicById(Serializable id){
  27 + return baseMapper.deleteLogicById(id);
  28 + }
  29 +
  30 + @Override
  31 + public String create(MarrybeInspectMan obj) {
  32 + if (obj == null) {
  33 + throw new SystemException("男性婚检信息为空");
  34 + }
  35 + String id = StrUtils.uuid();
  36 + obj.setId(id);
  37 + obj.setIfDel(IfdelEnum.NO.getStatus());
  38 + obj.setCreateTime(new java.util.Date());
  39 + if (insert(obj)) {
  40 + return id;
  41 + }
  42 + return null;
  43 + }
  44 +
  45 + @Override
  46 + public boolean update(MarrybeInspectMan obj) {
  47 + if (obj == null || StringUtils.isEmpty(obj.getId())) {
  48 + throw new SystemException("男性婚检信息为空");
  49 + }
  50 + return updateById(obj);
  51 + }
  52 +
  53 + @Override
  54 + public MarrybeInspectMan selectById(String id) {
  55 + return selectById(id);
  56 + }
  57 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/impl/MarrybeInspectServiceImpl.java View file @ f329c75
  1 +package com.lyms.hospital.service.inspect.impl;
  2 +
  3 +import java.io.Serializable;
  4 +
  5 +import org.springframework.beans.factory.annotation.Autowired;
  6 +import org.springframework.stereotype.Service;
  7 +import org.springframework.transaction.annotation.Transactional;
  8 +import org.springframework.util.StringUtils;
  9 +
  10 +import com.baomidou.mybatisplus.service.impl.ServiceImpl;
  11 +import com.lyms.exception.SystemException;
  12 +import com.lyms.hospital.dao.inspect.MarrybeInspectMapper;
  13 +import com.lyms.hospital.entity.assist.DiagnoseAssit;
  14 +import com.lyms.hospital.entity.inspect.InspectManVo;
  15 +import com.lyms.hospital.entity.inspect.InspectVo;
  16 +import com.lyms.hospital.entity.inspect.InspectWomanVo;
  17 +import com.lyms.hospital.entity.inspect.MarrybeInspect;
  18 +import com.lyms.hospital.entity.inspect.MarrybeInspectMan;
  19 +import com.lyms.hospital.entity.inspect.MarrybeInspectWoman;
  20 +import com.lyms.hospital.entity.woman.WomanHusband;
  21 +import com.lyms.hospital.enums.IfdelEnum;
  22 +import com.lyms.hospital.service.assist.DiagnoseAssitService;
  23 +import com.lyms.hospital.service.inspect.MarrybeInspectManService;
  24 +import com.lyms.hospital.service.inspect.MarrybeInspectService;
  25 +import com.lyms.hospital.service.inspect.MarrybeInspectWomanService;
  26 +import com.lyms.hospital.service.woman.WomanHusbandService;
  27 +import com.lyms.util.StrUtils;
  28 +
  29 +/**
  30 + * <p>
  31 + * 服务实现类
  32 + * </p>
  33 + *
  34 + * @author xujiahong
  35 + * @since 2017-04-06
  36 + */
  37 +@Service
  38 +public class MarrybeInspectServiceImpl extends ServiceImpl<MarrybeInspectMapper, MarrybeInspect> implements MarrybeInspectService {
  39 +
  40 + @Autowired
  41 + private MarrybeInspectManService inspectManService;
  42 + @Autowired
  43 + private MarrybeInspectWomanService inspectWomanService;
  44 + @Autowired
  45 + private WomanHusbandService whService;
  46 + @Autowired
  47 + private DiagnoseAssitService assistService;
  48 +
  49 + public Integer deleteLogicById(Serializable id){
  50 + return baseMapper.deleteLogicById(id);
  51 + }
  52 +
  53 + @Override
  54 + public String create(MarrybeInspect obj) {
  55 + if (obj == null) {
  56 + throw new SystemException("基础婚检信息为空");
  57 + }
  58 + String id = StrUtils.uuid();
  59 + obj.setId(id);
  60 + obj.setIfDel(IfdelEnum.NO.getStatus());
  61 + obj.setCreateTime(new java.util.Date());
  62 + if (insert(obj)) {
  63 + return id;
  64 + }
  65 + return null;
  66 + }
  67 +
  68 + @Override
  69 + public boolean update(MarrybeInspect obj) {
  70 + if (obj == null || StringUtils.isEmpty(obj.getId())) {
  71 + throw new SystemException("基础婚检信息为空");
  72 + }
  73 + return updateById(obj);
  74 + }
  75 +
  76 + /*
  77 + * 创建婚检(不分男女)
  78 + */
  79 + @Transactional
  80 + private String createInspectVo(InspectVo vo){
  81 + if(vo==null){
  82 + return null;
  83 + }
  84 + MarrybeInspect inspect = vo.getInspect();//基础婚检信息
  85 + WomanHusband wh = vo.getWh();//配偶信息
  86 + DiagnoseAssit assist = vo.getAssist();//辅助检查
  87 + MarrybeInspectMan inspectMan;
  88 + MarrybeInspectWoman inspectWoman;
  89 +
  90 + if(inspect==null){
  91 + throw new SystemException("基础婚检信息为空");
  92 + }
  93 + String mid = this.create(inspect);//婚前检查ID
  94 + if(wh!=null){
  95 + wh.setTargetId(mid);
  96 + whService.create(wh);
  97 + }
  98 + if(assist!=null){
  99 + assist.setDiagnoseId(mid);
  100 + assist.setDiagnoseType(1);//诊断类型:1婚前检查,2产检
  101 + assistService.create(assist);
  102 + }
  103 + if(vo instanceof InspectManVo){//男性婚检信息
  104 + InspectManVo manVo = (InspectManVo)vo;
  105 + inspectMan = manVo.getInspectMan();
  106 + if(inspectMan!=null){
  107 + inspectMan.setMid(mid);
  108 + inspectManService.create(inspectMan);
  109 + }
  110 + }else if(vo instanceof InspectWomanVo){//女性婚检信息
  111 + InspectWomanVo womanVo = (InspectWomanVo)vo;
  112 + inspectWoman = womanVo.getInspectWoman();
  113 + if(inspectWoman!=null){
  114 + inspectWoman.setMid(mid);
  115 + inspectWomanService.create(inspectWoman);
  116 + }
  117 + }
  118 + return mid;
  119 + }
  120 +
  121 + /*
  122 + * 修改婚检(不分男女)
  123 + */
  124 + @Transactional
  125 + private boolean updateInspectVo(InspectVo vo){
  126 + if(vo==null){
  127 + return false;
  128 + }
  129 + MarrybeInspect inspect = vo.getInspect();//基础婚检信息
  130 + WomanHusband wh = vo.getWh();//配偶信息
  131 + DiagnoseAssit assist = vo.getAssist();//辅助检查
  132 + MarrybeInspectMan inspectMan;
  133 + MarrybeInspectWoman inspectWoman;
  134 +
  135 + boolean flag;
  136 + flag = this.update(inspect);
  137 + flag = flag && whService.update(wh);
  138 + flag = flag && assistService.update(assist);
  139 + if(vo instanceof InspectManVo){//男性婚检信息
  140 + InspectManVo manVo = (InspectManVo)vo;
  141 + inspectMan = manVo.getInspectMan();
  142 + flag = flag && inspectManService.update(inspectMan);
  143 + }else if(vo instanceof InspectWomanVo){//女性婚检信息
  144 + InspectWomanVo womanVo = (InspectWomanVo)vo;
  145 + inspectWoman = womanVo.getInspectWoman();
  146 + flag = flag && inspectWomanService.update(inspectWoman);
  147 + }
  148 + return flag;
  149 + }
  150 +
  151 + @Override
  152 + @Transactional
  153 + public String createInspectManVo(InspectManVo vo) {
  154 + //新增男性婚检(事务:新增基本婚检信息、配偶信息、男性婚育史/生殖信息、辅助信息)
  155 + return createInspectVo(vo);
  156 + }
  157 +
  158 + @Override
  159 + @Transactional
  160 + public String createInspectWomanVo(InspectWomanVo vo) {
  161 + //新增女性婚检(事务:基本婚检信息、配偶信息、女性婚育史/生殖信息、新增辅助信息)
  162 + return createInspectVo(vo);
  163 + }
  164 +
  165 + @Override
  166 + @Transactional
  167 + public boolean updateInspectManVo(InspectManVo vo) {
  168 + return updateInspectVo(vo);
  169 + }
  170 +
  171 + @Override
  172 + @Transactional
  173 + public boolean updateInspectWomanVo(InspectWomanVo vo) {
  174 + return updateInspectVo(vo);
  175 + }
  176 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/impl/MarrybeInspectWomanServiceImpl.java View file @ f329c75
  1 +package com.lyms.hospital.service.inspect.impl;
  2 +
  3 +import com.lyms.hospital.entity.inspect.MarrybeInspectWoman;
  4 +import com.lyms.hospital.enums.IfdelEnum;
  5 +import com.lyms.exception.SystemException;
  6 +import com.lyms.hospital.dao.inspect.MarrybeInspectWomanMapper;
  7 +import com.lyms.hospital.service.inspect.MarrybeInspectWomanService;
  8 +import com.lyms.util.StrUtils;
  9 +import com.baomidou.mybatisplus.service.impl.ServiceImpl;
  10 +import org.springframework.stereotype.Service;
  11 +import org.springframework.util.StringUtils;
  12 +
  13 +import java.io.Serializable;
  14 +
  15 +/**
  16 + * <p>
  17 + * 服务实现类
  18 + * </p>
  19 + *
  20 + * @author xujiahong
  21 + * @since 2017-04-06
  22 + */
  23 +@Service
  24 +public class MarrybeInspectWomanServiceImpl extends ServiceImpl<MarrybeInspectWomanMapper, MarrybeInspectWoman> implements MarrybeInspectWomanService {
  25 +
  26 + public Integer deleteLogicById(Serializable id){
  27 + return baseMapper.deleteLogicById(id);
  28 + }
  29 +
  30 + @Override
  31 + public String create(MarrybeInspectWoman obj) {
  32 + if (obj == null) {
  33 + throw new SystemException("女性婚检信息为空");
  34 + }
  35 + String id = StrUtils.uuid();
  36 + obj.setId(id);
  37 + obj.setIfDel(IfdelEnum.NO.getStatus());
  38 + obj.setCreateTime(new java.util.Date());
  39 + if (insert(obj)) {
  40 + return id;
  41 + }
  42 + return null;
  43 + }
  44 +
  45 + @Override
  46 + public boolean update(MarrybeInspectWoman obj) {
  47 + if (obj == null || StringUtils.isEmpty(obj.getId())) {
  48 + throw new SystemException("女性婚检信息为空");
  49 + }
  50 + return updateById(obj);
  51 + }
  52 +}
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanHusbandService.java View file @ f329c75
... ... @@ -7,6 +7,9 @@
7 7 /**
8 8 * <p>
9 9 * 服务类
  10 + *
  11 + * 新增-配偶信息
  12 + * 修改-配偶信息
10 13 * </p>
11 14 *
12 15 * @author fangcheng
... ... @@ -22,6 +25,13 @@
22 25 public Integer deleteLogicById(Serializable id);
23 26  
24 27 public boolean insertHusband(WomanHusband womanHusband);
  28 +
  29 + /*
  30 + * 新增-配偶信息
  31 + * 修改-配偶信息
  32 + */
  33 + public String create(WomanHusband womanHusband);
  34 + public boolean update(WomanHusband womanHusband);
25 35  
26 36 }
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanHusbandServiceImpl.java View file @ f329c75
1 1 package com.lyms.hospital.service.woman.impl;
2 2  
3   -import com.lyms.hospital.entity.woman.WomanHusband;
4   -import com.lyms.hospital.dao.woman.WomanHusbandMapper;
5   -import com.lyms.hospital.service.woman.WomanHusbandService;
6   -import com.baomidou.mybatisplus.mapper.EntityWrapper;
7   -import com.baomidou.mybatisplus.service.impl.ServiceImpl;
  3 +import java.io.Serializable;
  4 +import java.util.Date;
  5 +
8 6 import org.springframework.stereotype.Service;
9 7 import org.springframework.transaction.annotation.Transactional;
  8 +import org.springframework.util.StringUtils;
10 9  
11   -import java.io.Serializable;
  10 +import com.baomidou.mybatisplus.mapper.EntityWrapper;
  11 +import com.baomidou.mybatisplus.service.impl.ServiceImpl;
  12 +import com.lyms.exception.SystemException;
  13 +import com.lyms.hospital.dao.woman.WomanHusbandMapper;
  14 +import com.lyms.hospital.entity.woman.WomanHusband;
  15 +import com.lyms.hospital.service.woman.WomanHusbandService;
  16 +import com.lyms.util.StrUtils;
12 17  
13 18 /**
14 19 * <p>
15 20  
16 21  
... ... @@ -29,9 +34,32 @@
29 34 @Transactional
30 35 public boolean insertHusband(WomanHusband womanHusband) {
31 36 EntityWrapper<WomanHusband> ew = new EntityWrapper<WomanHusband>();
32   - ew.where("WOMAN_RECORD_ID={0}", womanHusband.getWomanRecordId());
  37 + ew.where("TARGET_ID={0}", womanHusband.getTargetId());
33 38 delete(ew);
  39 + womanHusband.setCreateTime(new Date());
34 40 return insert(womanHusband);
35 41 }
  42 +
  43 + @Override
  44 + public String create(WomanHusband obj) {
  45 + if (obj == null) {
  46 + throw new SystemException("配偶信息为空");
  47 + }
  48 + String id = StrUtils.uuid();
  49 + obj.setId(id);
  50 + obj.setCreateTime(new java.util.Date());
  51 + if (insert(obj)) {
  52 + return id;
  53 + }
  54 + return null;
  55 + }
  56 +
  57 + @Override
  58 + public boolean update(WomanHusband obj) {
  59 + if (obj == null || StringUtils.isEmpty(obj.getId())) {
  60 + throw new SystemException("配偶信息为空");
  61 + }
  62 + return updateById(obj);
  63 + }
36 64 }
parent/hospital.web/src/main/java/com/lyms/hospital/controller/changehospital/HighriskChangeHospitalController.java View file @ f329c75
1 1 package com.lyms.hospital.controller.changehospital;
2 2  
3   -import org.springframework.stereotype.Controller;
  3 +import org.springframework.beans.factory.annotation.Autowired;
4 4 import org.springframework.web.bind.annotation.RequestMapping;
  5 +import org.springframework.web.bind.annotation.RequestMethod;
  6 +import org.springframework.web.bind.annotation.RestController;
  7 +
  8 +import com.baomidou.mybatisplus.plugins.Page;
  9 +import com.lyms.hospital.entity.changehospital.HighriskChangeHospital;
  10 +import com.lyms.hospital.service.changehospital.HighriskChangeHospitalService;
  11 +import com.lyms.hospital.util.AggridUtils;
  12 +import com.lyms.hospital.util.RequestUtil;
5 13 import com.lyms.web.controller.BaseController;
6 14  
7 15 /**
8 16  
... ... @@ -12,9 +20,18 @@
12 20 * @author xujiahong
13 21 * @since 2017-03-29
14 22 */
15   -@Controller
  23 +@RestController
16 24 @RequestMapping("/highriskChangeHospital")
17 25 public class HighriskChangeHospitalController extends BaseController {
  26 +
  27 + @Autowired
  28 + private HighriskChangeHospitalService service;
  29 +
  30 + @RequestMapping(value="/list/out", produces={RequestUtil.JSON_ENCODING}, method = RequestMethod.GET)
  31 + public String listOfOutWoman(){
  32 + Page<HighriskChangeHospital> page = service.pageOfOut("1",new Page<HighriskChangeHospital>(1,20));
  33 + return AggridUtils.toAggrid(page);
  34 + }
18 35  
19 36 }
parent/hospital.web/src/main/java/com/lyms/hospital/controller/inspect/MarrybeInspectController.java View file @ f329c75
  1 +package com.lyms.hospital.controller.inspect;
  2 +
  3 +import org.springframework.stereotype.Controller;
  4 +import org.springframework.web.bind.annotation.RequestMapping;
  5 +import com.lyms.web.controller.BaseController;
  6 +
  7 +/**
  8 + * <p>
  9 + * 前端控制器
  10 + * </p>
  11 + *
  12 + * @author xujiahong
  13 + * @since 2017-04-06
  14 + */
  15 +@Controller
  16 +@RequestMapping("/marrybeInspect")
  17 +public class MarrybeInspectController extends BaseController {
  18 +
  19 +}
parent/hospital.web/src/main/java/com/lyms/hospital/controller/inspect/MarrybeInspectManController.java View file @ f329c75
  1 +package com.lyms.hospital.controller.inspect;
  2 +
  3 +import org.springframework.stereotype.Controller;
  4 +import org.springframework.web.bind.annotation.RequestMapping;
  5 +import com.lyms.web.controller.BaseController;
  6 +
  7 +/**
  8 + * <p>
  9 + * 前端控制器
  10 + * </p>
  11 + *
  12 + * @author xujiahong
  13 + * @since 2017-04-06
  14 + */
  15 +@Controller
  16 +@RequestMapping("/marrybeInspectMan")
  17 +public class MarrybeInspectManController extends BaseController {
  18 +
  19 +}
parent/hospital.web/src/main/java/com/lyms/hospital/controller/inspect/MarrybeInspectWomanController.java View file @ f329c75
  1 +package com.lyms.hospital.controller.inspect;
  2 +
  3 +import org.springframework.stereotype.Controller;
  4 +import org.springframework.web.bind.annotation.RequestMapping;
  5 +import com.lyms.web.controller.BaseController;
  6 +
  7 +/**
  8 + * <p>
  9 + * 前端控制器
  10 + * </p>
  11 + *
  12 + * @author xujiahong
  13 + * @since 2017-04-06
  14 + */
  15 +@Controller
  16 +@RequestMapping("/marrybeInspectWoman")
  17 +public class MarrybeInspectWomanController extends BaseController {
  18 +
  19 +}
parent/hospital.web/src/main/java/com/lyms/hospital/util/RequestUtil.java View file @ f329c75
  1 +package com.lyms.hospital.util;
  2 +
  3 +public class RequestUtil {
  4 +
  5 + public static final String JSON_ENCODING = "application/json;charset=UTF-8";
  6 +
  7 +}
parent/hospital.web/src/test/java/test/hospital/service/ChildbirthServiceTest.java View file @ f329c75
... ... @@ -39,7 +39,7 @@
39 39 outJson(vo);
40 40 //{"info":{},"newbornList":[],"taiList":[],"taipanList":[]}
41 41 }
42   -
  42 +
43 43  
44 44  
45 45 }
parent/mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/generator/MysqlGenerator.java View file @ f329c75
... ... @@ -43,16 +43,16 @@
43 43 public class MysqlGenerator {
44 44  
45 45 private static void customSet(GlobalConfig gc, StrategyConfig strategy, PackageConfig pc) {
46   - gc.setOutputDir("E://mybatis-plus-generate");
47   - gc.setAuthor("fangcheng");
  46 + gc.setOutputDir("D://mybatis-plus-generate");
  47 + gc.setAuthor("xujiahong");
48 48  
49 49 // strategy.setInclude(new String[] {
50 50 // "SYS_USERS","SYS_USER_ROLE_MAPS","SYS_ROLES" }); // 需要生成的表
51   - strategy.setInclude(new String[] { "SYS_ORGANIZATIONS_CONF"}); // 需要生成的表
52   - // pc.setParent("com.lyms.hospital");
53   - pc.setParent("com.lyms.base.common");
  51 + strategy.setInclude(new String[] { "MARRYBE_INSPECT","MARRYBE_INSPECT_MAN","MARRYBE_INSPECT_WOMAN" }); // 需要生成的表
  52 + pc.setParent("com.lyms.hospital");
  53 +// pc.setParent("com.lyms.base.common");
54 54  
55   - pc.setFunctionName("organ"); // com.lyms.hospital.web.controller.sys
  55 + pc.setFunctionName("inspect"); // com.lyms.hospital.web.controller.sys
56 56 // 加在controller后面
57 57 // pc.setModuleName("sys"); //com.lyms.hospital.sys.controller
58 58 // 加在controller前面
... ... @@ -83,7 +83,7 @@
83 83  
84 84 // 全局配置
85 85 GlobalConfig gc = new GlobalConfig();
86   - gc.setOutputDir("E://mybatis-plus-generate");
  86 + gc.setOutputDir("D://mybatis-plus-generate");
87 87 gc.setFileOverride(true);
88 88 gc.setActiveRecord(false);
89 89 gc.setEnableCache(false);// XML 二级缓存
90 90  
... ... @@ -103,9 +103,9 @@
103 103 DataSourceConfig dsc = new DataSourceConfig();
104 104 dsc.setDbType(DbType.MYSQL);
105 105 dsc.setDriverName("com.mysql.jdbc.Driver");
106   - dsc.setUsername("center");
  106 + dsc.setUsername("hospital");
107 107 dsc.setPassword("lyms2015");
108   - dsc.setUrl("jdbc:mysql://119.90.57.26:3306/center?characterEncoding=utf8");
  108 + dsc.setUrl("jdbc:mysql://119.90.57.26:3306/hospital?characterEncoding=utf8");
109 109 mpg.setDataSource(dsc);
110 110  
111 111 // 策略配置