[update] 支持通过小程序下发自定义命令,优化管理员可彻底删除页面功能

This commit is contained in:
xiaoyi
2021-11-18 20:28:31 +08:00
parent 542f9fa448
commit 9cd0c02dfc
7 changed files with 383 additions and 23 deletions

View File

@@ -102,6 +102,7 @@ public class IotDeviceUserRelationServiceImpl implements IIotDeviceUserRelationS
public IotDeviceUserRelation selectIotDeviceUserRelationByDeviceIdAndUserId(Long deviceId, Long userId) {
IotDeviceUserRelation iotDeviceUserRelation = new IotDeviceUserRelation();
iotDeviceUserRelation.setUserId(userId);
iotDeviceUserRelation.setDeviceId(deviceId);
List<IotDeviceUserRelation> iotDeviceUserRelations = iotDeviceUserRelationMapper.selectIotDeviceUserRelationList(iotDeviceUserRelation);
if(iotDeviceUserRelations==null || iotDeviceUserRelations.size()==0)
{