@ -2,6 +2,7 @@ package com.emr.entity;
import java.util.Date;
/**
* oracle,数据交互实体类
* INP_NO,Long VISIT_ID,这两个属性为预留,并没有使用
@ -6,6 +6,7 @@ import java.util.Date;
@Component
public class OracleDateVo {
public Date getFinishedDateTime() {
return finishedDateTime;
}
@ -6,5 +6,6 @@ import java.io.IOException;
public interface FinishedDateTimeService {
OracleDateVo findByID(String INP_NO, String VISIT_ID) throws IOException;
@ -47,6 +47,7 @@ public class FinishedDateTimeServiceImpl implements FinishedDateTimeService {
oracleDateVo.setMrCommitNurseDateTime(result.getMR_COMMIT_NURSE_DATE_TIME());
return oracleDateVo;
return null;
@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.emr.dao.FinishedDateTimeMapper">
<!-- 结果集映射,注意jdbctype -->
<resultMap id="BaseResultMap" type="com.emr.entity.FinishedDateTime">
<result column="INP_NO" property="INP_NO" jdbcType="VARCHAR"/>