zhaops 4 jaren geleden
bovenliggende
commit
57907274b2
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      src/main/resources/mapper/LisConfigMapper.xml

+ 3 - 3
src/main/resources/mapper/LisConfigMapper.xml

@@ -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>