|
@@ -51,7 +51,7 @@
|
|
|
`tran_lis_config`
|
|
|
WHERE
|
|
|
is_deleted = "N"
|
|
|
- AND his_detail_name IS NULL
|
|
|
+ AND (his_detail_name IS NULL OR his_detail_name = '')
|
|
|
<if test="hospitalId!=null">
|
|
|
and hospital_id=#{hospitalId}
|
|
|
</if>
|
|
@@ -65,7 +65,7 @@
|
|
|
`tran_lis_config`
|
|
|
WHERE
|
|
|
is_deleted = "N"
|
|
|
- AND his_detail_name IS NULL
|
|
|
+ AND (his_detail_name IS NULL OR his_detail_name = '')
|
|
|
<if test="hospitalId!=null">
|
|
|
and hospital_id=#{hospitalId}
|
|
|
</if>
|
|
@@ -79,7 +79,7 @@
|
|
|
`tran_lis_config`
|
|
|
WHERE
|
|
|
is_deleted = "N"
|
|
|
- AND his_detail_name IS NULL
|
|
|
+ AND (his_detail_name IS NULL OR his_detail_name = '')
|
|
|
<if test="hospitalId!=null">
|
|
|
and hospital_id=#{hospitalId}
|
|
|
</if>
|