12-16-人员管理大屏-修复循环注入版-修复timeType版

This commit is contained in:
2025-12-16 18:49:19 +08:00
parent dd6402d8b6
commit bb63e7464d

View File

@ -15,7 +15,6 @@ import org.dromara.common.core.utils.SpringUtils;
import org.dromara.materials.domain.vo.materials.MatMaterialsUseDetailVo;
import org.dromara.materials.service.IMatMaterialsService;
import org.dromara.project.service.impl.BusAttendanceServiceImpl;
import org.dromara.system.service.impl.SysUserServiceImpl;
import org.springframework.stereotype.Component;
import java.io.IOException;
@ -96,10 +95,9 @@ public class BigScreenWebSocketServer {
case 1:
break;
case 2:
Long timeType;
timeType = Long.parseLong(params.get("timeType").getFirst());
Long timeType = Long.parseLong(params.get("timeType").getFirst());
//判断参数
if (timeType == null || (timeType != 1L && timeType != 2L && timeType != 3L)){
if (timeType != 1L && timeType != 2L && timeType != 3L){
throw new RuntimeException("时间类型参数错误");
}
//先获取左边坐标得到map