12-16-人员管理大屏-修复循环注入版-修复timeType版
This commit is contained in:
@ -15,7 +15,6 @@ import org.dromara.common.core.utils.SpringUtils;
|
|||||||
import org.dromara.materials.domain.vo.materials.MatMaterialsUseDetailVo;
|
import org.dromara.materials.domain.vo.materials.MatMaterialsUseDetailVo;
|
||||||
import org.dromara.materials.service.IMatMaterialsService;
|
import org.dromara.materials.service.IMatMaterialsService;
|
||||||
import org.dromara.project.service.impl.BusAttendanceServiceImpl;
|
import org.dromara.project.service.impl.BusAttendanceServiceImpl;
|
||||||
import org.dromara.system.service.impl.SysUserServiceImpl;
|
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -96,10 +95,9 @@ public class BigScreenWebSocketServer {
|
|||||||
case 1:
|
case 1:
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
Long timeType;
|
Long timeType = Long.parseLong(params.get("timeType").getFirst());
|
||||||
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("时间类型参数错误");
|
throw new RuntimeException("时间类型参数错误");
|
||||||
}
|
}
|
||||||
//先获取左边坐标得到map
|
//先获取左边坐标得到map
|
||||||
|
|||||||
Reference in New Issue
Block a user