|
@@ -62,6 +62,9 @@
|
|
<if test="doctorAdviceVO.hospitalId != null">
|
|
<if test="doctorAdviceVO.hospitalId != null">
|
|
and t.hospital_id = #{doctorAdviceVO.hospitalId}
|
|
and t.hospital_id = #{doctorAdviceVO.hospitalId}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="doctorAdviceVO.medicineType != null">
|
|
|
|
+ and t.medicine_type = #{doctorAdviceVO.medicineType}
|
|
|
|
+ </if>
|
|
<if test="doctorAdviceVO.behospitalCode != null and doctorAdviceVO.behospitalCode != ''">
|
|
<if test="doctorAdviceVO.behospitalCode != null and doctorAdviceVO.behospitalCode != ''">
|
|
and t.behospital_code = #{doctorAdviceVO.behospitalCode}
|
|
and t.behospital_code = #{doctorAdviceVO.behospitalCode}
|
|
</if>
|
|
</if>
|
|
@@ -86,7 +89,7 @@
|
|
</foreach>
|
|
</foreach>
|
|
</if>
|
|
</if>
|
|
<if test="infos = null || infos.size() == 0">
|
|
<if test="infos = null || infos.size() == 0">
|
|
- and b.info in('000000ASDQWEZXC@#$%')
|
|
|
|
|
|
+ and 1 = 2
|
|
</if>
|
|
</if>
|
|
</if>
|
|
</if>
|
|
<if test="doctorAdviceVO.adviceType != null and doctorAdviceVO.adviceType == 2 ">
|
|
<if test="doctorAdviceVO.adviceType != null and doctorAdviceVO.adviceType == 2 ">
|