From 86e2471a93986ab93dc269a5f027b0ffde9f6a67 Mon Sep 17 00:00:00 2001 From: fangcheng Date: Tue, 28 Mar 2017 13:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E7=AD=9B=E3=80=81=E7=97=85=E5=8F=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dao/filtrate/FiltrateRecordMapper.java | 20 ++ .../hospital/dao/filtrate/FiltrateRecordMapper.xml | 38 +++ .../hospital/dao/history/HistoryMapsMapper.java | 20 ++ .../hospital/dao/history/HistoryMapsMapper.xml | 16 + .../hospital/dao/history/HistorySourceMapper.java | 20 ++ .../hospital/dao/history/HistorySourceMapper.xml | 19 ++ .../hospital/entity/filtrate/FiltrateRecord.java | 349 +++++++++++++++++++++ .../lyms/hospital/entity/history/HistoryMaps.java | 62 ++++ .../hospital/entity/history/HistorySource.java | 101 ++++++ .../service/filtrate/FiltrateRecordService.java | 24 ++ .../filtrate/impl/FiltrateRecordServiceImpl.java | 24 ++ .../service/history/HistoryMapsService.java | 24 ++ .../service/history/HistorySourceService.java | 24 ++ .../history/impl/HistoryMapsServiceImpl.java | 24 ++ .../history/impl/HistorySourceServiceImpl.java | 24 ++ 15 files changed, 789 insertions(+) create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.xml create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.xml create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.xml create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/entity/filtrate/FiltrateRecord.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistoryMaps.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistorySource.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/FiltrateRecordService.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/impl/FiltrateRecordServiceImpl.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistoryMapsService.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistorySourceService.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistoryMapsServiceImpl.java create mode 100644 parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistorySourceServiceImpl.java diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.java new file mode 100644 index 0000000..c765db0 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.java @@ -0,0 +1,20 @@ +package com.lyms.hospital.dao.filtrate; + +import com.lyms.hospital.entity.filtrate.FiltrateRecord; +import com.baomidou.mybatisplus.mapper.BaseMapper; +import org.springframework.stereotype.Repository; +import java.io.Serializable; +/** + *

+ * Mapper接口 + *

+ * + * @author fangcheng + * @since 2017-03-28 + */ +@Repository +public interface FiltrateRecordMapper extends BaseMapper { + + public Integer deleteLogicById(Serializable id); + +} \ No newline at end of file diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.xml b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.xml new file mode 100644 index 0000000..d808919 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/filtrate/FiltrateRecordMapper.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.java new file mode 100644 index 0000000..50d6458 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.java @@ -0,0 +1,20 @@ +package com.lyms.hospital.dao.history; + +import com.lyms.hospital.entity.history.HistoryMaps; +import com.baomidou.mybatisplus.mapper.BaseMapper; +import org.springframework.stereotype.Repository; +import java.io.Serializable; +/** + *

+ * Mapper接口 + *

+ * + * @author fangcheng + * @since 2017-03-28 + */ +@Repository +public interface HistoryMapsMapper extends BaseMapper { + + public Integer deleteLogicById(Serializable id); + +} \ No newline at end of file diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.xml b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.xml new file mode 100644 index 0000000..b5b82f9 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistoryMapsMapper.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + ID AS id, WOMAN_ID AS womanId, SOUCE_ID AS souceId + + diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.java new file mode 100644 index 0000000..92fe2de --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.java @@ -0,0 +1,20 @@ +package com.lyms.hospital.dao.history; + +import com.lyms.hospital.entity.history.HistorySource; +import com.baomidou.mybatisplus.mapper.BaseMapper; +import org.springframework.stereotype.Repository; +import java.io.Serializable; +/** + *

+ * Mapper接口 + *

+ * + * @author fangcheng + * @since 2017-03-28 + */ +@Repository +public interface HistorySourceMapper extends BaseMapper { + + public Integer deleteLogicById(Serializable id); + +} \ No newline at end of file diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.xml b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.xml new file mode 100644 index 0000000..cd62222 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/dao/history/HistorySourceMapper.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + ID AS id, PID AS pid, NAME AS name, TYPE AS type, LEVEL AS level, ENABLE AS enable + + diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/filtrate/FiltrateRecord.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/filtrate/FiltrateRecord.java new file mode 100644 index 0000000..8a60977 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/filtrate/FiltrateRecord.java @@ -0,0 +1,349 @@ +package com.lyms.hospital.entity.filtrate; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; +import java.util.Date; + +/** + *

+ * 产筛档案表 + *

+ * + * @author fangcheng + * @since 2017-03-28 + */ +@TableName("FILTRATE_RECORD") +public class FiltrateRecord implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * + */ + @TableId(value="ID") + private String id; + /** + * + */ + @TableField(value="WOMAN_ID") + private String womanId; + /** + * 产筛状态:未申请产筛、待产筛、产筛中、已产筛、已诊断 + */ + @TableField(value="STATE") + private Integer state; + /** + * 21三体 + */ + @TableField(value="IFCHECK_TWENTYONE") + private Integer ifcheckTwentyone; + /** + * 18三体 + */ + @TableField(value="IFCHECK_EIGHTEEN") + private Integer ifcheckEighteen; + /** + * NTD + */ + @TableField(value="IFCHECK_NTD") + private Integer ifcheckNtd; + /** + * 21三体风险等级 + */ + @TableField(value="LEVEL_TWENTYONE") + private Integer levelTwentyone; + /** + * 18三体风险等级 + */ + @TableField(value="LEVEL_EIGHTEEN") + private Integer levelEighteen; + /** + * NTD风险等级 + */ + @TableField(value="LEVEL_NTD") + private Integer levelNtd; + /** + * 申请-医生指导 + */ + @TableField(value="APPLY_GUIDE") + private String applyGuide; + /** + * 申请-预约时间 + */ + @TableField(value="APPLY_APTIME") + private Date applyAptime; + /** + * 申请-医生ID + */ + @TableField(value="APPLY_DOCTORID") + private String applyDoctorid; + /** + * 产筛-结果评价 + */ + @TableField(value="FILTRATE_LEVEL") + private Integer filtrateLevel; + /** + * 产筛-结果录入人ID + */ + @TableField(value="FILTRATE_DOCTORID") + private String filtrateDoctorid; + /** + * 诊断时间 + */ + @TableField(value="DIAGNOSE_TIME") + private Date diagnoseTime; + /** + * 诊断人 + */ + @TableField(value="DIAGNOSE_DOCTORID") + private String diagnoseDoctorid; + /** + * 诊断单位 + */ + @TableField(value="DIAGNOSE_ORGID") + private String diagnoseOrgid; + /** + * 诊断结果,阴性、阳性 + */ + @TableField(value="DIAGNOSE_RESULT") + private Integer diagnoseResult; + /** + * 妊娠结果,继续妊娠、结束妊娠 + */ + @TableField(value="FETATION_RESULT") + private Integer fetationResult; + /** + * 创建人ID,转入产筛档案表ID + */ + @TableField(value="CREATE_ID") + private String createId; + /** + * 创建时间 + */ + @TableField(value="CREATE_TIME") + private Date createTime; + /** + * + */ + @TableField(value="MODIFY_ID") + private String modifyId; + /** + * + */ + @TableField(value="MODIFY_TIME") + private Date modifyTime; + /** + * + */ + @TableField(value="IFDEL") + private Integer ifdel; + /** + * + */ + @TableField(value="ENABLE") + private Integer enable; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getWomanId() { + return womanId; + } + + public void setWomanId(String womanId) { + this.womanId = womanId; + } + + public Integer getState() { + return state; + } + + public void setState(Integer state) { + this.state = state; + } + + public Integer getIfcheckTwentyone() { + return ifcheckTwentyone; + } + + public void setIfcheckTwentyone(Integer ifcheckTwentyone) { + this.ifcheckTwentyone = ifcheckTwentyone; + } + + public Integer getIfcheckEighteen() { + return ifcheckEighteen; + } + + public void setIfcheckEighteen(Integer ifcheckEighteen) { + this.ifcheckEighteen = ifcheckEighteen; + } + + public Integer getIfcheckNtd() { + return ifcheckNtd; + } + + public void setIfcheckNtd(Integer ifcheckNtd) { + this.ifcheckNtd = ifcheckNtd; + } + + public Integer getLevelTwentyone() { + return levelTwentyone; + } + + public void setLevelTwentyone(Integer levelTwentyone) { + this.levelTwentyone = levelTwentyone; + } + + public Integer getLevelEighteen() { + return levelEighteen; + } + + public void setLevelEighteen(Integer levelEighteen) { + this.levelEighteen = levelEighteen; + } + + public Integer getLevelNtd() { + return levelNtd; + } + + public void setLevelNtd(Integer levelNtd) { + this.levelNtd = levelNtd; + } + + public String getApplyGuide() { + return applyGuide; + } + + public void setApplyGuide(String applyGuide) { + this.applyGuide = applyGuide; + } + + public Date getApplyAptime() { + return applyAptime; + } + + public void setApplyAptime(Date applyAptime) { + this.applyAptime = applyAptime; + } + + public String getApplyDoctorid() { + return applyDoctorid; + } + + public void setApplyDoctorid(String applyDoctorid) { + this.applyDoctorid = applyDoctorid; + } + + public Integer getFiltrateLevel() { + return filtrateLevel; + } + + public void setFiltrateLevel(Integer filtrateLevel) { + this.filtrateLevel = filtrateLevel; + } + + public String getFiltrateDoctorid() { + return filtrateDoctorid; + } + + public void setFiltrateDoctorid(String filtrateDoctorid) { + this.filtrateDoctorid = filtrateDoctorid; + } + + public Date getDiagnoseTime() { + return diagnoseTime; + } + + public void setDiagnoseTime(Date diagnoseTime) { + this.diagnoseTime = diagnoseTime; + } + + public String getDiagnoseDoctorid() { + return diagnoseDoctorid; + } + + public void setDiagnoseDoctorid(String diagnoseDoctorid) { + this.diagnoseDoctorid = diagnoseDoctorid; + } + + public String getDiagnoseOrgid() { + return diagnoseOrgid; + } + + public void setDiagnoseOrgid(String diagnoseOrgid) { + this.diagnoseOrgid = diagnoseOrgid; + } + + public Integer getDiagnoseResult() { + return diagnoseResult; + } + + public void setDiagnoseResult(Integer diagnoseResult) { + this.diagnoseResult = diagnoseResult; + } + + public Integer getFetationResult() { + return fetationResult; + } + + public void setFetationResult(Integer fetationResult) { + this.fetationResult = fetationResult; + } + + public String getCreateId() { + return createId; + } + + public void setCreateId(String createId) { + this.createId = createId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getModifyId() { + return modifyId; + } + + public void setModifyId(String modifyId) { + this.modifyId = modifyId; + } + + public Date getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Date modifyTime) { + this.modifyTime = modifyTime; + } + + public Integer getIfdel() { + return ifdel; + } + + public void setIfdel(Integer ifdel) { + this.ifdel = ifdel; + } + + public Integer getEnable() { + return enable; + } + + public void setEnable(Integer enable) { + this.enable = enable; + } + +} diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistoryMaps.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistoryMaps.java new file mode 100644 index 0000000..ba60c3d --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistoryMaps.java @@ -0,0 +1,62 @@ +package com.lyms.hospital.entity.history; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; + +/** + *

+ * 病史信息记录表 + *

+ * + * @author fangcheng + * @since 2017-03-28 + */ +@TableName("HISTORY_MAPS") +public class HistoryMaps implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * + */ + @TableId(value="ID") + private String id; + /** + * + */ + @TableField(value="WOMAN_ID") + private String womanId; + /** + * 病史项资源表ID + */ + @TableField(value="SOUCE_ID") + private String souceId; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getWomanId() { + return womanId; + } + + public void setWomanId(String womanId) { + this.womanId = womanId; + } + + public String getSouceId() { + return souceId; + } + + public void setSouceId(String souceId) { + this.souceId = souceId; + } + +} diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistorySource.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistorySource.java new file mode 100644 index 0000000..350f614 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/entity/history/HistorySource.java @@ -0,0 +1,101 @@ +package com.lyms.hospital.entity.history; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; + +/** + *

+ * 病史项定义资源表 + *

+ * + * @author fangcheng + * @since 2017-03-28 + */ +@TableName("HISTORY_SOURCE") +public class HistorySource implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * + */ + @TableId(value="ID") + private String id; + /** + * 本表上级ID + */ + @TableField(value="PID") + private String pid; + /** + * 病史项名称 + */ + @TableField(value="NAME") + private String name; + /** + * 既往史、家族史、个人史 + */ + @TableField(value="TYPE") + private String type; + /** + * 本记录层级,1,2,3 + */ + @TableField(value="LEVEL") + private String level; + /** + * 是否启用,默认1启用 + */ + @TableField(value="ENABLE") + private String enable; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getPid() { + return pid; + } + + public void setPid(String pid) { + this.pid = pid; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + public String getEnable() { + return enable; + } + + public void setEnable(String enable) { + this.enable = enable; + } + +} diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/FiltrateRecordService.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/FiltrateRecordService.java new file mode 100644 index 0000000..ef8643b --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/FiltrateRecordService.java @@ -0,0 +1,24 @@ +package com.lyms.hospital.service.filtrate; + +import com.lyms.hospital.entity.filtrate.FiltrateRecord; +import com.lyms.web.service.BaseService; +import java.io.Serializable; + +/** + *

+ * 服务类 + *

+ * + * @author fangcheng + * @since 2017-03-28 + */ +public interface FiltrateRecordService extends BaseService { + + /** + *
  • @Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 + *
  • @param id 删除主键id + *
  • @return 大于0修改成功,否则为失败 + */ + public Integer deleteLogicById(Serializable id); + +} diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/impl/FiltrateRecordServiceImpl.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/impl/FiltrateRecordServiceImpl.java new file mode 100644 index 0000000..5782630 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/filtrate/impl/FiltrateRecordServiceImpl.java @@ -0,0 +1,24 @@ +package com.lyms.hospital.service.filtrate.impl; + +import com.lyms.hospital.entity.filtrate.FiltrateRecord; +import com.lyms.hospital.dao.filtrate.FiltrateRecordMapper; +import com.lyms.hospital.service.filtrate.FiltrateRecordService; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; +import java.io.Serializable; + +/** + *

    + * 产筛档案表 服务实现类 + *

    + * + * @author fangcheng + * @since 2017-03-28 + */ +@Service +public class FiltrateRecordServiceImpl extends ServiceImpl implements FiltrateRecordService { + + public Integer deleteLogicById(Serializable id){ + return baseMapper.deleteLogicById(id); + } +} diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistoryMapsService.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistoryMapsService.java new file mode 100644 index 0000000..f44dfbc --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistoryMapsService.java @@ -0,0 +1,24 @@ +package com.lyms.hospital.service.history; + +import com.lyms.hospital.entity.history.HistoryMaps; +import com.lyms.web.service.BaseService; +import java.io.Serializable; + +/** + *

    + * 服务类 + *

    + * + * @author fangcheng + * @since 2017-03-28 + */ +public interface HistoryMapsService extends BaseService { + + /** + *
  • @Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 + *
  • @param id 删除主键id + *
  • @return 大于0修改成功,否则为失败 + */ + public Integer deleteLogicById(Serializable id); + +} diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistorySourceService.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistorySourceService.java new file mode 100644 index 0000000..730c9ad --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/HistorySourceService.java @@ -0,0 +1,24 @@ +package com.lyms.hospital.service.history; + +import com.lyms.hospital.entity.history.HistorySource; +import com.lyms.web.service.BaseService; +import java.io.Serializable; + +/** + *

    + * 服务类 + *

    + * + * @author fangcheng + * @since 2017-03-28 + */ +public interface HistorySourceService extends BaseService { + + /** + *
  • @Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 + *
  • @param id 删除主键id + *
  • @return 大于0修改成功,否则为失败 + */ + public Integer deleteLogicById(Serializable id); + +} diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistoryMapsServiceImpl.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistoryMapsServiceImpl.java new file mode 100644 index 0000000..9bbb132 --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistoryMapsServiceImpl.java @@ -0,0 +1,24 @@ +package com.lyms.hospital.service.history.impl; + +import com.lyms.hospital.entity.history.HistoryMaps; +import com.lyms.hospital.dao.history.HistoryMapsMapper; +import com.lyms.hospital.service.history.HistoryMapsService; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; +import java.io.Serializable; + +/** + *

    + * 病史信息记录表 服务实现类 + *

    + * + * @author fangcheng + * @since 2017-03-28 + */ +@Service +public class HistoryMapsServiceImpl extends ServiceImpl implements HistoryMapsService { + + public Integer deleteLogicById(Serializable id){ + return baseMapper.deleteLogicById(id); + } +} diff --git a/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistorySourceServiceImpl.java b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistorySourceServiceImpl.java new file mode 100644 index 0000000..ebe346b --- /dev/null +++ b/parent/hospital.mac/src/main/java/com/lyms/hospital/service/history/impl/HistorySourceServiceImpl.java @@ -0,0 +1,24 @@ +package com.lyms.hospital.service.history.impl; + +import com.lyms.hospital.entity.history.HistorySource; +import com.lyms.hospital.dao.history.HistorySourceMapper; +import com.lyms.hospital.service.history.HistorySourceService; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; +import java.io.Serializable; + +/** + *

    + * 病史项定义资源表 服务实现类 + *

    + * + * @author fangcheng + * @since 2017-03-28 + */ +@Service +public class HistorySourceServiceImpl extends ServiceImpl implements HistorySourceService { + + public Integer deleteLogicById(Serializable id){ + return baseMapper.deleteLogicById(id); + } +} -- 1.8.3.1