Administrator
2021-08-06 5f030a19bec827fdabb8731f43c2785f48968942
src/main/java/org/springblade/modules/dispatcher/mapper/DispatcherMapper.xml
@@ -29,6 +29,9 @@
        <if test="dispatcher.deptId!=null">
            and sd.dept_id = #{dispatcher.deptId}
        </if>
        <if test="dispatcher.userIds!=null and  dispatcher.userIds!=''">
            and sd.user_ids like concat('%', #{dispatcher.userIds},'%')
        </if>
        <if test="dispatcher.name!=null and  dispatcher.name!=''">
            and sd.name like concat('%', #{dispatcher.name},'%')
        </if>
@@ -38,6 +41,12 @@
        <if test="dispatcher.dispatcherCompany!=null and  dispatcher.dispatcherCompany!=''">
            and sdu.name like concat('%', #{dispatcher.dispatcherCompany},'%')
        </if>
        <if test="dispatcher.beginTime!=null and  dispatcher.beginTime!=''">
            and sd.dispatcherTime &gt;  #{dispatcher.beginTime}
        </if>
        <if test="dispatcher.overTime!=null and  dispatcher.overTime!=''">
            and sd.end_time &lt;  #{dispatcher.overTime}
        </if>
    </select>
    <!--派遣记录详情-->