|
@@ -110,7 +110,6 @@ public class AppDeviceController extends JeecgController<AppDevice, IAppDeviceSe
|
|
|
appDevice.setOrgCode(appSite.getOrgCode());
|
|
|
if (AppDeviceService.getOne(Wrappers.<AppDevice>lambdaQuery()
|
|
|
.eq(AppDevice::getDeviceSerial, appDevice.getDeviceSerial())
|
|
|
- .eq(AppDevice::getDeviceNo, appDevice.getDeviceNo())
|
|
|
.eq(AppDevice::getSiteId, appDevice.getSiteId())
|
|
|
.eq(AppDevice::getDeviceType, appDevice.getDeviceType())) != null) {
|
|
|
return Result.error("设备已存在!");
|