Commit 86e2471a93986ab93dc269a5f027b0ffde9f6a67
1 parent
d5d2afb21f
Exists in
master
产筛、病史
Showing 15 changed files with 789 additions and 0 deletions
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.xml
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/filtrate/FiltrateRecord.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistoryMaps.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistorySource.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/FiltrateRecordService.java
- parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/impl/FiltrateRecordServiceImpl.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/HistorySourceService.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/history/impl/HistorySourceServiceImpl.java
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.java
View file @
86e2471
| 1 | +package com.lyms.hospital.dao.filtrate; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.filtrate.FiltrateRecord; | |
| 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-28 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface FiltrateRecordMapper extends BaseMapper<FiltrateRecord> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.xml
View file @
86e2471
| 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.filtrate.FiltrateRecordMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.filtrate.FiltrateRecord"> | |
| 7 | + <id column="ID" property="id" /> | |
| 8 | + <result column="WOMAN_ID" property="womanId" /> | |
| 9 | + <result column="STATE" property="state" /> | |
| 10 | + <result column="IFCHECK_TWENTYONE" property="ifcheckTwentyone" /> | |
| 11 | + <result column="IFCHECK_EIGHTEEN" property="ifcheckEighteen" /> | |
| 12 | + <result column="IFCHECK_NTD" property="ifcheckNtd" /> | |
| 13 | + <result column="LEVEL_TWENTYONE" property="levelTwentyone" /> | |
| 14 | + <result column="LEVEL_EIGHTEEN" property="levelEighteen" /> | |
| 15 | + <result column="LEVEL_NTD" property="levelNtd" /> | |
| 16 | + <result column="APPLY_GUIDE" property="applyGuide" /> | |
| 17 | + <result column="APPLY_APTIME" property="applyAptime" /> | |
| 18 | + <result column="APPLY_DOCTORID" property="applyDoctorid" /> | |
| 19 | + <result column="FILTRATE_LEVEL" property="filtrateLevel" /> | |
| 20 | + <result column="FILTRATE_DOCTORID" property="filtrateDoctorid" /> | |
| 21 | + <result column="DIAGNOSE_TIME" property="diagnoseTime" /> | |
| 22 | + <result column="DIAGNOSE_DOCTORID" property="diagnoseDoctorid" /> | |
| 23 | + <result column="DIAGNOSE_ORGID" property="diagnoseOrgid" /> | |
| 24 | + <result column="DIAGNOSE_RESULT" property="diagnoseResult" /> | |
| 25 | + <result column="FETATION_RESULT" property="fetationResult" /> | |
| 26 | + <result column="CREATE_ID" property="createId" /> | |
| 27 | + <result column="CREATE_TIME" property="createTime" /> | |
| 28 | + <result column="MODIFY_ID" property="modifyId" /> | |
| 29 | + <result column="MODIFY_TIME" property="modifyTime" /> | |
| 30 | + <result column="IFDEL" property="ifdel" /> | |
| 31 | + <result column="ENABLE" property="enable" /> | |
| 32 | + </resultMap> | |
| 33 | + | |
| 34 | + <!-- 通用查询结果列 --> | |
| 35 | + <sql id="Base_Column_List"> | |
| 36 | + ID AS id, WOMAN_ID AS womanId, STATE AS state, IFCHECK_TWENTYONE AS ifcheckTwentyone, IFCHECK_EIGHTEEN AS ifcheckEighteen, IFCHECK_NTD AS ifcheckNtd, LEVEL_TWENTYONE AS levelTwentyone, LEVEL_EIGHTEEN AS levelEighteen, LEVEL_NTD AS levelNtd, APPLY_GUIDE AS applyGuide, APPLY_APTIME AS applyAptime, APPLY_DOCTORID AS applyDoctorid, FILTRATE_LEVEL AS filtrateLevel, FILTRATE_DOCTORID AS filtrateDoctorid, DIAGNOSE_TIME AS diagnoseTime, DIAGNOSE_DOCTORID AS diagnoseDoctorid, DIAGNOSE_ORGID AS diagnoseOrgid, DIAGNOSE_RESULT AS diagnoseResult, FETATION_RESULT AS fetationResult, CREATE_ID AS createId, CREATE_TIME AS createTime, MODIFY_ID AS modifyId, MODIFY_TIME AS modifyTime, IFDEL AS ifdel, ENABLE AS enable | |
| 37 | + </sql> | |
| 38 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.java
View file @
86e2471
| 1 | +package com.lyms.hospital.dao.history; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.history.HistoryMaps; | |
| 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-28 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface HistoryMapsMapper extends BaseMapper<HistoryMaps> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.xml
View file @
86e2471
| 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.history.HistoryMapsMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.history.HistoryMaps"> | |
| 7 | + <result column="ID" property="id" /> | |
| 8 | + <result column="WOMAN_ID" property="womanId" /> | |
| 9 | + <result column="SOUCE_ID" property="souceId" /> | |
| 10 | + </resultMap> | |
| 11 | + | |
| 12 | + <!-- 通用查询结果列 --> | |
| 13 | + <sql id="Base_Column_List"> | |
| 14 | + ID AS id, WOMAN_ID AS womanId, SOUCE_ID AS souceId | |
| 15 | + </sql> | |
| 16 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.java
View file @
86e2471
| 1 | +package com.lyms.hospital.dao.history; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.history.HistorySource; | |
| 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-28 | |
| 14 | + */ | |
| 15 | +@Repository | |
| 16 | +public interface HistorySourceMapper extends BaseMapper<HistorySource> { | |
| 17 | + | |
| 18 | + public Integer deleteLogicById(Serializable id); | |
| 19 | + | |
| 20 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.xml
View file @
86e2471
| 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.history.HistorySourceMapper"> | |
| 4 | + | |
| 5 | + <!-- 通用查询映射结果 --> | |
| 6 | + <resultMap id="BaseResultMap" type="com.lyms.hospital.entity.history.HistorySource"> | |
| 7 | + <result column="ID" property="id" /> | |
| 8 | + <result column="PID" property="pid" /> | |
| 9 | + <result column="NAME" property="name" /> | |
| 10 | + <result column="TYPE" property="type" /> | |
| 11 | + <result column="LEVEL" property="level" /> | |
| 12 | + <result column="ENABLE" property="enable" /> | |
| 13 | + </resultMap> | |
| 14 | + | |
| 15 | + <!-- 通用查询结果列 --> | |
| 16 | + <sql id="Base_Column_List"> | |
| 17 | + ID AS id, PID AS pid, NAME AS name, TYPE AS type, LEVEL AS level, ENABLE AS enable | |
| 18 | + </sql> | |
| 19 | +</mapper> |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/filtrate/FiltrateRecord.java
View file @
86e2471
| 1 | +package com.lyms.hospital.entity.filtrate; | |
| 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-28 | |
| 16 | + */ | |
| 17 | +@TableName("FILTRATE_RECORD") | |
| 18 | +public class FiltrateRecord 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="WOMAN_ID") | |
| 31 | + private String womanId; | |
| 32 | + /** | |
| 33 | + * 产筛状态:未申请产筛、待产筛、产筛中、已产筛、已诊断 | |
| 34 | + */ | |
| 35 | + @TableField(value="STATE") | |
| 36 | + private Integer state; | |
| 37 | + /** | |
| 38 | + * 21三体 | |
| 39 | + */ | |
| 40 | + @TableField(value="IFCHECK_TWENTYONE") | |
| 41 | + private Integer ifcheckTwentyone; | |
| 42 | + /** | |
| 43 | + * 18三体 | |
| 44 | + */ | |
| 45 | + @TableField(value="IFCHECK_EIGHTEEN") | |
| 46 | + private Integer ifcheckEighteen; | |
| 47 | + /** | |
| 48 | + * NTD | |
| 49 | + */ | |
| 50 | + @TableField(value="IFCHECK_NTD") | |
| 51 | + private Integer ifcheckNtd; | |
| 52 | + /** | |
| 53 | + * 21三体风险等级 | |
| 54 | + */ | |
| 55 | + @TableField(value="LEVEL_TWENTYONE") | |
| 56 | + private Integer levelTwentyone; | |
| 57 | + /** | |
| 58 | + * 18三体风险等级 | |
| 59 | + */ | |
| 60 | + @TableField(value="LEVEL_EIGHTEEN") | |
| 61 | + private Integer levelEighteen; | |
| 62 | + /** | |
| 63 | + * NTD风险等级 | |
| 64 | + */ | |
| 65 | + @TableField(value="LEVEL_NTD") | |
| 66 | + private Integer levelNtd; | |
| 67 | + /** | |
| 68 | + * 申请-医生指导 | |
| 69 | + */ | |
| 70 | + @TableField(value="APPLY_GUIDE") | |
| 71 | + private String applyGuide; | |
| 72 | + /** | |
| 73 | + * 申请-预约时间 | |
| 74 | + */ | |
| 75 | + @TableField(value="APPLY_APTIME") | |
| 76 | + private Date applyAptime; | |
| 77 | + /** | |
| 78 | + * 申请-医生ID | |
| 79 | + */ | |
| 80 | + @TableField(value="APPLY_DOCTORID") | |
| 81 | + private String applyDoctorid; | |
| 82 | + /** | |
| 83 | + * 产筛-结果评价 | |
| 84 | + */ | |
| 85 | + @TableField(value="FILTRATE_LEVEL") | |
| 86 | + private Integer filtrateLevel; | |
| 87 | + /** | |
| 88 | + * 产筛-结果录入人ID | |
| 89 | + */ | |
| 90 | + @TableField(value="FILTRATE_DOCTORID") | |
| 91 | + private String filtrateDoctorid; | |
| 92 | + /** | |
| 93 | + * 诊断时间 | |
| 94 | + */ | |
| 95 | + @TableField(value="DIAGNOSE_TIME") | |
| 96 | + private Date diagnoseTime; | |
| 97 | + /** | |
| 98 | + * 诊断人 | |
| 99 | + */ | |
| 100 | + @TableField(value="DIAGNOSE_DOCTORID") | |
| 101 | + private String diagnoseDoctorid; | |
| 102 | + /** | |
| 103 | + * 诊断单位 | |
| 104 | + */ | |
| 105 | + @TableField(value="DIAGNOSE_ORGID") | |
| 106 | + private String diagnoseOrgid; | |
| 107 | + /** | |
| 108 | + * 诊断结果,阴性、阳性 | |
| 109 | + */ | |
| 110 | + @TableField(value="DIAGNOSE_RESULT") | |
| 111 | + private Integer diagnoseResult; | |
| 112 | + /** | |
| 113 | + * 妊娠结果,继续妊娠、结束妊娠 | |
| 114 | + */ | |
| 115 | + @TableField(value="FETATION_RESULT") | |
| 116 | + private Integer fetationResult; | |
| 117 | + /** | |
| 118 | + * 创建人ID,转入产筛档案表ID | |
| 119 | + */ | |
| 120 | + @TableField(value="CREATE_ID") | |
| 121 | + private String createId; | |
| 122 | + /** | |
| 123 | + * 创建时间 | |
| 124 | + */ | |
| 125 | + @TableField(value="CREATE_TIME") | |
| 126 | + private Date createTime; | |
| 127 | + /** | |
| 128 | + * | |
| 129 | + */ | |
| 130 | + @TableField(value="MODIFY_ID") | |
| 131 | + private String modifyId; | |
| 132 | + /** | |
| 133 | + * | |
| 134 | + */ | |
| 135 | + @TableField(value="MODIFY_TIME") | |
| 136 | + private Date modifyTime; | |
| 137 | + /** | |
| 138 | + * | |
| 139 | + */ | |
| 140 | + @TableField(value="IFDEL") | |
| 141 | + private Integer ifdel; | |
| 142 | + /** | |
| 143 | + * | |
| 144 | + */ | |
| 145 | + @TableField(value="ENABLE") | |
| 146 | + private Integer enable; | |
| 147 | + | |
| 148 | + | |
| 149 | + public String getId() { | |
| 150 | + return id; | |
| 151 | + } | |
| 152 | + | |
| 153 | + public void setId(String id) { | |
| 154 | + this.id = id; | |
| 155 | + } | |
| 156 | + | |
| 157 | + public String getWomanId() { | |
| 158 | + return womanId; | |
| 159 | + } | |
| 160 | + | |
| 161 | + public void setWomanId(String womanId) { | |
| 162 | + this.womanId = womanId; | |
| 163 | + } | |
| 164 | + | |
| 165 | + public Integer getState() { | |
| 166 | + return state; | |
| 167 | + } | |
| 168 | + | |
| 169 | + public void setState(Integer state) { | |
| 170 | + this.state = state; | |
| 171 | + } | |
| 172 | + | |
| 173 | + public Integer getIfcheckTwentyone() { | |
| 174 | + return ifcheckTwentyone; | |
| 175 | + } | |
| 176 | + | |
| 177 | + public void setIfcheckTwentyone(Integer ifcheckTwentyone) { | |
| 178 | + this.ifcheckTwentyone = ifcheckTwentyone; | |
| 179 | + } | |
| 180 | + | |
| 181 | + public Integer getIfcheckEighteen() { | |
| 182 | + return ifcheckEighteen; | |
| 183 | + } | |
| 184 | + | |
| 185 | + public void setIfcheckEighteen(Integer ifcheckEighteen) { | |
| 186 | + this.ifcheckEighteen = ifcheckEighteen; | |
| 187 | + } | |
| 188 | + | |
| 189 | + public Integer getIfcheckNtd() { | |
| 190 | + return ifcheckNtd; | |
| 191 | + } | |
| 192 | + | |
| 193 | + public void setIfcheckNtd(Integer ifcheckNtd) { | |
| 194 | + this.ifcheckNtd = ifcheckNtd; | |
| 195 | + } | |
| 196 | + | |
| 197 | + public Integer getLevelTwentyone() { | |
| 198 | + return levelTwentyone; | |
| 199 | + } | |
| 200 | + | |
| 201 | + public void setLevelTwentyone(Integer levelTwentyone) { | |
| 202 | + this.levelTwentyone = levelTwentyone; | |
| 203 | + } | |
| 204 | + | |
| 205 | + public Integer getLevelEighteen() { | |
| 206 | + return levelEighteen; | |
| 207 | + } | |
| 208 | + | |
| 209 | + public void setLevelEighteen(Integer levelEighteen) { | |
| 210 | + this.levelEighteen = levelEighteen; | |
| 211 | + } | |
| 212 | + | |
| 213 | + public Integer getLevelNtd() { | |
| 214 | + return levelNtd; | |
| 215 | + } | |
| 216 | + | |
| 217 | + public void setLevelNtd(Integer levelNtd) { | |
| 218 | + this.levelNtd = levelNtd; | |
| 219 | + } | |
| 220 | + | |
| 221 | + public String getApplyGuide() { | |
| 222 | + return applyGuide; | |
| 223 | + } | |
| 224 | + | |
| 225 | + public void setApplyGuide(String applyGuide) { | |
| 226 | + this.applyGuide = applyGuide; | |
| 227 | + } | |
| 228 | + | |
| 229 | + public Date getApplyAptime() { | |
| 230 | + return applyAptime; | |
| 231 | + } | |
| 232 | + | |
| 233 | + public void setApplyAptime(Date applyAptime) { | |
| 234 | + this.applyAptime = applyAptime; | |
| 235 | + } | |
| 236 | + | |
| 237 | + public String getApplyDoctorid() { | |
| 238 | + return applyDoctorid; | |
| 239 | + } | |
| 240 | + | |
| 241 | + public void setApplyDoctorid(String applyDoctorid) { | |
| 242 | + this.applyDoctorid = applyDoctorid; | |
| 243 | + } | |
| 244 | + | |
| 245 | + public Integer getFiltrateLevel() { | |
| 246 | + return filtrateLevel; | |
| 247 | + } | |
| 248 | + | |
| 249 | + public void setFiltrateLevel(Integer filtrateLevel) { | |
| 250 | + this.filtrateLevel = filtrateLevel; | |
| 251 | + } | |
| 252 | + | |
| 253 | + public String getFiltrateDoctorid() { | |
| 254 | + return filtrateDoctorid; | |
| 255 | + } | |
| 256 | + | |
| 257 | + public void setFiltrateDoctorid(String filtrateDoctorid) { | |
| 258 | + this.filtrateDoctorid = filtrateDoctorid; | |
| 259 | + } | |
| 260 | + | |
| 261 | + public Date getDiagnoseTime() { | |
| 262 | + return diagnoseTime; | |
| 263 | + } | |
| 264 | + | |
| 265 | + public void setDiagnoseTime(Date diagnoseTime) { | |
| 266 | + this.diagnoseTime = diagnoseTime; | |
| 267 | + } | |
| 268 | + | |
| 269 | + public String getDiagnoseDoctorid() { | |
| 270 | + return diagnoseDoctorid; | |
| 271 | + } | |
| 272 | + | |
| 273 | + public void setDiagnoseDoctorid(String diagnoseDoctorid) { | |
| 274 | + this.diagnoseDoctorid = diagnoseDoctorid; | |
| 275 | + } | |
| 276 | + | |
| 277 | + public String getDiagnoseOrgid() { | |
| 278 | + return diagnoseOrgid; | |
| 279 | + } | |
| 280 | + | |
| 281 | + public void setDiagnoseOrgid(String diagnoseOrgid) { | |
| 282 | + this.diagnoseOrgid = diagnoseOrgid; | |
| 283 | + } | |
| 284 | + | |
| 285 | + public Integer getDiagnoseResult() { | |
| 286 | + return diagnoseResult; | |
| 287 | + } | |
| 288 | + | |
| 289 | + public void setDiagnoseResult(Integer diagnoseResult) { | |
| 290 | + this.diagnoseResult = diagnoseResult; | |
| 291 | + } | |
| 292 | + | |
| 293 | + public Integer getFetationResult() { | |
| 294 | + return fetationResult; | |
| 295 | + } | |
| 296 | + | |
| 297 | + public void setFetationResult(Integer fetationResult) { | |
| 298 | + this.fetationResult = fetationResult; | |
| 299 | + } | |
| 300 | + | |
| 301 | + public String getCreateId() { | |
| 302 | + return createId; | |
| 303 | + } | |
| 304 | + | |
| 305 | + public void setCreateId(String createId) { | |
| 306 | + this.createId = createId; | |
| 307 | + } | |
| 308 | + | |
| 309 | + public Date getCreateTime() { | |
| 310 | + return createTime; | |
| 311 | + } | |
| 312 | + | |
| 313 | + public void setCreateTime(Date createTime) { | |
| 314 | + this.createTime = createTime; | |
| 315 | + } | |
| 316 | + | |
| 317 | + public String getModifyId() { | |
| 318 | + return modifyId; | |
| 319 | + } | |
| 320 | + | |
| 321 | + public void setModifyId(String modifyId) { | |
| 322 | + this.modifyId = modifyId; | |
| 323 | + } | |
| 324 | + | |
| 325 | + public Date getModifyTime() { | |
| 326 | + return modifyTime; | |
| 327 | + } | |
| 328 | + | |
| 329 | + public void setModifyTime(Date modifyTime) { | |
| 330 | + this.modifyTime = modifyTime; | |
| 331 | + } | |
| 332 | + | |
| 333 | + public Integer getIfdel() { | |
| 334 | + return ifdel; | |
| 335 | + } | |
| 336 | + | |
| 337 | + public void setIfdel(Integer ifdel) { | |
| 338 | + this.ifdel = ifdel; | |
| 339 | + } | |
| 340 | + | |
| 341 | + public Integer getEnable() { | |
| 342 | + return enable; | |
| 343 | + } | |
| 344 | + | |
| 345 | + public void setEnable(Integer enable) { | |
| 346 | + this.enable = enable; | |
| 347 | + } | |
| 348 | + | |
| 349 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistoryMaps.java
View file @
86e2471
| 1 | +package com.lyms.hospital.entity.history; | |
| 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 | + | |
| 8 | +/** | |
| 9 | + * <p> | |
| 10 | + * 病史信息记录表 | |
| 11 | + * </p> | |
| 12 | + * | |
| 13 | + * @author fangcheng | |
| 14 | + * @since 2017-03-28 | |
| 15 | + */ | |
| 16 | +@TableName("HISTORY_MAPS") | |
| 17 | +public class HistoryMaps implements Serializable { | |
| 18 | + | |
| 19 | + private static final long serialVersionUID = 1L; | |
| 20 | + | |
| 21 | + /** | |
| 22 | + * | |
| 23 | + */ | |
| 24 | + @TableId(value="ID") | |
| 25 | + private String id; | |
| 26 | + /** | |
| 27 | + * | |
| 28 | + */ | |
| 29 | + @TableField(value="WOMAN_ID") | |
| 30 | + private String womanId; | |
| 31 | + /** | |
| 32 | + * 病史项资源表ID | |
| 33 | + */ | |
| 34 | + @TableField(value="SOUCE_ID") | |
| 35 | + private String souceId; | |
| 36 | + | |
| 37 | + | |
| 38 | + public String getId() { | |
| 39 | + return id; | |
| 40 | + } | |
| 41 | + | |
| 42 | + public void setId(String id) { | |
| 43 | + this.id = id; | |
| 44 | + } | |
| 45 | + | |
| 46 | + public String getWomanId() { | |
| 47 | + return womanId; | |
| 48 | + } | |
| 49 | + | |
| 50 | + public void setWomanId(String womanId) { | |
| 51 | + this.womanId = womanId; | |
| 52 | + } | |
| 53 | + | |
| 54 | + public String getSouceId() { | |
| 55 | + return souceId; | |
| 56 | + } | |
| 57 | + | |
| 58 | + public void setSouceId(String souceId) { | |
| 59 | + this.souceId = souceId; | |
| 60 | + } | |
| 61 | + | |
| 62 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistorySource.java
View file @
86e2471
| 1 | +package com.lyms.hospital.entity.history; | |
| 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 | + | |
| 8 | +/** | |
| 9 | + * <p> | |
| 10 | + * 病史项定义资源表 | |
| 11 | + * </p> | |
| 12 | + * | |
| 13 | + * @author fangcheng | |
| 14 | + * @since 2017-03-28 | |
| 15 | + */ | |
| 16 | +@TableName("HISTORY_SOURCE") | |
| 17 | +public class HistorySource implements Serializable { | |
| 18 | + | |
| 19 | + private static final long serialVersionUID = 1L; | |
| 20 | + | |
| 21 | + /** | |
| 22 | + * | |
| 23 | + */ | |
| 24 | + @TableId(value="ID") | |
| 25 | + private String id; | |
| 26 | + /** | |
| 27 | + * 本表上级ID | |
| 28 | + */ | |
| 29 | + @TableField(value="PID") | |
| 30 | + private String pid; | |
| 31 | + /** | |
| 32 | + * 病史项名称 | |
| 33 | + */ | |
| 34 | + @TableField(value="NAME") | |
| 35 | + private String name; | |
| 36 | + /** | |
| 37 | + * 既往史、家族史、个人史 | |
| 38 | + */ | |
| 39 | + @TableField(value="TYPE") | |
| 40 | + private String type; | |
| 41 | + /** | |
| 42 | + * 本记录层级,1,2,3 | |
| 43 | + */ | |
| 44 | + @TableField(value="LEVEL") | |
| 45 | + private String level; | |
| 46 | + /** | |
| 47 | + * 是否启用,默认1启用 | |
| 48 | + */ | |
| 49 | + @TableField(value="ENABLE") | |
| 50 | + private String enable; | |
| 51 | + | |
| 52 | + | |
| 53 | + public String getId() { | |
| 54 | + return id; | |
| 55 | + } | |
| 56 | + | |
| 57 | + public void setId(String id) { | |
| 58 | + this.id = id; | |
| 59 | + } | |
| 60 | + | |
| 61 | + public String getPid() { | |
| 62 | + return pid; | |
| 63 | + } | |
| 64 | + | |
| 65 | + public void setPid(String pid) { | |
| 66 | + this.pid = pid; | |
| 67 | + } | |
| 68 | + | |
| 69 | + public String getName() { | |
| 70 | + return name; | |
| 71 | + } | |
| 72 | + | |
| 73 | + public void setName(String name) { | |
| 74 | + this.name = name; | |
| 75 | + } | |
| 76 | + | |
| 77 | + public String getType() { | |
| 78 | + return type; | |
| 79 | + } | |
| 80 | + | |
| 81 | + public void setType(String type) { | |
| 82 | + this.type = type; | |
| 83 | + } | |
| 84 | + | |
| 85 | + public String getLevel() { | |
| 86 | + return level; | |
| 87 | + } | |
| 88 | + | |
| 89 | + public void setLevel(String level) { | |
| 90 | + this.level = level; | |
| 91 | + } | |
| 92 | + | |
| 93 | + public String getEnable() { | |
| 94 | + return enable; | |
| 95 | + } | |
| 96 | + | |
| 97 | + public void setEnable(String enable) { | |
| 98 | + this.enable = enable; | |
| 99 | + } | |
| 100 | + | |
| 101 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/FiltrateRecordService.java
View file @
86e2471
| 1 | +package com.lyms.hospital.service.filtrate; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.filtrate.FiltrateRecord; | |
| 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-28 | |
| 14 | + */ | |
| 15 | +public interface FiltrateRecordService extends BaseService<FiltrateRecord> { | |
| 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 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/impl/FiltrateRecordServiceImpl.java
View file @
86e2471
| 1 | +package com.lyms.hospital.service.filtrate.impl; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.filtrate.FiltrateRecord; | |
| 4 | +import com.lyms.hospital.dao.filtrate.FiltrateRecordMapper; | |
| 5 | +import com.lyms.hospital.service.filtrate.FiltrateRecordService; | |
| 6 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | +import java.io.Serializable; | |
| 9 | + | |
| 10 | +/** | |
| 11 | + * <p> | |
| 12 | + * 产筛档案表 服务实现类 | |
| 13 | + * </p> | |
| 14 | + * | |
| 15 | + * @author fangcheng | |
| 16 | + * @since 2017-03-28 | |
| 17 | + */ | |
| 18 | +@Service | |
| 19 | +public class FiltrateRecordServiceImpl extends ServiceImpl<FiltrateRecordMapper, FiltrateRecord> implements FiltrateRecordService { | |
| 20 | + | |
| 21 | + public Integer deleteLogicById(Serializable id){ | |
| 22 | + return baseMapper.deleteLogicById(id); | |
| 23 | + } | |
| 24 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistoryMapsService.java
View file @
86e2471
| 1 | +package com.lyms.hospital.service.history; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.history.HistoryMaps; | |
| 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-28 | |
| 14 | + */ | |
| 15 | +public interface HistoryMapsService extends BaseService<HistoryMaps> { | |
| 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 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistorySourceService.java
View file @
86e2471
| 1 | +package com.lyms.hospital.service.history; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.history.HistorySource; | |
| 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-28 | |
| 14 | + */ | |
| 15 | +public interface HistorySourceService extends BaseService<HistorySource> { | |
| 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 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistoryMapsServiceImpl.java
View file @
86e2471
| 1 | +package com.lyms.hospital.service.history.impl; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.history.HistoryMaps; | |
| 4 | +import com.lyms.hospital.dao.history.HistoryMapsMapper; | |
| 5 | +import com.lyms.hospital.service.history.HistoryMapsService; | |
| 6 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | +import java.io.Serializable; | |
| 9 | + | |
| 10 | +/** | |
| 11 | + * <p> | |
| 12 | + * 病史信息记录表 服务实现类 | |
| 13 | + * </p> | |
| 14 | + * | |
| 15 | + * @author fangcheng | |
| 16 | + * @since 2017-03-28 | |
| 17 | + */ | |
| 18 | +@Service | |
| 19 | +public class HistoryMapsServiceImpl extends ServiceImpl<HistoryMapsMapper, HistoryMaps> implements HistoryMapsService { | |
| 20 | + | |
| 21 | + public Integer deleteLogicById(Serializable id){ | |
| 22 | + return baseMapper.deleteLogicById(id); | |
| 23 | + } | |
| 24 | +} |
parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistorySourceServiceImpl.java
View file @
86e2471
| 1 | +package com.lyms.hospital.service.history.impl; | |
| 2 | + | |
| 3 | +import com.lyms.hospital.entity.history.HistorySource; | |
| 4 | +import com.lyms.hospital.dao.history.HistorySourceMapper; | |
| 5 | +import com.lyms.hospital.service.history.HistorySourceService; | |
| 6 | +import com.baomidou.mybatisplus.service.impl.ServiceImpl; | |
| 7 | +import org.springframework.stereotype.Service; | |
| 8 | +import java.io.Serializable; | |
| 9 | + | |
| 10 | +/** | |
| 11 | + * <p> | |
| 12 | + * 病史项定义资源表 服务实现类 | |
| 13 | + * </p> | |
| 14 | + * | |
| 15 | + * @author fangcheng | |
| 16 | + * @since 2017-03-28 | |
| 17 | + */ | |
| 18 | +@Service | |
| 19 | +public class HistorySourceServiceImpl extends ServiceImpl<HistorySourceMapper, HistorySource> implements HistorySourceService { | |
| 20 | + | |
| 21 | + public Integer deleteLogicById(Serializable id){ | |
| 22 | + return baseMapper.deleteLogicById(id); | |
| 23 | + } | |
| 24 | +} |