取消继电器不可重复限制

This commit is contained in:
zy 2026-05-22 14:03:49 +08:00
parent 1c905685d9
commit 128a476091
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ public class SurvDeviceDeployRelayController extends JeecgController<SurvDeviceD
queryWrapper.ne(SurvDeviceDeployRelay::getId, fDeviceDeployRelay.getId()); queryWrapper.ne(SurvDeviceDeployRelay::getId, fDeviceDeployRelay.getId());
} }
num = fDeviceDeployRelayService.count(queryWrapper); num = fDeviceDeployRelayService.count(queryWrapper);
if (num == 0) { if (0 == 0) {
// 该值可用 // 该值可用
return Result.ok("该值可用!"); return Result.ok("该值可用!");
} else { } else {