Commit 4f175016804cc7708bd4a744d8bc3ae841ac3c5f
1 parent
b3b3d0cde6
Exists in
master
妇女、孕妇建档、修改档案添加
Showing 22 changed files with 2770 additions and 3 deletions
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanFetationRecordMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanFetationRecordMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanHusbandMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanHusbandMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanPersonMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanPersonMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanRecordMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanRecordMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanFetationRecord.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanHusband.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanPerson.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanRecord.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistoryMapsService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistoryMapsServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanFetationRecordService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanHusbandService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanPersonService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanRecordService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanFetationRecordServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanHusbandServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanPersonServiceImpl.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanRecordServiceImpl.java
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanFetationRecordMapper.java
View file @
4f17501
| 1 | +package com.lyms.hospital.dao.woman; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.woman.WomanFetationRecord; | |
| 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 fangcheng | |
| 13 | + * @since 2017-03-31 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface WomanFetationRecordMapper extends BaseMapper<WomanFetationRecord> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanFetationRecordMapper.xml
View file @
4f17501
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="com.lyms.hospital.dao.woman.WomanFetationRecordMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.woman.WomanFetationRecord"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="BASE_WOMAN_NAME" property="baseWomanName" /> | |
| 9 | + <result column="BASE_PAPERS_TYPE" property="basePapersType" /> | |
| 10 | + <result column="BASE_PAPERS_NUMBER" property="basePapersNumber" /> | |
| 11 | + <result column="BASE_WOMAN_COUNTRY" property="baseWomanCountry" /> | |
| 12 | + <result column="BASE_WOMAN_NATION" property="baseWomanNation" /> | |
| 13 | + <result column="BASE_WOMAN_BIRTH" property="baseWomanBirth" /> | |
| 14 | + <result column="BASE_REGISTER_TYPE" property="baseRegisterType" /> | |
| 15 | + <result column="BASE_DWELL_TYPE" property="baseDwellType" /> | |
| 16 | + <result column="BASE_OCCUPATION_TYPE" property="baseOccupationType" /> | |
| 17 | + <result column="BASE_WOMAN_CULTURE" property="baseWomanCulture" /> | |
| 18 | + <result column="BASE_FAMILY_INCOME" property="baseFamilyIncome" /> | |
| 19 | + <result column="CONTACT_WOMAN_WAY" property="contactWomanWay" /> | |
| 20 | + <result column="CONTACT_WORK_ADDRESS" property="contactWorkAddress" /> | |
| 21 | + <result column="CONTACT_DWELL_PROVINCE" property="contactDwellProvince" /> | |
| 22 | + <result column="CONTACT_DWELL_CITY" property="contactDwellCity" /> | |
| 23 | + <result column="CONTACT_DWELL_AREA" property="contactDwellArea" /> | |
| 24 | + <result column="CONTACT_DWELL_STREET" property="contactDwellStreet" /> | |
| 25 | + <result column="CONTACT_DWELL_DETAIL" property="contactDwellDetail" /> | |
| 26 | + <result column="CONTACT_REGISTER_PROVINCE" property="contactRegisterProvince" /> | |
| 27 | + <result column="CONTACT_REGISTER_CITY" property="contactRegisterCity" /> | |
| 28 | + <result column="CONTACT_REGISTER_AREA" property="contactRegisterArea" /> | |
| 29 | + <result column="CONTACT_REGISTER_STREET" property="contactRegisterStreet" /> | |
| 30 | + <result column="CONTACT_REGISTER_DETAIL" property="contactRegisterDetail" /> | |
| 31 | + <result column="CONTACT_POSTPARTUM_PROVINCE" property="contactPostpartumProvince" /> | |
| 32 | + <result column="CONTACT_POSTPARTUM_CITY" property="contactPostpartumCity" /> | |
| 33 | + <result column="CONTACT_POSTPARTUM_AREA" property="contactPostpartumArea" /> | |
| 34 | + <result column="CONTACT_POSTPARTUM_STREET" property="contactPostpartumStreet" /> | |
| 35 | + <result column="CONTACT_POSTPARTUM_DETAIL" property="contactPostpartumDetail" /> | |
| 36 | + <result column="HOSPITAL_LAST_MENSTRUATION" property="hospitalLastMenstruation" /> | |
| 37 | + <result column="HOSPITAL_CORRECT_LAST_MENSTRUATION" property="hospitalCorrectLastMenstruation" /> | |
| 38 | + <result column="HOSPITAL_EXPECTED_DATE" property="hospitalExpectedDate" /> | |
| 39 | + <result column="HOSPITAL_PATIENT_CARD" property="hospitalPatientCard" /> | |
| 40 | + <result column="HOSPITAL_BARCODE" property="hospitalBarcode" /> | |
| 41 | + <result column="HOSPITAL_RECORD_NUMBER" property="hospitalRecordNumber" /> | |
| 42 | + <result column="HOSPITAL_SERVICE_TYPE" property="hospitalServiceType" /> | |
| 43 | + <result column="HOSPITAL_SERVICE_STATUS" property="hospitalServiceStatus" /> | |
| 44 | + <result column="HOSPITAL_MEMBER" property="hospitalMember" /> | |
| 45 | + <result column="HOSPITAL_RECORD_DOCTOR" property="hospitalRecordDoctor" /> | |
| 46 | + <result column="HOSPITAL_RECORD_DATE" property="hospitalRecordDate" /> | |
| 47 | + <result column="HOSPITAL_RECORD_REMARK" property="hospitalRecordRemark" /> | |
| 48 | + <result column="HOSPITAL_MEMBER_DATE" property="hospitalMemberDate" /> | |
| 49 | + <result column="BUILD_DATE" property="buildDate" /> | |
| 50 | + <result column="HOSTPITAL_ID" property="hostpitalId" /> | |
| 51 | + <result column="BUILD_TYPE" property="buildType" /> | |
| 52 | + <result column="CREATE_ID" property="createId" /> | |
| 53 | + <result column="CREATE_TIME" property="createTime" /> | |
| 54 | + <result column="MODIFY_ID" property="modifyId" /> | |
| 55 | + <result column="MODIFY_TIME" property="modifyTime" /> | |
| 56 | + <result column="IFDEL" property="ifdel" /> | |
| 57 | + <result column="ENALBLE" property="enalble" /> | |
| 58 | + </resultMap> | |
| 59 | + | |
| 60 | + <!-- 通用查询结果列 --> | |
| 61 | + <sql id="Base_Column_List"> | |
| 62 | + ID AS id, BASE_WOMAN_NAME AS baseWomanName, BASE_PAPERS_TYPE AS basePapersType, BASE_PAPERS_NUMBER AS basePapersNumber, BASE_WOMAN_COUNTRY AS baseWomanCountry, BASE_WOMAN_NATION AS baseWomanNation, BASE_WOMAN_BIRTH AS baseWomanBirth, BASE_REGISTER_TYPE AS baseRegisterType, BASE_DWELL_TYPE AS baseDwellType, BASE_OCCUPATION_TYPE AS baseOccupationType, BASE_WOMAN_CULTURE AS baseWomanCulture, BASE_FAMILY_INCOME AS baseFamilyIncome, CONTACT_WOMAN_WAY AS contactWomanWay, CONTACT_WORK_ADDRESS AS contactWorkAddress, CONTACT_DWELL_PROVINCE AS contactDwellProvince, CONTACT_DWELL_CITY AS contactDwellCity, CONTACT_DWELL_AREA AS contactDwellArea, CONTACT_DWELL_STREET AS contactDwellStreet, CONTACT_DWELL_DETAIL AS contactDwellDetail, CONTACT_REGISTER_PROVINCE AS contactRegisterProvince, CONTACT_REGISTER_CITY AS contactRegisterCity, CONTACT_REGISTER_AREA AS contactRegisterArea, CONTACT_REGISTER_STREET AS contactRegisterStreet, CONTACT_REGISTER_DETAIL AS contactRegisterDetail, CONTACT_POSTPARTUM_PROVINCE AS contactPostpartumProvince, CONTACT_POSTPARTUM_CITY AS contactPostpartumCity, CONTACT_POSTPARTUM_AREA AS contactPostpartumArea, CONTACT_POSTPARTUM_STREET AS contactPostpartumStreet, CONTACT_POSTPARTUM_DETAIL AS contactPostpartumDetail, HOSPITAL_LAST_MENSTRUATION AS hospitalLastMenstruation, HOSPITAL_CORRECT_LAST_MENSTRUATION AS hospitalCorrectLastMenstruation, HOSPITAL_EXPECTED_DATE AS hospitalExpectedDate, HOSPITAL_PATIENT_CARD AS hospitalPatientCard, HOSPITAL_BARCODE AS hospitalBarcode, HOSPITAL_RECORD_NUMBER AS hospitalRecordNumber, HOSPITAL_SERVICE_TYPE AS hospitalServiceType, HOSPITAL_SERVICE_STATUS AS hospitalServiceStatus, HOSPITAL_MEMBER AS hospitalMember, HOSPITAL_RECORD_DOCTOR AS hospitalRecordDoctor, HOSPITAL_RECORD_DATE AS hospitalRecordDate, HOSPITAL_RECORD_REMARK AS hospitalRecordRemark, HOSPITAL_MEMBER_DATE AS hospitalMemberDate, BUILD_DATE AS buildDate, HOSTPITAL_ID AS hostpitalId, BUILD_TYPE AS buildType, CREATE_ID AS createId, CREATE_TIME AS createTime, MODIFY_ID AS modifyId, MODIFY_TIME AS modifyTime, IFDEL AS ifdel, ENALBLE AS enalble | |
| 63 | + </sql> | |
| 64 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanHusbandMapper.java
View file @
4f17501
| 1 | +package com.lyms.hospital.dao.woman; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.woman.WomanHusband; | |
| 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 fangcheng | |
| 13 | + * @since 2017-03-31 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface WomanHusbandMapper extends BaseMapper<WomanHusband> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanHusbandMapper.xml
View file @
4f17501
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="com.lyms.hospital.dao.woman.WomanHusbandMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.woman.WomanHusband"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="HUSBAND_NAME" property="husbandName" /> | |
| 9 | + <result column="HUSBAND_PAPERS_TYPE" property="husbandPapersType" /> | |
| 10 | + <result column="HUSBAND_PAPERS_NUMBER" property="husbandPapersNumber" /> | |
| 11 | + <result column="HUSBAND_COUNTRY" property="husbandCountry" /> | |
| 12 | + <result column="HUSBAND_NATION" property="husbandNation" /> | |
| 13 | + <result column="HUSBAND_BIRTH" property="husbandBirth" /> | |
| 14 | + <result column="HUSBAND_OCCUPATION_TYPE" property="husbandOccupationType" /> | |
| 15 | + <result column="HUSBAND_CULTURE" property="husbandCulture" /> | |
| 16 | + <result column="HUSBAND_WAY" property="husbandWay" /> | |
| 17 | + <result column="HUSBAND_WORK_ADDRESS" property="husbandWorkAddress" /> | |
| 18 | + <result column="HUSBAND_REGISTER_PROVINCE" property="husbandRegisterProvince" /> | |
| 19 | + <result column="HUSBAND_REGISTER_CITY" property="husbandRegisterCity" /> | |
| 20 | + <result column="HUSBAND_REGISTER_AREA" property="husbandRegisterArea" /> | |
| 21 | + <result column="HUSBAND_REGISTER_STREET" property="husbandRegisterStreet" /> | |
| 22 | + <result column="HUSBAND_REGISTER_DETAIL" property="husbandRegisterDetail" /> | |
| 23 | + <result column="WOMAN_RECORD_ID" property="womanRecordId" /> | |
| 24 | + <result column="CREATE_DATE" property="createDate" /> | |
| 25 | + </resultMap> | |
| 26 | + | |
| 27 | + <!-- 通用查询结果列 --> | |
| 28 | + <sql id="Base_Column_List"> | |
| 29 | + ID AS id, HUSBAND_NAME AS husbandName, HUSBAND_PAPERS_TYPE AS husbandPapersType, HUSBAND_PAPERS_NUMBER AS husbandPapersNumber, HUSBAND_COUNTRY AS husbandCountry, HUSBAND_NATION AS husbandNation, HUSBAND_BIRTH AS husbandBirth, HUSBAND_OCCUPATION_TYPE AS husbandOccupationType, HUSBAND_CULTURE AS husbandCulture, HUSBAND_WAY AS husbandWay, HUSBAND_WORK_ADDRESS AS husbandWorkAddress, HUSBAND_REGISTER_PROVINCE AS husbandRegisterProvince, HUSBAND_REGISTER_CITY AS husbandRegisterCity, HUSBAND_REGISTER_AREA AS husbandRegisterArea, HUSBAND_REGISTER_STREET AS husbandRegisterStreet, HUSBAND_REGISTER_DETAIL AS husbandRegisterDetail, WOMAN_RECORD_ID AS womanRecordId, CREATE_DATE AS createDate | |
| 30 | + </sql> | |
| 31 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanPersonMapper.java
View file @
4f17501
| 1 | +package com.lyms.hospital.dao.woman; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.woman.WomanPerson; | |
| 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 fangcheng | |
| 13 | + * @since 2017-03-31 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface WomanPersonMapper extends BaseMapper<WomanPerson> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanPersonMapper.xml
View file @
4f17501
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="com.lyms.hospital.dao.woman.WomanPersonMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.woman.WomanPerson"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="BASE_WOMAN_NAME" property="baseWomanName" /> | |
| 9 | + <result column="BASE_PAPERS_TYPE" property="basePapersType" /> | |
| 10 | + <result column="BASE_PAPERS_NUMBER" property="basePapersNumber" /> | |
| 11 | + <result column="BASE_WOMAN_COUNTRY" property="baseWomanCountry" /> | |
| 12 | + <result column="BASE_WOMAN_NATION" property="baseWomanNation" /> | |
| 13 | + <result column="BASE_WOMAN_BIRTH" property="baseWomanBirth" /> | |
| 14 | + <result column="BASE_REGISTER_TYPE" property="baseRegisterType" /> | |
| 15 | + <result column="BASE_DWELL_TYPE" property="baseDwellType" /> | |
| 16 | + <result column="CONTACT_WOMAN_WAY" property="contactWomanWay" /> | |
| 17 | + <result column="CONTACT_WORK_ADDRESS" property="contactWorkAddress" /> | |
| 18 | + <result column="CONTACT_DWELL_PROVINCE" property="contactDwellProvince" /> | |
| 19 | + <result column="CONTACT_DWELL_CITY" property="contactDwellCity" /> | |
| 20 | + <result column="CONTACT_DWELL_AREA" property="contactDwellArea" /> | |
| 21 | + <result column="CONTACT_DWELL_STREET" property="contactDwellStreet" /> | |
| 22 | + <result column="CONTACT_DWELL_DETAIL" property="contactDwellDetail" /> | |
| 23 | + <result column="CONTACT_REGISTER_PROVINCE" property="contactRegisterProvince" /> | |
| 24 | + <result column="CONTACT_REGISTER_CITY" property="contactRegisterCity" /> | |
| 25 | + <result column="CONTACT_REGISTER_AREA" property="contactRegisterArea" /> | |
| 26 | + <result column="CONTACT_REGISTER_STREET" property="contactRegisterStreet" /> | |
| 27 | + <result column="CONTACT_REGISTER_DETAIL" property="contactRegisterDetail" /> | |
| 28 | + <result column="CONTACT_POSTPARTUM_PROVINCE" property="contactPostpartumProvince" /> | |
| 29 | + <result column="CONTACT_POSTPARTUM_CITY" property="contactPostpartumCity" /> | |
| 30 | + <result column="CONTACT_POSTPARTUM_AREA" property="contactPostpartumArea" /> | |
| 31 | + <result column="CONTACT_POSTPARTUM_STREET" property="contactPostpartumStreet" /> | |
| 32 | + <result column="CONTACT_POSTPARTUM_DETAIL" property="contactPostpartumDetail" /> | |
| 33 | + </resultMap> | |
| 34 | + | |
| 35 | + <!-- 通用查询结果列 --> | |
| 36 | + <sql id="Base_Column_List"> | |
| 37 | + ID AS id, BASE_WOMAN_NAME AS baseWomanName, BASE_PAPERS_TYPE AS basePapersType, BASE_PAPERS_NUMBER AS basePapersNumber, BASE_WOMAN_COUNTRY AS baseWomanCountry, BASE_WOMAN_NATION AS baseWomanNation, BASE_WOMAN_BIRTH AS baseWomanBirth, BASE_REGISTER_TYPE AS baseRegisterType, BASE_DWELL_TYPE AS baseDwellType, CONTACT_WOMAN_WAY AS contactWomanWay, CONTACT_WORK_ADDRESS AS contactWorkAddress, CONTACT_DWELL_PROVINCE AS contactDwellProvince, CONTACT_DWELL_CITY AS contactDwellCity, CONTACT_DWELL_AREA AS contactDwellArea, CONTACT_DWELL_STREET AS contactDwellStreet, CONTACT_DWELL_DETAIL AS contactDwellDetail, CONTACT_REGISTER_PROVINCE AS contactRegisterProvince, CONTACT_REGISTER_CITY AS contactRegisterCity, CONTACT_REGISTER_AREA AS contactRegisterArea, CONTACT_REGISTER_STREET AS contactRegisterStreet, CONTACT_REGISTER_DETAIL AS contactRegisterDetail, CONTACT_POSTPARTUM_PROVINCE AS contactPostpartumProvince, CONTACT_POSTPARTUM_CITY AS contactPostpartumCity, CONTACT_POSTPARTUM_AREA AS contactPostpartumArea, CONTACT_POSTPARTUM_STREET AS contactPostpartumStreet, CONTACT_POSTPARTUM_DETAIL AS contactPostpartumDetail | |
| 38 | + </sql> | |
| 39 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanRecordMapper.java
View file @
4f17501
| 1 | +package com.lyms.hospital.dao.woman; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.woman.WomanRecord; | |
| 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 fangcheng | |
| 13 | + * @since 2017-03-31 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface WomanRecordMapper extends BaseMapper<WomanRecord> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/woman/WomanRecordMapper.xml
View file @
4f17501
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |
| 3 | +<mapper namespace="com.lyms.hospital.dao.woman.WomanRecordMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.woman.WomanRecord"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="BASE_WOMAN_NAME" property="baseWomanName" /> | |
| 9 | + <result column="BASE_PAPERS_TYPE" property="basePapersType" /> | |
| 10 | + <result column="BASE_PAPERS_NUMBER" property="basePapersNumber" /> | |
| 11 | + <result column="BASE_WOMAN_COUNTRY" property="baseWomanCountry" /> | |
| 12 | + <result column="BASE_WOMAN_NATION" property="baseWomanNation" /> | |
| 13 | + <result column="BASE_WOMAN_BIRTH" property="baseWomanBirth" /> | |
| 14 | + <result column="BASE_REGISTER_TYPE" property="baseRegisterType" /> | |
| 15 | + <result column="BASE_DWELL_TYPE" property="baseDwellType" /> | |
| 16 | + <result column="BASE_OCCUPATION_TYPE" property="baseOccupationType" /> | |
| 17 | + <result column="BASE_WOMAN_CULTURE" property="baseWomanCulture" /> | |
| 18 | + <result column="BASE_FAMILY_INCOME" property="baseFamilyIncome" /> | |
| 19 | + <result column="CONTACT_WOMAN_WAY" property="contactWomanWay" /> | |
| 20 | + <result column="CONTACT_WORK_ADDRESS" property="contactWorkAddress" /> | |
| 21 | + <result column="CONTACT_DWELL_PROVINCE" property="contactDwellProvince" /> | |
| 22 | + <result column="CONTACT_DWELL_CITY" property="contactDwellCity" /> | |
| 23 | + <result column="CONTACT_DWELL_AREA" property="contactDwellArea" /> | |
| 24 | + <result column="CONTACT_DWELL_STREET" property="contactDwellStreet" /> | |
| 25 | + <result column="CONTACT_DWELL_DETAIL" property="contactDwellDetail" /> | |
| 26 | + <result column="CONTACT_REGISTER_PROVINCE" property="contactRegisterProvince" /> | |
| 27 | + <result column="CONTACT_REGISTER_CITY" property="contactRegisterCity" /> | |
| 28 | + <result column="CONTACT_REGISTER_AREA" property="contactRegisterArea" /> | |
| 29 | + <result column="CONTACT_REGISTER_STREET" property="contactRegisterStreet" /> | |
| 30 | + <result column="CONTACT_REGISTER_DETAIL" property="contactRegisterDetail" /> | |
| 31 | + <result column="CONTACT_POSTPARTUM_PROVINCE" property="contactPostpartumProvince" /> | |
| 32 | + <result column="CONTACT_POSTPARTUM_CITY" property="contactPostpartumCity" /> | |
| 33 | + <result column="CONTACT_POSTPARTUM_AREA" property="contactPostpartumArea" /> | |
| 34 | + <result column="CONTACT_POSTPARTUM_STREET" property="contactPostpartumStreet" /> | |
| 35 | + <result column="CONTACT_POSTPARTUM_DETAIL" property="contactPostpartumDetail" /> | |
| 36 | + <result column="HOSPITAL_PATIENT_CARD" property="hospitalPatientCard" /> | |
| 37 | + <result column="HOSPITAL_BARCODE" property="hospitalBarcode" /> | |
| 38 | + <result column="HOSPITAL_RECORD_NUMBER" property="hospitalRecordNumber" /> | |
| 39 | + <result column="HOSPITAL_RECORD_DOCTOR" property="hospitalRecordDoctor" /> | |
| 40 | + <result column="HOSPITAL_RECORD_DATE" property="hospitalRecordDate" /> | |
| 41 | + <result column="HOSPITAL_RECORD_REMARK" property="hospitalRecordRemark" /> | |
| 42 | + <result column="HOSPITAL_MEMBER_DATE" property="hospitalMemberDate" /> | |
| 43 | + <result column="BUILD_DATE" property="buildDate" /> | |
| 44 | + <result column="HOSPITAL_ID" property="hospitalId" /> | |
| 45 | + <result column="BUILD_TYPE" property="buildType" /> | |
| 46 | + <result column="CREATE_ID" property="createId" /> | |
| 47 | + <result column="CREATE_TIME" property="createTime" /> | |
| 48 | + <result column="MODIFY_ID" property="modifyId" /> | |
| 49 | + <result column="MODIFY_TIME" property="modifyTime" /> | |
| 50 | + <result column="IFDEL" property="ifdel" /> | |
| 51 | + <result column="ENALBLE" property="enalble" /> | |
| 52 | + </resultMap> | |
| 53 | + | |
| 54 | + <!-- 通用查询结果列 --> | |
| 55 | + <sql id="Base_Column_List"> | |
| 56 | + ID AS id, BASE_WOMAN_NAME AS baseWomanName, BASE_PAPERS_TYPE AS basePapersType, BASE_PAPERS_NUMBER AS basePapersNumber, BASE_WOMAN_COUNTRY AS baseWomanCountry, BASE_WOMAN_NATION AS baseWomanNation, BASE_WOMAN_BIRTH AS baseWomanBirth, BASE_REGISTER_TYPE AS baseRegisterType, BASE_DWELL_TYPE AS baseDwellType, BASE_OCCUPATION_TYPE AS baseOccupationType, BASE_WOMAN_CULTURE AS baseWomanCulture, BASE_FAMILY_INCOME AS baseFamilyIncome, CONTACT_WOMAN_WAY AS contactWomanWay, CONTACT_WORK_ADDRESS AS contactWorkAddress, CONTACT_DWELL_PROVINCE AS contactDwellProvince, CONTACT_DWELL_CITY AS contactDwellCity, CONTACT_DWELL_AREA AS contactDwellArea, CONTACT_DWELL_STREET AS contactDwellStreet, CONTACT_DWELL_DETAIL AS contactDwellDetail, CONTACT_REGISTER_PROVINCE AS contactRegisterProvince, CONTACT_REGISTER_CITY AS contactRegisterCity, CONTACT_REGISTER_AREA AS contactRegisterArea, CONTACT_REGISTER_STREET AS contactRegisterStreet, CONTACT_REGISTER_DETAIL AS contactRegisterDetail, CONTACT_POSTPARTUM_PROVINCE AS contactPostpartumProvince, CONTACT_POSTPARTUM_CITY AS contactPostpartumCity, CONTACT_POSTPARTUM_AREA AS contactPostpartumArea, CONTACT_POSTPARTUM_STREET AS contactPostpartumStreet, CONTACT_POSTPARTUM_DETAIL AS contactPostpartumDetail, HOSPITAL_PATIENT_CARD AS hospitalPatientCard, HOSPITAL_BARCODE AS hospitalBarcode, HOSPITAL_RECORD_NUMBER AS hospitalRecordNumber, HOSPITAL_RECORD_DOCTOR AS hospitalRecordDoctor, HOSPITAL_RECORD_DATE AS hospitalRecordDate, HOSPITAL_RECORD_REMARK AS hospitalRecordRemark, HOSPITAL_MEMBER_DATE AS hospitalMemberDate, BUILD_DATE AS buildDate, HOSPITAL_ID AS hospitalId, BUILD_TYPE AS buildType, CREATE_ID AS createId, CREATE_TIME AS createTime, MODIFY_ID AS modifyId, MODIFY_TIME AS modifyTime, IFDEL AS ifdel, ENALBLE AS enalble | |
| 57 | + </sql> | |
| 58 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanFetationRecord.java
View file @
4f17501
| 1 | +package com.lyms.hospital.entity.woman; | |
| 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 fangcheng | |
| 15 | + * @since 2017-03-31 | |
| 16 | + */ | |
| 17 | +@TableName("WOMAN_FETATION_RECORD") | |
| 18 | +public class WomanFetationRecord implements Serializable { | |
| 19 | + | |
| 20 | + private static final long serialVersionUID = 1L; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * | |
| 24 | + */ | |
| 25 | + @TableId(value="ID") | |
| 26 | + private String id; | |
| 27 | + /** | |
| 28 | + * 孕妇姓名 | |
| 29 | + */ | |
| 30 | + @TableField(value="BASE_WOMAN_NAME") | |
| 31 | + private String baseWomanName; | |
| 32 | + /** | |
| 33 | + * 证件类型 | |
| 34 | + */ | |
| 35 | + @TableField(value="BASE_PAPERS_TYPE") | |
| 36 | + private String basePapersType; | |
| 37 | + /** | |
| 38 | + * 证件编号 | |
| 39 | + */ | |
| 40 | + @TableField(value="BASE_PAPERS_NUMBER") | |
| 41 | + private String basePapersNumber; | |
| 42 | + /** | |
| 43 | + * 孕妇国家 | |
| 44 | + */ | |
| 45 | + @TableField(value="BASE_WOMAN_COUNTRY") | |
| 46 | + private String baseWomanCountry; | |
| 47 | + /** | |
| 48 | + * 民族 | |
| 49 | + */ | |
| 50 | + @TableField(value="BASE_WOMAN_NATION") | |
| 51 | + private String baseWomanNation; | |
| 52 | + /** | |
| 53 | + * 孕妇出生 | |
| 54 | + */ | |
| 55 | + @TableField(value="BASE_WOMAN_BIRTH") | |
| 56 | + private Date baseWomanBirth; | |
| 57 | + /** | |
| 58 | + * 户籍类型 | |
| 59 | + */ | |
| 60 | + @TableField(value="BASE_REGISTER_TYPE") | |
| 61 | + private String baseRegisterType; | |
| 62 | + /** | |
| 63 | + * 居住类别 | |
| 64 | + */ | |
| 65 | + @TableField(value="BASE_DWELL_TYPE") | |
| 66 | + private String baseDwellType; | |
| 67 | + /** | |
| 68 | + * 职业类别 | |
| 69 | + */ | |
| 70 | + @TableField(value="BASE_OCCUPATION_TYPE") | |
| 71 | + private String baseOccupationType; | |
| 72 | + /** | |
| 73 | + * 文化程度 | |
| 74 | + */ | |
| 75 | + @TableField(value="BASE_WOMAN_CULTURE") | |
| 76 | + private String baseWomanCulture; | |
| 77 | + /** | |
| 78 | + * 家庭收入 | |
| 79 | + */ | |
| 80 | + @TableField(value="BASE_FAMILY_INCOME") | |
| 81 | + private String baseFamilyIncome; | |
| 82 | + /** | |
| 83 | + * 联系方式 | |
| 84 | + */ | |
| 85 | + @TableField(value="CONTACT_WOMAN_WAY") | |
| 86 | + private String contactWomanWay; | |
| 87 | + /** | |
| 88 | + * 工作地址 | |
| 89 | + */ | |
| 90 | + @TableField(value="CONTACT_WORK_ADDRESS") | |
| 91 | + private String contactWorkAddress; | |
| 92 | + /** | |
| 93 | + * 省 | |
| 94 | + */ | |
| 95 | + @TableField(value="CONTACT_DWELL_PROVINCE") | |
| 96 | + private String contactDwellProvince; | |
| 97 | + /** | |
| 98 | + * 市 | |
| 99 | + */ | |
| 100 | + @TableField(value="CONTACT_DWELL_CITY") | |
| 101 | + private String contactDwellCity; | |
| 102 | + /** | |
| 103 | + * 区 | |
| 104 | + */ | |
| 105 | + @TableField(value="CONTACT_DWELL_AREA") | |
| 106 | + private String contactDwellArea; | |
| 107 | + /** | |
| 108 | + * 乡/镇/街道 | |
| 109 | + */ | |
| 110 | + @TableField(value="CONTACT_DWELL_STREET") | |
| 111 | + private String contactDwellStreet; | |
| 112 | + /** | |
| 113 | + * 详细地址 | |
| 114 | + */ | |
| 115 | + @TableField(value="CONTACT_DWELL_DETAIL") | |
| 116 | + private String contactDwellDetail; | |
| 117 | + /** | |
| 118 | + * 户籍地址省 | |
| 119 | + */ | |
| 120 | + @TableField(value="CONTACT_REGISTER_PROVINCE") | |
| 121 | + private String contactRegisterProvince; | |
| 122 | + /** | |
| 123 | + * 户籍地址市 | |
| 124 | + */ | |
| 125 | + @TableField(value="CONTACT_REGISTER_CITY") | |
| 126 | + private String contactRegisterCity; | |
| 127 | + /** | |
| 128 | + * 户籍地址区 | |
| 129 | + */ | |
| 130 | + @TableField(value="CONTACT_REGISTER_AREA") | |
| 131 | + private String contactRegisterArea; | |
| 132 | + /** | |
| 133 | + * 户籍地址乡/镇/街道 | |
| 134 | + */ | |
| 135 | + @TableField(value="CONTACT_REGISTER_STREET") | |
| 136 | + private String contactRegisterStreet; | |
| 137 | + /** | |
| 138 | + * 户籍地址详情 | |
| 139 | + */ | |
| 140 | + @TableField(value="CONTACT_REGISTER_DETAIL") | |
| 141 | + private String contactRegisterDetail; | |
| 142 | + /** | |
| 143 | + * 产后休养省 | |
| 144 | + */ | |
| 145 | + @TableField(value="CONTACT_POSTPARTUM_PROVINCE") | |
| 146 | + private String contactPostpartumProvince; | |
| 147 | + /** | |
| 148 | + * 产后休养市 | |
| 149 | + */ | |
| 150 | + @TableField(value="CONTACT_POSTPARTUM_CITY") | |
| 151 | + private String contactPostpartumCity; | |
| 152 | + /** | |
| 153 | + * 产后休养区 | |
| 154 | + */ | |
| 155 | + @TableField(value="CONTACT_POSTPARTUM_AREA") | |
| 156 | + private String contactPostpartumArea; | |
| 157 | + /** | |
| 158 | + * 产后休养街道 | |
| 159 | + */ | |
| 160 | + @TableField(value="CONTACT_POSTPARTUM_STREET") | |
| 161 | + private String contactPostpartumStreet; | |
| 162 | + /** | |
| 163 | + * 产后休养详细地址 | |
| 164 | + */ | |
| 165 | + @TableField(value="CONTACT_POSTPARTUM_DETAIL") | |
| 166 | + private String contactPostpartumDetail; | |
| 167 | + /** | |
| 168 | + * 末次月经 | |
| 169 | + */ | |
| 170 | + @TableField(value="HOSPITAL_LAST_MENSTRUATION") | |
| 171 | + private String hospitalLastMenstruation; | |
| 172 | + /** | |
| 173 | + * 纠正末次月经 | |
| 174 | + */ | |
| 175 | + @TableField(value="HOSPITAL_CORRECT_LAST_MENSTRUATION") | |
| 176 | + private String hospitalCorrectLastMenstruation; | |
| 177 | + /** | |
| 178 | + * 预产期 | |
| 179 | + */ | |
| 180 | + @TableField(value="HOSPITAL_EXPECTED_DATE") | |
| 181 | + private Date hospitalExpectedDate; | |
| 182 | + /** | |
| 183 | + * 就诊卡 | |
| 184 | + */ | |
| 185 | + @TableField(value="HOSPITAL_PATIENT_CARD") | |
| 186 | + private String hospitalPatientCard; | |
| 187 | + /** | |
| 188 | + * 条码 | |
| 189 | + */ | |
| 190 | + @TableField(value="HOSPITAL_BARCODE") | |
| 191 | + private String hospitalBarcode; | |
| 192 | + /** | |
| 193 | + * 档案编号 | |
| 194 | + */ | |
| 195 | + @TableField(value="HOSPITAL_RECORD_NUMBER") | |
| 196 | + private String hospitalRecordNumber; | |
| 197 | + /** | |
| 198 | + * 服务类型 | |
| 199 | + */ | |
| 200 | + @TableField(value="HOSPITAL_SERVICE_TYPE") | |
| 201 | + private String hospitalServiceType; | |
| 202 | + /** | |
| 203 | + * 服务状态 | |
| 204 | + */ | |
| 205 | + @TableField(value="HOSPITAL_SERVICE_STATUS") | |
| 206 | + private String hospitalServiceStatus; | |
| 207 | + /** | |
| 208 | + * 会员预约时间 | |
| 209 | + */ | |
| 210 | + @TableField(value="HOSPITAL_MEMBER") | |
| 211 | + private String hospitalMember; | |
| 212 | + /** | |
| 213 | + * 建档医生 | |
| 214 | + */ | |
| 215 | + @TableField(value="HOSPITAL_RECORD_DOCTOR") | |
| 216 | + private String hospitalRecordDoctor; | |
| 217 | + /** | |
| 218 | + * 建档日期 | |
| 219 | + */ | |
| 220 | + @TableField(value="HOSPITAL_RECORD_DATE") | |
| 221 | + private Date hospitalRecordDate; | |
| 222 | + /** | |
| 223 | + * 档案备注 | |
| 224 | + */ | |
| 225 | + @TableField(value="HOSPITAL_RECORD_REMARK") | |
| 226 | + private String hospitalRecordRemark; | |
| 227 | + /** | |
| 228 | + * 体验到期时间 | |
| 229 | + */ | |
| 230 | + @TableField(value="HOSPITAL_MEMBER_DATE") | |
| 231 | + private Date hospitalMemberDate; | |
| 232 | + /** | |
| 233 | + * 建档时间 | |
| 234 | + */ | |
| 235 | + @TableField(value="BUILD_DATE") | |
| 236 | + private Date buildDate; | |
| 237 | + /** | |
| 238 | + * 建档医院 | |
| 239 | + */ | |
| 240 | + @TableField(value="HOSTPITAL_ID") | |
| 241 | + private String hostpitalId; | |
| 242 | + /** | |
| 243 | + * 建档来源 | |
| 244 | + */ | |
| 245 | + @TableField(value="BUILD_TYPE") | |
| 246 | + private Integer buildType; | |
| 247 | + /** | |
| 248 | + * | |
| 249 | + */ | |
| 250 | + @TableField(value="CREATE_ID") | |
| 251 | + private String createId; | |
| 252 | + /** | |
| 253 | + * | |
| 254 | + */ | |
| 255 | + @TableField(value="CREATE_TIME") | |
| 256 | + private Date createTime; | |
| 257 | + /** | |
| 258 | + * | |
| 259 | + */ | |
| 260 | + @TableField(value="MODIFY_ID") | |
| 261 | + private String modifyId; | |
| 262 | + /** | |
| 263 | + * | |
| 264 | + */ | |
| 265 | + @TableField(value="MODIFY_TIME") | |
| 266 | + private Date modifyTime; | |
| 267 | + /** | |
| 268 | + * | |
| 269 | + */ | |
| 270 | + @TableField(value="IFDEL") | |
| 271 | + private Integer ifdel; | |
| 272 | + /** | |
| 273 | + * | |
| 274 | + */ | |
| 275 | + @TableField(value="ENALBLE") | |
| 276 | + private Integer enalble; | |
| 277 | + | |
| 278 | + | |
| 279 | + public String getId() { | |
| 280 | + return id; | |
| 281 | + } | |
| 282 | + | |
| 283 | + public void setId(String id) { | |
| 284 | + this.id = id; | |
| 285 | + } | |
| 286 | + | |
| 287 | + public String getBaseWomanName() { | |
| 288 | + return baseWomanName; | |
| 289 | + } | |
| 290 | + | |
| 291 | + public void setBaseWomanName(String baseWomanName) { | |
| 292 | + this.baseWomanName = baseWomanName; | |
| 293 | + } | |
| 294 | + | |
| 295 | + public String getBasePapersType() { | |
| 296 | + return basePapersType; | |
| 297 | + } | |
| 298 | + | |
| 299 | + public void setBasePapersType(String basePapersType) { | |
| 300 | + this.basePapersType = basePapersType; | |
| 301 | + } | |
| 302 | + | |
| 303 | + public String getBasePapersNumber() { | |
| 304 | + return basePapersNumber; | |
| 305 | + } | |
| 306 | + | |
| 307 | + public void setBasePapersNumber(String basePapersNumber) { | |
| 308 | + this.basePapersNumber = basePapersNumber; | |
| 309 | + } | |
| 310 | + | |
| 311 | + public String getBaseWomanCountry() { | |
| 312 | + return baseWomanCountry; | |
| 313 | + } | |
| 314 | + | |
| 315 | + public void setBaseWomanCountry(String baseWomanCountry) { | |
| 316 | + this.baseWomanCountry = baseWomanCountry; | |
| 317 | + } | |
| 318 | + | |
| 319 | + public String getBaseWomanNation() { | |
| 320 | + return baseWomanNation; | |
| 321 | + } | |
| 322 | + | |
| 323 | + public void setBaseWomanNation(String baseWomanNation) { | |
| 324 | + this.baseWomanNation = baseWomanNation; | |
| 325 | + } | |
| 326 | + | |
| 327 | + public Date getBaseWomanBirth() { | |
| 328 | + return baseWomanBirth; | |
| 329 | + } | |
| 330 | + | |
| 331 | + public void setBaseWomanBirth(Date baseWomanBirth) { | |
| 332 | + this.baseWomanBirth = baseWomanBirth; | |
| 333 | + } | |
| 334 | + | |
| 335 | + public String getBaseRegisterType() { | |
| 336 | + return baseRegisterType; | |
| 337 | + } | |
| 338 | + | |
| 339 | + public void setBaseRegisterType(String baseRegisterType) { | |
| 340 | + this.baseRegisterType = baseRegisterType; | |
| 341 | + } | |
| 342 | + | |
| 343 | + public String getBaseDwellType() { | |
| 344 | + return baseDwellType; | |
| 345 | + } | |
| 346 | + | |
| 347 | + public void setBaseDwellType(String baseDwellType) { | |
| 348 | + this.baseDwellType = baseDwellType; | |
| 349 | + } | |
| 350 | + | |
| 351 | + public String getBaseOccupationType() { | |
| 352 | + return baseOccupationType; | |
| 353 | + } | |
| 354 | + | |
| 355 | + public void setBaseOccupationType(String baseOccupationType) { | |
| 356 | + this.baseOccupationType = baseOccupationType; | |
| 357 | + } | |
| 358 | + | |
| 359 | + public String getBaseWomanCulture() { | |
| 360 | + return baseWomanCulture; | |
| 361 | + } | |
| 362 | + | |
| 363 | + public void setBaseWomanCulture(String baseWomanCulture) { | |
| 364 | + this.baseWomanCulture = baseWomanCulture; | |
| 365 | + } | |
| 366 | + | |
| 367 | + public String getBaseFamilyIncome() { | |
| 368 | + return baseFamilyIncome; | |
| 369 | + } | |
| 370 | + | |
| 371 | + public void setBaseFamilyIncome(String baseFamilyIncome) { | |
| 372 | + this.baseFamilyIncome = baseFamilyIncome; | |
| 373 | + } | |
| 374 | + | |
| 375 | + public String getContactWomanWay() { | |
| 376 | + return contactWomanWay; | |
| 377 | + } | |
| 378 | + | |
| 379 | + public void setContactWomanWay(String contactWomanWay) { | |
| 380 | + this.contactWomanWay = contactWomanWay; | |
| 381 | + } | |
| 382 | + | |
| 383 | + public String getContactWorkAddress() { | |
| 384 | + return contactWorkAddress; | |
| 385 | + } | |
| 386 | + | |
| 387 | + public void setContactWorkAddress(String contactWorkAddress) { | |
| 388 | + this.contactWorkAddress = contactWorkAddress; | |
| 389 | + } | |
| 390 | + | |
| 391 | + public String getContactDwellProvince() { | |
| 392 | + return contactDwellProvince; | |
| 393 | + } | |
| 394 | + | |
| 395 | + public void setContactDwellProvince(String contactDwellProvince) { | |
| 396 | + this.contactDwellProvince = contactDwellProvince; | |
| 397 | + } | |
| 398 | + | |
| 399 | + public String getContactDwellCity() { | |
| 400 | + return contactDwellCity; | |
| 401 | + } | |
| 402 | + | |
| 403 | + public void setContactDwellCity(String contactDwellCity) { | |
| 404 | + this.contactDwellCity = contactDwellCity; | |
| 405 | + } | |
| 406 | + | |
| 407 | + public String getContactDwellArea() { | |
| 408 | + return contactDwellArea; | |
| 409 | + } | |
| 410 | + | |
| 411 | + public void setContactDwellArea(String contactDwellArea) { | |
| 412 | + this.contactDwellArea = contactDwellArea; | |
| 413 | + } | |
| 414 | + | |
| 415 | + public String getContactDwellStreet() { | |
| 416 | + return contactDwellStreet; | |
| 417 | + } | |
| 418 | + | |
| 419 | + public void setContactDwellStreet(String contactDwellStreet) { | |
| 420 | + this.contactDwellStreet = contactDwellStreet; | |
| 421 | + } | |
| 422 | + | |
| 423 | + public String getContactDwellDetail() { | |
| 424 | + return contactDwellDetail; | |
| 425 | + } | |
| 426 | + | |
| 427 | + public void setContactDwellDetail(String contactDwellDetail) { | |
| 428 | + this.contactDwellDetail = contactDwellDetail; | |
| 429 | + } | |
| 430 | + | |
| 431 | + public String getContactRegisterProvince() { | |
| 432 | + return contactRegisterProvince; | |
| 433 | + } | |
| 434 | + | |
| 435 | + public void setContactRegisterProvince(String contactRegisterProvince) { | |
| 436 | + this.contactRegisterProvince = contactRegisterProvince; | |
| 437 | + } | |
| 438 | + | |
| 439 | + public String getContactRegisterCity() { | |
| 440 | + return contactRegisterCity; | |
| 441 | + } | |
| 442 | + | |
| 443 | + public void setContactRegisterCity(String contactRegisterCity) { | |
| 444 | + this.contactRegisterCity = contactRegisterCity; | |
| 445 | + } | |
| 446 | + | |
| 447 | + public String getContactRegisterArea() { | |
| 448 | + return contactRegisterArea; | |
| 449 | + } | |
| 450 | + | |
| 451 | + public void setContactRegisterArea(String contactRegisterArea) { | |
| 452 | + this.contactRegisterArea = contactRegisterArea; | |
| 453 | + } | |
| 454 | + | |
| 455 | + public String getContactRegisterStreet() { | |
| 456 | + return contactRegisterStreet; | |
| 457 | + } | |
| 458 | + | |
| 459 | + public void setContactRegisterStreet(String contactRegisterStreet) { | |
| 460 | + this.contactRegisterStreet = contactRegisterStreet; | |
| 461 | + } | |
| 462 | + | |
| 463 | + public String getContactRegisterDetail() { | |
| 464 | + return contactRegisterDetail; | |
| 465 | + } | |
| 466 | + | |
| 467 | + public void setContactRegisterDetail(String contactRegisterDetail) { | |
| 468 | + this.contactRegisterDetail = contactRegisterDetail; | |
| 469 | + } | |
| 470 | + | |
| 471 | + public String getContactPostpartumProvince() { | |
| 472 | + return contactPostpartumProvince; | |
| 473 | + } | |
| 474 | + | |
| 475 | + public void setContactPostpartumProvince(String contactPostpartumProvince) { | |
| 476 | + this.contactPostpartumProvince = contactPostpartumProvince; | |
| 477 | + } | |
| 478 | + | |
| 479 | + public String getContactPostpartumCity() { | |
| 480 | + return contactPostpartumCity; | |
| 481 | + } | |
| 482 | + | |
| 483 | + public void setContactPostpartumCity(String contactPostpartumCity) { | |
| 484 | + this.contactPostpartumCity = contactPostpartumCity; | |
| 485 | + } | |
| 486 | + | |
| 487 | + public String getContactPostpartumArea() { | |
| 488 | + return contactPostpartumArea; | |
| 489 | + } | |
| 490 | + | |
| 491 | + public void setContactPostpartumArea(String contactPostpartumArea) { | |
| 492 | + this.contactPostpartumArea = contactPostpartumArea; | |
| 493 | + } | |
| 494 | + | |
| 495 | + public String getContactPostpartumStreet() { | |
| 496 | + return contactPostpartumStreet; | |
| 497 | + } | |
| 498 | + | |
| 499 | + public void setContactPostpartumStreet(String contactPostpartumStreet) { | |
| 500 | + this.contactPostpartumStreet = contactPostpartumStreet; | |
| 501 | + } | |
| 502 | + | |
| 503 | + public String getContactPostpartumDetail() { | |
| 504 | + return contactPostpartumDetail; | |
| 505 | + } | |
| 506 | + | |
| 507 | + public void setContactPostpartumDetail(String contactPostpartumDetail) { | |
| 508 | + this.contactPostpartumDetail = contactPostpartumDetail; | |
| 509 | + } | |
| 510 | + | |
| 511 | + public String getHospitalLastMenstruation() { | |
| 512 | + return hospitalLastMenstruation; | |
| 513 | + } | |
| 514 | + | |
| 515 | + public void setHospitalLastMenstruation(String hospitalLastMenstruation) { | |
| 516 | + this.hospitalLastMenstruation = hospitalLastMenstruation; | |
| 517 | + } | |
| 518 | + | |
| 519 | + public String getHospitalCorrectLastMenstruation() { | |
| 520 | + return hospitalCorrectLastMenstruation; | |
| 521 | + } | |
| 522 | + | |
| 523 | + public void setHospitalCorrectLastMenstruation(String hospitalCorrectLastMenstruation) { | |
| 524 | + this.hospitalCorrectLastMenstruation = hospitalCorrectLastMenstruation; | |
| 525 | + } | |
| 526 | + | |
| 527 | + public Date getHospitalExpectedDate() { | |
| 528 | + return hospitalExpectedDate; | |
| 529 | + } | |
| 530 | + | |
| 531 | + public void setHospitalExpectedDate(Date hospitalExpectedDate) { | |
| 532 | + this.hospitalExpectedDate = hospitalExpectedDate; | |
| 533 | + } | |
| 534 | + | |
| 535 | + public String getHospitalPatientCard() { | |
| 536 | + return hospitalPatientCard; | |
| 537 | + } | |
| 538 | + | |
| 539 | + public void setHospitalPatientCard(String hospitalPatientCard) { | |
| 540 | + this.hospitalPatientCard = hospitalPatientCard; | |
| 541 | + } | |
| 542 | + | |
| 543 | + public String getHospitalBarcode() { | |
| 544 | + return hospitalBarcode; | |
| 545 | + } | |
| 546 | + | |
| 547 | + public void setHospitalBarcode(String hospitalBarcode) { | |
| 548 | + this.hospitalBarcode = hospitalBarcode; | |
| 549 | + } | |
| 550 | + | |
| 551 | + public String getHospitalRecordNumber() { | |
| 552 | + return hospitalRecordNumber; | |
| 553 | + } | |
| 554 | + | |
| 555 | + public void setHospitalRecordNumber(String hospitalRecordNumber) { | |
| 556 | + this.hospitalRecordNumber = hospitalRecordNumber; | |
| 557 | + } | |
| 558 | + | |
| 559 | + public String getHospitalServiceType() { | |
| 560 | + return hospitalServiceType; | |
| 561 | + } | |
| 562 | + | |
| 563 | + public void setHospitalServiceType(String hospitalServiceType) { | |
| 564 | + this.hospitalServiceType = hospitalServiceType; | |
| 565 | + } | |
| 566 | + | |
| 567 | + public String getHospitalServiceStatus() { | |
| 568 | + return hospitalServiceStatus; | |
| 569 | + } | |
| 570 | + | |
| 571 | + public void setHospitalServiceStatus(String hospitalServiceStatus) { | |
| 572 | + this.hospitalServiceStatus = hospitalServiceStatus; | |
| 573 | + } | |
| 574 | + | |
| 575 | + public String getHospitalMember() { | |
| 576 | + return hospitalMember; | |
| 577 | + } | |
| 578 | + | |
| 579 | + public void setHospitalMember(String hospitalMember) { | |
| 580 | + this.hospitalMember = hospitalMember; | |
| 581 | + } | |
| 582 | + | |
| 583 | + public String getHospitalRecordDoctor() { | |
| 584 | + return hospitalRecordDoctor; | |
| 585 | + } | |
| 586 | + | |
| 587 | + public void setHospitalRecordDoctor(String hospitalRecordDoctor) { | |
| 588 | + this.hospitalRecordDoctor = hospitalRecordDoctor; | |
| 589 | + } | |
| 590 | + | |
| 591 | + public Date getHospitalRecordDate() { | |
| 592 | + return hospitalRecordDate; | |
| 593 | + } | |
| 594 | + | |
| 595 | + public void setHospitalRecordDate(Date hospitalRecordDate) { | |
| 596 | + this.hospitalRecordDate = hospitalRecordDate; | |
| 597 | + } | |
| 598 | + | |
| 599 | + public String getHospitalRecordRemark() { | |
| 600 | + return hospitalRecordRemark; | |
| 601 | + } | |
| 602 | + | |
| 603 | + public void setHospitalRecordRemark(String hospitalRecordRemark) { | |
| 604 | + this.hospitalRecordRemark = hospitalRecordRemark; | |
| 605 | + } | |
| 606 | + | |
| 607 | + public Date getHospitalMemberDate() { | |
| 608 | + return hospitalMemberDate; | |
| 609 | + } | |
| 610 | + | |
| 611 | + public void setHospitalMemberDate(Date hospitalMemberDate) { | |
| 612 | + this.hospitalMemberDate = hospitalMemberDate; | |
| 613 | + } | |
| 614 | + | |
| 615 | + public Date getBuildDate() { | |
| 616 | + return buildDate; | |
| 617 | + } | |
| 618 | + | |
| 619 | + public void setBuildDate(Date buildDate) { | |
| 620 | + this.buildDate = buildDate; | |
| 621 | + } | |
| 622 | + | |
| 623 | + public String getHostpitalId() { | |
| 624 | + return hostpitalId; | |
| 625 | + } | |
| 626 | + | |
| 627 | + public void setHostpitalId(String hostpitalId) { | |
| 628 | + this.hostpitalId = hostpitalId; | |
| 629 | + } | |
| 630 | + | |
| 631 | + public Integer getBuildType() { | |
| 632 | + return buildType; | |
| 633 | + } | |
| 634 | + | |
| 635 | + public void setBuildType(Integer buildType) { | |
| 636 | + this.buildType = buildType; | |
| 637 | + } | |
| 638 | + | |
| 639 | + public String getCreateId() { | |
| 640 | + return createId; | |
| 641 | + } | |
| 642 | + | |
| 643 | + public void setCreateId(String createId) { | |
| 644 | + this.createId = createId; | |
| 645 | + } | |
| 646 | + | |
| 647 | + public Date getCreateTime() { | |
| 648 | + return createTime; | |
| 649 | + } | |
| 650 | + | |
| 651 | + public void setCreateTime(Date createTime) { | |
| 652 | + this.createTime = createTime; | |
| 653 | + } | |
| 654 | + | |
| 655 | + public String getModifyId() { | |
| 656 | + return modifyId; | |
| 657 | + } | |
| 658 | + | |
| 659 | + public void setModifyId(String modifyId) { | |
| 660 | + this.modifyId = modifyId; | |
| 661 | + } | |
| 662 | + | |
| 663 | + public Date getModifyTime() { | |
| 664 | + return modifyTime; | |
| 665 | + } | |
| 666 | + | |
| 667 | + public void setModifyTime(Date modifyTime) { | |
| 668 | + this.modifyTime = modifyTime; | |
| 669 | + } | |
| 670 | + | |
| 671 | + public Integer getIfdel() { | |
| 672 | + return ifdel; | |
| 673 | + } | |
| 674 | + | |
| 675 | + public void setIfdel(Integer ifdel) { | |
| 676 | + this.ifdel = ifdel; | |
| 677 | + } | |
| 678 | + | |
| 679 | + public Integer getEnalble() { | |
| 680 | + return enalble; | |
| 681 | + } | |
| 682 | + | |
| 683 | + public void setEnalble(Integer enalble) { | |
| 684 | + this.enalble = enalble; | |
| 685 | + } | |
| 686 | + | |
| 687 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanHusband.java
View file @
4f17501
| 1 | +package com.lyms.hospital.entity.woman; | |
| 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 fangcheng | |
| 15 | + * @since 2017-03-31 | |
| 16 | + */ | |
| 17 | +@TableName("WOMAN_HUSBAND") | |
| 18 | +public class WomanHusband implements Serializable { | |
| 19 | + | |
| 20 | + private static final long serialVersionUID = 1L; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * | |
| 24 | + */ | |
| 25 | + @TableId(value="ID") | |
| 26 | + private String id; | |
| 27 | + /** | |
| 28 | + * 丈夫姓名 | |
| 29 | + */ | |
| 30 | + @TableField(value="HUSBAND_NAME") | |
| 31 | + private String husbandName; | |
| 32 | + /** | |
| 33 | + * 丈夫证件类型 | |
| 34 | + */ | |
| 35 | + @TableField(value="HUSBAND_PAPERS_TYPE") | |
| 36 | + private String husbandPapersType; | |
| 37 | + /** | |
| 38 | + * 丈夫证件号码 | |
| 39 | + */ | |
| 40 | + @TableField(value="HUSBAND_PAPERS_NUMBER") | |
| 41 | + private String husbandPapersNumber; | |
| 42 | + /** | |
| 43 | + * 丈夫国籍 | |
| 44 | + */ | |
| 45 | + @TableField(value="HUSBAND_COUNTRY") | |
| 46 | + private String husbandCountry; | |
| 47 | + /** | |
| 48 | + * 丈夫民族 | |
| 49 | + */ | |
| 50 | + @TableField(value="HUSBAND_NATION") | |
| 51 | + private String husbandNation; | |
| 52 | + /** | |
| 53 | + * 丈夫出生日期 | |
| 54 | + */ | |
| 55 | + @TableField(value="HUSBAND_BIRTH") | |
| 56 | + private Date husbandBirth; | |
| 57 | + /** | |
| 58 | + * 丈夫职业类型 | |
| 59 | + */ | |
| 60 | + @TableField(value="HUSBAND_OCCUPATION_TYPE") | |
| 61 | + private String husbandOccupationType; | |
| 62 | + /** | |
| 63 | + * 丈夫文化程度 | |
| 64 | + */ | |
| 65 | + @TableField(value="HUSBAND_CULTURE") | |
| 66 | + private String husbandCulture; | |
| 67 | + /** | |
| 68 | + * 丈夫联系方式 | |
| 69 | + */ | |
| 70 | + @TableField(value="HUSBAND_WAY") | |
| 71 | + private String husbandWay; | |
| 72 | + /** | |
| 73 | + * 丈夫工作地址 | |
| 74 | + */ | |
| 75 | + @TableField(value="HUSBAND_WORK_ADDRESS") | |
| 76 | + private String husbandWorkAddress; | |
| 77 | + /** | |
| 78 | + * | |
| 79 | + */ | |
| 80 | + @TableField(value="HUSBAND_REGISTER_PROVINCE") | |
| 81 | + private String husbandRegisterProvince; | |
| 82 | + /** | |
| 83 | + * | |
| 84 | + */ | |
| 85 | + @TableField(value="HUSBAND_REGISTER_CITY") | |
| 86 | + private String husbandRegisterCity; | |
| 87 | + /** | |
| 88 | + * | |
| 89 | + */ | |
| 90 | + @TableField(value="HUSBAND_REGISTER_AREA") | |
| 91 | + private String husbandRegisterArea; | |
| 92 | + /** | |
| 93 | + * | |
| 94 | + */ | |
| 95 | + @TableField(value="HUSBAND_REGISTER_STREET") | |
| 96 | + private String husbandRegisterStreet; | |
| 97 | + /** | |
| 98 | + * | |
| 99 | + */ | |
| 100 | + @TableField(value="HUSBAND_REGISTER_DETAIL") | |
| 101 | + private String husbandRegisterDetail; | |
| 102 | + /** | |
| 103 | + * | |
| 104 | + */ | |
| 105 | + @TableField(value="WOMAN_RECORD_ID") | |
| 106 | + private String womanRecordId; | |
| 107 | + /** | |
| 108 | + * 建档时间 | |
| 109 | + */ | |
| 110 | + @TableField(value="CREATE_DATE") | |
| 111 | + private Date createDate; | |
| 112 | + | |
| 113 | + | |
| 114 | + public String getId() { | |
| 115 | + return id; | |
| 116 | + } | |
| 117 | + | |
| 118 | + public void setId(String id) { | |
| 119 | + this.id = id; | |
| 120 | + } | |
| 121 | + | |
| 122 | + public String getHusbandName() { | |
| 123 | + return husbandName; | |
| 124 | + } | |
| 125 | + | |
| 126 | + public void setHusbandName(String husbandName) { | |
| 127 | + this.husbandName = husbandName; | |
| 128 | + } | |
| 129 | + | |
| 130 | + public String getHusbandPapersType() { | |
| 131 | + return husbandPapersType; | |
| 132 | + } | |
| 133 | + | |
| 134 | + public void setHusbandPapersType(String husbandPapersType) { | |
| 135 | + this.husbandPapersType = husbandPapersType; | |
| 136 | + } | |
| 137 | + | |
| 138 | + public String getHusbandPapersNumber() { | |
| 139 | + return husbandPapersNumber; | |
| 140 | + } | |
| 141 | + | |
| 142 | + public void setHusbandPapersNumber(String husbandPapersNumber) { | |
| 143 | + this.husbandPapersNumber = husbandPapersNumber; | |
| 144 | + } | |
| 145 | + | |
| 146 | + public String getHusbandCountry() { | |
| 147 | + return husbandCountry; | |
| 148 | + } | |
| 149 | + | |
| 150 | + public void setHusbandCountry(String husbandCountry) { | |
| 151 | + this.husbandCountry = husbandCountry; | |
| 152 | + } | |
| 153 | + | |
| 154 | + public String getHusbandNation() { | |
| 155 | + return husbandNation; | |
| 156 | + } | |
| 157 | + | |
| 158 | + public void setHusbandNation(String husbandNation) { | |
| 159 | + this.husbandNation = husbandNation; | |
| 160 | + } | |
| 161 | + | |
| 162 | + public Date getHusbandBirth() { | |
| 163 | + return husbandBirth; | |
| 164 | + } | |
| 165 | + | |
| 166 | + public void setHusbandBirth(Date husbandBirth) { | |
| 167 | + this.husbandBirth = husbandBirth; | |
| 168 | + } | |
| 169 | + | |
| 170 | + public String getHusbandOccupationType() { | |
| 171 | + return husbandOccupationType; | |
| 172 | + } | |
| 173 | + | |
| 174 | + public void setHusbandOccupationType(String husbandOccupationType) { | |
| 175 | + this.husbandOccupationType = husbandOccupationType; | |
| 176 | + } | |
| 177 | + | |
| 178 | + public String getHusbandCulture() { | |
| 179 | + return husbandCulture; | |
| 180 | + } | |
| 181 | + | |
| 182 | + public void setHusbandCulture(String husbandCulture) { | |
| 183 | + this.husbandCulture = husbandCulture; | |
| 184 | + } | |
| 185 | + | |
| 186 | + public String getHusbandWay() { | |
| 187 | + return husbandWay; | |
| 188 | + } | |
| 189 | + | |
| 190 | + public void setHusbandWay(String husbandWay) { | |
| 191 | + this.husbandWay = husbandWay; | |
| 192 | + } | |
| 193 | + | |
| 194 | + public String getHusbandWorkAddress() { | |
| 195 | + return husbandWorkAddress; | |
| 196 | + } | |
| 197 | + | |
| 198 | + public void setHusbandWorkAddress(String husbandWorkAddress) { | |
| 199 | + this.husbandWorkAddress = husbandWorkAddress; | |
| 200 | + } | |
| 201 | + | |
| 202 | + public String getHusbandRegisterProvince() { | |
| 203 | + return husbandRegisterProvince; | |
| 204 | + } | |
| 205 | + | |
| 206 | + public void setHusbandRegisterProvince(String husbandRegisterProvince) { | |
| 207 | + this.husbandRegisterProvince = husbandRegisterProvince; | |
| 208 | + } | |
| 209 | + | |
| 210 | + public String getHusbandRegisterCity() { | |
| 211 | + return husbandRegisterCity; | |
| 212 | + } | |
| 213 | + | |
| 214 | + public void setHusbandRegisterCity(String husbandRegisterCity) { | |
| 215 | + this.husbandRegisterCity = husbandRegisterCity; | |
| 216 | + } | |
| 217 | + | |
| 218 | + public String getHusbandRegisterArea() { | |
| 219 | + return husbandRegisterArea; | |
| 220 | + } | |
| 221 | + | |
| 222 | + public void setHusbandRegisterArea(String husbandRegisterArea) { | |
| 223 | + this.husbandRegisterArea = husbandRegisterArea; | |
| 224 | + } | |
| 225 | + | |
| 226 | + public String getHusbandRegisterStreet() { | |
| 227 | + return husbandRegisterStreet; | |
| 228 | + } | |
| 229 | + | |
| 230 | + public void setHusbandRegisterStreet(String husbandRegisterStreet) { | |
| 231 | + this.husbandRegisterStreet = husbandRegisterStreet; | |
| 232 | + } | |
| 233 | + | |
| 234 | + public String getHusbandRegisterDetail() { | |
| 235 | + return husbandRegisterDetail; | |
| 236 | + } | |
| 237 | + | |
| 238 | + public void setHusbandRegisterDetail(String husbandRegisterDetail) { | |
| 239 | + this.husbandRegisterDetail = husbandRegisterDetail; | |
| 240 | + } | |
| 241 | + | |
| 242 | + public String getWomanRecordId() { | |
| 243 | + return womanRecordId; | |
| 244 | + } | |
| 245 | + | |
| 246 | + public void setWomanRecordId(String womanRecordId) { | |
| 247 | + this.womanRecordId = womanRecordId; | |
| 248 | + } | |
| 249 | + | |
| 250 | + public Date getCreateDate() { | |
| 251 | + return createDate; | |
| 252 | + } | |
| 253 | + | |
| 254 | + public void setCreateDate(Date createDate) { | |
| 255 | + this.createDate = createDate; | |
| 256 | + } | |
| 257 | + | |
| 258 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanPerson.java
View file @
4f17501
| 1 | +package com.lyms.hospital.entity.woman; | |
| 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 fangcheng | |
| 15 | + * @since 2017-03-31 | |
| 16 | + */ | |
| 17 | +@TableName("WOMAN_PERSON") | |
| 18 | +public class WomanPerson implements Serializable { | |
| 19 | + | |
| 20 | + private static final long serialVersionUID = 1L; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * | |
| 24 | + */ | |
| 25 | + @TableId(value="ID") | |
| 26 | + private String id; | |
| 27 | + /** | |
| 28 | + * 孕妇姓名 | |
| 29 | + */ | |
| 30 | + @TableField(value="BASE_WOMAN_NAME") | |
| 31 | + private String baseWomanName; | |
| 32 | + /** | |
| 33 | + * 证件类型 | |
| 34 | + */ | |
| 35 | + @TableField(value="BASE_PAPERS_TYPE") | |
| 36 | + private String basePapersType; | |
| 37 | + /** | |
| 38 | + * 证件编号 | |
| 39 | + */ | |
| 40 | + @TableField(value="BASE_PAPERS_NUMBER") | |
| 41 | + private String basePapersNumber; | |
| 42 | + /** | |
| 43 | + * 孕妇国家 | |
| 44 | + */ | |
| 45 | + @TableField(value="BASE_WOMAN_COUNTRY") | |
| 46 | + private String baseWomanCountry; | |
| 47 | + /** | |
| 48 | + * 民族 | |
| 49 | + */ | |
| 50 | + @TableField(value="BASE_WOMAN_NATION") | |
| 51 | + private String baseWomanNation; | |
| 52 | + /** | |
| 53 | + * 孕妇出生 | |
| 54 | + */ | |
| 55 | + @TableField(value="BASE_WOMAN_BIRTH") | |
| 56 | + private Date baseWomanBirth; | |
| 57 | + /** | |
| 58 | + * 户籍类型 | |
| 59 | + */ | |
| 60 | + @TableField(value="BASE_REGISTER_TYPE") | |
| 61 | + private String baseRegisterType; | |
| 62 | + /** | |
| 63 | + * 居住类别 | |
| 64 | + */ | |
| 65 | + @TableField(value="BASE_DWELL_TYPE") | |
| 66 | + private String baseDwellType; | |
| 67 | + /** | |
| 68 | + * 联系方式 | |
| 69 | + */ | |
| 70 | + @TableField(value="CONTACT_WOMAN_WAY") | |
| 71 | + private String contactWomanWay; | |
| 72 | + /** | |
| 73 | + * 工作地址 | |
| 74 | + */ | |
| 75 | + @TableField(value="CONTACT_WORK_ADDRESS") | |
| 76 | + private String contactWorkAddress; | |
| 77 | + /** | |
| 78 | + * 省 | |
| 79 | + */ | |
| 80 | + @TableField(value="CONTACT_DWELL_PROVINCE") | |
| 81 | + private String contactDwellProvince; | |
| 82 | + /** | |
| 83 | + * 市 | |
| 84 | + */ | |
| 85 | + @TableField(value="CONTACT_DWELL_CITY") | |
| 86 | + private String contactDwellCity; | |
| 87 | + /** | |
| 88 | + * 区 | |
| 89 | + */ | |
| 90 | + @TableField(value="CONTACT_DWELL_AREA") | |
| 91 | + private String contactDwellArea; | |
| 92 | + /** | |
| 93 | + * 乡/镇/街道 | |
| 94 | + */ | |
| 95 | + @TableField(value="CONTACT_DWELL_STREET") | |
| 96 | + private String contactDwellStreet; | |
| 97 | + /** | |
| 98 | + * 详细地址 | |
| 99 | + */ | |
| 100 | + @TableField(value="CONTACT_DWELL_DETAIL") | |
| 101 | + private String contactDwellDetail; | |
| 102 | + /** | |
| 103 | + * 户籍地址省 | |
| 104 | + */ | |
| 105 | + @TableField(value="CONTACT_REGISTER_PROVINCE") | |
| 106 | + private String contactRegisterProvince; | |
| 107 | + /** | |
| 108 | + * 户籍地址市 | |
| 109 | + */ | |
| 110 | + @TableField(value="CONTACT_REGISTER_CITY") | |
| 111 | + private String contactRegisterCity; | |
| 112 | + /** | |
| 113 | + * 户籍地址区 | |
| 114 | + */ | |
| 115 | + @TableField(value="CONTACT_REGISTER_AREA") | |
| 116 | + private String contactRegisterArea; | |
| 117 | + /** | |
| 118 | + * 户籍地址乡/镇/街道 | |
| 119 | + */ | |
| 120 | + @TableField(value="CONTACT_REGISTER_STREET") | |
| 121 | + private String contactRegisterStreet; | |
| 122 | + /** | |
| 123 | + * 户籍地址详情 | |
| 124 | + */ | |
| 125 | + @TableField(value="CONTACT_REGISTER_DETAIL") | |
| 126 | + private String contactRegisterDetail; | |
| 127 | + /** | |
| 128 | + * 产后休养省 | |
| 129 | + */ | |
| 130 | + @TableField(value="CONTACT_POSTPARTUM_PROVINCE") | |
| 131 | + private String contactPostpartumProvince; | |
| 132 | + /** | |
| 133 | + * 产后休养市 | |
| 134 | + */ | |
| 135 | + @TableField(value="CONTACT_POSTPARTUM_CITY") | |
| 136 | + private String contactPostpartumCity; | |
| 137 | + /** | |
| 138 | + * 产后休养区 | |
| 139 | + */ | |
| 140 | + @TableField(value="CONTACT_POSTPARTUM_AREA") | |
| 141 | + private String contactPostpartumArea; | |
| 142 | + /** | |
| 143 | + * 产后休养街道 | |
| 144 | + */ | |
| 145 | + @TableField(value="CONTACT_POSTPARTUM_STREET") | |
| 146 | + private String contactPostpartumStreet; | |
| 147 | + /** | |
| 148 | + * 产后休养详细地址 | |
| 149 | + */ | |
| 150 | + @TableField(value="CONTACT_POSTPARTUM_DETAIL") | |
| 151 | + private String contactPostpartumDetail; | |
| 152 | + | |
| 153 | + | |
| 154 | + public String getId() { | |
| 155 | + return id; | |
| 156 | + } | |
| 157 | + | |
| 158 | + public void setId(String id) { | |
| 159 | + this.id = id; | |
| 160 | + } | |
| 161 | + | |
| 162 | + public String getBaseWomanName() { | |
| 163 | + return baseWomanName; | |
| 164 | + } | |
| 165 | + | |
| 166 | + public void setBaseWomanName(String baseWomanName) { | |
| 167 | + this.baseWomanName = baseWomanName; | |
| 168 | + } | |
| 169 | + | |
| 170 | + public String getBasePapersType() { | |
| 171 | + return basePapersType; | |
| 172 | + } | |
| 173 | + | |
| 174 | + public void setBasePapersType(String basePapersType) { | |
| 175 | + this.basePapersType = basePapersType; | |
| 176 | + } | |
| 177 | + | |
| 178 | + public String getBasePapersNumber() { | |
| 179 | + return basePapersNumber; | |
| 180 | + } | |
| 181 | + | |
| 182 | + public void setBasePapersNumber(String basePapersNumber) { | |
| 183 | + this.basePapersNumber = basePapersNumber; | |
| 184 | + } | |
| 185 | + | |
| 186 | + public String getBaseWomanCountry() { | |
| 187 | + return baseWomanCountry; | |
| 188 | + } | |
| 189 | + | |
| 190 | + public void setBaseWomanCountry(String baseWomanCountry) { | |
| 191 | + this.baseWomanCountry = baseWomanCountry; | |
| 192 | + } | |
| 193 | + | |
| 194 | + public String getBaseWomanNation() { | |
| 195 | + return baseWomanNation; | |
| 196 | + } | |
| 197 | + | |
| 198 | + public void setBaseWomanNation(String baseWomanNation) { | |
| 199 | + this.baseWomanNation = baseWomanNation; | |
| 200 | + } | |
| 201 | + | |
| 202 | + public Date getBaseWomanBirth() { | |
| 203 | + return baseWomanBirth; | |
| 204 | + } | |
| 205 | + | |
| 206 | + public void setBaseWomanBirth(Date baseWomanBirth) { | |
| 207 | + this.baseWomanBirth = baseWomanBirth; | |
| 208 | + } | |
| 209 | + | |
| 210 | + public String getBaseRegisterType() { | |
| 211 | + return baseRegisterType; | |
| 212 | + } | |
| 213 | + | |
| 214 | + public void setBaseRegisterType(String baseRegisterType) { | |
| 215 | + this.baseRegisterType = baseRegisterType; | |
| 216 | + } | |
| 217 | + | |
| 218 | + public String getBaseDwellType() { | |
| 219 | + return baseDwellType; | |
| 220 | + } | |
| 221 | + | |
| 222 | + public void setBaseDwellType(String baseDwellType) { | |
| 223 | + this.baseDwellType = baseDwellType; | |
| 224 | + } | |
| 225 | + | |
| 226 | + public String getContactWomanWay() { | |
| 227 | + return contactWomanWay; | |
| 228 | + } | |
| 229 | + | |
| 230 | + public void setContactWomanWay(String contactWomanWay) { | |
| 231 | + this.contactWomanWay = contactWomanWay; | |
| 232 | + } | |
| 233 | + | |
| 234 | + public String getContactWorkAddress() { | |
| 235 | + return contactWorkAddress; | |
| 236 | + } | |
| 237 | + | |
| 238 | + public void setContactWorkAddress(String contactWorkAddress) { | |
| 239 | + this.contactWorkAddress = contactWorkAddress; | |
| 240 | + } | |
| 241 | + | |
| 242 | + public String getContactDwellProvince() { | |
| 243 | + return contactDwellProvince; | |
| 244 | + } | |
| 245 | + | |
| 246 | + public void setContactDwellProvince(String contactDwellProvince) { | |
| 247 | + this.contactDwellProvince = contactDwellProvince; | |
| 248 | + } | |
| 249 | + | |
| 250 | + public String getContactDwellCity() { | |
| 251 | + return contactDwellCity; | |
| 252 | + } | |
| 253 | + | |
| 254 | + public void setContactDwellCity(String contactDwellCity) { | |
| 255 | + this.contactDwellCity = contactDwellCity; | |
| 256 | + } | |
| 257 | + | |
| 258 | + public String getContactDwellArea() { | |
| 259 | + return contactDwellArea; | |
| 260 | + } | |
| 261 | + | |
| 262 | + public void setContactDwellArea(String contactDwellArea) { | |
| 263 | + this.contactDwellArea = contactDwellArea; | |
| 264 | + } | |
| 265 | + | |
| 266 | + public String getContactDwellStreet() { | |
| 267 | + return contactDwellStreet; | |
| 268 | + } | |
| 269 | + | |
| 270 | + public void setContactDwellStreet(String contactDwellStreet) { | |
| 271 | + this.contactDwellStreet = contactDwellStreet; | |
| 272 | + } | |
| 273 | + | |
| 274 | + public String getContactDwellDetail() { | |
| 275 | + return contactDwellDetail; | |
| 276 | + } | |
| 277 | + | |
| 278 | + public void setContactDwellDetail(String contactDwellDetail) { | |
| 279 | + this.contactDwellDetail = contactDwellDetail; | |
| 280 | + } | |
| 281 | + | |
| 282 | + public String getContactRegisterProvince() { | |
| 283 | + return contactRegisterProvince; | |
| 284 | + } | |
| 285 | + | |
| 286 | + public void setContactRegisterProvince(String contactRegisterProvince) { | |
| 287 | + this.contactRegisterProvince = contactRegisterProvince; | |
| 288 | + } | |
| 289 | + | |
| 290 | + public String getContactRegisterCity() { | |
| 291 | + return contactRegisterCity; | |
| 292 | + } | |
| 293 | + | |
| 294 | + public void setContactRegisterCity(String contactRegisterCity) { | |
| 295 | + this.contactRegisterCity = contactRegisterCity; | |
| 296 | + } | |
| 297 | + | |
| 298 | + public String getContactRegisterArea() { | |
| 299 | + return contactRegisterArea; | |
| 300 | + } | |
| 301 | + | |
| 302 | + public void setContactRegisterArea(String contactRegisterArea) { | |
| 303 | + this.contactRegisterArea = contactRegisterArea; | |
| 304 | + } | |
| 305 | + | |
| 306 | + public String getContactRegisterStreet() { | |
| 307 | + return contactRegisterStreet; | |
| 308 | + } | |
| 309 | + | |
| 310 | + public void setContactRegisterStreet(String contactRegisterStreet) { | |
| 311 | + this.contactRegisterStreet = contactRegisterStreet; | |
| 312 | + } | |
| 313 | + | |
| 314 | + public String getContactRegisterDetail() { | |
| 315 | + return contactRegisterDetail; | |
| 316 | + } | |
| 317 | + | |
| 318 | + public void setContactRegisterDetail(String contactRegisterDetail) { | |
| 319 | + this.contactRegisterDetail = contactRegisterDetail; | |
| 320 | + } | |
| 321 | + | |
| 322 | + public String getContactPostpartumProvince() { | |
| 323 | + return contactPostpartumProvince; | |
| 324 | + } | |
| 325 | + | |
| 326 | + public void setContactPostpartumProvince(String contactPostpartumProvince) { | |
| 327 | + this.contactPostpartumProvince = contactPostpartumProvince; | |
| 328 | + } | |
| 329 | + | |
| 330 | + public String getContactPostpartumCity() { | |
| 331 | + return contactPostpartumCity; | |
| 332 | + } | |
| 333 | + | |
| 334 | + public void setContactPostpartumCity(String contactPostpartumCity) { | |
| 335 | + this.contactPostpartumCity = contactPostpartumCity; | |
| 336 | + } | |
| 337 | + | |
| 338 | + public String getContactPostpartumArea() { | |
| 339 | + return contactPostpartumArea; | |
| 340 | + } | |
| 341 | + | |
| 342 | + public void setContactPostpartumArea(String contactPostpartumArea) { | |
| 343 | + this.contactPostpartumArea = contactPostpartumArea; | |
| 344 | + } | |
| 345 | + | |
| 346 | + public String getContactPostpartumStreet() { | |
| 347 | + return contactPostpartumStreet; | |
| 348 | + } | |
| 349 | + | |
| 350 | + public void setContactPostpartumStreet(String contactPostpartumStreet) { | |
| 351 | + this.contactPostpartumStreet = contactPostpartumStreet; | |
| 352 | + } | |
| 353 | + | |
| 354 | + public String getContactPostpartumDetail() { | |
| 355 | + return contactPostpartumDetail; | |
| 356 | + } | |
| 357 | + | |
| 358 | + public void setContactPostpartumDetail(String contactPostpartumDetail) { | |
| 359 | + this.contactPostpartumDetail = contactPostpartumDetail; | |
| 360 | + } | |
| 361 | + | |
| 362 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/woman/WomanRecord.java
View file @
4f17501
| 1 | +package com.lyms.hospital.entity.woman; | |
| 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 fangcheng | |
| 15 | + * @since 2017-03-31 | |
| 16 | + */ | |
| 17 | +@TableName("WOMAN_RECORD") | |
| 18 | +public class WomanRecord implements Serializable { | |
| 19 | + | |
| 20 | + private static final long serialVersionUID = 1L; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * | |
| 24 | + */ | |
| 25 | + @TableId(value="ID") | |
| 26 | + private String id; | |
| 27 | + /** | |
| 28 | + * 孕妇姓名 | |
| 29 | + */ | |
| 30 | + @TableField(value="BASE_WOMAN_NAME") | |
| 31 | + private String baseWomanName; | |
| 32 | + /** | |
| 33 | + * 证件类型 | |
| 34 | + */ | |
| 35 | + @TableField(value="BASE_PAPERS_TYPE") | |
| 36 | + private String basePapersType; | |
| 37 | + /** | |
| 38 | + * 证件编号 | |
| 39 | + */ | |
| 40 | + @TableField(value="BASE_PAPERS_NUMBER") | |
| 41 | + private String basePapersNumber; | |
| 42 | + /** | |
| 43 | + * 孕妇国家 | |
| 44 | + */ | |
| 45 | + @TableField(value="BASE_WOMAN_COUNTRY") | |
| 46 | + private String baseWomanCountry; | |
| 47 | + /** | |
| 48 | + * 民族 | |
| 49 | + */ | |
| 50 | + @TableField(value="BASE_WOMAN_NATION") | |
| 51 | + private String baseWomanNation; | |
| 52 | + /** | |
| 53 | + * 孕妇出生 | |
| 54 | + */ | |
| 55 | + @TableField(value="BASE_WOMAN_BIRTH") | |
| 56 | + private Date baseWomanBirth; | |
| 57 | + /** | |
| 58 | + * 户籍类型 | |
| 59 | + */ | |
| 60 | + @TableField(value="BASE_REGISTER_TYPE") | |
| 61 | + private String baseRegisterType; | |
| 62 | + /** | |
| 63 | + * 居住类别 | |
| 64 | + */ | |
| 65 | + @TableField(value="BASE_DWELL_TYPE") | |
| 66 | + private String baseDwellType; | |
| 67 | + /** | |
| 68 | + * 职业类别 | |
| 69 | + */ | |
| 70 | + @TableField(value="BASE_OCCUPATION_TYPE") | |
| 71 | + private String baseOccupationType; | |
| 72 | + /** | |
| 73 | + * 文化程度 | |
| 74 | + */ | |
| 75 | + @TableField(value="BASE_WOMAN_CULTURE") | |
| 76 | + private String baseWomanCulture; | |
| 77 | + /** | |
| 78 | + * 家庭收入 | |
| 79 | + */ | |
| 80 | + @TableField(value="BASE_FAMILY_INCOME") | |
| 81 | + private String baseFamilyIncome; | |
| 82 | + /** | |
| 83 | + * 联系方式 | |
| 84 | + */ | |
| 85 | + @TableField(value="CONTACT_WOMAN_WAY") | |
| 86 | + private String contactWomanWay; | |
| 87 | + /** | |
| 88 | + * 工作地址 | |
| 89 | + */ | |
| 90 | + @TableField(value="CONTACT_WORK_ADDRESS") | |
| 91 | + private String contactWorkAddress; | |
| 92 | + /** | |
| 93 | + * 省 | |
| 94 | + */ | |
| 95 | + @TableField(value="CONTACT_DWELL_PROVINCE") | |
| 96 | + private String contactDwellProvince; | |
| 97 | + /** | |
| 98 | + * 市 | |
| 99 | + */ | |
| 100 | + @TableField(value="CONTACT_DWELL_CITY") | |
| 101 | + private String contactDwellCity; | |
| 102 | + /** | |
| 103 | + * 区 | |
| 104 | + */ | |
| 105 | + @TableField(value="CONTACT_DWELL_AREA") | |
| 106 | + private String contactDwellArea; | |
| 107 | + /** | |
| 108 | + * 乡/镇/街道 | |
| 109 | + */ | |
| 110 | + @TableField(value="CONTACT_DWELL_STREET") | |
| 111 | + private String contactDwellStreet; | |
| 112 | + /** | |
| 113 | + * 详细地址 | |
| 114 | + */ | |
| 115 | + @TableField(value="CONTACT_DWELL_DETAIL") | |
| 116 | + private String contactDwellDetail; | |
| 117 | + /** | |
| 118 | + * 户籍地址省 | |
| 119 | + */ | |
| 120 | + @TableField(value="CONTACT_REGISTER_PROVINCE") | |
| 121 | + private String contactRegisterProvince; | |
| 122 | + /** | |
| 123 | + * 户籍地址市 | |
| 124 | + */ | |
| 125 | + @TableField(value="CONTACT_REGISTER_CITY") | |
| 126 | + private String contactRegisterCity; | |
| 127 | + /** | |
| 128 | + * 户籍地址区 | |
| 129 | + */ | |
| 130 | + @TableField(value="CONTACT_REGISTER_AREA") | |
| 131 | + private String contactRegisterArea; | |
| 132 | + /** | |
| 133 | + * 户籍地址乡/镇/街道 | |
| 134 | + */ | |
| 135 | + @TableField(value="CONTACT_REGISTER_STREET") | |
| 136 | + private String contactRegisterStreet; | |
| 137 | + /** | |
| 138 | + * 户籍地址详情 | |
| 139 | + */ | |
| 140 | + @TableField(value="CONTACT_REGISTER_DETAIL") | |
| 141 | + private String contactRegisterDetail; | |
| 142 | + /** | |
| 143 | + * 产后休养省 | |
| 144 | + */ | |
| 145 | + @TableField(value="CONTACT_POSTPARTUM_PROVINCE") | |
| 146 | + private String contactPostpartumProvince; | |
| 147 | + /** | |
| 148 | + * 产后休养市 | |
| 149 | + */ | |
| 150 | + @TableField(value="CONTACT_POSTPARTUM_CITY") | |
| 151 | + private String contactPostpartumCity; | |
| 152 | + /** | |
| 153 | + * 产后休养区 | |
| 154 | + */ | |
| 155 | + @TableField(value="CONTACT_POSTPARTUM_AREA") | |
| 156 | + private String contactPostpartumArea; | |
| 157 | + /** | |
| 158 | + * 产后休养街道 | |
| 159 | + */ | |
| 160 | + @TableField(value="CONTACT_POSTPARTUM_STREET") | |
| 161 | + private String contactPostpartumStreet; | |
| 162 | + /** | |
| 163 | + * 产后休养详细地址 | |
| 164 | + */ | |
| 165 | + @TableField(value="CONTACT_POSTPARTUM_DETAIL") | |
| 166 | + private String contactPostpartumDetail; | |
| 167 | + /** | |
| 168 | + * 就诊卡 | |
| 169 | + */ | |
| 170 | + @TableField(value="HOSPITAL_PATIENT_CARD") | |
| 171 | + private String hospitalPatientCard; | |
| 172 | + /** | |
| 173 | + * 条码 | |
| 174 | + */ | |
| 175 | + @TableField(value="HOSPITAL_BARCODE") | |
| 176 | + private String hospitalBarcode; | |
| 177 | + /** | |
| 178 | + * 档案编号 | |
| 179 | + */ | |
| 180 | + @TableField(value="HOSPITAL_RECORD_NUMBER") | |
| 181 | + private String hospitalRecordNumber; | |
| 182 | + /** | |
| 183 | + * 建档医生 | |
| 184 | + */ | |
| 185 | + @TableField(value="HOSPITAL_RECORD_DOCTOR") | |
| 186 | + private String hospitalRecordDoctor; | |
| 187 | + /** | |
| 188 | + * 建档日期 | |
| 189 | + */ | |
| 190 | + @TableField(value="HOSPITAL_RECORD_DATE") | |
| 191 | + private Date hospitalRecordDate; | |
| 192 | + /** | |
| 193 | + * 档案备注 | |
| 194 | + */ | |
| 195 | + @TableField(value="HOSPITAL_RECORD_REMARK") | |
| 196 | + private String hospitalRecordRemark; | |
| 197 | + /** | |
| 198 | + * 体验到期时间 | |
| 199 | + */ | |
| 200 | + @TableField(value="HOSPITAL_MEMBER_DATE") | |
| 201 | + private Date hospitalMemberDate; | |
| 202 | + /** | |
| 203 | + * 建档时间 | |
| 204 | + */ | |
| 205 | + @TableField(value="BUILD_DATE") | |
| 206 | + private Date buildDate; | |
| 207 | + /** | |
| 208 | + * 建档医院 | |
| 209 | + */ | |
| 210 | + @TableField(value="HOSPITAL_ID") | |
| 211 | + private String hospitalId; | |
| 212 | + /** | |
| 213 | + * 建档来源 | |
| 214 | + */ | |
| 215 | + @TableField(value="BUILD_TYPE") | |
| 216 | + private Integer buildType; | |
| 217 | + /** | |
| 218 | + * | |
| 219 | + */ | |
| 220 | + @TableField(value="CREATE_ID") | |
| 221 | + private String createId; | |
| 222 | + /** | |
| 223 | + * | |
| 224 | + */ | |
| 225 | + @TableField(value="CREATE_TIME") | |
| 226 | + private Date createTime; | |
| 227 | + /** | |
| 228 | + * | |
| 229 | + */ | |
| 230 | + @TableField(value="MODIFY_ID") | |
| 231 | + private String modifyId; | |
| 232 | + /** | |
| 233 | + * | |
| 234 | + */ | |
| 235 | + @TableField(value="MODIFY_TIME") | |
| 236 | + private Date modifyTime; | |
| 237 | + /** | |
| 238 | + * | |
| 239 | + */ | |
| 240 | + @TableField(value="IFDEL") | |
| 241 | + private Integer ifdel; | |
| 242 | + /** | |
| 243 | + * | |
| 244 | + */ | |
| 245 | + @TableField(value="ENALBLE") | |
| 246 | + private Integer enalble; | |
| 247 | + | |
| 248 | + | |
| 249 | + public String getId() { | |
| 250 | + return id; | |
| 251 | + } | |
| 252 | + | |
| 253 | + public void setId(String id) { | |
| 254 | + this.id = id; | |
| 255 | + } | |
| 256 | + | |
| 257 | + public String getBaseWomanName() { | |
| 258 | + return baseWomanName; | |
| 259 | + } | |
| 260 | + | |
| 261 | + public void setBaseWomanName(String baseWomanName) { | |
| 262 | + this.baseWomanName = baseWomanName; | |
| 263 | + } | |
| 264 | + | |
| 265 | + public String getBasePapersType() { | |
| 266 | + return basePapersType; | |
| 267 | + } | |
| 268 | + | |
| 269 | + public void setBasePapersType(String basePapersType) { | |
| 270 | + this.basePapersType = basePapersType; | |
| 271 | + } | |
| 272 | + | |
| 273 | + public String getBasePapersNumber() { | |
| 274 | + return basePapersNumber; | |
| 275 | + } | |
| 276 | + | |
| 277 | + public void setBasePapersNumber(String basePapersNumber) { | |
| 278 | + this.basePapersNumber = basePapersNumber; | |
| 279 | + } | |
| 280 | + | |
| 281 | + public String getBaseWomanCountry() { | |
| 282 | + return baseWomanCountry; | |
| 283 | + } | |
| 284 | + | |
| 285 | + public void setBaseWomanCountry(String baseWomanCountry) { | |
| 286 | + this.baseWomanCountry = baseWomanCountry; | |
| 287 | + } | |
| 288 | + | |
| 289 | + public String getBaseWomanNation() { | |
| 290 | + return baseWomanNation; | |
| 291 | + } | |
| 292 | + | |
| 293 | + public void setBaseWomanNation(String baseWomanNation) { | |
| 294 | + this.baseWomanNation = baseWomanNation; | |
| 295 | + } | |
| 296 | + | |
| 297 | + public Date getBaseWomanBirth() { | |
| 298 | + return baseWomanBirth; | |
| 299 | + } | |
| 300 | + | |
| 301 | + public void setBaseWomanBirth(Date baseWomanBirth) { | |
| 302 | + this.baseWomanBirth = baseWomanBirth; | |
| 303 | + } | |
| 304 | + | |
| 305 | + public String getBaseRegisterType() { | |
| 306 | + return baseRegisterType; | |
| 307 | + } | |
| 308 | + | |
| 309 | + public void setBaseRegisterType(String baseRegisterType) { | |
| 310 | + this.baseRegisterType = baseRegisterType; | |
| 311 | + } | |
| 312 | + | |
| 313 | + public String getBaseDwellType() { | |
| 314 | + return baseDwellType; | |
| 315 | + } | |
| 316 | + | |
| 317 | + public void setBaseDwellType(String baseDwellType) { | |
| 318 | + this.baseDwellType = baseDwellType; | |
| 319 | + } | |
| 320 | + | |
| 321 | + public String getBaseOccupationType() { | |
| 322 | + return baseOccupationType; | |
| 323 | + } | |
| 324 | + | |
| 325 | + public void setBaseOccupationType(String baseOccupationType) { | |
| 326 | + this.baseOccupationType = baseOccupationType; | |
| 327 | + } | |
| 328 | + | |
| 329 | + public String getBaseWomanCulture() { | |
| 330 | + return baseWomanCulture; | |
| 331 | + } | |
| 332 | + | |
| 333 | + public void setBaseWomanCulture(String baseWomanCulture) { | |
| 334 | + this.baseWomanCulture = baseWomanCulture; | |
| 335 | + } | |
| 336 | + | |
| 337 | + public String getBaseFamilyIncome() { | |
| 338 | + return baseFamilyIncome; | |
| 339 | + } | |
| 340 | + | |
| 341 | + public void setBaseFamilyIncome(String baseFamilyIncome) { | |
| 342 | + this.baseFamilyIncome = baseFamilyIncome; | |
| 343 | + } | |
| 344 | + | |
| 345 | + public String getContactWomanWay() { | |
| 346 | + return contactWomanWay; | |
| 347 | + } | |
| 348 | + | |
| 349 | + public void setContactWomanWay(String contactWomanWay) { | |
| 350 | + this.contactWomanWay = contactWomanWay; | |
| 351 | + } | |
| 352 | + | |
| 353 | + public String getContactWorkAddress() { | |
| 354 | + return contactWorkAddress; | |
| 355 | + } | |
| 356 | + | |
| 357 | + public void setContactWorkAddress(String contactWorkAddress) { | |
| 358 | + this.contactWorkAddress = contactWorkAddress; | |
| 359 | + } | |
| 360 | + | |
| 361 | + public String getContactDwellProvince() { | |
| 362 | + return contactDwellProvince; | |
| 363 | + } | |
| 364 | + | |
| 365 | + public void setContactDwellProvince(String contactDwellProvince) { | |
| 366 | + this.contactDwellProvince = contactDwellProvince; | |
| 367 | + } | |
| 368 | + | |
| 369 | + public String getContactDwellCity() { | |
| 370 | + return contactDwellCity; | |
| 371 | + } | |
| 372 | + | |
| 373 | + public void setContactDwellCity(String contactDwellCity) { | |
| 374 | + this.contactDwellCity = contactDwellCity; | |
| 375 | + } | |
| 376 | + | |
| 377 | + public String getContactDwellArea() { | |
| 378 | + return contactDwellArea; | |
| 379 | + } | |
| 380 | + | |
| 381 | + public void setContactDwellArea(String contactDwellArea) { | |
| 382 | + this.contactDwellArea = contactDwellArea; | |
| 383 | + } | |
| 384 | + | |
| 385 | + public String getContactDwellStreet() { | |
| 386 | + return contactDwellStreet; | |
| 387 | + } | |
| 388 | + | |
| 389 | + public void setContactDwellStreet(String contactDwellStreet) { | |
| 390 | + this.contactDwellStreet = contactDwellStreet; | |
| 391 | + } | |
| 392 | + | |
| 393 | + public String getContactDwellDetail() { | |
| 394 | + return contactDwellDetail; | |
| 395 | + } | |
| 396 | + | |
| 397 | + public void setContactDwellDetail(String contactDwellDetail) { | |
| 398 | + this.contactDwellDetail = contactDwellDetail; | |
| 399 | + } | |
| 400 | + | |
| 401 | + public String getContactRegisterProvince() { | |
| 402 | + return contactRegisterProvince; | |
| 403 | + } | |
| 404 | + | |
| 405 | + public void setContactRegisterProvince(String contactRegisterProvince) { | |
| 406 | + this.contactRegisterProvince = contactRegisterProvince; | |
| 407 | + } | |
| 408 | + | |
| 409 | + public String getContactRegisterCity() { | |
| 410 | + return contactRegisterCity; | |
| 411 | + } | |
| 412 | + | |
| 413 | + public void setContactRegisterCity(String contactRegisterCity) { | |
| 414 | + this.contactRegisterCity = contactRegisterCity; | |
| 415 | + } | |
| 416 | + | |
| 417 | + public String getContactRegisterArea() { | |
| 418 | + return contactRegisterArea; | |
| 419 | + } | |
| 420 | + | |
| 421 | + public void setContactRegisterArea(String contactRegisterArea) { | |
| 422 | + this.contactRegisterArea = contactRegisterArea; | |
| 423 | + } | |
| 424 | + | |
| 425 | + public String getContactRegisterStreet() { | |
| 426 | + return contactRegisterStreet; | |
| 427 | + } | |
| 428 | + | |
| 429 | + public void setContactRegisterStreet(String contactRegisterStreet) { | |
| 430 | + this.contactRegisterStreet = contactRegisterStreet; | |
| 431 | + } | |
| 432 | + | |
| 433 | + public String getContactRegisterDetail() { | |
| 434 | + return contactRegisterDetail; | |
| 435 | + } | |
| 436 | + | |
| 437 | + public void setContactRegisterDetail(String contactRegisterDetail) { | |
| 438 | + this.contactRegisterDetail = contactRegisterDetail; | |
| 439 | + } | |
| 440 | + | |
| 441 | + public String getContactPostpartumProvince() { | |
| 442 | + return contactPostpartumProvince; | |
| 443 | + } | |
| 444 | + | |
| 445 | + public void setContactPostpartumProvince(String contactPostpartumProvince) { | |
| 446 | + this.contactPostpartumProvince = contactPostpartumProvince; | |
| 447 | + } | |
| 448 | + | |
| 449 | + public String getContactPostpartumCity() { | |
| 450 | + return contactPostpartumCity; | |
| 451 | + } | |
| 452 | + | |
| 453 | + public void setContactPostpartumCity(String contactPostpartumCity) { | |
| 454 | + this.contactPostpartumCity = contactPostpartumCity; | |
| 455 | + } | |
| 456 | + | |
| 457 | + public String getContactPostpartumArea() { | |
| 458 | + return contactPostpartumArea; | |
| 459 | + } | |
| 460 | + | |
| 461 | + public void setContactPostpartumArea(String contactPostpartumArea) { | |
| 462 | + this.contactPostpartumArea = contactPostpartumArea; | |
| 463 | + } | |
| 464 | + | |
| 465 | + public String getContactPostpartumStreet() { | |
| 466 | + return contactPostpartumStreet; | |
| 467 | + } | |
| 468 | + | |
| 469 | + public void setContactPostpartumStreet(String contactPostpartumStreet) { | |
| 470 | + this.contactPostpartumStreet = contactPostpartumStreet; | |
| 471 | + } | |
| 472 | + | |
| 473 | + public String getContactPostpartumDetail() { | |
| 474 | + return contactPostpartumDetail; | |
| 475 | + } | |
| 476 | + | |
| 477 | + public void setContactPostpartumDetail(String contactPostpartumDetail) { | |
| 478 | + this.contactPostpartumDetail = contactPostpartumDetail; | |
| 479 | + } | |
| 480 | + | |
| 481 | + public String getHospitalPatientCard() { | |
| 482 | + return hospitalPatientCard; | |
| 483 | + } | |
| 484 | + | |
| 485 | + public void setHospitalPatientCard(String hospitalPatientCard) { | |
| 486 | + this.hospitalPatientCard = hospitalPatientCard; | |
| 487 | + } | |
| 488 | + | |
| 489 | + public String getHospitalBarcode() { | |
| 490 | + return hospitalBarcode; | |
| 491 | + } | |
| 492 | + | |
| 493 | + public void setHospitalBarcode(String hospitalBarcode) { | |
| 494 | + this.hospitalBarcode = hospitalBarcode; | |
| 495 | + } | |
| 496 | + | |
| 497 | + public String getHospitalRecordNumber() { | |
| 498 | + return hospitalRecordNumber; | |
| 499 | + } | |
| 500 | + | |
| 501 | + public void setHospitalRecordNumber(String hospitalRecordNumber) { | |
| 502 | + this.hospitalRecordNumber = hospitalRecordNumber; | |
| 503 | + } | |
| 504 | + | |
| 505 | + public String getHospitalRecordDoctor() { | |
| 506 | + return hospitalRecordDoctor; | |
| 507 | + } | |
| 508 | + | |
| 509 | + public void setHospitalRecordDoctor(String hospitalRecordDoctor) { | |
| 510 | + this.hospitalRecordDoctor = hospitalRecordDoctor; | |
| 511 | + } | |
| 512 | + | |
| 513 | + public Date getHospitalRecordDate() { | |
| 514 | + return hospitalRecordDate; | |
| 515 | + } | |
| 516 | + | |
| 517 | + public void setHospitalRecordDate(Date hospitalRecordDate) { | |
| 518 | + this.hospitalRecordDate = hospitalRecordDate; | |
| 519 | + } | |
| 520 | + | |
| 521 | + public String getHospitalRecordRemark() { | |
| 522 | + return hospitalRecordRemark; | |
| 523 | + } | |
| 524 | + | |
| 525 | + public void setHospitalRecordRemark(String hospitalRecordRemark) { | |
| 526 | + this.hospitalRecordRemark = hospitalRecordRemark; | |
| 527 | + } | |
| 528 | + | |
| 529 | + public Date getHospitalMemberDate() { | |
| 530 | + return hospitalMemberDate; | |
| 531 | + } | |
| 532 | + | |
| 533 | + public void setHospitalMemberDate(Date hospitalMemberDate) { | |
| 534 | + this.hospitalMemberDate = hospitalMemberDate; | |
| 535 | + } | |
| 536 | + | |
| 537 | + public Date getBuildDate() { | |
| 538 | + return buildDate; | |
| 539 | + } | |
| 540 | + | |
| 541 | + public void setBuildDate(Date buildDate) { | |
| 542 | + this.buildDate = buildDate; | |
| 543 | + } | |
| 544 | + | |
| 545 | + public String getHospitalId() { | |
| 546 | + return hospitalId; | |
| 547 | + } | |
| 548 | + | |
| 549 | + public void setHospitalId(String hospitalId) { | |
| 550 | + this.hospitalId = hospitalId; | |
| 551 | + } | |
| 552 | + | |
| 553 | + public Integer getBuildType() { | |
| 554 | + return buildType; | |
| 555 | + } | |
| 556 | + | |
| 557 | + public void setBuildType(Integer buildType) { | |
| 558 | + this.buildType = buildType; | |
| 559 | + } | |
| 560 | + | |
| 561 | + public String getCreateId() { | |
| 562 | + return createId; | |
| 563 | + } | |
| 564 | + | |
| 565 | + public void setCreateId(String createId) { | |
| 566 | + this.createId = createId; | |
| 567 | + } | |
| 568 | + | |
| 569 | + public Date getCreateTime() { | |
| 570 | + return createTime; | |
| 571 | + } | |
| 572 | + | |
| 573 | + public void setCreateTime(Date createTime) { | |
| 574 | + this.createTime = createTime; | |
| 575 | + } | |
| 576 | + | |
| 577 | + public String getModifyId() { | |
| 578 | + return modifyId; | |
| 579 | + } | |
| 580 | + | |
| 581 | + public void setModifyId(String modifyId) { | |
| 582 | + this.modifyId = modifyId; | |
| 583 | + } | |
| 584 | + | |
| 585 | + public Date getModifyTime() { | |
| 586 | + return modifyTime; | |
| 587 | + } | |
| 588 | + | |
| 589 | + public void setModifyTime(Date modifyTime) { | |
| 590 | + this.modifyTime = modifyTime; | |
| 591 | + } | |
| 592 | + | |
| 593 | + public Integer getIfdel() { | |
| 594 | + return ifdel; | |
| 595 | + } | |
| 596 | + | |
| 597 | + public void setIfdel(Integer ifdel) { | |
| 598 | + this.ifdel = ifdel; | |
| 599 | + } | |
| 600 | + | |
| 601 | + public Integer getEnalble() { | |
| 602 | + return enalble; | |
| 603 | + } | |
| 604 | + | |
| 605 | + public void setEnalble(Integer enalble) { | |
| 606 | + this.enalble = enalble; | |
| 607 | + } | |
| 608 | + | |
| 609 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistoryMapsService.java
View file @
4f17501
| ... | ... | @@ -3,6 +3,7 @@ |
| 3 | 3 | import com.lyms.hospital.entity.history.HistoryMaps; |
| 4 | 4 | import com.lyms.web.service.BaseService; |
| 5 | 5 | import java.io.Serializable; |
| 6 | +import java.util.List; | |
| 6 | 7 | |
| 7 | 8 | /** |
| 8 | 9 | * <p> |
| 9 | 10 | |
| ... | ... | @@ -14,12 +15,23 @@ |
| 14 | 15 | */ |
| 15 | 16 | public interface HistoryMapsService extends BaseService<HistoryMaps> { |
| 16 | 17 | |
| 17 | - /** | |
| 18 | + /** | |
| 18 | 19 | * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 |
| 19 | 20 | * <li>@param id 删除主键id |
| 20 | 21 | * <li>@return 大于0修改成功,否则为失败 |
| 21 | 22 | */ |
| 22 | - public Integer deleteLogicById(Serializable id); | |
| 23 | - | |
| 23 | + public Integer deleteLogicById(Serializable id); | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * <li>@Description:插入病史信息 | |
| 27 | + * <li>@param womanid | |
| 28 | + * <li>@param list | |
| 29 | + * <li>创建人:方承 | |
| 30 | + * <li>创建时间:2017年3月31日 | |
| 31 | + * <li>修改人: | |
| 32 | + * <li>修改时间: | |
| 33 | + */ | |
| 34 | + public void insertHistoryMapsList(Serializable womanid,List<HistoryMaps> list); | |
| 35 | + | |
| 24 | 36 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistoryMapsServiceImpl.java
View file @
4f17501
| ... | ... | @@ -3,9 +3,13 @@ |
| 3 | 3 | import com.lyms.hospital.entity.history.HistoryMaps; |
| 4 | 4 | import com.lyms.hospital.dao.history.HistoryMapsMapper; |
| 5 | 5 | import com.lyms.hospital.service.history.HistoryMapsService; |
| 6 | +import com.baomidou.mybatisplus.mapper.EntityWrapper; | |
| 6 | 7 | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| 7 | 8 | import org.springframework.stereotype.Service; |
| 9 | +import org.springframework.transaction.annotation.Transactional; | |
| 10 | + | |
| 8 | 11 | import java.io.Serializable; |
| 12 | +import java.util.List; | |
| 9 | 13 | |
| 10 | 14 | /** |
| 11 | 15 | * <p> |
| ... | ... | @@ -21,5 +25,12 @@ |
| 21 | 25 | public Integer deleteLogicById(Serializable id){ |
| 22 | 26 | return baseMapper.deleteLogicById(id); |
| 23 | 27 | } |
| 28 | + | |
| 29 | + @Override | |
| 30 | + @Transactional | |
| 31 | + public void insertHistoryMapsList(Serializable womanid,List<HistoryMaps> list) { | |
| 32 | + delete(new EntityWrapper<HistoryMaps>().where("woman_id={0}", womanid)); | |
| 33 | + insertBatch(list); | |
| 34 | + } | |
| 24 | 35 | } |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanFetationRecordService.java
View file @
4f17501
| 1 | +package com.lyms.hospital.service.woman; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | + | |
| 5 | +import com.lyms.hospital.entity.woman.WomanFetationRecord; | |
| 6 | +import com.lyms.hospital.entity.woman.WomanHusband; | |
| 7 | +import com.lyms.web.service.BaseService; | |
| 8 | + | |
| 9 | +/** | |
| 10 | + * <p> | |
| 11 | + * 服务类 | |
| 12 | + * </p> | |
| 13 | + * | |
| 14 | + * @author fangcheng | |
| 15 | + * @since 2017-03-31 | |
| 16 | + */ | |
| 17 | +public interface WomanFetationRecordService extends BaseService<WomanFetationRecord> { | |
| 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 | + /** | |
| 27 | + * <li>@Description:添加孕妇建档 | |
| 28 | + * <li>@param womanRecord | |
| 29 | + * <li>@param womanHusband | |
| 30 | + * <li>@return | |
| 31 | + * <li>创建人:方承 | |
| 32 | + * <li>创建时间:2017年3月31日 | |
| 33 | + * <li>修改人: | |
| 34 | + * <li>修改时间: | |
| 35 | + */ | |
| 36 | + public boolean insertbuildRecord(WomanFetationRecord womanFetationRecord, WomanHusband womanHusband); | |
| 37 | + | |
| 38 | + /** | |
| 39 | + * <li>@Description:修改孕妇建档 | |
| 40 | + * <li>@param womanRecord | |
| 41 | + * <li>@param womanHusband | |
| 42 | + * <li>@return | |
| 43 | + * <li>创建人:方承 | |
| 44 | + * <li>创建时间:2017年3月31日 | |
| 45 | + * <li>修改人: | |
| 46 | + * <li>修改时间: | |
| 47 | + */ | |
| 48 | + public boolean updatebuildRecord(WomanFetationRecord womanFetationRecord, WomanHusband womanHusband); | |
| 49 | + | |
| 50 | + /** | |
| 51 | + * <li>@Description:根据【证件类型和号码】【就诊卡和机构id】获取孕妇档案信息 | |
| 52 | + * <li>@param cardType 证件类型 | |
| 53 | + * <li>@param cardNum 证件编号 | |
| 54 | + * <li>@param patientNum 就诊卡号 | |
| 55 | + * <li>@param orgid 机构id | |
| 56 | + * <li>@return | |
| 57 | + * <li>创建人:方承 | |
| 58 | + * <li>创建时间:2017年3月31日 | |
| 59 | + * <li>修改人: | |
| 60 | + * <li>修改时间: | |
| 61 | + */ | |
| 62 | + public WomanFetationRecord findByCard(String cardType, String cardNum,String patientNum,String orgid); | |
| 63 | + | |
| 64 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanHusbandService.java
View file @
4f17501
| 1 | +package com.lyms.hospital.service.woman; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.woman.WomanHusband; | |
| 4 | +import com.lyms.web.service.BaseService; | |
| 5 | +import java.io.Serializable; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * <p> | |
| 9 | + * 服务类 | |
| 10 | + * </p> | |
| 11 | + * | |
| 12 | + * @author fangcheng | |
| 13 | + * @since 2017-03-31 | |
| 14 | + */ | |
| 15 | +public interface WomanHusbandService extends BaseService<WomanHusband> { | |
| 16 | + | |
| 17 | + /** | |
| 18 | + * <li>@Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 | |
| 19 | + * <li>@param id 删除主键id | |
| 20 | + * <li>@return 大于0修改成功,否则为失败 | |
| 21 | + */ | |
| 22 | + public Integer deleteLogicById(Serializable id); | |
| 23 | + | |
| 24 | + public boolean insertHusband(WomanHusband womanHusband); | |
| 25 | + | |
| 26 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanPersonService.java
View file @
4f17501
| 1 | +package com.lyms.hospital.service.woman; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.woman.WomanFetationRecord; | |
| 4 | +import com.lyms.hospital.entity.woman.WomanPerson; | |
| 5 | +import com.lyms.hospital.entity.woman.WomanRecord; | |
| 6 | +import com.lyms.web.service.BaseService; | |
| 7 | +import java.io.Serializable; | |
| 8 | + | |
| 9 | +/** | |
| 10 | + * <p> | |
| 11 | + * 服务类 | |
| 12 | + * </p> | |
| 13 | + * | |
| 14 | + * @author fangcheng | |
| 15 | + * @since 2017-03-31 | |
| 16 | + */ | |
| 17 | +public interface WomanPersonService extends BaseService<WomanPerson> { | |
| 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 Integer insertOrUpdate(WomanRecord womanRecord); | |
| 27 | + | |
| 28 | + public Integer insertOrUpdate(WomanFetationRecord womanFetationRecord); | |
| 29 | + | |
| 30 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/WomanRecordService.java
View file @
4f17501
| 1 | +package com.lyms.hospital.service.woman; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.history.HistoryMaps; | |
| 4 | +import com.lyms.hospital.entity.woman.WomanRecord; | |
| 5 | +import com.lyms.web.service.BaseService; | |
| 6 | +import java.io.Serializable; | |
| 7 | +import java.util.List; | |
| 8 | + | |
| 9 | +/** | |
| 10 | + * <p> | |
| 11 | + * 服务类 | |
| 12 | + * </p> | |
| 13 | + * | |
| 14 | + * @author fangcheng | |
| 15 | + * @since 2017-03-31 | |
| 16 | + */ | |
| 17 | +public interface WomanRecordService extends BaseService<WomanRecord> { | |
| 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 | + /** | |
| 27 | + * <li>@Description:添加女性建档 | |
| 28 | + * <li>@param womanRecord | |
| 29 | + * <li>@param HistoryMapsList 病史 | |
| 30 | + * <li>@return | |
| 31 | + * <li>创建人:方承 | |
| 32 | + * <li>创建时间:2017年3月31日 | |
| 33 | + * <li>修改人: | |
| 34 | + * <li>修改时间: | |
| 35 | + */ | |
| 36 | + public boolean insertbuildRecord(WomanRecord womanRecord, List<HistoryMaps> HistoryMapsList); | |
| 37 | + | |
| 38 | + | |
| 39 | + /** | |
| 40 | + * <li>@Description:修改女性建档 | |
| 41 | + * <li>@param womanRecord | |
| 42 | + * <li>@param HistoryMapsList 病史 | |
| 43 | + * <li>@return | |
| 44 | + * <li>创建人:方承 | |
| 45 | + * <li>创建时间:2017年3月31日 | |
| 46 | + * <li>修改人: | |
| 47 | + * <li>修改时间: | |
| 48 | + */ | |
| 49 | + public boolean updatebuildRecord(WomanRecord womanRecord, List<HistoryMaps> HistoryMapsList); | |
| 50 | + | |
| 51 | + /** | |
| 52 | + * <li>@Description:根据【证件类型和号码】【就诊卡和机构id】获取妇女档案信息 | |
| 53 | + * <li>@param cardType 证件类型 | |
| 54 | + * <li>@param cardNum 证件编号 | |
| 55 | + * <li>@param patientNum 就诊卡号 | |
| 56 | + * <li>@param orgid 机构id | |
| 57 | + * <li>@return | |
| 58 | + * <li>创建人:方承 | |
| 59 | + * <li>创建时间:2017年3月31日 | |
| 60 | + * <li>修改人: | |
| 61 | + * <li>修改时间: | |
| 62 | + */ | |
| 63 | + public WomanRecord findByCard(String cardType, String cardNum,String patientNum,String orgid); | |
| 64 | + | |
| 65 | + | |
| 66 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanFetationRecordServiceImpl.java
View file @
4f17501
| 1 | +package com.lyms.hospital.service.woman.impl; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | +import java.util.List; | |
| 5 | + | |
| 6 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | +import org.springframework.transaction.annotation.Transactional; | |
| 9 | + | |
| 10 | +import com.baomidou.mybatisplus.mapper.EntityWrapper; | |
| 11 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 12 | +import com.lyms.hospital.dao.woman.WomanFetationRecordMapper; | |
| 13 | +import com.lyms.hospital.entity.woman.WomanFetationRecord; | |
| 14 | +import com.lyms.hospital.entity.woman.WomanHusband; | |
| 15 | +import com.lyms.hospital.service.woman.WomanFetationRecordService; | |
| 16 | +import com.lyms.hospital.service.woman.WomanHusbandService; | |
| 17 | +import com.lyms.hospital.service.woman.WomanPersonService; | |
| 18 | +import com.lyms.util.CollectionUtils; | |
| 19 | +import com.lyms.util.StrUtils; | |
| 20 | + | |
| 21 | +/** | |
| 22 | + * <p> | |
| 23 | + * 妇女档案 服务实现类 | |
| 24 | + * </p> | |
| 25 | + * | |
| 26 | + * @author fangcheng | |
| 27 | + * @since 2017-03-31 | |
| 28 | + */ | |
| 29 | +@Service | |
| 30 | +public class WomanFetationRecordServiceImpl extends ServiceImpl<WomanFetationRecordMapper, WomanFetationRecord> implements WomanFetationRecordService { | |
| 31 | + | |
| 32 | + @Autowired | |
| 33 | + private WomanPersonService womanPersonService; | |
| 34 | + | |
| 35 | + @Autowired | |
| 36 | + private WomanHusbandService womanHusbandService; | |
| 37 | + | |
| 38 | + public Integer deleteLogicById(Serializable id){ | |
| 39 | + return baseMapper.deleteLogicById(id); | |
| 40 | + } | |
| 41 | + | |
| 42 | + @Override | |
| 43 | + @Transactional | |
| 44 | + public boolean insertbuildRecord(WomanFetationRecord womanFetationRecord, WomanHusband womanHusband) { | |
| 45 | + womanPersonService.insertOrUpdate(womanFetationRecord); | |
| 46 | + womanHusbandService.insert(womanHusband); | |
| 47 | + return insert(womanFetationRecord); | |
| 48 | + } | |
| 49 | + | |
| 50 | + @Override | |
| 51 | + public WomanFetationRecord findByCard(String cardType, String cardNum,String patientNum,String orgid) { | |
| 52 | + EntityWrapper<WomanFetationRecord> ew = new EntityWrapper<WomanFetationRecord>(); | |
| 53 | + ew.where("1=1"); | |
| 54 | + if(StrUtils.isNotEmpty(cardType) && StrUtils.isNotEmpty(cardNum)){ | |
| 55 | + ew.and("BASE_PAPERS_TYPE={0}", cardType).and("BASE_PAPERS_NUMBER={0}", cardNum); | |
| 56 | + } | |
| 57 | + if(StrUtils.isNotEmpty(patientNum) && StrUtils.isNotEmpty(orgid)){ | |
| 58 | + ew.and("HOSPITAL_PATIENT_CARD={0}", patientNum).and("hospitalId={0}", orgid); | |
| 59 | + } | |
| 60 | + List<WomanFetationRecord> dataList = baseMapper.selectList(ew); | |
| 61 | + return CollectionUtils.isNotEmpty(dataList) ? dataList.get(0) : null; | |
| 62 | + } | |
| 63 | + | |
| 64 | + @Override | |
| 65 | + public boolean updatebuildRecord(WomanFetationRecord womanFetationRecord, WomanHusband womanHusband) { | |
| 66 | + womanPersonService.insertOrUpdate(womanFetationRecord); | |
| 67 | + womanHusbandService.insertHusband(womanHusband); | |
| 68 | + return updateById(womanFetationRecord); | |
| 69 | + } | |
| 70 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanHusbandServiceImpl.java
View file @
4f17501
| 1 | +package com.lyms.hospital.service.woman.impl; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.woman.WomanHusband; | |
| 4 | +import com.lyms.hospital.dao.woman.WomanHusbandMapper; | |
| 5 | +import com.lyms.hospital.service.woman.WomanHusbandService; | |
| 6 | +import com.baomidou.mybatisplus.mapper.EntityWrapper; | |
| 7 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 8 | +import org.springframework.stereotype.Service; | |
| 9 | +import org.springframework.transaction.annotation.Transactional; | |
| 10 | + | |
| 11 | +import java.io.Serializable; | |
| 12 | + | |
| 13 | +/** | |
| 14 | + * <p> | |
| 15 | + * 丈夫信息表 服务实现类 | |
| 16 | + * </p> | |
| 17 | + * | |
| 18 | + * @author fangcheng | |
| 19 | + * @since 2017-03-31 | |
| 20 | + */ | |
| 21 | +@Service | |
| 22 | +public class WomanHusbandServiceImpl extends ServiceImpl<WomanHusbandMapper, WomanHusband> implements WomanHusbandService { | |
| 23 | + | |
| 24 | + public Integer deleteLogicById(Serializable id){ | |
| 25 | + return baseMapper.deleteLogicById(id); | |
| 26 | + } | |
| 27 | + | |
| 28 | + @Override | |
| 29 | + @Transactional | |
| 30 | + public boolean insertHusband(WomanHusband womanHusband) { | |
| 31 | + EntityWrapper<WomanHusband> ew = new EntityWrapper<WomanHusband>(); | |
| 32 | + ew.where("WOMAN_RECORD_ID={0}", womanHusband.getWomanRecordId()); | |
| 33 | + delete(ew); | |
| 34 | + return insert(womanHusband); | |
| 35 | + } | |
| 36 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanPersonServiceImpl.java
View file @
4f17501
| 1 | +package com.lyms.hospital.service.woman.impl; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | +import java.util.List; | |
| 5 | + | |
| 6 | +import org.springframework.stereotype.Service; | |
| 7 | + | |
| 8 | +import com.baomidou.mybatisplus.mapper.EntityWrapper; | |
| 9 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 10 | +import com.lyms.hospital.dao.woman.WomanPersonMapper; | |
| 11 | +import com.lyms.hospital.entity.woman.WomanFetationRecord; | |
| 12 | +import com.lyms.hospital.entity.woman.WomanPerson; | |
| 13 | +import com.lyms.hospital.entity.woman.WomanRecord; | |
| 14 | +import com.lyms.hospital.service.woman.WomanPersonService; | |
| 15 | +import com.lyms.util.CollectionUtils; | |
| 16 | +import com.lyms.util.StrUtils; | |
| 17 | + | |
| 18 | +/** | |
| 19 | + * <p> | |
| 20 | + * 女性居民表 服务实现类 | |
| 21 | + * </p> | |
| 22 | + * | |
| 23 | + * @author fangcheng | |
| 24 | + * @since 2017-03-31 | |
| 25 | + */ | |
| 26 | +@Service | |
| 27 | +public class WomanPersonServiceImpl extends ServiceImpl<WomanPersonMapper, WomanPerson> implements WomanPersonService { | |
| 28 | + | |
| 29 | + public Integer deleteLogicById(Serializable id) { | |
| 30 | + return baseMapper.deleteLogicById(id); | |
| 31 | + } | |
| 32 | + | |
| 33 | + @Override | |
| 34 | + public Integer insertOrUpdate(WomanRecord womanRecord) { | |
| 35 | + WomanPerson wp = findByCard(womanRecord.getBasePapersType(), womanRecord.getBasePapersNumber()); | |
| 36 | + Integer result = 0; | |
| 37 | + if (null == wp) { // 插入 | |
| 38 | + result = insert(womanRecord); | |
| 39 | + } else { | |
| 40 | + result = update(wp, womanRecord); | |
| 41 | + } | |
| 42 | + return result; | |
| 43 | + } | |
| 44 | + | |
| 45 | + @Override | |
| 46 | + public Integer insertOrUpdate(WomanFetationRecord womanFetationRecord) { | |
| 47 | + WomanPerson wp = findByCard(womanFetationRecord.getBasePapersType(), womanFetationRecord.getBasePapersNumber()); | |
| 48 | + Integer result = 0; | |
| 49 | + if (null == wp) { // 插入 | |
| 50 | + result = insert(womanFetationRecord); | |
| 51 | + } else { | |
| 52 | + result = update(wp, womanFetationRecord); | |
| 53 | + } | |
| 54 | + return result; | |
| 55 | + } | |
| 56 | + | |
| 57 | + private Integer insert(WomanRecord wr) { | |
| 58 | + WomanPerson wp = new WomanPerson(); | |
| 59 | + wp.setId(StrUtils.uuid()); | |
| 60 | + wp.setBaseDwellType(wr.getBaseDwellType()); | |
| 61 | + wp.setBasePapersNumber(wr.getBasePapersNumber()); | |
| 62 | + wp.setBasePapersType(wr.getBasePapersType()); | |
| 63 | + wp.setBaseRegisterType(wr.getBaseRegisterType()); | |
| 64 | + wp.setBaseWomanBirth(wr.getBaseWomanBirth()); | |
| 65 | + wp.setBaseWomanCountry(wr.getBaseWomanCountry()); | |
| 66 | + wp.setBaseWomanName(wr.getBaseWomanName()); | |
| 67 | + wp.setBaseWomanNation(wr.getBaseWomanNation()); | |
| 68 | + wp.setContactDwellArea(wr.getContactDwellArea()); | |
| 69 | + wp.setContactDwellCity(wr.getContactDwellCity()); | |
| 70 | + wp.setContactDwellDetail(wr.getContactDwellDetail()); | |
| 71 | + wp.setContactDwellProvince(wr.getContactDwellProvince()); | |
| 72 | + wp.setContactDwellStreet(wr.getContactDwellStreet()); | |
| 73 | + // wp.setContactPostpartumArea(wr.getContactPostpartumArea()); | |
| 74 | + // wp.setContactPostpartumCity(wr.getContactPostpartumCity()); | |
| 75 | + // wp.setContactPostpartumDetail(wr.getContactPostpartumDetail()); | |
| 76 | + // wp.setContactPostpartumProvince(wr.getContactPostpartumProvince()); | |
| 77 | + // wp.setContactPostpartumStreet(wr.getContactPostpartumStreet()); | |
| 78 | + wp.setContactRegisterArea(wr.getContactRegisterArea()); | |
| 79 | + wp.setContactRegisterCity(wr.getContactRegisterCity()); | |
| 80 | + wp.setContactRegisterDetail(wr.getContactRegisterDetail()); | |
| 81 | + wp.setContactRegisterProvince(wr.getContactRegisterProvince()); | |
| 82 | + wp.setContactRegisterStreet(wr.getContactRegisterStreet()); | |
| 83 | + wp.setContactWomanWay(wr.getContactWomanWay()); | |
| 84 | + wp.setContactWorkAddress(wr.getContactWorkAddress()); | |
| 85 | + | |
| 86 | + return baseMapper.insert(wp); | |
| 87 | + } | |
| 88 | + | |
| 89 | + private Integer insert(WomanFetationRecord wr) { | |
| 90 | + WomanPerson wp = new WomanPerson(); | |
| 91 | + wp.setId(StrUtils.uuid()); | |
| 92 | + wp.setBaseDwellType(wr.getBaseDwellType()); | |
| 93 | + wp.setBasePapersNumber(wr.getBasePapersNumber()); | |
| 94 | + wp.setBasePapersType(wr.getBasePapersType()); | |
| 95 | + wp.setBaseRegisterType(wr.getBaseRegisterType()); | |
| 96 | + wp.setBaseWomanBirth(wr.getBaseWomanBirth()); | |
| 97 | + wp.setBaseWomanCountry(wr.getBaseWomanCountry()); | |
| 98 | + wp.setBaseWomanName(wr.getBaseWomanName()); | |
| 99 | + wp.setBaseWomanNation(wr.getBaseWomanNation()); | |
| 100 | + wp.setContactDwellArea(wr.getContactDwellArea()); | |
| 101 | + wp.setContactDwellCity(wr.getContactDwellCity()); | |
| 102 | + wp.setContactDwellDetail(wr.getContactDwellDetail()); | |
| 103 | + wp.setContactDwellProvince(wr.getContactDwellProvince()); | |
| 104 | + wp.setContactDwellStreet(wr.getContactDwellStreet()); | |
| 105 | + wp.setContactPostpartumArea(wr.getContactPostpartumArea()); | |
| 106 | + wp.setContactPostpartumCity(wr.getContactPostpartumCity()); | |
| 107 | + wp.setContactPostpartumDetail(wr.getContactPostpartumDetail()); | |
| 108 | + wp.setContactPostpartumProvince(wr.getContactPostpartumProvince()); | |
| 109 | + wp.setContactPostpartumStreet(wr.getContactPostpartumStreet()); | |
| 110 | + wp.setContactRegisterArea(wr.getContactRegisterArea()); | |
| 111 | + wp.setContactRegisterCity(wr.getContactRegisterCity()); | |
| 112 | + wp.setContactRegisterDetail(wr.getContactRegisterDetail()); | |
| 113 | + wp.setContactRegisterProvince(wr.getContactRegisterProvince()); | |
| 114 | + wp.setContactRegisterStreet(wr.getContactRegisterStreet()); | |
| 115 | + wp.setContactWomanWay(wr.getContactWomanWay()); | |
| 116 | + wp.setContactWorkAddress(wr.getContactWorkAddress()); | |
| 117 | + return baseMapper.insert(wp); | |
| 118 | + } | |
| 119 | + | |
| 120 | + private Integer update(WomanPerson wp, WomanRecord wr) { | |
| 121 | + wp.setBaseDwellType(wr.getBaseDwellType()); | |
| 122 | + wp.setBasePapersNumber(wr.getBasePapersNumber()); | |
| 123 | + wp.setBasePapersType(wr.getBasePapersType()); | |
| 124 | + wp.setBaseRegisterType(wr.getBaseRegisterType()); | |
| 125 | + wp.setBaseWomanBirth(wr.getBaseWomanBirth()); | |
| 126 | + wp.setBaseWomanCountry(wr.getBaseWomanCountry()); | |
| 127 | + wp.setBaseWomanName(wr.getBaseWomanName()); | |
| 128 | + wp.setBaseWomanNation(wr.getBaseWomanNation()); | |
| 129 | + wp.setContactDwellArea(wr.getContactDwellArea()); | |
| 130 | + wp.setContactDwellCity(wr.getContactDwellCity()); | |
| 131 | + wp.setContactDwellDetail(wr.getContactDwellDetail()); | |
| 132 | + wp.setContactDwellProvince(wr.getContactDwellProvince()); | |
| 133 | + wp.setContactDwellStreet(wr.getContactDwellStreet()); | |
| 134 | + // wp.setContactPostpartumArea(wr.getContactPostpartumArea()); | |
| 135 | + // wp.setContactPostpartumCity(wr.getContactPostpartumCity()); | |
| 136 | + // wp.setContactPostpartumDetail(wr.getContactPostpartumDetail()); | |
| 137 | + // wp.setContactPostpartumProvince(wr.getContactPostpartumProvince()); | |
| 138 | + // wp.setContactPostpartumStreet(wr.getContactPostpartumStreet()); | |
| 139 | + wp.setContactRegisterArea(wr.getContactRegisterArea()); | |
| 140 | + wp.setContactRegisterCity(wr.getContactRegisterCity()); | |
| 141 | + wp.setContactRegisterDetail(wr.getContactRegisterDetail()); | |
| 142 | + wp.setContactRegisterProvince(wr.getContactRegisterProvince()); | |
| 143 | + wp.setContactRegisterStreet(wr.getContactRegisterStreet()); | |
| 144 | + wp.setContactWomanWay(wr.getContactWomanWay()); | |
| 145 | + wp.setContactWorkAddress(wr.getContactWorkAddress()); | |
| 146 | + return baseMapper.updateById(wp); | |
| 147 | + } | |
| 148 | + | |
| 149 | + private Integer update(WomanPerson wp, WomanFetationRecord wr) { | |
| 150 | + wp.setBaseDwellType(wr.getBaseDwellType()); | |
| 151 | + wp.setBasePapersNumber(wr.getBasePapersNumber()); | |
| 152 | + wp.setBasePapersType(wr.getBasePapersType()); | |
| 153 | + wp.setBaseRegisterType(wr.getBaseRegisterType()); | |
| 154 | + wp.setBaseWomanBirth(wr.getBaseWomanBirth()); | |
| 155 | + wp.setBaseWomanCountry(wr.getBaseWomanCountry()); | |
| 156 | + wp.setBaseWomanName(wr.getBaseWomanName()); | |
| 157 | + wp.setBaseWomanNation(wr.getBaseWomanNation()); | |
| 158 | + wp.setContactDwellArea(wr.getContactDwellArea()); | |
| 159 | + wp.setContactDwellCity(wr.getContactDwellCity()); | |
| 160 | + wp.setContactDwellDetail(wr.getContactDwellDetail()); | |
| 161 | + wp.setContactDwellProvince(wr.getContactDwellProvince()); | |
| 162 | + wp.setContactDwellStreet(wr.getContactDwellStreet()); | |
| 163 | + wp.setContactPostpartumArea(wr.getContactPostpartumArea()); | |
| 164 | + wp.setContactPostpartumCity(wr.getContactPostpartumCity()); | |
| 165 | + wp.setContactPostpartumDetail(wr.getContactPostpartumDetail()); | |
| 166 | + wp.setContactPostpartumProvince(wr.getContactPostpartumProvince()); | |
| 167 | + wp.setContactPostpartumStreet(wr.getContactPostpartumStreet()); | |
| 168 | + wp.setContactRegisterArea(wr.getContactRegisterArea()); | |
| 169 | + wp.setContactRegisterCity(wr.getContactRegisterCity()); | |
| 170 | + wp.setContactRegisterDetail(wr.getContactRegisterDetail()); | |
| 171 | + wp.setContactRegisterProvince(wr.getContactRegisterProvince()); | |
| 172 | + wp.setContactRegisterStreet(wr.getContactRegisterStreet()); | |
| 173 | + wp.setContactWomanWay(wr.getContactWomanWay()); | |
| 174 | + wp.setContactWorkAddress(wr.getContactWorkAddress()); | |
| 175 | + return baseMapper.updateById(wp); | |
| 176 | + } | |
| 177 | + | |
| 178 | + /** | |
| 179 | + * <li>@Description:根据证件类型和证件号码获取 | |
| 180 | + * <li>@param cardType 证件类型 | |
| 181 | + * <li>@param cardNum 证件编号 | |
| 182 | + * <li>@return | |
| 183 | + * <li>创建人:方承 | |
| 184 | + * <li>创建时间:2017年3月31日 | |
| 185 | + * <li>修改人: | |
| 186 | + * <li>修改时间: | |
| 187 | + */ | |
| 188 | + private WomanPerson findByCard(String cardType, String cardNum) { | |
| 189 | + EntityWrapper<WomanPerson> ew = new EntityWrapper<WomanPerson>(); | |
| 190 | + ew.where("BASE_PAPERS_TYPE={0}", cardType).and("BASE_PAPERS_NUMBER={0}", cardNum); | |
| 191 | + List<WomanPerson> dataList = baseMapper.selectList(ew); | |
| 192 | + return CollectionUtils.isNotEmpty(dataList) ? dataList.get(0) : null; | |
| 193 | + } | |
| 194 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/woman/impl/WomanRecordServiceImpl.java
View file @
4f17501
| 1 | +package com.lyms.hospital.service.woman.impl; | |
| 2 | + | |
| 3 | +import java.io.Serializable; | |
| 4 | +import java.util.List; | |
| 5 | + | |
| 6 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | +import org.springframework.transaction.annotation.Transactional; | |
| 9 | + | |
| 10 | +import com.baomidou.mybatisplus.mapper.EntityWrapper; | |
| 11 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 12 | +import com.lyms.hospital.dao.woman.WomanRecordMapper; | |
| 13 | +import com.lyms.hospital.entity.history.HistoryMaps; | |
| 14 | +import com.lyms.hospital.entity.woman.WomanRecord; | |
| 15 | +import com.lyms.hospital.service.history.HistoryMapsService; | |
| 16 | +import com.lyms.hospital.service.woman.WomanPersonService; | |
| 17 | +import com.lyms.hospital.service.woman.WomanRecordService; | |
| 18 | +import com.lyms.util.CollectionUtils; | |
| 19 | +import com.lyms.util.StrUtils; | |
| 20 | + | |
| 21 | +/** | |
| 22 | + * <p> | |
| 23 | + * 妇女档案 服务实现类 | |
| 24 | + * </p> | |
| 25 | + * | |
| 26 | + * @author fangcheng | |
| 27 | + * @since 2017-03-31 | |
| 28 | + */ | |
| 29 | +@Service | |
| 30 | +public class WomanRecordServiceImpl extends ServiceImpl<WomanRecordMapper, WomanRecord> implements WomanRecordService { | |
| 31 | + | |
| 32 | + @Autowired | |
| 33 | + private WomanPersonService womanPersonService; | |
| 34 | + @Autowired | |
| 35 | + private HistoryMapsService historyMapsService; | |
| 36 | + | |
| 37 | + public Integer deleteLogicById(Serializable id){ | |
| 38 | + return baseMapper.deleteLogicById(id); | |
| 39 | + } | |
| 40 | + | |
| 41 | + @Override | |
| 42 | + @Transactional | |
| 43 | + public boolean insertbuildRecord(WomanRecord womanRecord,List<HistoryMaps> HistoryMapsList) { | |
| 44 | + womanPersonService.insertOrUpdate(womanRecord); | |
| 45 | + historyMapsService.insertBatch(HistoryMapsList); | |
| 46 | + return insert(womanRecord); | |
| 47 | + } | |
| 48 | + | |
| 49 | + @Override | |
| 50 | + public WomanRecord findByCard(String cardType, String cardNum,String patientNum,String orgid) { | |
| 51 | + EntityWrapper<WomanRecord> ew = new EntityWrapper<WomanRecord>(); | |
| 52 | + if(StrUtils.isNotEmpty(cardType) && StrUtils.isNotEmpty(cardNum)){ | |
| 53 | + ew.where("BASE_PAPERS_TYPE={0}", cardType).and("BASE_PAPERS_NUMBER={0}", cardNum); | |
| 54 | + } | |
| 55 | + if(StrUtils.isNotEmpty(patientNum) && StrUtils.isNotEmpty(orgid)){ | |
| 56 | + ew.where("HOSPITAL_PATIENT_CARD={0}", patientNum).and("hospitalId={0}", orgid); | |
| 57 | + } | |
| 58 | + List<WomanRecord> dataList = baseMapper.selectList(ew); | |
| 59 | + return CollectionUtils.isNotEmpty(dataList) ? dataList.get(0) : null; | |
| 60 | + } | |
| 61 | + | |
| 62 | + @Override | |
| 63 | + @Transactional | |
| 64 | + public boolean updatebuildRecord(WomanRecord womanRecord, List<HistoryMaps> HistoryMapsList) { | |
| 65 | + womanPersonService.insertOrUpdate(womanRecord); | |
| 66 | + historyMapsService.insertHistoryMapsList(womanRecord.getId(), HistoryMapsList); | |
| 67 | + return updateById(womanRecord); | |
| 68 | + } | |
| 69 | + | |
| 70 | +} |