@@ -153,7 +153,7 @@ public class PatientBaseUtil {
* @date: 2023/8/10
**/
public static boolean isOverlapLocalTime(Date start1, Date end1, Date start2, Date end2) {
- return start1.compareTo(end2) < 0 && end1.compareTo(start2) > 0;
+ return start1.compareTo(end2) <= 0 && end1.compareTo(start2) >= 0;
}