|
@@ -156,15 +156,24 @@
|
|
<if test="preNo != null and preNo != ''">
|
|
<if test="preNo != null and preNo != ''">
|
|
and p.PRE_NO = #{preNo}
|
|
and p.PRE_NO = #{preNo}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="disId != null and disId != ''">
|
|
|
|
+ and r.DIS_ID = #{disId}
|
|
|
|
+ </if>
|
|
<if test="disName != null and disName != ''">
|
|
<if test="disName != null and disName != ''">
|
|
and r.DIS_NAME like CONCAT('%', #{disName}, '%')
|
|
and r.DIS_NAME like CONCAT('%', #{disName}, '%')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="symId != null and symId != ''">
|
|
|
|
+ and r.SYM_ID = #{symId}
|
|
|
|
+ </if>
|
|
<if test="symName != null and symName != ''">
|
|
<if test="symName != null and symName != ''">
|
|
and r.SYM_NAME like CONCAT('%', #{symName}, '%')
|
|
and r.SYM_NAME like CONCAT('%', #{symName}, '%')
|
|
</if>
|
|
</if>
|
|
<if test="theNames != null and theNames != ''">
|
|
<if test="theNames != null and theNames != ''">
|
|
and r.THE_NAMES like CONCAT('%', #{theNames}, '%')
|
|
and r.THE_NAMES like CONCAT('%', #{theNames}, '%')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="westernDiseaseId != null and westernDiseaseId != ''">
|
|
|
|
+ and r.WESTERN_DISEASEID = #{westernDiseaseId}
|
|
|
|
+ </if>
|
|
<if test="westernDisease != null and westernDisease != ''">
|
|
<if test="westernDisease != null and westernDisease != ''">
|
|
and r.WESTERN_DISEASE like CONCAT('%', #{westernDisease}, '%')
|
|
and r.WESTERN_DISEASE like CONCAT('%', #{westernDisease}, '%')
|
|
</if>
|
|
</if>
|