|
|
|
@ -63,6 +63,7 @@ public class ShsResDeviceServiceImpl implements ShsResDeviceService { |
|
|
|
if (proInfoByTenantId == null) { |
|
|
|
throw new BaseException("未查询到项目"); |
|
|
|
} |
|
|
|
shsResDevice.setId(IdUtil.getSnowflakeNextId()); |
|
|
|
shsResDevice.setProjId(proInfoByTenantId.getId()); |
|
|
|
shsResDevice.setCreateBy(SecurityUtils.getUsername()); |
|
|
|
shsResDevice.setCreatedAt(new Date()); |
|
|
|
|