|
@@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select * from tb_report
|
|
|
<where>
|
|
|
<if test="patId != null "> and pat_id = #{patId}</if>
|
|
|
+ <if test="visitId != null "> and visit_id = #{visitId}</if>
|
|
|
<if test="cardId != null "> and card_id = #{cardId}</if>
|
|
|
<if test="reportNo != null and reportNo != ''"> and report_no = #{reportNo}</if>
|
|
|
<if test="originalApplicationNo != null and originalApplicationNo != ''"> and original_application_no = #{originalApplicationNo}</if>
|