|
@@ -203,6 +203,9 @@
|
|
|
<if test="behospitalCode !=null and behospitalCode != ''">
|
|
|
and a.behospital_code LIKE CONCAT('%',#{behospitalCode},'%')
|
|
|
</if>
|
|
|
+ <if test="fileCode !=null and fileCode != ''">
|
|
|
+ and a.file_code LIKE CONCAT('%',#{fileCode},'%')
|
|
|
+ </if>
|
|
|
<if test="name !=null and name != ''">
|
|
|
and a.`name` LIKE CONCAT('%',#{name},'%')
|
|
|
</if>
|
|
@@ -414,6 +417,9 @@
|
|
|
<if test="behospitalCode != null and behospitalCode != ''">
|
|
|
AND mbi.behospital_code like CONCAT('%',#{behospitalCode},'%')
|
|
|
</if>
|
|
|
+ <if test="fileCode != null and fileCode != ''">
|
|
|
+ AND mbi.file_code like CONCAT('%',#{fileCode},'%')
|
|
|
+ </if>
|
|
|
<if test="smallDay != null">
|
|
|
<![CDATA[ AND mhp.behospital_day_num >= #{smallDay}]]>
|
|
|
</if>
|
|
@@ -553,8 +559,11 @@
|
|
|
<if test="behospitalCode!=null and behospitalCode!=''">
|
|
|
and b.behospital_code like concat('%',#{behospitalCode},'%')
|
|
|
</if>
|
|
|
+ <if test="behospitalCode!=null and behospitalCode!=''">
|
|
|
+ and b.behospital_code like concat('%',#{behospitalCode},'%')
|
|
|
+ </if>
|
|
|
<if test="doctorName!=null and doctorName!=''">
|
|
|
- and b.doctor_name like concat('%',#{doctorName},'%')
|
|
|
+ and b.file_code like concat('%',#{fileCode},'%')
|
|
|
</if>
|
|
|
<if test="jobDistributionTimeStart!=null">
|
|
|
and a.job_distribution_time >= #{jobDistributionTimeStart}
|