Administrator
2021-08-20 52f046c3d7751d9c7f79733d24f9b04c7cada422
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
            sdu.*,bt.dept_name deptName
        from
            sys_dispatcher_unit sdu
        LEFT JOIN
@@ -14,8 +14,8 @@
            sdu.dept_id = bt.id
        WHERE
            1=1
        <if test="dispatcherUnit.tenantName!=null and  dispatcherUnit.tenantName!=''">
            and bt.dept_name like concat('%', #{dispatcherUnit.tenantName},'%')
        <if test="dispatcherUnit.deptName!=null and  dispatcherUnit.deptName!=''">
            and bt.dept_name like concat('%', #{dispatcherUnit.deptName},'%')
        </if>
        <if test="dispatcherUnit.name!=null and  dispatcherUnit.name!=''">
            and sdu.name like concat('%', #{dispatcherUnit.name},'%')
@@ -52,8 +52,8 @@
        sdu.dept_id = bt.id
        WHERE
        1=1
        <if test="dispatcherUnit.tenantName!=null and  dispatcherUnit.tenantName!=''">
            and bt.dept_name like concat('%', #{dispatcherUnit.tenantName},'%')
        <if test="dispatcherUnit.deptName!=null and  dispatcherUnit.deptName!=''">
            and bt.dept_name like concat('%', #{dispatcherUnit.deptName},'%')
        </if>
        <if test="dispatcherUnit.name!=null and  dispatcherUnit.name!=''">
            and sdu.name like concat('%', #{dispatcherUnit.name},'%')
@@ -82,7 +82,7 @@
    <!--派遣公司详细信息-->
    <select id="selectDispatcherUnitInfo" resultType="org.springblade.modules.dispatcher.vo.DispatcherUnitVO">
        select
            sdu.*,bt.dept_name tenantName
            sdu.*,bt.dept_name deptName
        from
            sys_dispatcher_unit sdu
        LEFT JOIN