forked from kidgrow-microservices-platform

zhaoxiaohao
2020-07-23 2a0e777c3d5d8198554bcdf50f36d54927176fae
kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysHospitalMapper.xml
@@ -163,10 +163,9 @@
                        <choose>
                            <when test="inx == 1">
                                <if test="itemto.flag">
                                    and 1=1
                                </if>
                                <if test="!itemto.flag">
                                    or (1=1 and HOS.is_del = 0 and HOS.enabled=1)
                                    or ( HOS.is_del = 0 and HOS.enabled=1)
                                </if>
                            </when>
                            <when test="inx==2">
@@ -226,6 +225,7 @@
    </sql>
    <select id="findHospitalList" resultType="com.kidgrow.usercenter.vo.HospitalListVo">
        SELECT
        DISTINCT
        DEP.department_name,
        DEP.id department_id,
        DEP.server_user_name,