Commit f0d827da100898cb3f48659e68de558a2792af5f
1 parent
40c571bd7c
Exists in
master
0413小改动
Showing 47 changed files with 2791 additions and 26 deletions
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/childbirth/ChildbirthInfoMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/childbirth/ChildbirthInfoMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/childbirth/ChildbirthNewbornMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/childbirth/ChildbirthNewbornMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenExamMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenExamMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenFatherMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenFatherMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenPersonMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenPersonMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenRecordMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenRecordMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/recheck/PostpartumReeMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/recheck/PostpartumReeMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/childbirth/ChildbirthListVo.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/childbirth/ChildbirthNewborn.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenExam.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenFather.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenPerson.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenRecord.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenVo.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/recheck/PostpartumRee.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/childbirth/ChildbirthInfoService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/childbirth/ChildbirthNewbornService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/childbirth/impl/ChildbirthInfoServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/childbirth/impl/ChildbirthNewbornServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/ChildrenExamService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/ChildrenFatherService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/ChildrenPersonService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/ChildrenRecordService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/impl/ChildrenExamServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/impl/ChildrenFatherServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/impl/ChildrenPersonServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/impl/ChildrenRecordServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/MarrybeInspectService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/impl/MarrybeInspectServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/recheck/PostpartumReeService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/recheck/impl/PostpartumReeServiceImpl.java
- parent/hospital.web/src/main/java/com/lyms/hospital/controller/children/ChildrenExamController.java
- parent/hospital.web/src/main/java/com/lyms/hospital/controller/children/ChildrenFatherController.java
- parent/hospital.web/src/main/java/com/lyms/hospital/controller/children/ChildrenPersonController.java
- parent/hospital.web/src/main/java/com/lyms/hospital/controller/children/ChildrenRecordController.java
- parent/hospital.web/src/main/resources/logback.xml
- parent/hospital.web/src/test/java/test/hospital/service/ChildbirthServiceTest.java
- parent/mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/generator/MysqlGenerator.java
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/childbirth/ChildbirthInfoMapper.java
View file @
f0d827d
| 1 | 1 | package com.lyms.hospital.dao.childbirth; |
| 2 | 2 | |
| 3 | 3 | import com.lyms.hospital.entity.childbirth.ChildbirthInfo; |
| 4 | +import com.lyms.hospital.entity.childbirth.ChildbirthListVo; | |
| 4 | 5 | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| 6 | +import com.baomidou.mybatisplus.plugins.pagination.Pagination; | |
| 7 | + | |
| 5 | 8 | import org.springframework.stereotype.Repository; |
| 6 | 9 | import java.io.Serializable; |
| 10 | +import java.util.List; | |
| 7 | 11 | /** |
| 8 | 12 | * <p> |
| 9 | 13 | * Mapper接口 |
| ... | ... | @@ -16,6 +20,17 @@ |
| 16 | 20 | public interface ChildbirthInfoMapper extends BaseMapper<ChildbirthInfo> { |
| 17 | 21 | |
| 18 | 22 | public Integer deleteLogicById(Serializable id); |
| 23 | + | |
| 24 | + /** | |
| 25 | + * <li>@Description:某医院-分娩管理列表 | |
| 26 | + * <li>@param vo | |
| 27 | + * <li>@return | |
| 28 | + * <li>创建人:xujiahong | |
| 29 | + * <li>创建时间:2017年4月11日 | |
| 30 | + * <li>修改人: | |
| 31 | + * <li>修改时间: | |
| 32 | + */ | |
| 33 | + public List<ChildbirthListVo> listOfChildbirth(Pagination page,ChildbirthListVo vo); | |
| 19 | 34 | |
| 20 | 35 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/childbirth/ChildbirthInfoMapper.xml
View file @
f0d827d
| ... | ... | @@ -50,10 +50,62 @@ |
| 50 | 50 | <result column="CREATE_TIME" property="createTime" /> |
| 51 | 51 | <result column="IF_DEL" property="ifDel" /> |
| 52 | 52 | </resultMap> |
| 53 | + | |
| 54 | + <!-- | |
| 55 | + 分娩管理列表-查询显示对象 | |
| 56 | + private String id;//分娩ID | |
| 57 | + private Date childbirthTime;//分娩日期 | |
| 58 | + private String womanName;//姓名BASE_WOMAN_NAME | |
| 59 | + private String womanBirth;//孕妇出生日期(计算年龄用) | |
| 60 | + private Integer age;//年龄 | |
| 61 | + private String papersNumber;// 证件号 BASE_PAPERS_NUMBER | |
| 62 | + private String childbirthTimeText;//分娩孕周CHILDBIRTH_TIME_TEXT | |
| 63 | + private Integer childbirthType;//分娩方式CHILDBIRTH_TYPE | |
| 64 | + private Integer womanSituation;//产妇情况WOMAN_SITUATION | |
| 65 | + private Integer fetusNum;//胎数FETUS_NUM | |
| 66 | + private Integer surviveNum;//活产数(预留) | |
| 67 | + private String doctorName;//接生医生DOCTOR_ID | |
| 68 | + private String contactWay;//联系方式CONTACT_WOMAN_WAY | |
| 69 | + --> | |
| 70 | + <resultMap id="ChildbirthListVoResultMap" type="com.lyms.hospital.entity.childbirth.ChildbirthListVo"> | |
| 71 | + <id column="ID" property="id" /> | |
| 72 | + <result column="CHILDBIRTH_TIME" property="childbirthTime" /> | |
| 73 | + <result column="BASE_WOMAN_NAME" property="womanName" /> | |
| 74 | + <result column="BASE_WOMAN_BIRTH" property="womanBirth" /> | |
| 75 | + <result column="BASE_PAPERS_NUMBER" property="papersNumber" /> | |
| 76 | + <result column="CHILDBIRTH_TIME_TEXT" property="childbirthTimeText" /> | |
| 77 | + <result column="CHILDBIRTH_TYPE" property="childbirthType" /> | |
| 78 | + <result column="WOMAN_SITUATION" property="womanSituation" /> | |
| 79 | + <result column="FETUS_NUM" property="fetusNum" /> | |
| 80 | + <result column="DOCTOR_ID" property="doctorName" /> | |
| 81 | + <result column="CONTACT_WOMAN_WAY" property="contactWay" /> | |
| 82 | + </resultMap> | |
| 53 | 83 | |
| 54 | 84 | <!-- 通用查询结果列 --> |
| 55 | 85 | <sql id="Base_Column_List"> |
| 56 | 86 | ID AS id, WOMAN_ID AS womanId, CHILDBIRTH_TIME AS childbirthTime, CHILDBIRTH_TIME_TEXT AS childbirthTimeText, FETUS_NUM AS fetusNum, PLACENTA_NUM AS placentaNum, CHILDBIRTH_TYPE AS childbirthType, OPERATION_REASON AS operationReason, PROCESS_FIRST AS processFirst, PROCESS_SECOND AS processSecond, PROCESS_THIRD AS processThird, PROCESS_TOTAL AS processTotal, PERINEUM_SITUATION AS perineumSituation, PERINEUM_SPLIT AS perineumSplit, NEEDLE_NUM AS needleNum, WOMAN_SITUATION AS womanSituation, OTHER_DEATH_REASON_TEXT AS otherDeathReasonText, BLOOD_SHRINK AS bloodShrink, BLOOD_DIASTOLE AS bloodDiastole, BLOOD_SHRINK_LATER AS bloodShrinkLater, BLOOD_DIASTOLE_LATER AS bloodDiastoleLater, BREATH AS breath, PULSE AS pulse, LOSE_BLOOD_A AS loseBloodA, LOSE_BLOOD_B AS loseBloodB, LOSE_BLOOD_C AS loseBloodC, LOSE_BLOOD_D AS loseBloodD, LOSE_BLOOD_REASON AS loseBloodReason, LOSE_BLOOD_OTHER_TEXT AS loseBloodOtherText, COMPLICATION_QZTP AS complicationQztp, COMPLICATION_TPZB AS complicationTpzb, COMPLICATION_TPZL AS complicationTpzl, COMPLICATION_TMZP AS complicationTmzp, COMPLICATION_CHCX AS complicationChcx, COMPLICATION_RSQGXY AS complicationRsqgxy, COMPLICATION_ZXA AS complicationZxa, COMPLICATION_ZXB AS complicationZxb, COMPLICATION_ZXC AS complicationZxc, COMPLICATION_RSHBMXGXY AS complicationRshbmxgxy, COMPLICATION_OTHER AS complicationOther, COMPLICATION_OTHER_TEXT AS complicationOtherText, ORG_ID AS orgId, DOCTOR_ID AS doctorId, CREATE_TIME AS createTime, IF_DEL AS ifDel |
| 57 | 87 | </sql> |
| 88 | + | |
| 89 | + <!-- 某医院-分娩管理列表 --> | |
| 90 | + <select id="listOfChildbirth" parameterType="com.lyms.hospital.entity.childbirth.ChildbirthListVo" resultMap="ChildbirthListVoResultMap"> | |
| 91 | + SELECT info.`ID`,info.`CHILDBIRTH_TIME`,w.`BASE_WOMAN_NAME`, | |
| 92 | + w.BASE_WOMAN_BIRTH,w.`BASE_PAPERS_NUMBER`,info.`CHILDBIRTH_TIME_TEXT`, | |
| 93 | + info.CHILDBIRTH_TYPE,info.WOMAN_SITUATION,info.`FETUS_NUM`,info.`DOCTOR_ID`,w.`CONTACT_WOMAN_WAY` | |
| 94 | + FROM CHILDBIRTH_INFO info | |
| 95 | + INNER JOIN WOMAN_FETATION_RECORD w ON info.`WOMAN_ID`=w.`ID` | |
| 96 | + <where> | |
| 97 | + <if test="orgId==null">and info.`ORG_ID`=-1</if> | |
| 98 | + <if test="orgId!=null">and info.`ORG_ID`=#{orgId}</if> | |
| 99 | + <if test="womanName!=null">and w.`BASE_WOMAN_NAME` like concat('%',#{womanName},'%')</if> | |
| 100 | + <if test="papersNumber!=null">and w.`BASE_PAPERS_NUMBER` like concat('%',#{papersNumber},'%')</if> | |
| 101 | + <if test="contactWay!=null">and w.`CONTACT_WOMAN_WAY` like concat('%',#{contactWay},'%')</if> | |
| 102 | + <if test="queryDateBegin!=null and queryDateEnd!=null"> | |
| 103 | + <![CDATA[ | |
| 104 | + and info.`CHILDBIRTH_TIME` > #{queryDateBegin} and info.`CHILDBIRTH_TIME` < #{queryDateEnd} | |
| 105 | + ]]> | |
| 106 | + </if> | |
| 107 | + <if test="childbirthType!=null">and info.`CHILDBIRTH_TYPE` like concat('%',#{childbirthType},'%')</if> | |
| 108 | + </where> | |
| 109 | + </select> | |
| 58 | 110 | </mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/childbirth/ChildbirthNewbornMapper.java
View file @
f0d827d
| 1 | 1 | package com.lyms.hospital.dao.childbirth; |
| 2 | 2 | |
| 3 | -import com.lyms.hospital.entity.childbirth.ChildbirthNewborn; | |
| 4 | -import com.baomidou.mybatisplus.mapper.BaseMapper; | |
| 5 | -import org.springframework.stereotype.Repository; | |
| 6 | 3 | import java.io.Serializable; |
| 4 | +import java.util.List; | |
| 5 | + | |
| 6 | +import org.springframework.stereotype.Repository; | |
| 7 | + | |
| 8 | +import com.baomidou.mybatisplus.mapper.BaseMapper; | |
| 9 | +import com.baomidou.mybatisplus.plugins.pagination.Pagination; | |
| 10 | +import com.lyms.hospital.entity.childbirth.ChildbirthNewborn; | |
| 7 | 11 | /** |
| 8 | 12 | * <p> |
| 9 | 13 | * Mapper接口 |
| ... | ... | @@ -16,6 +20,17 @@ |
| 16 | 20 | public interface ChildbirthNewbornMapper extends BaseMapper<ChildbirthNewborn> { |
| 17 | 21 | |
| 18 | 22 | public Integer deleteLogicById(Serializable id); |
| 23 | + | |
| 24 | + /** | |
| 25 | + * <li>@Description:查询-某医院的新生儿管理列表 | |
| 26 | + * <li>@param newborn | |
| 27 | + * <li>@return | |
| 28 | + * <li>创建人:xujiahong | |
| 29 | + * <li>创建时间:2017年4月11日 | |
| 30 | + * <li>修改人: | |
| 31 | + * <li>修改时间: | |
| 32 | + */ | |
| 33 | + public List<ChildbirthNewborn> pageOfNewborn(Pagination page,ChildbirthNewborn newborn); | |
| 19 | 34 | |
| 20 | 35 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/childbirth/ChildbirthNewbornMapper.xml
View file @
f0d827d
| ... | ... | @@ -22,11 +22,50 @@ |
| 22 | 22 | <result column="SUCK" property="suck" /> |
| 23 | 23 | <result column="CREATE_TIME" property="createTime" /> |
| 24 | 24 | <result column="IF_DEL" property="ifDel" /> |
| 25 | + | |
| 26 | + <!-- | |
| 27 | + private String childbirthTimeText;//分娩孕周 | |
| 28 | + private String childbirthType;//分娩方式 | |
| 29 | + private String motherName;//母亲姓名 | |
| 30 | + private String womanBirth;//孕妇出生日期(计算年龄用) | |
| 31 | + private String papersNumber;//母亲证件号 | |
| 32 | + private String contactWay;//联系方式 | |
| 33 | + private String doctorName;//接生医生 | |
| 34 | + --> | |
| 35 | + <result column="CHILDBIRTH_TIME_TEXT" property="childbirthTimeText" /> | |
| 36 | + <result column="CHILDBIRTH_TYPE" property="childbirthType" /> | |
| 37 | + <result column="DOCTOR_ID" property="doctorName" /> | |
| 38 | + <result column="BASE_WOMAN_NAME" property="motherName" /> | |
| 39 | + <result column="BASE_WOMAN_BIRTH" property="womanBirth" /> | |
| 40 | + <result column="BASE_PAPERS_NUMBER" property="papersNumber" /> | |
| 41 | + <result column="CONTACT_WOMAN_WAY" property="contactWay" /> | |
| 25 | 42 | </resultMap> |
| 26 | - | |
| 43 | + | |
| 27 | 44 | <!-- 通用查询结果列 --> |
| 28 | 45 | <sql id="Base_Column_List"> |
| 29 | 46 | ID AS id, CID AS cid, BIRTH_TIME AS birthTime, GESTATION_ENDING AS gestationEnding, DEFORMITY AS deformity, GENDER AS gender, WEIGHT AS weight, HEIGHT AS height, DISEASE AS disease, APGAR_SCORE_ONE AS apgarScoreOne, APGAR_SCORE_FIVE AS apgarScoreFive, APGAR_SCORE_TEN AS apgarScoreTen, ASPHYXIA AS asphyxia, TOUCH_BEGIN AS touchBegin, TOUCH_STAY AS touchStay, SUCK AS suck, CREATE_TIME AS createTime, IF_DEL AS ifDel |
| 30 | 47 | </sql> |
| 48 | + | |
| 49 | + <!-- 查询-某医院的新生儿管理列表 --> | |
| 50 | + <select id="pageOfNewborn" parameterType="com.lyms.hospital.entity.childbirth.ChildbirthNewborn" resultMap="BaseResultMap"> | |
| 51 | + SELECT n.*,i.`CHILDBIRTH_TIME_TEXT`,i.`CHILDBIRTH_TYPE` ,i.`DOCTOR_ID`, | |
| 52 | + w.`BASE_WOMAN_NAME`,w.`BASE_WOMAN_BIRTH`,w.`BASE_PAPERS_NUMBER`,w.`CONTACT_WOMAN_WAY` | |
| 53 | + FROM CHILDBIRTH_NEWBORN n | |
| 54 | + INNER JOIN CHILDBIRTH_INFO i ON n.`CID`=i.`ID` | |
| 55 | + INNER JOIN WOMAN_FETATION_RECORD w ON i.`WOMAN_ID`=w.`ID` | |
| 56 | + <where> | |
| 57 | + <if test="orgId==null">and i.`ORG_ID`=-1</if> | |
| 58 | + <if test="orgId!=null">and i.`ORG_ID`=#{orgId}</if> | |
| 59 | + <if test="motherName!=null">and w.`BASE_WOMAN_NAME` like concat('%',#{motherName},'%')</if> | |
| 60 | + <if test="papersNumber!=null">and w.`BASE_PAPERS_NUMBER` like concat('%',#{papersNumber},'%')</if> | |
| 61 | + <if test="contactWay!=null">and w.`CONTACT_WOMAN_WAY` like concat('%',#{contactWay},'%')</if> | |
| 62 | + <if test="queryDateBegin!=null and queryDateEnd!=null"> | |
| 63 | + <![CDATA[ | |
| 64 | + and n.`BIRTH_TIME` > #{queryDateBegin} and n.`BIRTH_TIME` < #{queryDateEnd} | |
| 65 | + ]]> | |
| 66 | + </if> | |
| 67 | + <if test="childbirthType!=null">and i.`CHILDBIRTH_TYPE` like concat('%',#{childbirthType},'%')</if> | |
| 68 | + </where> | |
| 69 | + </select> | |
| 31 | 70 | </mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenExamMapper.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.dao.children; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.children.ChildrenExam; | |
| 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-13 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface ChildrenExamMapper extends BaseMapper<ChildrenExam> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenExamMapper.xml
View file @
f0d827d
| 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.children.ChildrenExamMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.children.ChildrenExam"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="CHILD_ID" property="childId" /> | |
| 9 | + <result column="EXAM_TIME" property="examTime" /> | |
| 10 | + <result column="ORG_ID" property="orgId" /> | |
| 11 | + <result column="FOSTER_MAJOR" property="fosterMajor" /> | |
| 12 | + <result column="FEED_TYPE" property="feedType" /> | |
| 13 | + <result column="URINE" property="urine" /> | |
| 14 | + <result column="SHIT" property="shit" /> | |
| 15 | + <result column="SLEEP" property="sleep" /> | |
| 16 | + <result column="OUTSIDE" property="outside" /> | |
| 17 | + <result column="VD" property="vd" /> | |
| 18 | + <result column="OTHER_FOOD" property="otherFood" /> | |
| 19 | + <result column="FAMILY_MEASURE" property="familyMeasure" /> | |
| 20 | + <result column="SICK_CONDITION" property="sickCondition" /> | |
| 21 | + <result column="IS_ALLERGIC" property="isAllergic" /> | |
| 22 | + <result column="ALLERGIC_QMS" property="allergicQms" /> | |
| 23 | + <result column="ALLERGIC_XFMS" property="allergicXfms" /> | |
| 24 | + <result column="ALLERGIC_HAL" property="allergicHal" /> | |
| 25 | + <result column="ALLERGIC_OTHER" property="allergicOther" /> | |
| 26 | + <result column="ALLERGIC_OTHER_TEXT" property="allergicOtherText" /> | |
| 27 | + <result column="BODY_TEMPERATURE" property="bodyTemperature" /> | |
| 28 | + <result column="HEIGHT" property="height" /> | |
| 29 | + <result column="WEIGHT" property="weight" /> | |
| 30 | + <result column="PARAM_HW" property="paramHw" /> | |
| 31 | + <result column="HEAD_CIRCLE" property="headCircle" /> | |
| 32 | + <result column="CHEST_CIRCLE" property="chestCircle" /> | |
| 33 | + <result column="GROWTH_EVALUATE" property="growthEvaluate" /> | |
| 34 | + <result column="JPDHS_HEAD" property="jpdhsHead" /> | |
| 35 | + <result column="JPDHS_CHEST" property="jpdhsChest" /> | |
| 36 | + <result column="JPDHS_BELLY" property="jpdhsBelly" /> | |
| 37 | + <result column="QX_HEAD" property="qxHead" /> | |
| 38 | + <result column="QX_SIZE_ONE" property="qxSizeOne" /> | |
| 39 | + <result column="QX_SIZE_TWO" property="qxSizeTwo" /> | |
| 40 | + <result column="TOOTH" property="tooth" /> | |
| 41 | + <result column="FACE_COLOR" property="faceColor" /> | |
| 42 | + <result column="SKIN" property="skin" /> | |
| 43 | + <result column="EYE_APPEARANCE" property="eyeAppearance" /> | |
| 44 | + <result column="VISION" property="vision" /> | |
| 45 | + <result column="EAR_APPEARANCE" property="earAppearance" /> | |
| 46 | + <result column="LISTENING" property="listening" /> | |
| 47 | + <result column="NECK" property="neck" /> | |
| 48 | + <result column="CHEST" property="chest" /> | |
| 49 | + <result column="BELLY" property="belly" /> | |
| 50 | + <result column="LIMB" property="limb" /> | |
| 51 | + <result column="ANUS" property="anus" /> | |
| 52 | + <result column="GAIT" property="gait" /> | |
| 53 | + <result column="KYGLBZZ" property="kyglbzz" /> | |
| 54 | + <result column="KYGLBTZ" property="kyglbtz" /> | |
| 55 | + <result column="NERVOUS_CHECK" property="nervousCheck" /> | |
| 56 | + <result column="DIAGNOSE" property="diagnose" /> | |
| 57 | + <result column="HANDLE_SUGGESTION" property="handleSuggestion" /> | |
| 58 | + <result column="GUIDE_SUGGESTION" property="guideSuggestion" /> | |
| 59 | + <result column="DOCTOR_ID" property="doctorId" /> | |
| 60 | + <result column="NEXT_TIME" property="nextTime" /> | |
| 61 | + <result column="CREATE_TIME" property="createTime" /> | |
| 62 | + <result column="IF_DEL" property="ifDel" /> | |
| 63 | + </resultMap> | |
| 64 | + | |
| 65 | + <!-- 通用查询结果列 --> | |
| 66 | + <sql id="Base_Column_List"> | |
| 67 | + ID AS id, CHILD_ID AS childId, EXAM_TIME AS examTime, ORG_ID AS orgId, FOSTER_MAJOR AS fosterMajor, FEED_TYPE AS feedType, URINE AS urine, SHIT AS shit, SLEEP AS sleep, OUTSIDE AS outside, VD AS vd, OTHER_FOOD AS otherFood, FAMILY_MEASURE AS familyMeasure, SICK_CONDITION AS sickCondition, IS_ALLERGIC AS isAllergic, ALLERGIC_QMS AS allergicQms, ALLERGIC_XFMS AS allergicXfms, ALLERGIC_HAL AS allergicHal, ALLERGIC_OTHER AS allergicOther, ALLERGIC_OTHER_TEXT AS allergicOtherText, BODY_TEMPERATURE AS bodyTemperature, HEIGHT AS height, WEIGHT AS weight, PARAM_HW AS paramHw, HEAD_CIRCLE AS headCircle, CHEST_CIRCLE AS chestCircle, GROWTH_EVALUATE AS growthEvaluate, JPDHS_HEAD AS jpdhsHead, JPDHS_CHEST AS jpdhsChest, JPDHS_BELLY AS jpdhsBelly, QX_HEAD AS qxHead, QX_SIZE_ONE AS qxSizeOne, QX_SIZE_TWO AS qxSizeTwo, TOOTH AS tooth, FACE_COLOR AS faceColor, SKIN AS skin, EYE_APPEARANCE AS eyeAppearance, VISION AS vision, EAR_APPEARANCE AS earAppearance, LISTENING AS listening, NECK AS neck, CHEST AS chest, BELLY AS belly, LIMB AS limb, ANUS AS anus, GAIT AS gait, KYGLBZZ AS kyglbzz, KYGLBTZ AS kyglbtz, NERVOUS_CHECK AS nervousCheck, DIAGNOSE AS diagnose, HANDLE_SUGGESTION AS handleSuggestion, GUIDE_SUGGESTION AS guideSuggestion, DOCTOR_ID AS doctorId, NEXT_TIME AS nextTime, CREATE_TIME AS createTime, IF_DEL AS ifDel | |
| 68 | + </sql> | |
| 69 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenFatherMapper.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.dao.children; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.children.ChildrenFather; | |
| 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-12 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface ChildrenFatherMapper extends BaseMapper<ChildrenFather> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenFatherMapper.xml
View file @
f0d827d
| 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.children.ChildrenFatherMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.children.ChildrenFather"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="CHILD_ID" property="childId" /> | |
| 9 | + <result column="NAME" property="name" /> | |
| 10 | + <result column="CONTACT_WAY" property="contactWay" /> | |
| 11 | + <result column="BIRTHDAY" property="birthday" /> | |
| 12 | + <result column="EDUCATION_DEGREE" property="educationDegree" /> | |
| 13 | + <result column="OCCUPATION" property="occupation" /> | |
| 14 | + <result column="CREATE_TIME" property="createTime" /> | |
| 15 | + </resultMap> | |
| 16 | + | |
| 17 | + <!-- 通用查询结果列 --> | |
| 18 | + <sql id="Base_Column_List"> | |
| 19 | + ID AS id, CHILD_ID AS childId, NAME AS name, CONTACT_WAY AS contactWay, BIRTHDAY AS birthday, EDUCATION_DEGREE AS educationDegree, OCCUPATION AS occupation, CREATE_TIME AS createTime | |
| 20 | + </sql> | |
| 21 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenPersonMapper.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.dao.children; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.children.ChildrenPerson; | |
| 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-12 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface ChildrenPersonMapper extends BaseMapper<ChildrenPerson> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenPersonMapper.xml
View file @
f0d827d
| 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.children.ChildrenPersonMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.children.ChildrenPerson"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="MOTHER_ID" property="motherId" /> | |
| 9 | + <result column="NAME" property="name" /> | |
| 10 | + <result column="GENDER" property="gender" /> | |
| 11 | + <result column="PAPERS_NUM" property="papersNum" /> | |
| 12 | + <result column="BIRTHDAY" property="birthday" /> | |
| 13 | + <result column="ADDRESS_PROVINCE" property="addressProvince" /> | |
| 14 | + <result column="ADDRESS_CITY" property="addressCity" /> | |
| 15 | + <result column="ADDRESS_AREA" property="addressArea" /> | |
| 16 | + <result column="ADDRESS_STREET" property="addressStreet" /> | |
| 17 | + <result column="ADDRESS_DETAIL" property="addressDetail" /> | |
| 18 | + <result column="CREATE_TIME" property="createTime" /> | |
| 19 | + <result column="DOCTOR_ID" property="doctorId" /> | |
| 20 | + <result column="IF_DEL" property="ifDel" /> | |
| 21 | + </resultMap> | |
| 22 | + | |
| 23 | + <!-- 通用查询结果列 --> | |
| 24 | + <sql id="Base_Column_List"> | |
| 25 | + ID AS id, MOTHER_ID AS motherId, NAME AS name, GENDER AS gender, PAPERS_NUM AS papersNum, BIRTHDAY AS birthday, ADDRESS_PROVINCE AS addressProvince, ADDRESS_CITY AS addressCity, ADDRESS_AREA AS addressArea, ADDRESS_STREET AS addressStreet, ADDRESS_DETAIL AS addressDetail, CREATE_TIME AS createTime, DOCTOR_ID AS doctorId,IF_DEL AS ifDel | |
| 26 | + </sql> | |
| 27 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenRecordMapper.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.dao.children; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.children.ChildrenRecord; | |
| 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-12 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface ChildrenRecordMapper extends BaseMapper<ChildrenRecord> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/children/ChildrenRecordMapper.xml
View file @
f0d827d
| 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.children.ChildrenRecordMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.children.ChildrenRecord"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="CHILD_ID" property="childId" /> | |
| 9 | + <result column="GESTATIONAL_WEEK" property="gestationalWeek" /> | |
| 10 | + <result column="CHILDBIRTH_TYPE" property="childbirthType" /> | |
| 11 | + <result column="FETUS_NUM" property="fetusNum" /> | |
| 12 | + <result column="BIRTH_NUM" property="birthNum" /> | |
| 13 | + <result column="WEIGHT" property="weight" /> | |
| 14 | + <result column="HEIGHT" property="height" /> | |
| 15 | + <result column="HEAD_CIRCLE" property="headCircle" /> | |
| 16 | + <result column="APGAR_SCORE_ONE" property="apgarScoreOne" /> | |
| 17 | + <result column="APGAR_SCORE_FIVE" property="apgarScoreFive" /> | |
| 18 | + <result column="APGAR_SCORE_TEN" property="apgarScoreTen" /> | |
| 19 | + <result column="IS_DEFORMITY" property="isDeformity" /> | |
| 20 | + <result column="BIRTH_HOSPITAL" property="birthHospital" /> | |
| 21 | + <result column="MEDICAL_CARD_NUMBER" property="medicalCardNumber" /> | |
| 22 | + <result column="INPATIENT_NUMBER" property="inpatientNumber" /> | |
| 23 | + <result column="SERVICE_TYPE" property="serviceType" /> | |
| 24 | + <result column="SERVICE_STATUS" property="serviceStatus" /> | |
| 25 | + <result column="REMARK" property="remark" /> | |
| 26 | + <result column="CREATE_TIME" property="createTime" /> | |
| 27 | + </resultMap> | |
| 28 | + | |
| 29 | + <!-- 通用查询结果列 --> | |
| 30 | + <sql id="Base_Column_List"> | |
| 31 | + ID AS id, CHILD_ID AS childId, GESTATIONAL_WEEK AS gestationalWeek, CHILDBIRTH_TYPE AS childbirthType, FETUS_NUM AS fetusNum, BIRTH_NUM AS birthNum, WEIGHT AS weight, HEIGHT AS height, HEAD_CIRCLE AS headCircle, APGAR_SCORE_ONE AS apgarScoreOne, APGAR_SCORE_FIVE AS apgarScoreFive, APGAR_SCORE_TEN AS apgarScoreTen, IS_DEFORMITY AS isDeformity, BIRTH_HOSPITAL AS birthHospital, MEDICAL_CARD_NUMBER AS medicalCardNumber, INPATIENT_NUMBER AS inpatientNumber, SERVICE_TYPE AS serviceType, SERVICE_STATUS AS serviceStatus, REMARK AS remark, CREATE_TIME AS createTime | |
| 32 | + </sql> | |
| 33 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectMapper.java
View file @
f0d827d
| ... | ... | @@ -3,6 +3,8 @@ |
| 3 | 3 | import com.lyms.hospital.entity.inspect.InspectListVo; |
| 4 | 4 | import com.lyms.hospital.entity.inspect.MarrybeInspect; |
| 5 | 5 | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| 6 | +import com.baomidou.mybatisplus.plugins.pagination.Pagination; | |
| 7 | + | |
| 6 | 8 | import org.springframework.stereotype.Repository; |
| 7 | 9 | import java.io.Serializable; |
| 8 | 10 | import java.util.List; |
| ... | ... | @@ -40,7 +42,7 @@ |
| 40 | 42 | * <li>修改人: |
| 41 | 43 | * <li>修改时间: |
| 42 | 44 | */ |
| 43 | - public List<InspectListVo> listOfMarryBeforeInspect(InspectListVo vo); | |
| 45 | + public List<InspectListVo> listOfMarryBeforeInspect(Pagination page,InspectListVo vo); | |
| 44 | 46 | |
| 45 | 47 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/inspect/MarrybeInspectMapper.xml
View file @
f0d827d
| ... | ... | @@ -119,7 +119,7 @@ |
| 119 | 119 | <if test="name!=null">and wr.`BASE_WOMAN_NAME` like concat('%',#{name},'%')</if> |
| 120 | 120 | <if test="papersNumber!=null">and wr.`BASE_PAPERS_NUMBER` like concat('%',#{papersNumber},'%')</if> |
| 121 | 121 | <if test="contactWay!=null">and wr.`CONTACT_WOMAN_WAY` like concat('%',#{contactWay},'%')</if> |
| 122 | - <if test="queryDateBegin!=null && queryDateEnd!=null"> | |
| 122 | + <if test="queryDateBegin!=null and queryDateEnd!=null"> | |
| 123 | 123 | <![CDATA[ |
| 124 | 124 | and i.`INSPECT_DATE` > #{queryDateBegin} and i.`INSPECT_DATE` < #{queryDateEnd} |
| 125 | 125 | ]]> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/recheck/PostpartumReeMapper.java
View file @
f0d827d
| 1 | 1 | package com.lyms.hospital.dao.recheck; |
| 2 | 2 | |
| 3 | 3 | import java.io.Serializable; |
| 4 | +import java.util.List; | |
| 4 | 5 | |
| 5 | 6 | import org.springframework.stereotype.Repository; |
| 6 | 7 | |
| 7 | 8 | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| 9 | +import com.baomidou.mybatisplus.plugins.pagination.Pagination; | |
| 8 | 10 | import com.lyms.hospital.entity.recheck.PostpartumRee; |
| 9 | 11 | /** |
| 10 | 12 | * <p> |
| ... | ... | @@ -29,6 +31,18 @@ |
| 29 | 31 | // * <li>修改时间: |
| 30 | 32 | // */ |
| 31 | 33 | // public List<PostpartumRee> listByWomanId(String womanId); |
| 34 | + | |
| 35 | + /** | |
| 36 | + * <li>@Description:查询-复查管理列表 | |
| 37 | + * <li>@param page | |
| 38 | + * <li>@param re | |
| 39 | + * <li>@return | |
| 40 | + * <li>创建人:xujiahong | |
| 41 | + * <li>创建时间:2017年4月11日 | |
| 42 | + * <li>修改人: | |
| 43 | + * <li>修改时间: | |
| 44 | + */ | |
| 45 | + public List<PostpartumRee> pageOfRecheck(Pagination page,PostpartumRee re); | |
| 32 | 46 | |
| 33 | 47 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/recheck/PostpartumReeMapper.xml
View file @
f0d827d
| ... | ... | @@ -33,11 +33,49 @@ |
| 33 | 33 | <result column="NEXT_TIME" property="nextTime" /> |
| 34 | 34 | <result column="NEXT_AFTER_DAYNUM" property="nextAfterDaynum" /> |
| 35 | 35 | <result column="ifDel" property="ifdel" /> |
| 36 | + | |
| 37 | + <!-- | |
| 38 | + private String womanName;//母亲姓名 | |
| 39 | + private String womanBirth;//孕妇出生日期(计算年龄用) | |
| 40 | + private String papersNumber;//母亲证件号 | |
| 41 | + private String contactWay;//联系方式 | |
| 42 | + --> | |
| 43 | + <result column="BASE_WOMAN_NAME" property="womanName" /> | |
| 44 | + <result column="BASE_WOMAN_BIRTH" property="womanBirth" /> | |
| 45 | + <result column="BASE_PAPERS_NUMBER" property="papersNumber" /> | |
| 46 | + <result column="CONTACT_WOMAN_WAY" property="contactWay" /> | |
| 36 | 47 | </resultMap> |
| 37 | 48 | |
| 38 | 49 | <!-- 通用查询结果列 --> |
| 39 | 50 | <sql id="Base_Column_List"> |
| 40 | 51 | ID AS id, WOMAN_ID AS womanId, REE_TIME AS reeTime, AFTER_DAYNUM AS afterDaynum, ORG_ID AS orgId, HEALTH_DESC AS healthDesc, PSYCHOLOGIC_DESC AS psychologicDesc, HEIGHT AS height, BLOOD_PRESSURE AS bloodPressure, OBSTETRICS_RF AS obstetricsRf, OBSTETRICS_EL AS obstetricsEl, OBSTETRICS_WY AS obstetricsWy, OBSTETRICS_YD AS obstetricsYd, OBSTETRICS_GJ AS obstetricsGj, OBSTETRICS_ZG AS obstetricsZg, OBSTETRICS_FJ AS obstetricsFj, OBSTETRICS_SK AS obstetricsSk, OBSTETRICS_OTHER AS obstetricsOther, COMP_PDJC AS compPdjc, COMP_WLYSJC AS compWlysjc, COMP_GMDJC AS compGmdjc, COMP_CSJC AS compCsjc, DISPOSE_SUGGEST AS disposeSuggest, GUIDE_SUGGEST AS guideSuggest, DOCTORID AS doctorid, INSPECT_TIME AS inspectTime, NEXT_TIME AS nextTime, NEXT_AFTER_DAYNUM AS nextAfterDaynum, ifDel AS ifdel |
| 41 | 52 | </sql> |
| 53 | + | |
| 54 | + <select id="pageOfRecheck" parameterType="com.lyms.hospital.entity.recheck.PostpartumRee" resultMap="BaseResultMap"> | |
| 55 | + SELECT p.* ,w.`BASE_WOMAN_NAME`,w.`BASE_WOMAN_BIRTH`, | |
| 56 | + w.`BASE_PAPERS_NUMBER`,w.`CONTACT_WOMAN_WAY` | |
| 57 | + FROM POSTPARTUM_REE p | |
| 58 | + INNER JOIN WOMAN_FETATION_RECORD w ON p.`WOMAN_ID`=w.`ID` | |
| 59 | + <where> | |
| 60 | + <if test="orgId==null">and p.`ORG_ID`=-1</if> | |
| 61 | + <if test="orgId!=null">and p.`ORG_ID`=#{orgId}</if> | |
| 62 | + <if test="queryDateBegin!=null and queryDateEnd!=null"> | |
| 63 | + <![CDATA[ | |
| 64 | + and p.`REE_TIME` > #{queryDateBegin} and p.`REE_TIME` < #{queryDateEnd} | |
| 65 | + ]]> | |
| 66 | + </if> | |
| 67 | + <if test="doctorid!=null">and p.`DOCTORID` like concat('%',#{doctorid},'%')</if><!-- 未来关联医生名称查询 --> | |
| 68 | + <if test="queryFlag!=null"> | |
| 69 | + and ( | |
| 70 | + w.`BASE_WOMAN_NAME` like concat('%',#{queryFlag},'%') | |
| 71 | + or | |
| 72 | + w.`BASE_PAPERS_NUMBER` like concat('%',#{queryFlag},'%') | |
| 73 | + or | |
| 74 | + w.`CONTACT_WOMAN_WAY` like concat('%',#{queryFlag},'%') | |
| 75 | + ) | |
| 76 | + </if> | |
| 77 | + </where> | |
| 78 | + </select> | |
| 79 | + | |
| 42 | 80 | </mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/childbirth/ChildbirthListVo.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.entity.childbirth; | |
| 2 | + | |
| 3 | +import java.util.Date; | |
| 4 | + | |
| 5 | +/** | |
| 6 | + * 分娩管理列表-查询显示对象 | |
| 7 | + * @author xujiahong | |
| 8 | + * | |
| 9 | + */ | |
| 10 | +public class ChildbirthListVo { | |
| 11 | + | |
| 12 | + private String id;//分娩ID | |
| 13 | + private Date childbirthTime;//分娩日期 | |
| 14 | + private String womanName;//姓名BASE_WOMAN_NAME | |
| 15 | + private String womanBirth;//孕妇出生日期(计算年龄用) | |
| 16 | + private Integer age;//年龄 | |
| 17 | + private String papersNumber;// 证件号 BASE_PAPERS_NUMBER | |
| 18 | + private String childbirthTimeText;//分娩孕周CHILDBIRTH_TIME_TEXT | |
| 19 | + private Integer childbirthType;//分娩方式CHILDBIRTH_TYPE | |
| 20 | + private Integer womanSituation;//产妇情况WOMAN_SITUATION | |
| 21 | + private Integer fetusNum;//胎数FETUS_NUM | |
| 22 | + private Integer surviveNum;//活产数(预留) | |
| 23 | + private String doctorName;//接生医生DOCTOR_ID | |
| 24 | + private String contactWay;//联系方式CONTACT_WOMAN_WAY | |
| 25 | + | |
| 26 | + //查询冗余 | |
| 27 | + private String queryDateBegin;//查询-分娩日期范围开始 | |
| 28 | + private String queryDateEnd;//查询-分娩日期范围结束 | |
| 29 | + private Integer orgId;//分娩医院ID | |
| 30 | + | |
| 31 | + public String getId() { | |
| 32 | + return id; | |
| 33 | + } | |
| 34 | + public void setId(String id) { | |
| 35 | + this.id = id; | |
| 36 | + } | |
| 37 | + public Date getChildbirthTime() { | |
| 38 | + return childbirthTime; | |
| 39 | + } | |
| 40 | + public void setChildbirthTime(Date childbirthTime) { | |
| 41 | + this.childbirthTime = childbirthTime; | |
| 42 | + } | |
| 43 | + public String getWomanName() { | |
| 44 | + return womanName; | |
| 45 | + } | |
| 46 | + public void setWomanName(String womanName) { | |
| 47 | + this.womanName = womanName; | |
| 48 | + } | |
| 49 | + public Integer getAge() { | |
| 50 | + return age; | |
| 51 | + } | |
| 52 | + public void setAge(Integer age) { | |
| 53 | + this.age = age; | |
| 54 | + } | |
| 55 | + public String getPapersNumber() { | |
| 56 | + return papersNumber; | |
| 57 | + } | |
| 58 | + public void setPapersNumber(String papersNumber) { | |
| 59 | + this.papersNumber = papersNumber; | |
| 60 | + } | |
| 61 | + public String getChildbirthTimeText() { | |
| 62 | + return childbirthTimeText; | |
| 63 | + } | |
| 64 | + public void setChildbirthTimeText(String childbirthTimeText) { | |
| 65 | + this.childbirthTimeText = childbirthTimeText; | |
| 66 | + } | |
| 67 | + public Integer getWomanSituation() { | |
| 68 | + return womanSituation; | |
| 69 | + } | |
| 70 | + public void setWomanSituation(Integer womanSituation) { | |
| 71 | + this.womanSituation = womanSituation; | |
| 72 | + } | |
| 73 | + public Integer getFetusNum() { | |
| 74 | + return fetusNum; | |
| 75 | + } | |
| 76 | + public void setFetusNum(Integer fetusNum) { | |
| 77 | + this.fetusNum = fetusNum; | |
| 78 | + } | |
| 79 | + public Integer getSurviveNum() { | |
| 80 | + return surviveNum; | |
| 81 | + } | |
| 82 | + public void setSurviveNum(Integer surviveNum) { | |
| 83 | + this.surviveNum = surviveNum; | |
| 84 | + } | |
| 85 | + public String getDoctorName() { | |
| 86 | + return doctorName; | |
| 87 | + } | |
| 88 | + public void setDoctorName(String doctorName) { | |
| 89 | + this.doctorName = doctorName; | |
| 90 | + } | |
| 91 | + public String getContactWay() { | |
| 92 | + return contactWay; | |
| 93 | + } | |
| 94 | + public void setContactWay(String contactWay) { | |
| 95 | + this.contactWay = contactWay; | |
| 96 | + } | |
| 97 | + public Integer getChildbirthType() { | |
| 98 | + return childbirthType; | |
| 99 | + } | |
| 100 | + public void setChildbirthType(Integer childbirthType) { | |
| 101 | + this.childbirthType = childbirthType; | |
| 102 | + } | |
| 103 | + public String getQueryDateBegin() { | |
| 104 | + return queryDateBegin; | |
| 105 | + } | |
| 106 | + public void setQueryDateBegin(String queryDateBegin) { | |
| 107 | + this.queryDateBegin = queryDateBegin; | |
| 108 | + } | |
| 109 | + public String getQueryDateEnd() { | |
| 110 | + return queryDateEnd; | |
| 111 | + } | |
| 112 | + public void setQueryDateEnd(String queryDateEnd) { | |
| 113 | + this.queryDateEnd = queryDateEnd; | |
| 114 | + } | |
| 115 | + public String getWomanBirth() { | |
| 116 | + return womanBirth; | |
| 117 | + } | |
| 118 | + public void setWomanBirth(String womanBirth) { | |
| 119 | + this.womanBirth = womanBirth; | |
| 120 | + } | |
| 121 | + public Integer getOrgId() { | |
| 122 | + return orgId; | |
| 123 | + } | |
| 124 | + public void setOrgId(Integer orgId) { | |
| 125 | + this.orgId = orgId; | |
| 126 | + } | |
| 127 | + | |
| 128 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/childbirth/ChildbirthNewborn.java
View file @
f0d827d
| ... | ... | @@ -109,8 +109,24 @@ |
| 109 | 109 | */ |
| 110 | 110 | @TableField(value="IF_DEL") |
| 111 | 111 | private Integer ifDel; |
| 112 | + | |
| 113 | + //==========查询冗余字段(需要查询映射)============ | |
| 114 | + private String childbirthTimeText;//分娩孕周 | |
| 115 | + private String childbirthType;//分娩方式 | |
| 116 | + private String motherName;//母亲姓名 | |
| 117 | + private String womanBirth;//孕妇出生日期(计算年龄用) | |
| 118 | + private String papersNumber;//母亲证件号 | |
| 119 | + private String contactWay;//联系方式 | |
| 120 | + private String doctorName;//接生医生 | |
| 121 | + | |
| 122 | + //==========查询冗余字段(无需查询映射)============ | |
| 123 | + private String childName;//姓名 | |
| 124 | + private Integer daysAfterBirth;//出生天数 | |
| 125 | + private Integer motherAge;//母亲年龄 | |
| 126 | + private String queryDateBegin;//查询-分娩日期范围开始 | |
| 127 | + private String queryDateEnd;//查询-分娩日期范围结束 | |
| 128 | + private Integer orgId;//分娩医院ID | |
| 112 | 129 | |
| 113 | - | |
| 114 | 130 | public String getId() { |
| 115 | 131 | return id; |
| 116 | 132 | } |
| ... | ... | @@ -254,6 +270,111 @@ |
| 254 | 270 | public void setIfDel(Integer ifDel) { |
| 255 | 271 | this.ifDel = ifDel; |
| 256 | 272 | } |
| 273 | + | |
| 274 | + public String getChildbirthTimeText() { | |
| 275 | + return childbirthTimeText; | |
| 276 | + } | |
| 277 | + | |
| 278 | + public void setChildbirthTimeText(String childbirthTimeText) { | |
| 279 | + this.childbirthTimeText = childbirthTimeText; | |
| 280 | + } | |
| 281 | + | |
| 282 | + public String getChildbirthType() { | |
| 283 | + return childbirthType; | |
| 284 | + } | |
| 285 | + | |
| 286 | + public void setChildbirthType(String childbirthType) { | |
| 287 | + this.childbirthType = childbirthType; | |
| 288 | + } | |
| 289 | + | |
| 290 | + public String getMotherName() { | |
| 291 | + return motherName; | |
| 292 | + } | |
| 293 | + | |
| 294 | + public void setMotherName(String motherName) { | |
| 295 | + this.motherName = motherName; | |
| 296 | + } | |
| 297 | + | |
| 298 | + public String getWomanBirth() { | |
| 299 | + return womanBirth; | |
| 300 | + } | |
| 301 | + | |
| 302 | + public void setWomanBirth(String womanBirth) { | |
| 303 | + this.womanBirth = womanBirth; | |
| 304 | + } | |
| 305 | + | |
| 306 | + public String getPapersNumber() { | |
| 307 | + return papersNumber; | |
| 308 | + } | |
| 309 | + | |
| 310 | + public void setPapersNumber(String papersNumber) { | |
| 311 | + this.papersNumber = papersNumber; | |
| 312 | + } | |
| 313 | + | |
| 314 | + public String getContactWay() { | |
| 315 | + return contactWay; | |
| 316 | + } | |
| 317 | + | |
| 318 | + public void setContactWay(String contactWay) { | |
| 319 | + this.contactWay = contactWay; | |
| 320 | + } | |
| 321 | + | |
| 322 | + public String getDoctorName() { | |
| 323 | + return doctorName; | |
| 324 | + } | |
| 325 | + | |
| 326 | + public void setDoctorName(String doctorName) { | |
| 327 | + this.doctorName = doctorName; | |
| 328 | + } | |
| 329 | + | |
| 330 | + public String getChildName() { | |
| 331 | + return childName; | |
| 332 | + } | |
| 333 | + | |
| 334 | + public void setChildName(String childName) { | |
| 335 | + this.childName = childName; | |
| 336 | + } | |
| 337 | + | |
| 338 | + public Integer getDaysAfterBirth() { | |
| 339 | + return daysAfterBirth; | |
| 340 | + } | |
| 341 | + | |
| 342 | + public void setDaysAfterBirth(Integer daysAfterBirth) { | |
| 343 | + this.daysAfterBirth = daysAfterBirth; | |
| 344 | + } | |
| 345 | + | |
| 346 | + public Integer getMotherAge() { | |
| 347 | + return motherAge; | |
| 348 | + } | |
| 349 | + | |
| 350 | + public void setMotherAge(Integer motherAge) { | |
| 351 | + this.motherAge = motherAge; | |
| 352 | + } | |
| 353 | + | |
| 354 | + public String getQueryDateBegin() { | |
| 355 | + return queryDateBegin; | |
| 356 | + } | |
| 357 | + | |
| 358 | + public void setQueryDateBegin(String queryDateBegin) { | |
| 359 | + this.queryDateBegin = queryDateBegin; | |
| 360 | + } | |
| 361 | + | |
| 362 | + public String getQueryDateEnd() { | |
| 363 | + return queryDateEnd; | |
| 364 | + } | |
| 365 | + | |
| 366 | + public void setQueryDateEnd(String queryDateEnd) { | |
| 367 | + this.queryDateEnd = queryDateEnd; | |
| 368 | + } | |
| 369 | + | |
| 370 | + public Integer getOrgId() { | |
| 371 | + return orgId; | |
| 372 | + } | |
| 373 | + | |
| 374 | + public void setOrgId(Integer orgId) { | |
| 375 | + this.orgId = orgId; | |
| 376 | + } | |
| 377 | + | |
| 257 | 378 | |
| 258 | 379 | |
| 259 | 380 |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenExam.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.entity.children; | |
| 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-13 | |
| 16 | + */ | |
| 17 | +@TableName("CHILDREN_EXAM") | |
| 18 | +public class ChildrenExam 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="CHILD_ID") | |
| 31 | + private String childId; | |
| 32 | + /** | |
| 33 | + * 检查时间(可换算月龄) | |
| 34 | + */ | |
| 35 | + @TableField(value="EXAM_TIME") | |
| 36 | + private Date examTime; | |
| 37 | + /** | |
| 38 | + * 检查医院 | |
| 39 | + */ | |
| 40 | + @TableField(value="ORG_ID") | |
| 41 | + private String orgId; | |
| 42 | + /** | |
| 43 | + * 主要抚养人 | |
| 44 | + */ | |
| 45 | + @TableField(value="FOSTER_MAJOR") | |
| 46 | + private Integer fosterMajor; | |
| 47 | + /** | |
| 48 | + * 喂养方式 | |
| 49 | + */ | |
| 50 | + @TableField(value="FEED_TYPE") | |
| 51 | + private Integer feedType; | |
| 52 | + /** | |
| 53 | + * 小便 | |
| 54 | + */ | |
| 55 | + @TableField(value="URINE") | |
| 56 | + private String urine; | |
| 57 | + /** | |
| 58 | + * 大便 | |
| 59 | + */ | |
| 60 | + @TableField(value="SHIT") | |
| 61 | + private String shit; | |
| 62 | + /** | |
| 63 | + * 睡眠 | |
| 64 | + */ | |
| 65 | + @TableField(value="SLEEP") | |
| 66 | + private String sleep; | |
| 67 | + /** | |
| 68 | + * 户外活动 | |
| 69 | + */ | |
| 70 | + @TableField(value="OUTSIDE") | |
| 71 | + private Integer outside; | |
| 72 | + /** | |
| 73 | + * 维生素D | |
| 74 | + */ | |
| 75 | + @TableField(value="VD") | |
| 76 | + private Integer vd; | |
| 77 | + /** | |
| 78 | + * 辅食添加 | |
| 79 | + */ | |
| 80 | + @TableField(value="OTHER_FOOD") | |
| 81 | + private String otherFood; | |
| 82 | + /** | |
| 83 | + * 家庭措施 | |
| 84 | + */ | |
| 85 | + @TableField(value="FAMILY_MEASURE") | |
| 86 | + private String familyMeasure; | |
| 87 | + /** | |
| 88 | + * 发病情况 | |
| 89 | + */ | |
| 90 | + @TableField(value="SICK_CONDITION") | |
| 91 | + private String sickCondition; | |
| 92 | + /** | |
| 93 | + * 是否过敏:0无,1有 | |
| 94 | + */ | |
| 95 | + @TableField(value="IS_ALLERGIC") | |
| 96 | + private Integer isAllergic; | |
| 97 | + /** | |
| 98 | + * 青霉素过敏 | |
| 99 | + */ | |
| 100 | + @TableField(value="ALLERGIC_QMS") | |
| 101 | + private Integer allergicQms; | |
| 102 | + /** | |
| 103 | + * 先锋霉素过敏 | |
| 104 | + */ | |
| 105 | + @TableField(value="ALLERGIC_XFMS") | |
| 106 | + private Integer allergicXfms; | |
| 107 | + /** | |
| 108 | + * 磺胺类药物 | |
| 109 | + */ | |
| 110 | + @TableField(value="ALLERGIC_HAL") | |
| 111 | + private Integer allergicHal; | |
| 112 | + /** | |
| 113 | + * 其他过敏 | |
| 114 | + */ | |
| 115 | + @TableField(value="ALLERGIC_OTHER") | |
| 116 | + private Integer allergicOther; | |
| 117 | + /** | |
| 118 | + * 其他过敏文本 | |
| 119 | + */ | |
| 120 | + @TableField(value="ALLERGIC_OTHER_TEXT") | |
| 121 | + private String allergicOtherText; | |
| 122 | + /** | |
| 123 | + * 体温 | |
| 124 | + */ | |
| 125 | + @TableField(value="BODY_TEMPERATURE") | |
| 126 | + private Float bodyTemperature; | |
| 127 | + /** | |
| 128 | + * 身长 | |
| 129 | + */ | |
| 130 | + @TableField(value="HEIGHT") | |
| 131 | + private Float height; | |
| 132 | + /** | |
| 133 | + * 体重 | |
| 134 | + */ | |
| 135 | + @TableField(value="WEIGHT") | |
| 136 | + private Float weight; | |
| 137 | + /** | |
| 138 | + * 身长别体重 | |
| 139 | + */ | |
| 140 | + @TableField(value="PARAM_HW") | |
| 141 | + private String paramHw; | |
| 142 | + /** | |
| 143 | + * 头围 | |
| 144 | + */ | |
| 145 | + @TableField(value="HEAD_CIRCLE") | |
| 146 | + private Float headCircle; | |
| 147 | + /** | |
| 148 | + * 胸围 | |
| 149 | + */ | |
| 150 | + @TableField(value="CHEST_CIRCLE") | |
| 151 | + private Float chestCircle; | |
| 152 | + /** | |
| 153 | + * 体格发育评价 | |
| 154 | + */ | |
| 155 | + @TableField(value="GROWTH_EVALUATE") | |
| 156 | + private String growthEvaluate; | |
| 157 | + /** | |
| 158 | + * 经皮胆红素-头 | |
| 159 | + */ | |
| 160 | + @TableField(value="JPDHS_HEAD") | |
| 161 | + private Float jpdhsHead; | |
| 162 | + /** | |
| 163 | + * 经皮胆红素-胸 | |
| 164 | + */ | |
| 165 | + @TableField(value="JPDHS_CHEST") | |
| 166 | + private Float jpdhsChest; | |
| 167 | + /** | |
| 168 | + * 经皮胆红素-腹 | |
| 169 | + */ | |
| 170 | + @TableField(value="JPDHS_BELLY") | |
| 171 | + private Float jpdhsBelly; | |
| 172 | + /** | |
| 173 | + * 前囟 | |
| 174 | + */ | |
| 175 | + @TableField(value="QX_HEAD") | |
| 176 | + private Integer qxHead; | |
| 177 | + /** | |
| 178 | + * 未闭合尺寸1 | |
| 179 | + */ | |
| 180 | + @TableField(value="QX_SIZE_ONE") | |
| 181 | + private Float qxSizeOne; | |
| 182 | + /** | |
| 183 | + * 未闭合尺寸2 | |
| 184 | + */ | |
| 185 | + @TableField(value="QX_SIZE_TWO") | |
| 186 | + private Float qxSizeTwo; | |
| 187 | + /** | |
| 188 | + * 牙齿 | |
| 189 | + */ | |
| 190 | + @TableField(value="TOOTH") | |
| 191 | + private String tooth; | |
| 192 | + /** | |
| 193 | + * 面色 | |
| 194 | + */ | |
| 195 | + @TableField(value="FACE_COLOR") | |
| 196 | + private String faceColor; | |
| 197 | + /** | |
| 198 | + * 皮肤 | |
| 199 | + */ | |
| 200 | + @TableField(value="SKIN") | |
| 201 | + private String skin; | |
| 202 | + /** | |
| 203 | + * 眼外观 | |
| 204 | + */ | |
| 205 | + @TableField(value="EYE_APPEARANCE") | |
| 206 | + private String eyeAppearance; | |
| 207 | + /** | |
| 208 | + * 视力 | |
| 209 | + */ | |
| 210 | + @TableField(value="VISION") | |
| 211 | + private String vision; | |
| 212 | + /** | |
| 213 | + * 耳外观 | |
| 214 | + */ | |
| 215 | + @TableField(value="EAR_APPEARANCE") | |
| 216 | + private String earAppearance; | |
| 217 | + /** | |
| 218 | + * 听力 | |
| 219 | + */ | |
| 220 | + @TableField(value="LISTENING") | |
| 221 | + private String listening; | |
| 222 | + /** | |
| 223 | + * 颈部 | |
| 224 | + */ | |
| 225 | + @TableField(value="NECK") | |
| 226 | + private String neck; | |
| 227 | + /** | |
| 228 | + * 胸部 | |
| 229 | + */ | |
| 230 | + @TableField(value="CHEST") | |
| 231 | + private String chest; | |
| 232 | + /** | |
| 233 | + * 腹部 | |
| 234 | + */ | |
| 235 | + @TableField(value="BELLY") | |
| 236 | + private String belly; | |
| 237 | + /** | |
| 238 | + * 脊柱四肢 | |
| 239 | + */ | |
| 240 | + @TableField(value="LIMB") | |
| 241 | + private String limb; | |
| 242 | + /** | |
| 243 | + * 肛门/外生殖器 | |
| 244 | + */ | |
| 245 | + @TableField(value="ANUS") | |
| 246 | + private String anus; | |
| 247 | + /** | |
| 248 | + * 步态 | |
| 249 | + */ | |
| 250 | + @TableField(value="GAIT") | |
| 251 | + private String gait; | |
| 252 | + /** | |
| 253 | + * 可疑佝偻病症状 | |
| 254 | + */ | |
| 255 | + @TableField(value="KYGLBZZ") | |
| 256 | + private String kyglbzz; | |
| 257 | + /** | |
| 258 | + * 可疑佝偻病体征 | |
| 259 | + */ | |
| 260 | + @TableField(value="KYGLBTZ") | |
| 261 | + private String kyglbtz; | |
| 262 | + /** | |
| 263 | + * 神经系统检查 | |
| 264 | + */ | |
| 265 | + @TableField(value="NERVOUS_CHECK") | |
| 266 | + private String nervousCheck; | |
| 267 | + /** | |
| 268 | + * 诊断 | |
| 269 | + */ | |
| 270 | + @TableField(value="DIAGNOSE") | |
| 271 | + private String diagnose; | |
| 272 | + /** | |
| 273 | + * 处理意见 | |
| 274 | + */ | |
| 275 | + @TableField(value="HANDLE_SUGGESTION") | |
| 276 | + private String handleSuggestion; | |
| 277 | + /** | |
| 278 | + * 指导意见 | |
| 279 | + */ | |
| 280 | + @TableField(value="GUIDE_SUGGESTION") | |
| 281 | + private String guideSuggestion; | |
| 282 | + /** | |
| 283 | + * 医生 | |
| 284 | + */ | |
| 285 | + @TableField(value="DOCTOR_ID") | |
| 286 | + private String doctorId; | |
| 287 | + /** | |
| 288 | + * 预约下次检查时间 | |
| 289 | + */ | |
| 290 | + @TableField(value="NEXT_TIME") | |
| 291 | + private Date nextTime; | |
| 292 | + /** | |
| 293 | + * 创建时间 | |
| 294 | + */ | |
| 295 | + @TableField(value="CREATE_TIME") | |
| 296 | + private Date createTime; | |
| 297 | + /** | |
| 298 | + * 软删除标识 | |
| 299 | + */ | |
| 300 | + @TableField(value="IF_DEL") | |
| 301 | + private Integer ifDel; | |
| 302 | + | |
| 303 | + | |
| 304 | + public String getId() { | |
| 305 | + return id; | |
| 306 | + } | |
| 307 | + | |
| 308 | + public void setId(String id) { | |
| 309 | + this.id = id; | |
| 310 | + } | |
| 311 | + | |
| 312 | + public String getChildId() { | |
| 313 | + return childId; | |
| 314 | + } | |
| 315 | + | |
| 316 | + public void setChildId(String childId) { | |
| 317 | + this.childId = childId; | |
| 318 | + } | |
| 319 | + | |
| 320 | + public Date getExamTime() { | |
| 321 | + return examTime; | |
| 322 | + } | |
| 323 | + | |
| 324 | + public void setExamTime(Date examTime) { | |
| 325 | + this.examTime = examTime; | |
| 326 | + } | |
| 327 | + | |
| 328 | + public String getOrgId() { | |
| 329 | + return orgId; | |
| 330 | + } | |
| 331 | + | |
| 332 | + public void setOrgId(String orgId) { | |
| 333 | + this.orgId = orgId; | |
| 334 | + } | |
| 335 | + | |
| 336 | + public Integer getFosterMajor() { | |
| 337 | + return fosterMajor; | |
| 338 | + } | |
| 339 | + | |
| 340 | + public void setFosterMajor(Integer fosterMajor) { | |
| 341 | + this.fosterMajor = fosterMajor; | |
| 342 | + } | |
| 343 | + | |
| 344 | + public Integer getFeedType() { | |
| 345 | + return feedType; | |
| 346 | + } | |
| 347 | + | |
| 348 | + public void setFeedType(Integer feedType) { | |
| 349 | + this.feedType = feedType; | |
| 350 | + } | |
| 351 | + | |
| 352 | + public String getUrine() { | |
| 353 | + return urine; | |
| 354 | + } | |
| 355 | + | |
| 356 | + public void setUrine(String urine) { | |
| 357 | + this.urine = urine; | |
| 358 | + } | |
| 359 | + | |
| 360 | + public String getShit() { | |
| 361 | + return shit; | |
| 362 | + } | |
| 363 | + | |
| 364 | + public void setShit(String shit) { | |
| 365 | + this.shit = shit; | |
| 366 | + } | |
| 367 | + | |
| 368 | + public String getSleep() { | |
| 369 | + return sleep; | |
| 370 | + } | |
| 371 | + | |
| 372 | + public void setSleep(String sleep) { | |
| 373 | + this.sleep = sleep; | |
| 374 | + } | |
| 375 | + | |
| 376 | + public Integer getOutside() { | |
| 377 | + return outside; | |
| 378 | + } | |
| 379 | + | |
| 380 | + public void setOutside(Integer outside) { | |
| 381 | + this.outside = outside; | |
| 382 | + } | |
| 383 | + | |
| 384 | + public Integer getVd() { | |
| 385 | + return vd; | |
| 386 | + } | |
| 387 | + | |
| 388 | + public void setVd(Integer vd) { | |
| 389 | + this.vd = vd; | |
| 390 | + } | |
| 391 | + | |
| 392 | + public String getOtherFood() { | |
| 393 | + return otherFood; | |
| 394 | + } | |
| 395 | + | |
| 396 | + public void setOtherFood(String otherFood) { | |
| 397 | + this.otherFood = otherFood; | |
| 398 | + } | |
| 399 | + | |
| 400 | + public String getFamilyMeasure() { | |
| 401 | + return familyMeasure; | |
| 402 | + } | |
| 403 | + | |
| 404 | + public void setFamilyMeasure(String familyMeasure) { | |
| 405 | + this.familyMeasure = familyMeasure; | |
| 406 | + } | |
| 407 | + | |
| 408 | + public String getSickCondition() { | |
| 409 | + return sickCondition; | |
| 410 | + } | |
| 411 | + | |
| 412 | + public void setSickCondition(String sickCondition) { | |
| 413 | + this.sickCondition = sickCondition; | |
| 414 | + } | |
| 415 | + | |
| 416 | + public Integer getIsAllergic() { | |
| 417 | + return isAllergic; | |
| 418 | + } | |
| 419 | + | |
| 420 | + public void setIsAllergic(Integer isAllergic) { | |
| 421 | + this.isAllergic = isAllergic; | |
| 422 | + } | |
| 423 | + | |
| 424 | + public Integer getAllergicQms() { | |
| 425 | + return allergicQms; | |
| 426 | + } | |
| 427 | + | |
| 428 | + public void setAllergicQms(Integer allergicQms) { | |
| 429 | + this.allergicQms = allergicQms; | |
| 430 | + } | |
| 431 | + | |
| 432 | + public Integer getAllergicXfms() { | |
| 433 | + return allergicXfms; | |
| 434 | + } | |
| 435 | + | |
| 436 | + public void setAllergicXfms(Integer allergicXfms) { | |
| 437 | + this.allergicXfms = allergicXfms; | |
| 438 | + } | |
| 439 | + | |
| 440 | + public Integer getAllergicHal() { | |
| 441 | + return allergicHal; | |
| 442 | + } | |
| 443 | + | |
| 444 | + public void setAllergicHal(Integer allergicHal) { | |
| 445 | + this.allergicHal = allergicHal; | |
| 446 | + } | |
| 447 | + | |
| 448 | + public Integer getAllergicOther() { | |
| 449 | + return allergicOther; | |
| 450 | + } | |
| 451 | + | |
| 452 | + public void setAllergicOther(Integer allergicOther) { | |
| 453 | + this.allergicOther = allergicOther; | |
| 454 | + } | |
| 455 | + | |
| 456 | + public String getAllergicOtherText() { | |
| 457 | + return allergicOtherText; | |
| 458 | + } | |
| 459 | + | |
| 460 | + public void setAllergicOtherText(String allergicOtherText) { | |
| 461 | + this.allergicOtherText = allergicOtherText; | |
| 462 | + } | |
| 463 | + | |
| 464 | + public Float getBodyTemperature() { | |
| 465 | + return bodyTemperature; | |
| 466 | + } | |
| 467 | + | |
| 468 | + public void setBodyTemperature(Float bodyTemperature) { | |
| 469 | + this.bodyTemperature = bodyTemperature; | |
| 470 | + } | |
| 471 | + | |
| 472 | + public Float getHeight() { | |
| 473 | + return height; | |
| 474 | + } | |
| 475 | + | |
| 476 | + public void setHeight(Float height) { | |
| 477 | + this.height = height; | |
| 478 | + } | |
| 479 | + | |
| 480 | + public Float getWeight() { | |
| 481 | + return weight; | |
| 482 | + } | |
| 483 | + | |
| 484 | + public void setWeight(Float weight) { | |
| 485 | + this.weight = weight; | |
| 486 | + } | |
| 487 | + | |
| 488 | + public String getParamHw() { | |
| 489 | + return paramHw; | |
| 490 | + } | |
| 491 | + | |
| 492 | + public void setParamHw(String paramHw) { | |
| 493 | + this.paramHw = paramHw; | |
| 494 | + } | |
| 495 | + | |
| 496 | + public Float getHeadCircle() { | |
| 497 | + return headCircle; | |
| 498 | + } | |
| 499 | + | |
| 500 | + public void setHeadCircle(Float headCircle) { | |
| 501 | + this.headCircle = headCircle; | |
| 502 | + } | |
| 503 | + | |
| 504 | + public Float getChestCircle() { | |
| 505 | + return chestCircle; | |
| 506 | + } | |
| 507 | + | |
| 508 | + public void setChestCircle(Float chestCircle) { | |
| 509 | + this.chestCircle = chestCircle; | |
| 510 | + } | |
| 511 | + | |
| 512 | + public String getGrowthEvaluate() { | |
| 513 | + return growthEvaluate; | |
| 514 | + } | |
| 515 | + | |
| 516 | + public void setGrowthEvaluate(String growthEvaluate) { | |
| 517 | + this.growthEvaluate = growthEvaluate; | |
| 518 | + } | |
| 519 | + | |
| 520 | + public Float getJpdhsHead() { | |
| 521 | + return jpdhsHead; | |
| 522 | + } | |
| 523 | + | |
| 524 | + public void setJpdhsHead(Float jpdhsHead) { | |
| 525 | + this.jpdhsHead = jpdhsHead; | |
| 526 | + } | |
| 527 | + | |
| 528 | + public Float getJpdhsChest() { | |
| 529 | + return jpdhsChest; | |
| 530 | + } | |
| 531 | + | |
| 532 | + public void setJpdhsChest(Float jpdhsChest) { | |
| 533 | + this.jpdhsChest = jpdhsChest; | |
| 534 | + } | |
| 535 | + | |
| 536 | + public Float getJpdhsBelly() { | |
| 537 | + return jpdhsBelly; | |
| 538 | + } | |
| 539 | + | |
| 540 | + public void setJpdhsBelly(Float jpdhsBelly) { | |
| 541 | + this.jpdhsBelly = jpdhsBelly; | |
| 542 | + } | |
| 543 | + | |
| 544 | + public Integer getQxHead() { | |
| 545 | + return qxHead; | |
| 546 | + } | |
| 547 | + | |
| 548 | + public void setQxHead(Integer qxHead) { | |
| 549 | + this.qxHead = qxHead; | |
| 550 | + } | |
| 551 | + | |
| 552 | + public Float getQxSizeOne() { | |
| 553 | + return qxSizeOne; | |
| 554 | + } | |
| 555 | + | |
| 556 | + public void setQxSizeOne(Float qxSizeOne) { | |
| 557 | + this.qxSizeOne = qxSizeOne; | |
| 558 | + } | |
| 559 | + | |
| 560 | + public Float getQxSizeTwo() { | |
| 561 | + return qxSizeTwo; | |
| 562 | + } | |
| 563 | + | |
| 564 | + public void setQxSizeTwo(Float qxSizeTwo) { | |
| 565 | + this.qxSizeTwo = qxSizeTwo; | |
| 566 | + } | |
| 567 | + | |
| 568 | + public String getTooth() { | |
| 569 | + return tooth; | |
| 570 | + } | |
| 571 | + | |
| 572 | + public void setTooth(String tooth) { | |
| 573 | + this.tooth = tooth; | |
| 574 | + } | |
| 575 | + | |
| 576 | + public String getFaceColor() { | |
| 577 | + return faceColor; | |
| 578 | + } | |
| 579 | + | |
| 580 | + public void setFaceColor(String faceColor) { | |
| 581 | + this.faceColor = faceColor; | |
| 582 | + } | |
| 583 | + | |
| 584 | + public String getSkin() { | |
| 585 | + return skin; | |
| 586 | + } | |
| 587 | + | |
| 588 | + public void setSkin(String skin) { | |
| 589 | + this.skin = skin; | |
| 590 | + } | |
| 591 | + | |
| 592 | + public String getEyeAppearance() { | |
| 593 | + return eyeAppearance; | |
| 594 | + } | |
| 595 | + | |
| 596 | + public void setEyeAppearance(String eyeAppearance) { | |
| 597 | + this.eyeAppearance = eyeAppearance; | |
| 598 | + } | |
| 599 | + | |
| 600 | + public String getVision() { | |
| 601 | + return vision; | |
| 602 | + } | |
| 603 | + | |
| 604 | + public void setVision(String vision) { | |
| 605 | + this.vision = vision; | |
| 606 | + } | |
| 607 | + | |
| 608 | + public String getEarAppearance() { | |
| 609 | + return earAppearance; | |
| 610 | + } | |
| 611 | + | |
| 612 | + public void setEarAppearance(String earAppearance) { | |
| 613 | + this.earAppearance = earAppearance; | |
| 614 | + } | |
| 615 | + | |
| 616 | + public String getListening() { | |
| 617 | + return listening; | |
| 618 | + } | |
| 619 | + | |
| 620 | + public void setListening(String listening) { | |
| 621 | + this.listening = listening; | |
| 622 | + } | |
| 623 | + | |
| 624 | + public String getNeck() { | |
| 625 | + return neck; | |
| 626 | + } | |
| 627 | + | |
| 628 | + public void setNeck(String neck) { | |
| 629 | + this.neck = neck; | |
| 630 | + } | |
| 631 | + | |
| 632 | + public String getChest() { | |
| 633 | + return chest; | |
| 634 | + } | |
| 635 | + | |
| 636 | + public void setChest(String chest) { | |
| 637 | + this.chest = chest; | |
| 638 | + } | |
| 639 | + | |
| 640 | + public String getBelly() { | |
| 641 | + return belly; | |
| 642 | + } | |
| 643 | + | |
| 644 | + public void setBelly(String belly) { | |
| 645 | + this.belly = belly; | |
| 646 | + } | |
| 647 | + | |
| 648 | + public String getLimb() { | |
| 649 | + return limb; | |
| 650 | + } | |
| 651 | + | |
| 652 | + public void setLimb(String limb) { | |
| 653 | + this.limb = limb; | |
| 654 | + } | |
| 655 | + | |
| 656 | + public String getAnus() { | |
| 657 | + return anus; | |
| 658 | + } | |
| 659 | + | |
| 660 | + public void setAnus(String anus) { | |
| 661 | + this.anus = anus; | |
| 662 | + } | |
| 663 | + | |
| 664 | + public String getGait() { | |
| 665 | + return gait; | |
| 666 | + } | |
| 667 | + | |
| 668 | + public void setGait(String gait) { | |
| 669 | + this.gait = gait; | |
| 670 | + } | |
| 671 | + | |
| 672 | + public String getKyglbzz() { | |
| 673 | + return kyglbzz; | |
| 674 | + } | |
| 675 | + | |
| 676 | + public void setKyglbzz(String kyglbzz) { | |
| 677 | + this.kyglbzz = kyglbzz; | |
| 678 | + } | |
| 679 | + | |
| 680 | + public String getKyglbtz() { | |
| 681 | + return kyglbtz; | |
| 682 | + } | |
| 683 | + | |
| 684 | + public void setKyglbtz(String kyglbtz) { | |
| 685 | + this.kyglbtz = kyglbtz; | |
| 686 | + } | |
| 687 | + | |
| 688 | + public String getNervousCheck() { | |
| 689 | + return nervousCheck; | |
| 690 | + } | |
| 691 | + | |
| 692 | + public void setNervousCheck(String nervousCheck) { | |
| 693 | + this.nervousCheck = nervousCheck; | |
| 694 | + } | |
| 695 | + | |
| 696 | + public String getDiagnose() { | |
| 697 | + return diagnose; | |
| 698 | + } | |
| 699 | + | |
| 700 | + public void setDiagnose(String diagnose) { | |
| 701 | + this.diagnose = diagnose; | |
| 702 | + } | |
| 703 | + | |
| 704 | + public String getHandleSuggestion() { | |
| 705 | + return handleSuggestion; | |
| 706 | + } | |
| 707 | + | |
| 708 | + public void setHandleSuggestion(String handleSuggestion) { | |
| 709 | + this.handleSuggestion = handleSuggestion; | |
| 710 | + } | |
| 711 | + | |
| 712 | + public String getGuideSuggestion() { | |
| 713 | + return guideSuggestion; | |
| 714 | + } | |
| 715 | + | |
| 716 | + public void setGuideSuggestion(String guideSuggestion) { | |
| 717 | + this.guideSuggestion = guideSuggestion; | |
| 718 | + } | |
| 719 | + | |
| 720 | + public String getDoctorId() { | |
| 721 | + return doctorId; | |
| 722 | + } | |
| 723 | + | |
| 724 | + public void setDoctorId(String doctorId) { | |
| 725 | + this.doctorId = doctorId; | |
| 726 | + } | |
| 727 | + | |
| 728 | + public Date getNextTime() { | |
| 729 | + return nextTime; | |
| 730 | + } | |
| 731 | + | |
| 732 | + public void setNextTime(Date nextTime) { | |
| 733 | + this.nextTime = nextTime; | |
| 734 | + } | |
| 735 | + | |
| 736 | + public Date getCreateTime() { | |
| 737 | + return createTime; | |
| 738 | + } | |
| 739 | + | |
| 740 | + public void setCreateTime(Date createTime) { | |
| 741 | + this.createTime = createTime; | |
| 742 | + } | |
| 743 | + | |
| 744 | + public Integer getIfDel() { | |
| 745 | + return ifDel; | |
| 746 | + } | |
| 747 | + | |
| 748 | + public void setIfDel(Integer ifDel) { | |
| 749 | + this.ifDel = ifDel; | |
| 750 | + } | |
| 751 | + | |
| 752 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenFather.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.entity.children; | |
| 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-12 | |
| 16 | + */ | |
| 17 | +@TableName("CHILDREN_FATHER") | |
| 18 | +public class ChildrenFather 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="CHILD_ID") | |
| 31 | + private String childId; | |
| 32 | + /** | |
| 33 | + * 父亲姓名 | |
| 34 | + */ | |
| 35 | + @TableField(value="NAME") | |
| 36 | + private String name; | |
| 37 | + /** | |
| 38 | + * 联系方式 | |
| 39 | + */ | |
| 40 | + @TableField(value="CONTACT_WAY") | |
| 41 | + private String contactWay; | |
| 42 | + /** | |
| 43 | + * 出生日期 | |
| 44 | + */ | |
| 45 | + @TableField(value="BIRTHDAY") | |
| 46 | + private Date birthday; | |
| 47 | + /** | |
| 48 | + * 文化程度 | |
| 49 | + */ | |
| 50 | + @TableField(value="EDUCATION_DEGREE") | |
| 51 | + private Integer educationDegree; | |
| 52 | + /** | |
| 53 | + * 职业类别 | |
| 54 | + */ | |
| 55 | + @TableField(value="OCCUPATION") | |
| 56 | + private Integer occupation; | |
| 57 | + /** | |
| 58 | + * 创建时间 | |
| 59 | + */ | |
| 60 | + @TableField(value="CREATE_TIME") | |
| 61 | + private Date createTime; | |
| 62 | + | |
| 63 | + | |
| 64 | + public String getId() { | |
| 65 | + return id; | |
| 66 | + } | |
| 67 | + | |
| 68 | + public void setId(String id) { | |
| 69 | + this.id = id; | |
| 70 | + } | |
| 71 | + | |
| 72 | + public String getChildId() { | |
| 73 | + return childId; | |
| 74 | + } | |
| 75 | + | |
| 76 | + public void setChildId(String childId) { | |
| 77 | + this.childId = childId; | |
| 78 | + } | |
| 79 | + | |
| 80 | + public String getName() { | |
| 81 | + return name; | |
| 82 | + } | |
| 83 | + | |
| 84 | + public void setName(String name) { | |
| 85 | + this.name = name; | |
| 86 | + } | |
| 87 | + | |
| 88 | + public String getContactWay() { | |
| 89 | + return contactWay; | |
| 90 | + } | |
| 91 | + | |
| 92 | + public void setContactWay(String contactWay) { | |
| 93 | + this.contactWay = contactWay; | |
| 94 | + } | |
| 95 | + | |
| 96 | + public Date getBirthday() { | |
| 97 | + return birthday; | |
| 98 | + } | |
| 99 | + | |
| 100 | + public void setBirthday(Date birthday) { | |
| 101 | + this.birthday = birthday; | |
| 102 | + } | |
| 103 | + | |
| 104 | + public Integer getEducationDegree() { | |
| 105 | + return educationDegree; | |
| 106 | + } | |
| 107 | + | |
| 108 | + public void setEducationDegree(Integer educationDegree) { | |
| 109 | + this.educationDegree = educationDegree; | |
| 110 | + } | |
| 111 | + | |
| 112 | + public Integer getOccupation() { | |
| 113 | + return occupation; | |
| 114 | + } | |
| 115 | + | |
| 116 | + public void setOccupation(Integer occupation) { | |
| 117 | + this.occupation = occupation; | |
| 118 | + } | |
| 119 | + | |
| 120 | + public Date getCreateTime() { | |
| 121 | + return createTime; | |
| 122 | + } | |
| 123 | + | |
| 124 | + public void setCreateTime(Date createTime) { | |
| 125 | + this.createTime = createTime; | |
| 126 | + } | |
| 127 | + | |
| 128 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenPerson.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.entity.children; | |
| 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-12 | |
| 16 | + */ | |
| 17 | +@TableName("CHILDREN_PERSON") | |
| 18 | +public class ChildrenPerson 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="MOTHER_ID") | |
| 31 | + private String motherId; | |
| 32 | + /** | |
| 33 | + * 姓名 | |
| 34 | + */ | |
| 35 | + @TableField(value="NAME") | |
| 36 | + private String name; | |
| 37 | + /** | |
| 38 | + * 性别 | |
| 39 | + */ | |
| 40 | + @TableField(value="GENDER") | |
| 41 | + private Integer gender; | |
| 42 | + /** | |
| 43 | + * 身份证号 | |
| 44 | + */ | |
| 45 | + @TableField(value="PAPERS_NUM") | |
| 46 | + private String papersNum; | |
| 47 | + /** | |
| 48 | + * 出生日期 | |
| 49 | + */ | |
| 50 | + @TableField(value="BIRTHDAY") | |
| 51 | + private Date birthday; | |
| 52 | + /** | |
| 53 | + * 省 | |
| 54 | + */ | |
| 55 | + @TableField(value="ADDRESS_PROVINCE") | |
| 56 | + private String addressProvince; | |
| 57 | + /** | |
| 58 | + * 市 | |
| 59 | + */ | |
| 60 | + @TableField(value="ADDRESS_CITY") | |
| 61 | + private String addressCity; | |
| 62 | + /** | |
| 63 | + * 区 | |
| 64 | + */ | |
| 65 | + @TableField(value="ADDRESS_AREA") | |
| 66 | + private String addressArea; | |
| 67 | + /** | |
| 68 | + * 乡/镇/街道 | |
| 69 | + */ | |
| 70 | + @TableField(value="ADDRESS_STREET") | |
| 71 | + private String addressStreet; | |
| 72 | + /** | |
| 73 | + * 详细地址 | |
| 74 | + */ | |
| 75 | + @TableField(value="ADDRESS_DETAIL") | |
| 76 | + private String addressDetail; | |
| 77 | + /** | |
| 78 | + * 建档时间 | |
| 79 | + */ | |
| 80 | + @TableField(value="CREATE_TIME") | |
| 81 | + private Date createTime; | |
| 82 | + /** | |
| 83 | + * 建档医生 | |
| 84 | + */ | |
| 85 | + @TableField(value="DOCTOR_ID") | |
| 86 | + private Integer doctorId; | |
| 87 | + /** | |
| 88 | + * 逻辑删除标识 | |
| 89 | + */ | |
| 90 | + @TableField(value="IF_DEL") | |
| 91 | + private Integer ifDel; | |
| 92 | + | |
| 93 | + public String getId() { | |
| 94 | + return id; | |
| 95 | + } | |
| 96 | + | |
| 97 | + public void setId(String id) { | |
| 98 | + this.id = id; | |
| 99 | + } | |
| 100 | + | |
| 101 | + public String getMotherId() { | |
| 102 | + return motherId; | |
| 103 | + } | |
| 104 | + | |
| 105 | + public void setMotherId(String motherId) { | |
| 106 | + this.motherId = motherId; | |
| 107 | + } | |
| 108 | + | |
| 109 | + public String getName() { | |
| 110 | + return name; | |
| 111 | + } | |
| 112 | + | |
| 113 | + public void setName(String name) { | |
| 114 | + this.name = name; | |
| 115 | + } | |
| 116 | + | |
| 117 | + public Integer getGender() { | |
| 118 | + return gender; | |
| 119 | + } | |
| 120 | + | |
| 121 | + public void setGender(Integer gender) { | |
| 122 | + this.gender = gender; | |
| 123 | + } | |
| 124 | + | |
| 125 | + public String getPapersNum() { | |
| 126 | + return papersNum; | |
| 127 | + } | |
| 128 | + | |
| 129 | + public void setPapersNum(String papersNum) { | |
| 130 | + this.papersNum = papersNum; | |
| 131 | + } | |
| 132 | + | |
| 133 | + public Date getBirthday() { | |
| 134 | + return birthday; | |
| 135 | + } | |
| 136 | + | |
| 137 | + public void setBirthday(Date birthday) { | |
| 138 | + this.birthday = birthday; | |
| 139 | + } | |
| 140 | + | |
| 141 | + public String getAddressProvince() { | |
| 142 | + return addressProvince; | |
| 143 | + } | |
| 144 | + | |
| 145 | + public void setAddressProvince(String addressProvince) { | |
| 146 | + this.addressProvince = addressProvince; | |
| 147 | + } | |
| 148 | + | |
| 149 | + public String getAddressCity() { | |
| 150 | + return addressCity; | |
| 151 | + } | |
| 152 | + | |
| 153 | + public void setAddressCity(String addressCity) { | |
| 154 | + this.addressCity = addressCity; | |
| 155 | + } | |
| 156 | + | |
| 157 | + public String getAddressArea() { | |
| 158 | + return addressArea; | |
| 159 | + } | |
| 160 | + | |
| 161 | + public void setAddressArea(String addressArea) { | |
| 162 | + this.addressArea = addressArea; | |
| 163 | + } | |
| 164 | + | |
| 165 | + public String getAddressStreet() { | |
| 166 | + return addressStreet; | |
| 167 | + } | |
| 168 | + | |
| 169 | + public void setAddressStreet(String addressStreet) { | |
| 170 | + this.addressStreet = addressStreet; | |
| 171 | + } | |
| 172 | + | |
| 173 | + public String getAddressDetail() { | |
| 174 | + return addressDetail; | |
| 175 | + } | |
| 176 | + | |
| 177 | + public void setAddressDetail(String addressDetail) { | |
| 178 | + this.addressDetail = addressDetail; | |
| 179 | + } | |
| 180 | + | |
| 181 | + public Date getCreateTime() { | |
| 182 | + return createTime; | |
| 183 | + } | |
| 184 | + | |
| 185 | + public void setCreateTime(Date createTime) { | |
| 186 | + this.createTime = createTime; | |
| 187 | + } | |
| 188 | + | |
| 189 | + public Integer getDoctorId() { | |
| 190 | + return doctorId; | |
| 191 | + } | |
| 192 | + | |
| 193 | + public void setDoctorId(Integer doctorId) { | |
| 194 | + this.doctorId = doctorId; | |
| 195 | + } | |
| 196 | + | |
| 197 | + public Integer getIfDel() { | |
| 198 | + return ifDel; | |
| 199 | + } | |
| 200 | + | |
| 201 | + public void setIfDel(Integer ifDel) { | |
| 202 | + this.ifDel = ifDel; | |
| 203 | + } | |
| 204 | + | |
| 205 | + | |
| 206 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenRecord.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.entity.children; | |
| 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-12 | |
| 16 | + */ | |
| 17 | +@TableName("CHILDREN_RECORD") | |
| 18 | +public class ChildrenRecord 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="CHILD_ID") | |
| 31 | + private String childId; | |
| 32 | + /** | |
| 33 | + * 分娩孕周 | |
| 34 | + */ | |
| 35 | + @TableField(value="GESTATIONAL_WEEK") | |
| 36 | + private String gestationalWeek; | |
| 37 | + /** | |
| 38 | + * 分娩方式:1顺产2剖宫产 | |
| 39 | + */ | |
| 40 | + @TableField(value="CHILDBIRTH_TYPE") | |
| 41 | + private Integer childbirthType; | |
| 42 | + /** | |
| 43 | + * 胎次 | |
| 44 | + */ | |
| 45 | + @TableField(value="FETUS_NUM") | |
| 46 | + private Integer fetusNum; | |
| 47 | + /** | |
| 48 | + * 产次 | |
| 49 | + */ | |
| 50 | + @TableField(value="BIRTH_NUM") | |
| 51 | + private Integer birthNum; | |
| 52 | + /** | |
| 53 | + * 体重 | |
| 54 | + */ | |
| 55 | + @TableField(value="WEIGHT") | |
| 56 | + private Float weight; | |
| 57 | + /** | |
| 58 | + * 身长 | |
| 59 | + */ | |
| 60 | + @TableField(value="HEIGHT") | |
| 61 | + private Float height; | |
| 62 | + /** | |
| 63 | + * 头围 | |
| 64 | + */ | |
| 65 | + @TableField(value="HEAD_CIRCLE") | |
| 66 | + private Float headCircle; | |
| 67 | + /** | |
| 68 | + * APGAR评分(1分钟) | |
| 69 | + */ | |
| 70 | + @TableField(value="APGAR_SCORE_ONE") | |
| 71 | + private Integer apgarScoreOne; | |
| 72 | + /** | |
| 73 | + * APGAR评分(5分钟) | |
| 74 | + */ | |
| 75 | + @TableField(value="APGAR_SCORE_FIVE") | |
| 76 | + private Integer apgarScoreFive; | |
| 77 | + /** | |
| 78 | + * APGAR评分(10分钟) | |
| 79 | + */ | |
| 80 | + @TableField(value="APGAR_SCORE_TEN") | |
| 81 | + private Integer apgarScoreTen; | |
| 82 | + /** | |
| 83 | + * 是否畸形 | |
| 84 | + */ | |
| 85 | + @TableField(value="IS_DEFORMITY") | |
| 86 | + private Integer isDeformity; | |
| 87 | + /** | |
| 88 | + * 分娩医院 | |
| 89 | + */ | |
| 90 | + @TableField(value="BIRTH_HOSPITAL") | |
| 91 | + private String birthHospital; | |
| 92 | + /** | |
| 93 | + * 就诊卡号 | |
| 94 | + */ | |
| 95 | + @TableField(value="MEDICAL_CARD_NUMBER") | |
| 96 | + private String medicalCardNumber; | |
| 97 | + /** | |
| 98 | + * 住院号 | |
| 99 | + */ | |
| 100 | + @TableField(value="INPATIENT_NUMBER") | |
| 101 | + private String inpatientNumber; | |
| 102 | + /** | |
| 103 | + * 服务类型 | |
| 104 | + */ | |
| 105 | + @TableField(value="SERVICE_TYPE") | |
| 106 | + private Integer serviceType; | |
| 107 | + /** | |
| 108 | + * 服务状态 | |
| 109 | + */ | |
| 110 | + @TableField(value="SERVICE_STATUS") | |
| 111 | + private Integer serviceStatus; | |
| 112 | + /** | |
| 113 | + * 备注 | |
| 114 | + */ | |
| 115 | + @TableField(value="REMARK") | |
| 116 | + private String remark; | |
| 117 | + /** | |
| 118 | + * 创建时间 | |
| 119 | + */ | |
| 120 | + @TableField(value="CREATE_TIME") | |
| 121 | + private Date createTime; | |
| 122 | + | |
| 123 | + | |
| 124 | + public String getId() { | |
| 125 | + return id; | |
| 126 | + } | |
| 127 | + | |
| 128 | + public void setId(String id) { | |
| 129 | + this.id = id; | |
| 130 | + } | |
| 131 | + | |
| 132 | + public String getChildId() { | |
| 133 | + return childId; | |
| 134 | + } | |
| 135 | + | |
| 136 | + public void setChildId(String childId) { | |
| 137 | + this.childId = childId; | |
| 138 | + } | |
| 139 | + | |
| 140 | + public String getGestationalWeek() { | |
| 141 | + return gestationalWeek; | |
| 142 | + } | |
| 143 | + | |
| 144 | + public void setGestationalWeek(String gestationalWeek) { | |
| 145 | + this.gestationalWeek = gestationalWeek; | |
| 146 | + } | |
| 147 | + | |
| 148 | + public Integer getChildbirthType() { | |
| 149 | + return childbirthType; | |
| 150 | + } | |
| 151 | + | |
| 152 | + public void setChildbirthType(Integer childbirthType) { | |
| 153 | + this.childbirthType = childbirthType; | |
| 154 | + } | |
| 155 | + | |
| 156 | + public Integer getFetusNum() { | |
| 157 | + return fetusNum; | |
| 158 | + } | |
| 159 | + | |
| 160 | + public void setFetusNum(Integer fetusNum) { | |
| 161 | + this.fetusNum = fetusNum; | |
| 162 | + } | |
| 163 | + | |
| 164 | + public Integer getBirthNum() { | |
| 165 | + return birthNum; | |
| 166 | + } | |
| 167 | + | |
| 168 | + public void setBirthNum(Integer birthNum) { | |
| 169 | + this.birthNum = birthNum; | |
| 170 | + } | |
| 171 | + | |
| 172 | + public Float getWeight() { | |
| 173 | + return weight; | |
| 174 | + } | |
| 175 | + | |
| 176 | + public void setWeight(Float weight) { | |
| 177 | + this.weight = weight; | |
| 178 | + } | |
| 179 | + | |
| 180 | + public Float getHeight() { | |
| 181 | + return height; | |
| 182 | + } | |
| 183 | + | |
| 184 | + public void setHeight(Float height) { | |
| 185 | + this.height = height; | |
| 186 | + } | |
| 187 | + | |
| 188 | + public Float getHeadCircle() { | |
| 189 | + return headCircle; | |
| 190 | + } | |
| 191 | + | |
| 192 | + public void setHeadCircle(Float headCircle) { | |
| 193 | + this.headCircle = headCircle; | |
| 194 | + } | |
| 195 | + | |
| 196 | + public Integer getApgarScoreOne() { | |
| 197 | + return apgarScoreOne; | |
| 198 | + } | |
| 199 | + | |
| 200 | + public void setApgarScoreOne(Integer apgarScoreOne) { | |
| 201 | + this.apgarScoreOne = apgarScoreOne; | |
| 202 | + } | |
| 203 | + | |
| 204 | + public Integer getApgarScoreFive() { | |
| 205 | + return apgarScoreFive; | |
| 206 | + } | |
| 207 | + | |
| 208 | + public void setApgarScoreFive(Integer apgarScoreFive) { | |
| 209 | + this.apgarScoreFive = apgarScoreFive; | |
| 210 | + } | |
| 211 | + | |
| 212 | + public Integer getApgarScoreTen() { | |
| 213 | + return apgarScoreTen; | |
| 214 | + } | |
| 215 | + | |
| 216 | + public void setApgarScoreTen(Integer apgarScoreTen) { | |
| 217 | + this.apgarScoreTen = apgarScoreTen; | |
| 218 | + } | |
| 219 | + | |
| 220 | + public Integer getIsDeformity() { | |
| 221 | + return isDeformity; | |
| 222 | + } | |
| 223 | + | |
| 224 | + public void setIsDeformity(Integer isDeformity) { | |
| 225 | + this.isDeformity = isDeformity; | |
| 226 | + } | |
| 227 | + | |
| 228 | + public String getBirthHospital() { | |
| 229 | + return birthHospital; | |
| 230 | + } | |
| 231 | + | |
| 232 | + public void setBirthHospital(String birthHospital) { | |
| 233 | + this.birthHospital = birthHospital; | |
| 234 | + } | |
| 235 | + | |
| 236 | + public String getMedicalCardNumber() { | |
| 237 | + return medicalCardNumber; | |
| 238 | + } | |
| 239 | + | |
| 240 | + public void setMedicalCardNumber(String medicalCardNumber) { | |
| 241 | + this.medicalCardNumber = medicalCardNumber; | |
| 242 | + } | |
| 243 | + | |
| 244 | + public String getInpatientNumber() { | |
| 245 | + return inpatientNumber; | |
| 246 | + } | |
| 247 | + | |
| 248 | + public void setInpatientNumber(String inpatientNumber) { | |
| 249 | + this.inpatientNumber = inpatientNumber; | |
| 250 | + } | |
| 251 | + | |
| 252 | + public Integer getServiceType() { | |
| 253 | + return serviceType; | |
| 254 | + } | |
| 255 | + | |
| 256 | + public void setServiceType(Integer serviceType) { | |
| 257 | + this.serviceType = serviceType; | |
| 258 | + } | |
| 259 | + | |
| 260 | + public Integer getServiceStatus() { | |
| 261 | + return serviceStatus; | |
| 262 | + } | |
| 263 | + | |
| 264 | + public void setServiceStatus(Integer serviceStatus) { | |
| 265 | + this.serviceStatus = serviceStatus; | |
| 266 | + } | |
| 267 | + | |
| 268 | + public String getRemark() { | |
| 269 | + return remark; | |
| 270 | + } | |
| 271 | + | |
| 272 | + public void setRemark(String remark) { | |
| 273 | + this.remark = remark; | |
| 274 | + } | |
| 275 | + | |
| 276 | + public Date getCreateTime() { | |
| 277 | + return createTime; | |
| 278 | + } | |
| 279 | + | |
| 280 | + public void setCreateTime(Date createTime) { | |
| 281 | + this.createTime = createTime; | |
| 282 | + } | |
| 283 | + | |
| 284 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/children/ChildrenVo.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.entity.children; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.woman.WomanPerson; | |
| 4 | + | |
| 5 | +/** | |
| 6 | + * 儿童建档VO对象 | |
| 7 | + * @author xujiahong | |
| 8 | + * | |
| 9 | + */ | |
| 10 | +public class ChildrenVo { | |
| 11 | + | |
| 12 | + private ChildrenFather father;//父亲基本信息 | |
| 13 | + private ChildrenPerson person;//儿童基本信息 | |
| 14 | + private ChildrenRecord record;//儿童院内、分娩信息 | |
| 15 | + private WomanPerson woman;//母亲基本信息(女性居民表) | |
| 16 | + | |
| 17 | + public ChildrenFather getFather() { | |
| 18 | + return father; | |
| 19 | + } | |
| 20 | + public void setFather(ChildrenFather father) { | |
| 21 | + this.father = father; | |
| 22 | + } | |
| 23 | + public ChildrenPerson getPerson() { | |
| 24 | + return person; | |
| 25 | + } | |
| 26 | + public void setPerson(ChildrenPerson person) { | |
| 27 | + this.person = person; | |
| 28 | + } | |
| 29 | + public ChildrenRecord getRecord() { | |
| 30 | + return record; | |
| 31 | + } | |
| 32 | + public void setRecord(ChildrenRecord record) { | |
| 33 | + this.record = record; | |
| 34 | + } | |
| 35 | + public WomanPerson getWoman() { | |
| 36 | + return woman; | |
| 37 | + } | |
| 38 | + public void setWoman(WomanPerson woman) { | |
| 39 | + this.woman = woman; | |
| 40 | + } | |
| 41 | + | |
| 42 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/recheck/PostpartumRee.java
View file @
f0d827d
| ... | ... | @@ -166,6 +166,18 @@ |
| 166 | 166 | private Integer ifdel; |
| 167 | 167 | |
| 168 | 168 | |
| 169 | + //==========查询冗余字段(需要查询映射)============ | |
| 170 | + private String womanName;//母亲姓名 | |
| 171 | + private String womanBirth;//孕妇出生日期(计算年龄用) | |
| 172 | + private String papersNumber;//母亲证件号 | |
| 173 | + private String contactWay;//联系方式 | |
| 174 | + | |
| 175 | + //==========查询冗余字段(无需查询映射)============ | |
| 176 | + private String queryFlag;//综合的查询标识:姓名、联系方式、就诊卡 | |
| 177 | + private Integer womanAge;//母亲年龄 | |
| 178 | + private String queryDateBegin;//查询-分娩日期范围开始 | |
| 179 | + private String queryDateEnd;//查询-分娩日期范围结束 | |
| 180 | + | |
| 169 | 181 | public String getId() { |
| 170 | 182 | return id; |
| 171 | 183 | } |
| ... | ... | @@ -397,6 +409,71 @@ |
| 397 | 409 | public void setIfdel(Integer ifdel) { |
| 398 | 410 | this.ifdel = ifdel; |
| 399 | 411 | } |
| 412 | + | |
| 413 | + public String getWomanBirth() { | |
| 414 | + return womanBirth; | |
| 415 | + } | |
| 416 | + | |
| 417 | + public void setWomanBirth(String womanBirth) { | |
| 418 | + this.womanBirth = womanBirth; | |
| 419 | + } | |
| 420 | + | |
| 421 | + public String getPapersNumber() { | |
| 422 | + return papersNumber; | |
| 423 | + } | |
| 424 | + | |
| 425 | + public void setPapersNumber(String papersNumber) { | |
| 426 | + this.papersNumber = papersNumber; | |
| 427 | + } | |
| 428 | + | |
| 429 | + public String getContactWay() { | |
| 430 | + return contactWay; | |
| 431 | + } | |
| 432 | + | |
| 433 | + public void setContactWay(String contactWay) { | |
| 434 | + this.contactWay = contactWay; | |
| 435 | + } | |
| 436 | + | |
| 437 | + public String getQueryFlag() { | |
| 438 | + return queryFlag; | |
| 439 | + } | |
| 440 | + | |
| 441 | + public void setQueryFlag(String queryFlag) { | |
| 442 | + this.queryFlag = queryFlag; | |
| 443 | + } | |
| 444 | + | |
| 445 | + public String getQueryDateBegin() { | |
| 446 | + return queryDateBegin; | |
| 447 | + } | |
| 448 | + | |
| 449 | + public void setQueryDateBegin(String queryDateBegin) { | |
| 450 | + this.queryDateBegin = queryDateBegin; | |
| 451 | + } | |
| 452 | + | |
| 453 | + public String getQueryDateEnd() { | |
| 454 | + return queryDateEnd; | |
| 455 | + } | |
| 456 | + | |
| 457 | + public void setQueryDateEnd(String queryDateEnd) { | |
| 458 | + this.queryDateEnd = queryDateEnd; | |
| 459 | + } | |
| 460 | + | |
| 461 | + public String getWomanName() { | |
| 462 | + return womanName; | |
| 463 | + } | |
| 464 | + | |
| 465 | + public void setWomanName(String womanName) { | |
| 466 | + this.womanName = womanName; | |
| 467 | + } | |
| 468 | + | |
| 469 | + public Integer getWomanAge() { | |
| 470 | + return womanAge; | |
| 471 | + } | |
| 472 | + | |
| 473 | + public void setWomanAge(Integer womanAge) { | |
| 474 | + this.womanAge = womanAge; | |
| 475 | + } | |
| 476 | + | |
| 400 | 477 | |
| 401 | 478 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/childbirth/ChildbirthInfoService.java
View file @
f0d827d
| 1 | 1 | package com.lyms.hospital.service.childbirth; |
| 2 | 2 | |
| 3 | +import java.io.Serializable; | |
| 4 | + | |
| 5 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 3 | 6 | import com.lyms.hospital.entity.childbirth.ChildbirthInfo; |
| 4 | 7 | import com.lyms.hospital.entity.childbirth.ChildbirthInfoVo; |
| 8 | +import com.lyms.hospital.entity.childbirth.ChildbirthListVo; | |
| 5 | 9 | import com.lyms.web.service.BaseService; |
| 6 | -import java.io.Serializable; | |
| 7 | 10 | |
| 8 | 11 | /** |
| 9 | 12 | * <p> |
| ... | ... | @@ -16,6 +19,8 @@ |
| 16 | 19 | * 修改vo(事务包括:修改分娩、物理删除再新增胎盘、胎儿、新生儿信息) |
| 17 | 20 | * 查询vo(事务包括:查询分娩详情,查询胎儿、胎盘、新生儿列表) |
| 18 | 21 | * 逻辑删除(事务)-分娩信息(同时逻辑删除:胎儿、胎盘、新生儿信息) |
| 22 | + * | |
| 23 | + * 某医院-分娩管理列表 | |
| 19 | 24 | * </p> |
| 20 | 25 | * |
| 21 | 26 | * @author xujiahong |
| ... | ... | @@ -81,7 +86,16 @@ |
| 81 | 86 | */ |
| 82 | 87 | public boolean softDeleteChildbirthVo(String infoId); |
| 83 | 88 | |
| 84 | - | |
| 89 | + /** | |
| 90 | + * <li>@Description:某医院-分娩管理列表 | |
| 91 | + * <li>@param vo | |
| 92 | + * <li>@return | |
| 93 | + * <li>创建人:xujiahong | |
| 94 | + * <li>创建时间:2017年4月11日 | |
| 95 | + * <li>修改人: | |
| 96 | + * <li>修改时间: | |
| 97 | + */ | |
| 98 | + public Page<ChildbirthListVo> listOfChildbirth(Page<ChildbirthListVo> page,ChildbirthListVo vo); | |
| 85 | 99 | |
| 86 | 100 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/childbirth/ChildbirthNewbornService.java
View file @
f0d827d
| 1 | 1 | package com.lyms.hospital.service.childbirth; |
| 2 | 2 | |
| 3 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 3 | 4 | import com.lyms.hospital.entity.childbirth.ChildbirthNewborn; |
| 4 | 5 | import com.lyms.web.service.BaseService; |
| 5 | 6 | import java.io.Serializable; |
| ... | ... | @@ -13,6 +14,7 @@ |
| 13 | 14 | * 查询-通过ID查询“新生儿信息”详情 |
| 14 | 15 | * 查询-通过CID查询“新生儿信息”详情列表 |
| 15 | 16 | * |
| 17 | + * 查询-某医院的新生儿管理列表 | |
| 16 | 18 | * </p> |
| 17 | 19 | * |
| 18 | 20 | * @author xujiahong |
| ... | ... | @@ -70,6 +72,17 @@ |
| 70 | 72 | * <li>修改时间: |
| 71 | 73 | */ |
| 72 | 74 | public List<ChildbirthNewborn> listByCid(String cid); |
| 75 | + | |
| 76 | + /** | |
| 77 | + * <li>@Description:查询-某医院的新生儿管理列表 | |
| 78 | + * <li>@param newborn | |
| 79 | + * <li>@return | |
| 80 | + * <li>创建人:xujiahong | |
| 81 | + * <li>创建时间:2017年4月11日 | |
| 82 | + * <li>修改人: | |
| 83 | + * <li>修改时间: | |
| 84 | + */ | |
| 85 | + public Page<ChildbirthNewborn> pageOfNewborn(Page<ChildbirthNewborn> page,ChildbirthNewborn newborn); | |
| 73 | 86 | |
| 74 | 87 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/childbirth/impl/ChildbirthInfoServiceImpl.java
View file @
f0d827d
| ... | ... | @@ -10,6 +10,7 @@ |
| 10 | 10 | import org.springframework.util.StringUtils; |
| 11 | 11 | |
| 12 | 12 | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| 13 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 13 | 14 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| 14 | 15 | import com.lyms.exception.SystemException; |
| 15 | 16 | import com.lyms.hospital.dao.childbirth.ChildbirthInfoMapper; |
| ... | ... | @@ -18,6 +19,7 @@ |
| 18 | 19 | import com.lyms.hospital.dao.childbirth.ChildbirthTaipanMapper; |
| 19 | 20 | import com.lyms.hospital.entity.childbirth.ChildbirthInfo; |
| 20 | 21 | import com.lyms.hospital.entity.childbirth.ChildbirthInfoVo; |
| 22 | +import com.lyms.hospital.entity.childbirth.ChildbirthListVo; | |
| 21 | 23 | import com.lyms.hospital.entity.childbirth.ChildbirthNewborn; |
| 22 | 24 | import com.lyms.hospital.entity.childbirth.ChildbirthTai; |
| 23 | 25 | import com.lyms.hospital.entity.childbirth.ChildbirthTaipan; |
| ... | ... | @@ -46,6 +48,8 @@ |
| 46 | 48 | @Autowired |
| 47 | 49 | private ChildbirthTaiService taiService; |
| 48 | 50 | @Autowired |
| 51 | + private ChildbirthInfoMapper infoMapper; | |
| 52 | + @Autowired | |
| 49 | 53 | private ChildbirthNewbornMapper newbornMapper; |
| 50 | 54 | @Autowired |
| 51 | 55 | private ChildbirthTaipanMapper taipanMapper; |
| ... | ... | @@ -240,6 +244,13 @@ |
| 240 | 244 | } |
| 241 | 245 | } |
| 242 | 246 | return true; |
| 247 | + } | |
| 248 | + | |
| 249 | + @Override | |
| 250 | + public Page<ChildbirthListVo> listOfChildbirth(Page<ChildbirthListVo> page,ChildbirthListVo vo) { | |
| 251 | + List<ChildbirthListVo> list = infoMapper.listOfChildbirth(page,vo); | |
| 252 | + page.setRecords(list); | |
| 253 | + return page; | |
| 243 | 254 | } |
| 244 | 255 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/childbirth/impl/ChildbirthNewbornServiceImpl.java
View file @
f0d827d
| ... | ... | @@ -3,11 +3,13 @@ |
| 3 | 3 | import java.io.Serializable; |
| 4 | 4 | import java.util.List; |
| 5 | 5 | |
| 6 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 6 | 7 | import org.springframework.stereotype.Service; |
| 7 | 8 | import org.springframework.transaction.annotation.Transactional; |
| 8 | 9 | import org.springframework.util.StringUtils; |
| 9 | 10 | |
| 10 | 11 | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| 12 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 11 | 13 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| 12 | 14 | import com.lyms.exception.SystemException; |
| 13 | 15 | import com.lyms.hospital.dao.childbirth.ChildbirthNewbornMapper; |
| ... | ... | @@ -27,6 +29,9 @@ |
| 27 | 29 | @Service |
| 28 | 30 | public class ChildbirthNewbornServiceImpl extends ServiceImpl<ChildbirthNewbornMapper, ChildbirthNewborn> implements ChildbirthNewbornService { |
| 29 | 31 | |
| 32 | + @Autowired | |
| 33 | + private ChildbirthNewbornMapper mapper; | |
| 34 | + | |
| 30 | 35 | @Override |
| 31 | 36 | @Transactional |
| 32 | 37 | public Integer deleteLogicById(Serializable id){ |
| ... | ... | @@ -69,6 +74,13 @@ |
| 69 | 74 | wrapper.eq("CID", cid); |
| 70 | 75 | wrapper.eq("IF_DEL", IfdelEnum.NO.getStatus());//只查询没有被软删除的项目 |
| 71 | 76 | return baseMapper.selectList(wrapper); |
| 77 | + } | |
| 78 | + | |
| 79 | + @Override | |
| 80 | + public Page<ChildbirthNewborn> pageOfNewborn(Page<ChildbirthNewborn> page, ChildbirthNewborn newborn) { | |
| 81 | + List<ChildbirthNewborn> list = mapper.pageOfNewborn(page, newborn); | |
| 82 | + page.setRecords(list); | |
| 83 | + return page; | |
| 72 | 84 | } |
| 73 | 85 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/ChildrenExamService.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.service.children; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.children.ChildrenExam; | |
| 4 | +import com.lyms.web.service.BaseService; | |
| 5 | +import java.io.Serializable; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * <p> | |
| 9 | + * 服务类 | |
| 10 | + * | |
| 11 | + * 查询-【某儿童】历史体格检查记录 | |
| 12 | + * </p> | |
| 13 | + * | |
| 14 | + * @author xujiahong | |
| 15 | + * @since 2017-04-13 | |
| 16 | + */ | |
| 17 | +public interface ChildrenExamService extends BaseService<ChildrenExam> { | |
| 18 | + | |
| 19 | + /** | |
| 20 | + * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 | |
| 21 | + * <li>@param id 删除主键id | |
| 22 | + * <li>@return 大于0修改成功,否则为失败 | |
| 23 | + */ | |
| 24 | + public Integer deleteLogicById(Serializable id); | |
| 25 | + | |
| 26 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/ChildrenFatherService.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.service.children; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | + | |
| 5 | +import com.lyms.hospital.entity.children.ChildrenFather; | |
| 6 | +import com.lyms.web.service.BaseService; | |
| 7 | + | |
| 8 | +/** | |
| 9 | + * <p> | |
| 10 | + * 服务类 | |
| 11 | + * | |
| 12 | + * 查询-根据childId查询儿童父亲记录 | |
| 13 | + * </p> | |
| 14 | + * | |
| 15 | + * @author xujiahong | |
| 16 | + * @since 2017-04-12 | |
| 17 | + */ | |
| 18 | +public interface ChildrenFatherService extends BaseService<ChildrenFather> { | |
| 19 | + | |
| 20 | + /** | |
| 21 | + * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 | |
| 22 | + * <li>@param id 删除主键id | |
| 23 | + * <li>@return 大于0修改成功,否则为失败 | |
| 24 | + */ | |
| 25 | + public Integer deleteLogicById(Serializable id); | |
| 26 | + | |
| 27 | + public String create(ChildrenFather obj); | |
| 28 | + | |
| 29 | + /** | |
| 30 | + * <li>@Description:查询-根据childId查询儿童父亲记录 | |
| 31 | + * <li>@param childId | |
| 32 | + * <li>@return | |
| 33 | + * <li>创建人:xujiahong | |
| 34 | + * <li>创建时间:2017年4月12日 | |
| 35 | + * <li>修改人: | |
| 36 | + * <li>修改时间: | |
| 37 | + */ | |
| 38 | + public ChildrenFather selectByChildId(String childId); | |
| 39 | + | |
| 40 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/ChildrenPersonService.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.service.children; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.children.ChildrenPerson; | |
| 4 | +import com.lyms.hospital.entity.children.ChildrenVo; | |
| 5 | +import com.lyms.web.service.BaseService; | |
| 6 | +import java.io.Serializable; | |
| 7 | + | |
| 8 | +/** | |
| 9 | + * <p> | |
| 10 | + * 服务类 | |
| 11 | + * | |
| 12 | + * 新增-儿童基本信息 | |
| 13 | + * []逻辑删除-儿童基本信息 | |
| 14 | + * | |
| 15 | + * []新增-儿童建档VO | |
| 16 | + * []修改-儿童建档VO | |
| 17 | + * []查询-儿童建档VO | |
| 18 | + * </p> | |
| 19 | + * | |
| 20 | + * @author xujiahong | |
| 21 | + * @since 2017-04-12 | |
| 22 | + */ | |
| 23 | +public interface ChildrenPersonService extends BaseService<ChildrenPerson> { | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 | |
| 27 | + * <li>@param id 删除主键id | |
| 28 | + * <li>@return 大于0修改成功,否则为失败 | |
| 29 | + */ | |
| 30 | + public Integer deleteLogicById(Serializable id); | |
| 31 | + | |
| 32 | + public String create(ChildrenPerson person); | |
| 33 | + | |
| 34 | + /** | |
| 35 | + * <li>@Description:新增-儿童建档VO | |
| 36 | + * <li>@param obj | |
| 37 | + * <li>@return | |
| 38 | + * <li>创建人:xujiahong | |
| 39 | + * <li>创建时间:2017年4月12日 | |
| 40 | + * <li>修改人: | |
| 41 | + * <li>修改时间: | |
| 42 | + */ | |
| 43 | + public String createVo(ChildrenVo vo); | |
| 44 | + | |
| 45 | + /** | |
| 46 | + * <li>@Description:修改-儿童建档VO | |
| 47 | + * <li>@return | |
| 48 | + * <li>创建人:xujiahong | |
| 49 | + * <li>创建时间:2017年4月12日 | |
| 50 | + * <li>修改人: | |
| 51 | + * <li>修改时间: | |
| 52 | + */ | |
| 53 | + public boolean updateVo(ChildrenVo vo); | |
| 54 | + | |
| 55 | + /** | |
| 56 | + * <li>@Description:查询-儿童建档VO | |
| 57 | + * <li>@return | |
| 58 | + * <li>创建人:xujiahong | |
| 59 | + * <li>创建时间:2017年4月12日 | |
| 60 | + * <li>修改人: | |
| 61 | + * <li>修改时间: | |
| 62 | + */ | |
| 63 | + public ChildrenVo selectVoById(String id); | |
| 64 | + | |
| 65 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/ChildrenRecordService.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.service.children; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.children.ChildrenRecord; | |
| 4 | +import com.lyms.web.service.BaseService; | |
| 5 | +import java.io.Serializable; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * <p> | |
| 9 | + * 服务类 | |
| 10 | + * | |
| 11 | + * 查询-根据childId查询儿童建档记录 | |
| 12 | + * </p> | |
| 13 | + * | |
| 14 | + * @author xujiahong | |
| 15 | + * @since 2017-04-12 | |
| 16 | + */ | |
| 17 | +public interface ChildrenRecordService extends BaseService<ChildrenRecord> { | |
| 18 | + | |
| 19 | + /** | |
| 20 | + * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 | |
| 21 | + * <li>@param id 删除主键id | |
| 22 | + * <li>@return 大于0修改成功,否则为失败 | |
| 23 | + */ | |
| 24 | + public Integer deleteLogicById(Serializable id); | |
| 25 | + | |
| 26 | + public String create(ChildrenRecord obj); | |
| 27 | + | |
| 28 | + /** | |
| 29 | + * <li>@Description:查询-根据childId查询儿童建档记录 | |
| 30 | + * <li>@param childId | |
| 31 | + * <li>@return | |
| 32 | + * <li>创建人:xujiahong | |
| 33 | + * <li>创建时间:2017年4月12日 | |
| 34 | + * <li>修改人: | |
| 35 | + * <li>修改时间: | |
| 36 | + */ | |
| 37 | + public ChildrenRecord selectByChildId(String childId); | |
| 38 | + | |
| 39 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/impl/ChildrenExamServiceImpl.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.service.children.impl; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.children.ChildrenExam; | |
| 4 | +import com.lyms.hospital.dao.children.ChildrenExamMapper; | |
| 5 | +import com.lyms.hospital.service.children.ChildrenExamService; | |
| 6 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | +import java.io.Serializable; | |
| 9 | + | |
| 10 | +/** | |
| 11 | + * <p> | |
| 12 | + * 服务实现类 | |
| 13 | + * </p> | |
| 14 | + * | |
| 15 | + * @author xujiahong | |
| 16 | + * @since 2017-04-13 | |
| 17 | + */ | |
| 18 | +@Service | |
| 19 | +public class ChildrenExamServiceImpl extends ServiceImpl<ChildrenExamMapper, ChildrenExam> implements ChildrenExamService { | |
| 20 | + | |
| 21 | + public Integer deleteLogicById(Serializable id){ | |
| 22 | + return baseMapper.deleteLogicById(id); | |
| 23 | + } | |
| 24 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/impl/ChildrenFatherServiceImpl.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.service.children.impl; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | +import java.util.List; | |
| 5 | + | |
| 6 | +import org.apache.commons.collections.CollectionUtils; | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | + | |
| 9 | +import com.baomidou.mybatisplus.mapper.EntityWrapper; | |
| 10 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 11 | +import com.lyms.exception.SystemException; | |
| 12 | +import com.lyms.hospital.dao.children.ChildrenFatherMapper; | |
| 13 | +import com.lyms.hospital.entity.children.ChildrenFather; | |
| 14 | +import com.lyms.hospital.service.children.ChildrenFatherService; | |
| 15 | +import com.lyms.util.StrUtils; | |
| 16 | + | |
| 17 | +/** | |
| 18 | + * <p> | |
| 19 | + * 服务实现类 | |
| 20 | + * </p> | |
| 21 | + * | |
| 22 | + * @author xujiahong | |
| 23 | + * @since 2017-04-12 | |
| 24 | + */ | |
| 25 | +@Service | |
| 26 | +public class ChildrenFatherServiceImpl extends ServiceImpl<ChildrenFatherMapper, ChildrenFather> implements ChildrenFatherService { | |
| 27 | + | |
| 28 | + public Integer deleteLogicById(Serializable id){ | |
| 29 | + return baseMapper.deleteLogicById(id); | |
| 30 | + } | |
| 31 | + | |
| 32 | + @Override | |
| 33 | + public String create(ChildrenFather obj) { | |
| 34 | + if (obj == null) { | |
| 35 | + throw new SystemException("儿童父亲信息为空"); | |
| 36 | + } | |
| 37 | + String id = StrUtils.uuid(); | |
| 38 | + obj.setId(id); | |
| 39 | + obj.setCreateTime(new java.util.Date()); | |
| 40 | + if (insert(obj)) { | |
| 41 | + return id; | |
| 42 | + } | |
| 43 | + return null; | |
| 44 | + } | |
| 45 | + | |
| 46 | + @Override | |
| 47 | + public ChildrenFather selectByChildId(String childId) { | |
| 48 | + EntityWrapper<ChildrenFather> wrapper = new EntityWrapper<>(); | |
| 49 | + wrapper.eq("CHILD_ID", childId); | |
| 50 | + List<ChildrenFather> list = baseMapper.selectList(wrapper); | |
| 51 | + if(list.size()>1){ | |
| 52 | + throw new SystemException("发现多条匹配记录"); | |
| 53 | + } | |
| 54 | + return CollectionUtils.isEmpty(list)?null:list.get(0); | |
| 55 | + } | |
| 56 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/impl/ChildrenPersonServiceImpl.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.service.children.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.mapper.EntityWrapper; | |
| 11 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 12 | +import com.lyms.exception.SystemException; | |
| 13 | +import com.lyms.hospital.dao.children.ChildrenPersonMapper; | |
| 14 | +import com.lyms.hospital.entity.children.ChildrenFather; | |
| 15 | +import com.lyms.hospital.entity.children.ChildrenPerson; | |
| 16 | +import com.lyms.hospital.entity.children.ChildrenRecord; | |
| 17 | +import com.lyms.hospital.entity.children.ChildrenVo; | |
| 18 | +import com.lyms.hospital.entity.woman.WomanPerson; | |
| 19 | +import com.lyms.hospital.enums.IfdelEnum; | |
| 20 | +import com.lyms.hospital.service.children.ChildrenFatherService; | |
| 21 | +import com.lyms.hospital.service.children.ChildrenPersonService; | |
| 22 | +import com.lyms.hospital.service.children.ChildrenRecordService; | |
| 23 | +import com.lyms.hospital.service.woman.WomanPersonService; | |
| 24 | +import com.lyms.util.StrUtils; | |
| 25 | + | |
| 26 | +/** | |
| 27 | + * <p> | |
| 28 | + * 服务实现类 | |
| 29 | + * </p> | |
| 30 | + * | |
| 31 | + * @author xujiahong | |
| 32 | + * @since 2017-04-12 | |
| 33 | + */ | |
| 34 | +@Service | |
| 35 | +public class ChildrenPersonServiceImpl extends ServiceImpl<ChildrenPersonMapper, ChildrenPerson> | |
| 36 | + implements ChildrenPersonService { | |
| 37 | + | |
| 38 | + @Autowired | |
| 39 | + private ChildrenFatherService fatherService; | |
| 40 | + @Autowired | |
| 41 | + private ChildrenRecordService recordService; | |
| 42 | + @Autowired | |
| 43 | + private WomanPersonService womanPersonService; | |
| 44 | + | |
| 45 | + @Override | |
| 46 | + @Transactional | |
| 47 | + public Integer deleteLogicById(Serializable id) { | |
| 48 | + ChildrenPerson obj = selectById(id); | |
| 49 | + obj.setIfDel(IfdelEnum.YES.getStatus()); | |
| 50 | + return baseMapper.updateById(obj); | |
| 51 | + } | |
| 52 | + | |
| 53 | + @Override | |
| 54 | + public String create(ChildrenPerson 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 | + @Transactional | |
| 70 | + public String createVo(ChildrenVo vo) { | |
| 71 | + if (vo == null || vo.getPerson() == null) { | |
| 72 | + throw new SystemException("输入参数为空"); | |
| 73 | + } | |
| 74 | + // 如果,根据传入的【证件类型、证件号】【姓名、联系方式】组合可以找到对应记录,则更新ChildrenPerson对象的motherId | |
| 75 | + WomanPerson woman = vo.getWoman();//母亲基本信息(女性居民表) | |
| 76 | + if(woman!=null){ | |
| 77 | + vo.getPerson().setMotherId(this.selectMotherId(woman)); | |
| 78 | + } | |
| 79 | + String childId = create(vo.getPerson());// 儿童基本信息ID | |
| 80 | + ChildrenFather father = vo.getFather();// 父亲基本信息 | |
| 81 | + if (father != null) { | |
| 82 | + father.setChildId(childId); | |
| 83 | + fatherService.create(father); | |
| 84 | + } | |
| 85 | + ChildrenRecord record = vo.getRecord();// 儿童院内、分娩信息 | |
| 86 | + if (record != null) { | |
| 87 | + record.setChildId(childId); | |
| 88 | + recordService.create(record); | |
| 89 | + } | |
| 90 | + return childId; | |
| 91 | + } | |
| 92 | + | |
| 93 | + @Override | |
| 94 | + @Transactional | |
| 95 | + public boolean updateVo(ChildrenVo vo) { | |
| 96 | + if (vo == null || vo.getPerson() == null) { | |
| 97 | + throw new SystemException("输入参数为空"); | |
| 98 | + } | |
| 99 | + boolean flag = updateById(vo.getPerson()) && fatherService.updateById(vo.getFather()) | |
| 100 | + && recordService.updateById(vo.getRecord()); | |
| 101 | + | |
| 102 | + return flag; | |
| 103 | + } | |
| 104 | + | |
| 105 | + @Override | |
| 106 | + public ChildrenVo selectVoById(String id) { | |
| 107 | + if (StringUtils.isEmpty(id)) { | |
| 108 | + throw new SystemException("输入参数为空"); | |
| 109 | + } | |
| 110 | + ChildrenVo vo = new ChildrenVo(); | |
| 111 | + ChildrenPerson person = selectById(id);// 儿童基本信息 | |
| 112 | + ChildrenFather father = fatherService.selectByChildId(id);// 父亲基本信息 | |
| 113 | + ChildrenRecord record = recordService.selectByChildId(id);// 儿童院内、分娩信息 | |
| 114 | + vo.setFather(father); | |
| 115 | + vo.setPerson(person); | |
| 116 | + vo.setRecord(record); | |
| 117 | + return vo; | |
| 118 | + } | |
| 119 | + | |
| 120 | + // ==================华丽的分割线(以下是私有方法)======================== | |
| 121 | + | |
| 122 | + // 如果,根据传入的【证件类型、证件号】【姓名、联系方式】组合可以找到对应记录,则更新ChildrenPerson对象的motherId | |
| 123 | + private String selectMotherId(WomanPerson w){ | |
| 124 | + if(w==null){ | |
| 125 | + return null; | |
| 126 | + } | |
| 127 | + //证件类型、证件号均不为空,则可以建立查询条件 | |
| 128 | + boolean paperNotNull = w.getBasePapersType()!=null && w.getBasePapersNumber()!=null; | |
| 129 | + //姓名、联系方式均不为空,则可以建立查询条件 | |
| 130 | + boolean infoNotNull = w.getBaseWomanName()!=null && w.getContactWomanWay()!=null; | |
| 131 | + | |
| 132 | + if(paperNotNull || infoNotNull){//可以查询 | |
| 133 | + EntityWrapper<WomanPerson> wrapper = new EntityWrapper<>(); | |
| 134 | + if(paperNotNull){ | |
| 135 | + wrapper.eq("BASE_PAPERS_TYPE", w.getBasePapersType()); | |
| 136 | + wrapper.eq("BASE_PAPERS_NUMBER", w.getBasePapersNumber()); | |
| 137 | + } | |
| 138 | + if(infoNotNull){ | |
| 139 | + wrapper.eq("BASE_WOMAN_NAME", w.getBaseWomanName()); | |
| 140 | + wrapper.eq("CONTACT_WOMAN_WAY", w.getContactWomanWay()); | |
| 141 | + } | |
| 142 | + WomanPerson woman = womanPersonService.selectOne(wrapper); | |
| 143 | + return woman==null?null:woman.getId(); | |
| 144 | + }else{ | |
| 145 | + return null; | |
| 146 | + } | |
| 147 | + } | |
| 148 | + | |
| 149 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/children/impl/ChildrenRecordServiceImpl.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.service.children.impl; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | + | |
| 5 | +import org.springframework.stereotype.Service; | |
| 6 | + | |
| 7 | +import com.baomidou.mybatisplus.mapper.EntityWrapper; | |
| 8 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 9 | +import com.lyms.exception.SystemException; | |
| 10 | +import com.lyms.hospital.dao.children.ChildrenRecordMapper; | |
| 11 | +import com.lyms.hospital.entity.children.ChildrenRecord; | |
| 12 | +import com.lyms.hospital.service.children.ChildrenRecordService; | |
| 13 | +import com.lyms.util.StrUtils; | |
| 14 | + | |
| 15 | +/** | |
| 16 | + * <p> | |
| 17 | + * 服务实现类 | |
| 18 | + * </p> | |
| 19 | + * | |
| 20 | + * @author xujiahong | |
| 21 | + * @since 2017-04-12 | |
| 22 | + */ | |
| 23 | +@Service | |
| 24 | +public class ChildrenRecordServiceImpl extends ServiceImpl<ChildrenRecordMapper, ChildrenRecord> implements ChildrenRecordService { | |
| 25 | + | |
| 26 | + public Integer deleteLogicById(Serializable id){ | |
| 27 | + return baseMapper.deleteLogicById(id); | |
| 28 | + } | |
| 29 | + | |
| 30 | + @Override | |
| 31 | + public String create(ChildrenRecord obj) { | |
| 32 | + if (obj == null) { | |
| 33 | + throw new SystemException("儿童建档信息为空"); | |
| 34 | + } | |
| 35 | + String id = StrUtils.uuid(); | |
| 36 | + obj.setId(id); | |
| 37 | + obj.setCreateTime(new java.util.Date()); | |
| 38 | + if (insert(obj)) { | |
| 39 | + return id; | |
| 40 | + } | |
| 41 | + return null; | |
| 42 | + } | |
| 43 | + | |
| 44 | + @Override | |
| 45 | + public ChildrenRecord selectByChildId(String childId) { | |
| 46 | + EntityWrapper<ChildrenRecord> wrapper = new EntityWrapper<>(); | |
| 47 | + wrapper.eq("CHILD_ID", childId); | |
| 48 | + return this.selectOne(wrapper); | |
| 49 | +// List<ChildrenRecord> list = baseMapper.selectList(wrapper); | |
| 50 | +// if(list.size()>1){ | |
| 51 | +// throw new SystemException("发现多条匹配记录"); | |
| 52 | +// } | |
| 53 | +// return CollectionUtils.isEmpty(list)?null:list.get(0); | |
| 54 | + } | |
| 55 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/MarrybeInspectService.java
View file @
f0d827d
| ... | ... | @@ -4,6 +4,7 @@ |
| 4 | 4 | import java.util.List; |
| 5 | 5 | import java.util.Map; |
| 6 | 6 | |
| 7 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 7 | 8 | import com.lyms.hospital.entity.inspect.InspectListVo; |
| 8 | 9 | import com.lyms.hospital.entity.inspect.InspectManVo; |
| 9 | 10 | import com.lyms.hospital.entity.inspect.InspectWomanVo; |
| ... | ... | @@ -134,7 +135,7 @@ |
| 134 | 135 | * <li>修改人: |
| 135 | 136 | * <li>修改时间: |
| 136 | 137 | */ |
| 137 | - public List<InspectListVo> listOfMarryBeforeInspect(InspectListVo vo); | |
| 138 | + public Page<InspectListVo> listOfMarryBeforeInspect(Page<InspectListVo>page,InspectListVo vo); | |
| 138 | 139 | |
| 139 | 140 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/inspect/impl/MarrybeInspectServiceImpl.java
View file @
f0d827d
| ... | ... | @@ -10,6 +10,7 @@ |
| 10 | 10 | import org.springframework.transaction.annotation.Transactional; |
| 11 | 11 | import org.springframework.util.StringUtils; |
| 12 | 12 | |
| 13 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 13 | 14 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| 14 | 15 | import com.lyms.exception.SystemException; |
| 15 | 16 | import com.lyms.hospital.dao.inspect.MarrybeInspectMapper; |
| 16 | 17 | |
| ... | ... | @@ -249,14 +250,16 @@ |
| 249 | 250 | } |
| 250 | 251 | |
| 251 | 252 | @Override |
| 252 | - public List<InspectListVo> listOfMarryBeforeInspect(InspectListVo vo) { | |
| 253 | + public Page<InspectListVo> listOfMarryBeforeInspect(Page<InspectListVo> page,InspectListVo vo) { | |
| 253 | 254 | if(vo==null){ |
| 254 | 255 | return null; |
| 255 | 256 | } |
| 256 | 257 | if(StringUtils.isEmpty(vo.getOrgId())){ |
| 257 | 258 | throw new SystemException("缺失参数:医院ID"); |
| 258 | 259 | } |
| 259 | - return mapper.listOfMarryBeforeInspect(vo); | |
| 260 | + List<InspectListVo> list = mapper.listOfMarryBeforeInspect(page,vo); | |
| 261 | + page.setRecords(list); | |
| 262 | + return page; | |
| 260 | 263 | } |
| 261 | 264 | |
| 262 | 265 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/recheck/PostpartumReeService.java
View file @
f0d827d
| 1 | 1 | package com.lyms.hospital.service.recheck; |
| 2 | 2 | |
| 3 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 3 | 4 | import com.lyms.exception.SystemException; |
| 4 | 5 | import com.lyms.hospital.entity.recheck.PostpartumRee; |
| 5 | 6 | import com.lyms.web.service.BaseService; |
| ... | ... | @@ -9,6 +10,8 @@ |
| 9 | 10 | /** |
| 10 | 11 | * <p> |
| 11 | 12 | * 产后复查 服务类 |
| 13 | + * | |
| 14 | + * 查询-复查管理列表 | |
| 12 | 15 | * </p> |
| 13 | 16 | * |
| 14 | 17 | * @author xujiahong |
| ... | ... | @@ -56,7 +59,17 @@ |
| 56 | 59 | */ |
| 57 | 60 | public List<PostpartumRee> listByWomanId(String womanId); |
| 58 | 61 | |
| 59 | - | |
| 62 | + /** | |
| 63 | + * <li>@Description:查询-复查管理列表 | |
| 64 | + * <li>@param page | |
| 65 | + * <li>@param re | |
| 66 | + * <li>@return | |
| 67 | + * <li>创建人:xujiahong | |
| 68 | + * <li>创建时间:2017年4月11日 | |
| 69 | + * <li>修改人: | |
| 70 | + * <li>修改时间: | |
| 71 | + */ | |
| 72 | + public Page<PostpartumRee> pageOfRecheck(Page<PostpartumRee> page,PostpartumRee re); | |
| 60 | 73 | |
| 61 | 74 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/recheck/impl/PostpartumReeServiceImpl.java
View file @
f0d827d
| ... | ... | @@ -7,6 +7,7 @@ |
| 7 | 7 | import org.springframework.util.StringUtils; |
| 8 | 8 | |
| 9 | 9 | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| 10 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 10 | 11 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| 11 | 12 | import com.lyms.exception.SystemException; |
| 12 | 13 | import com.lyms.hospital.dao.recheck.PostpartumReeMapper; |
| ... | ... | @@ -64,6 +65,12 @@ |
| 64 | 65 | // List<PostpartumRee> list = baseMapper.selectByMap(columnMap); |
| 65 | 66 | List<PostpartumRee> list = baseMapper.selectList(new EntityWrapper<PostpartumRee>().eq("WOMAN_ID", womanId)); |
| 66 | 67 | return list; |
| 68 | + } | |
| 69 | + | |
| 70 | + @Override | |
| 71 | + public Page<PostpartumRee> pageOfRecheck(Page<PostpartumRee> page, PostpartumRee re) { | |
| 72 | + // TODO Auto-generated method stub | |
| 73 | + return null; | |
| 67 | 74 | } |
| 68 | 75 | } |
parent/hospital.web/src/main/java/com/lyms/hospital/controller/children/ChildrenExamController.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.controller.children; | |
| 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-13 | |
| 14 | + */ | |
| 15 | +@Controller | |
| 16 | +@RequestMapping("/childrenExam") | |
| 17 | +public class ChildrenExamController extends BaseController { | |
| 18 | + | |
| 19 | +} |
parent/hospital.web/src/main/java/com/lyms/hospital/controller/children/ChildrenFatherController.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.controller.children; | |
| 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-12 | |
| 14 | + */ | |
| 15 | +@Controller | |
| 16 | +@RequestMapping("/childrenFather") | |
| 17 | +public class ChildrenFatherController extends BaseController { | |
| 18 | + | |
| 19 | +} |
parent/hospital.web/src/main/java/com/lyms/hospital/controller/children/ChildrenPersonController.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.controller.children; | |
| 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-12 | |
| 14 | + */ | |
| 15 | +@Controller | |
| 16 | +@RequestMapping("/childrenPerson") | |
| 17 | +public class ChildrenPersonController extends BaseController { | |
| 18 | + | |
| 19 | +} |
parent/hospital.web/src/main/java/com/lyms/hospital/controller/children/ChildrenRecordController.java
View file @
f0d827d
| 1 | +package com.lyms.hospital.controller.children; | |
| 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-12 | |
| 14 | + */ | |
| 15 | +@Controller | |
| 16 | +@RequestMapping("/childrenRecord") | |
| 17 | +public class ChildrenRecordController extends BaseController { | |
| 18 | + | |
| 19 | +} |
parent/hospital.web/src/main/resources/logback.xml
View file @
f0d827d
| ... | ... | @@ -19,10 +19,10 @@ |
| 19 | 19 | </appender> |
| 20 | 20 | |
| 21 | 21 | <!-- project default level --> |
| 22 | - <logger name="com.lyms" level="DEBUG"/> | |
| 22 | + <logger name="com.lyms" level="INFO"/> | |
| 23 | 23 | |
| 24 | 24 | <!-- root --> |
| 25 | - <root level="DEBUG"> | |
| 25 | + <root level="INFO"> | |
| 26 | 26 | <appender-ref ref="console"/> |
| 27 | 27 | <appender-ref ref="rollingFile"/> |
| 28 | 28 | </root> |
parent/hospital.web/src/test/java/test/hospital/service/ChildbirthServiceTest.java
View file @
f0d827d
| ... | ... | @@ -3,8 +3,11 @@ |
| 3 | 3 | import org.junit.Test; |
| 4 | 4 | import org.springframework.beans.factory.annotation.Autowired; |
| 5 | 5 | |
| 6 | -import com.lyms.hospital.entity.childbirth.ChildbirthInfoVo; | |
| 6 | +import com.baomidou.mybatisplus.plugins.Page; | |
| 7 | +import com.lyms.hospital.entity.childbirth.ChildbirthListVo; | |
| 8 | +import com.lyms.hospital.entity.childbirth.ChildbirthNewborn; | |
| 7 | 9 | import com.lyms.hospital.service.childbirth.ChildbirthInfoService; |
| 10 | +import com.lyms.hospital.service.childbirth.ChildbirthNewbornService; | |
| 8 | 11 | |
| 9 | 12 | import test.hospital.BaseServiceTest; |
| 10 | 13 | |
| 11 | 14 | |
| ... | ... | @@ -12,7 +15,16 @@ |
| 12 | 15 | |
| 13 | 16 | @Autowired |
| 14 | 17 | private ChildbirthInfoService infoService; |
| 18 | + @Autowired | |
| 19 | + private ChildbirthNewbornService newbornService; | |
| 15 | 20 | |
| 21 | + @Test | |
| 22 | + public void createNewborn(){ | |
| 23 | + ChildbirthNewborn c = new ChildbirthNewborn(); | |
| 24 | + c.setCid("test0411"); | |
| 25 | + newbornService.create(c); | |
| 26 | + } | |
| 27 | + | |
| 16 | 28 | // @Test |
| 17 | 29 | // public void createChildbirthVo(){ |
| 18 | 30 | // ChildbirthInfoVo vo = ChildbirthInfoVo.createTestInstance(2); |
| 19 | 31 | |
| 20 | 32 | |
| ... | ... | @@ -32,15 +44,21 @@ |
| 32 | 44 | // infoService.softDeleteChildbirthVo(infoId); |
| 33 | 45 | // } |
| 34 | 46 | |
| 35 | - @Test | |
| 36 | - public void selectChildbirthVo(){ | |
| 37 | - String id = "8E180ED80A4E40E287F24CCE9EDF3703"; | |
| 38 | - ChildbirthInfoVo vo = infoService.selectChildbirthVo(id); | |
| 39 | - outJson(vo); | |
| 40 | - //{"info":{},"newbornList":[],"taiList":[],"taipanList":[]} | |
| 41 | - } | |
| 47 | +// @Test | |
| 48 | +// public void selectChildbirthVo(){ | |
| 49 | +// String id = "8E180ED80A4E40E287F24CCE9EDF3703"; | |
| 50 | +// ChildbirthInfoVo vo = infoService.selectChildbirthVo(id); | |
| 51 | +// outJson(vo); | |
| 52 | +// //{"info":{},"newbornList":[],"taiList":[],"taipanList":[]} | |
| 53 | +// } | |
| 42 | 54 | |
| 55 | +// @Test | |
| 56 | +// public void listOfChildbirth(){ | |
| 57 | +// ChildbirthListVo vo = new ChildbirthListVo(); | |
| 58 | +// vo.setOrgId(1); | |
| 59 | +// Page<ChildbirthListVo> page = infoService.listOfChildbirth(new Page<ChildbirthListVo>(1,10), vo); | |
| 60 | +// outJson(page); | |
| 61 | +// } | |
| 43 | 62 | |
| 44 | - | |
| 45 | 63 | } |
parent/mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/generator/MysqlGenerator.java
View file @
f0d827d
| ... | ... | @@ -48,12 +48,12 @@ |
| 48 | 48 | |
| 49 | 49 | // strategy.setInclude(new String[] { |
| 50 | 50 | // "SYS_USERS","SYS_USER_ROLE_MAPS","SYS_ROLES" }); // 需要生成的表 |
| 51 | - strategy.setInclude(new String[] { "MARRYBE_INSPECT","MARRYBE_INSPECT_MAN","MARRYBE_INSPECT_WOMAN" }); // 需要生成的表 | |
| 51 | + strategy.setInclude(new String[] { "CHILDREN_EXAM"}); // 需要生成的表 | |
| 52 | 52 | pc.setParent("com.lyms.hospital"); |
| 53 | 53 | // pc.setParent("com.lyms.base.common"); |
| 54 | 54 | |
| 55 | - pc.setFunctionName("inspect"); // com.lyms.hospital.web.controller.sys | |
| 56 | 55 | // 加在controller后面 |
| 56 | + pc.setFunctionName("children"); // com.lyms.hospital.web.controller.sys | |
| 57 | 57 | // pc.setModuleName("sys"); //com.lyms.hospital.sys.controller |
| 58 | 58 | // 加在controller前面 |
| 59 | 59 |