yangys
2024-10-30 25db770e621f1259b8d5b7fd514207f7481c2d0f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.qianwen.smartman.common.utils;
 
import java.util.List;
 
public class ProductionTimeUtils {
    public static boolean isOverlap(List<Integer> startTimeList, List<Integer> endTimeList) {
        boolean flag = false;
        for (int i = 1; i < startTimeList.size(); i++) {
            if (startTimeList.get(i).intValue() < endTimeList.get(i - 1).intValue()) {
                flag = true;
            }
        }
        return flag;
    }
}