Commit ef54568b by 罗志长

fix: saas端设备编辑

parent a0ad1beb
......@@ -547,7 +547,7 @@ public class PlatDeviceServiceImpl extends ServiceImpl<PlatDeviceMapper, PlatDev
String id = db.getId();
PlatDeviceOther other = platDeviceOtherService.getOne(new QueryWrapper<PlatDeviceOther>().lambda()
.eq(PlatDeviceOther::getDeviceId, db.getId()));
.eq(PlatDeviceOther::getDeviceId, db.getId()).last("limit 1"));
if (other == null) {
other = new PlatDeviceOther();
}
......
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 sign in to comment