智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
src/main/java/org/springblade/modules/dispatcher/mapper/DispatcherUnitMapper.xml
@@ -5,7 +5,7 @@
    <!--派遣公司分页信息-->
    <select id="selectDispatcherUnitPage" resultType="org.springblade.modules.dispatcher.vo.DispatcherUnitVO">
        select
        sdu.*,bt.dept_name tenantName,bu.real_name realName
        sdu.*,bt.dept_name deptName,sj.dept_name jurisdictionName
        from
        sys_dispatcher_unit sdu
        LEFT JOIN
@@ -13,13 +13,9 @@
        ON
        sdu.dept_id = bt.id
        left join
        sys_dispatcher sd
        sys_jurisdiction sj
        on
        sdu.id = sd.dispatcher_unit_id
        left join
        blade_user bu
        on
        sd.user_ids = bu.id
        sj.id = sdu.jurisdiction
        WHERE
        1=1
        <if test="dispatcherUnit.tenantName!=null and  dispatcherUnit.tenantName!=''">