liusheng
3 天以前 a77bf9fb4718d1b657f8ef8c6edfaffa1a53683f
ruoyi-quartz/src/main/resources/mapper/quartz/CollectHISMapper.xml
@@ -385,6 +385,7 @@
        FROM healthy_user_dept
        where 1=1
        and user_id != 'admin'
        and dept_type = '1'
        <if test="orgid != null and orgid != ''">
            AND orgid = #{orgid}
        </if>
@@ -393,9 +394,10 @@
    <select id="yhybfxx" parameterType="com.ruoyi.common.core.domain.entity.SysUser" resultMap="SysUserDeptResult">
        select user_id , user_code , dept_type ,dept_code,dept_name,deptparent,del_flag,orgid
        FROM healthy_user_dept_bf
        FROM healthy_user_dept
        where 1=1
        and user_id != 'admin'
        and dept_type = '2'
        <if test="orgid != null and orgid != ''">
            AND orgid = #{orgid}
        </if>