Commit da1218bc authored by ma's avatar ma

调整提示语

parent 523a2f6f
......@@ -164,7 +164,7 @@ public class DeviceServiceImpl extends ServiceImpl<DeviceMapper, Device> impleme
Device device1 = deviceMapper.selectOne(lambdaQueryWrapper);
if (device1 != null) {
if (!deviceId.equals(device1.getDeviceId())) {
return BaseResult.failed().setMsgValue("SN已被绑定");
return BaseResult.failed().setMsgValue("SN已存在");
}
}
LambdaQueryWrapper<Device> wrapper = new LambdaQueryWrapper<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment