Commit ec2db8da by lzy

更新

parent 11a37e41
......@@ -216,8 +216,10 @@ public class PlatDeviceServiceImpl extends ServiceImpl<PlatDeviceMapper, PlatDev
String otherId = other.getId();
String tenantId = db.getTenantId();
BeanUtils.copyProperties(dto, db);
db.setId(id);
db.setTenantId(tenantId);
saveOrUpdate(db);
id = db.getId();
......
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