src/main/java/org/springblade/modules/dispatcher/mapper/DispatcherUnitMapper.xml
@@ -51,6 +51,13 @@ or ( sdu.start_time <= #{dispatcherUnit.overTime} and sdu.start_time >= #{dispatcherUnit.beginTime}) </if> </if> <if test="dispatcherUnit.isExpire==1"> and sdu.start_time <= now() and sdu.end_time > now() </if> <if test="dispatcherUnit.isExpire==2"> and sdu.end_time <= now() </if> </select> <!--自定义树-->