|
|
@@ -67,6 +67,9 @@ public class IotController {
|
|
|
if(ObjectUtil.isNull(source.getRunState())){
|
|
|
throw new CustomException("[runState]设备运行状态不能为空");
|
|
|
}
|
|
|
+ if(StrUtil.isBlank(source.getUserId())){
|
|
|
+ source.setUserId("1000");
|
|
|
+ }
|
|
|
source.setUserId(StrUtil.fill(source.getUserId(),'0',4,true));
|
|
|
source.setTest(false);
|
|
|
executorService.execute(()->{
|