分享设备列表接口以及sql修改

This commit is contained in:
hp
2022-04-27 18:56:51 +08:00
parent cabc91f3bc
commit 224d4e1f7e
5 changed files with 20 additions and 23 deletions

View File

@@ -45,7 +45,7 @@ public class DeviceController extends BaseController
{
startPage();
List<Device> list = new ArrayList<>();
if(device.getUserName()==null || device.getUserName()=="" )
if(device.getUserId() == null)
{
list = deviceService.selectDeviceList(device);
}else {
@@ -65,7 +65,7 @@ public class DeviceController extends BaseController
{
startPage();
List<DeviceShortOutput> list = new ArrayList<>();
if(device.getUserName()==null || device.getUserName()=="" )
if(device.getUserId() == null)
{
list = deviceService.selectDeviceShortList(device);
}else {