fix(手表设备): 优化错误提示信息,将"该工具不存在"改为"该监测工具不存在"
This commit is contained in:
+1
-1
@@ -291,7 +291,7 @@ public class WatchDeviceServiceImpl extends ServiceImpl<WatchDeviceMapper, Watch
|
|||||||
}
|
}
|
||||||
WatchDevice watchDevice = getDeviceByWatchNo(dto.getWatchNo());
|
WatchDevice watchDevice = getDeviceByWatchNo(dto.getWatchNo());
|
||||||
if (watchDevice == null) {
|
if (watchDevice == null) {
|
||||||
return Result.error("该工具不存在");
|
return Result.error("该监测工具不存在");
|
||||||
}
|
}
|
||||||
if (isDeviceAlreadyBound(watchDevice, dto)) {
|
if (isDeviceAlreadyBound(watchDevice, dto)) {
|
||||||
return Result.error("该设备已绑定该员工");
|
return Result.error("该设备已绑定该员工");
|
||||||
|
|||||||
Reference in New Issue
Block a user