mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-17 16:56:39 +08:00
update 优化 删除不应该set的属性
This commit is contained in:
parent
e5e8e3ce7c
commit
f3f3593cfe
@ -270,7 +270,6 @@ public class SysTenantServiceImpl implements ISysTenantService {
|
||||
public int updateTenantStatus(SysTenantBo bo) {
|
||||
SysTenant tenant = new SysTenant();
|
||||
tenant.setId(bo.getId());
|
||||
tenant.setTenantId(bo.getTenantId());
|
||||
tenant.setStatus(bo.getStatus());
|
||||
return baseMapper.updateById(tenant);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user