You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<?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.docus.bgts.mapper.AfCollectTaskMapper">
|
|
|
|
|
|
|
|
|
|
<select id="listJZHByDate" resultType="string">
|
|
|
|
|
select jzh from docus_medicalrecord.t_basic
|
|
|
|
|
where create_time >=#{date1} and create_time <=#{date2} and jzh is not null and is_archive=0
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="getpatientIdByEmpId" resultType="string">
|
|
|
|
|
select patient_id
|
|
|
|
|
from docus_medicalrecord.t_basic
|
|
|
|
|
where jzh=#{jzh}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="getAssortIdByAssortId" resultType="string">
|
|
|
|
|
select assort_id from zd_assort where assort_id=#{assortId}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="getAssortIdByAssortName" resultType="string">
|
|
|
|
|
select assort_id from zd_assort where assort_name=#{assortName}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<insert id="insertZdAssort">
|
|
|
|
|
insert into zd_assort(assort_id,assort_name,effective) values(#{zdAssort.assortId},#{zdAssort.assortName},#{zdAssort.effective})
|
|
|
|
|
</insert>
|
|
|
|
|
</mapper>
|