住院条码查询

This commit is contained in:
jiangs 2025-11-18 15:09:32 +08:00
parent f60612abbd
commit b59d8524a9

View File

@ -29,9 +29,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="et != null"><!-- 结束时间检索 --> <if test="et != null"><!-- 结束时间检索 -->
AND a.sqsj &lt;= CONVERT(varchar(100), #{et}, 120) AND a.sqsj &lt;= CONVERT(varchar(100), #{et}, 120)
</if> </if>
<if test="queryType == 'brdh'"> and brdh = #{queryValue}</if> <if test="queryType == 'brdh'"> and a.brdh = #{queryValue}</if>
<if test="queryType == 'ch'"> and ch = #{queryValue}</if> <if test="queryType == 'ch'"> and a.ch = #{queryValue}</if>
<if test="queryType == 'brxm'"> and brxm = #{queryValue}</if> <if test="queryType == 'brxm'"> and a.brxm like '%'+#{queryValue}+'%' </if>
</select> </select>
<select id="createSQD" parameterType="map" statementType="CALLABLE" useCache="false"> <select id="createSQD" parameterType="map" statementType="CALLABLE" useCache="false">