21 lines
1.0 KiB
XML
Raw Normal View History

2026-03-10 18:04:19 +08:00
<?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.transitPlatForm.transitPF.mapper.RegRequestInfoMapper">
<select id="queryRegRequestInfo" resultType="com.transitPlatForm.common.core.domain.entity.reg.RegApply">
<![CDATA[select * from reg_apply where OrderTime >= #{begdate} and OrderTime <= #{enddate} ]]>
<if test="patId != null and patId != ''"> and PatId = #{patId}</if>
<if test="brxm != null and brxm != ''">and PatName like '%'+brxm+'%'</if>
<if test="status != null and status != ''">and Status = #{status}</if>
</select>
<select id="queryReqDetail" resultType="com.transitPlatForm.common.core.domain.entity.reg.RegApplyDetail">
select * from reg_apply_detail where applyid = #{applyId}
</select>
<select id="getItemInfo" resultType="com.transitPlatForm.common.core.domain.entity.reg.RegItem">
select * from reg_item where Status = '1'
</select>
</mapper>