Commit 54b18cfbe5011c6b40611bf1124cd5cd2e6e0fb5
1 parent
6b8ee7094a
Exists in
master
c
Showing 4 changed files with 144 additions and 0 deletions
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/diagnose/DiagnoseInfoMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/diagnose/DiagnoseInfoMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/DiagnoseAssitMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/DiagnoseAssitMapper.xml
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/diagnose/DiagnoseInfoMapper.java
View file @
54b18cf
| 1 | +package com.lyms.hospital.dao.diagnose; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.diagnose.DiagnoseInfo; | |
| 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 jiangjiazhi | |
| 13 | + * @since 2017-03-28 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface DiagnoseInfoMapper extends BaseMapper<DiagnoseInfo> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/diagnose/DiagnoseInfoMapper.xml
View file @
54b18cf
| 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.diagnose.DiagnoseInfoMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.diagnose.DiagnoseInfo"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="WOMAN_ID" property="womanId" /> | |
| 9 | + <result column="TYPE" property="type" /> | |
| 10 | + <result column="YUN_NUM" property="yunNum" /> | |
| 11 | + <result column="CHAN_NUM" property="chanNum" /> | |
| 12 | + <result column="SHUN_NUM" property="shunNum" /> | |
| 13 | + <result column="PAO_NUM" property="paoNum" /> | |
| 14 | + <result column="LIU_NUM" property="liuNum" /> | |
| 15 | + <result column="ZIRAN_NUM" property="ziranNum" /> | |
| 16 | + <result column="RENGONG_NUM" property="rengongNum" /> | |
| 17 | + <result column="SITAI_NUM" property="sitaiNum" /> | |
| 18 | + <result column="SICHAN_NUM" property="sichanNum" /> | |
| 19 | + <result column="CHILDDIE_NUM" property="childdieNum" /> | |
| 20 | + <result column="BIRTHDEFECT_NUM" property="birthdefectNum" /> | |
| 21 | + <result column="HEIGHT" property="height" /> | |
| 22 | + <result column="WEIGHT" property="weight" /> | |
| 23 | + <result column="HEIGHT_AGO" property="heightAgo" /> | |
| 24 | + <result column="WEIGHT_INDEX" property="weightIndex" /> | |
| 25 | + <result column="BLOOD_SHRINK" property="bloodShrink" /> | |
| 26 | + <result column="BLOOD_DIASTOLE" property="bloodDiastole" /> | |
| 27 | + <result column="HEART" property="heart" /> | |
| 28 | + <result column="LUNG" property="lung" /> | |
| 29 | + <result column="WAIYIN_WOMAN" property="waiyinWoman" /> | |
| 30 | + <result column="YINDAO_WOMAN" property="yindaoWoman" /> | |
| 31 | + <result column="GONGJING_WOMAN" property="gongjingWoman" /> | |
| 32 | + <result column="ZIGONG_WOMAN" property="zigongWoman" /> | |
| 33 | + <result column="FUJIAN_WOMAN" property="fujianWoman" /> | |
| 34 | + <result column="GONGGAO_OBSTETRICS" property="gonggaoObstetrics" /> | |
| 35 | + <result column="FUWEI_OBSTETRICS" property="fuweiObstetrics" /> | |
| 36 | + <result column="FUZHONG_OBSTETRICS" property="fuzhongObstetrics" /> | |
| 37 | + <result column="TAISHU_OBSTETRICS" property="taishuObstetrics" /> | |
| 38 | + <result column="DISPOSE_SUGGEST" property="disposeSuggest" /> | |
| 39 | + <result column="GUIDE_SUGGEST" property="guideSuggest" /> | |
| 40 | + <result column="NEXTINSPECT_NUM" property="nextinspectNum" /> | |
| 41 | + <result column="NEXTINSPECT_TIME" property="nextinspectTime" /> | |
| 42 | + <result column="DOCTOR_ID" property="doctorId" /> | |
| 43 | + <result column="ORG_ID" property="orgId" /> | |
| 44 | + <result column="DIAGNOSE_TIME" property="diagnoseTime" /> | |
| 45 | + </resultMap> | |
| 46 | + | |
| 47 | + <!-- 通用查询结果列 --> | |
| 48 | + <sql id="Base_Column_List"> | |
| 49 | + ID AS id, WOMAN_ID AS womanId, TYPE AS type, YUN_NUM AS yunNum, CHAN_NUM AS chanNum, SHUN_NUM AS shunNum, PAO_NUM AS paoNum, LIU_NUM AS liuNum, ZIRAN_NUM AS ziranNum, RENGONG_NUM AS rengongNum, SITAI_NUM AS sitaiNum, SICHAN_NUM AS sichanNum, CHILDDIE_NUM AS childdieNum, BIRTHDEFECT_NUM AS birthdefectNum, HEIGHT AS height, WEIGHT AS weight, HEIGHT_AGO AS heightAgo, WEIGHT_INDEX AS weightIndex, BLOOD_SHRINK AS bloodShrink, BLOOD_DIASTOLE AS bloodDiastole, HEART AS heart, LUNG AS lung, WAIYIN_WOMAN AS waiyinWoman, YINDAO_WOMAN AS yindaoWoman, GONGJING_WOMAN AS gongjingWoman, ZIGONG_WOMAN AS zigongWoman, FUJIAN_WOMAN AS fujianWoman, GONGGAO_OBSTETRICS AS gonggaoObstetrics, FUWEI_OBSTETRICS AS fuweiObstetrics, FUZHONG_OBSTETRICS AS fuzhongObstetrics, TAISHU_OBSTETRICS AS taishuObstetrics, DISPOSE_SUGGEST AS disposeSuggest, GUIDE_SUGGEST AS guideSuggest, NEXTINSPECT_NUM AS nextinspectNum, NEXTINSPECT_TIME AS nextinspectTime, DOCTOR_ID AS doctorId, ORG_ID AS orgId, DIAGNOSE_TIME AS diagnoseTime | |
| 50 | + </sql> | |
| 51 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/DiagnoseAssitMapper.java
View file @
54b18cf
| 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 @
54b18cf
| 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> |