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) {
|
public int updateTenantStatus(SysTenantBo bo) {
|
||||||
SysTenant tenant = new SysTenant();
|
SysTenant tenant = new SysTenant();
|
||||||
tenant.setId(bo.getId());
|
tenant.setId(bo.getId());
|
||||||
tenant.setTenantId(bo.getTenantId());
|
|
||||||
tenant.setStatus(bo.getStatus());
|
tenant.setStatus(bo.getStatus());
|
||||||
return baseMapper.updateById(tenant);
|
return baseMapper.updateById(tenant);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user