update 优化 删除不应该set的属性
parent
30a7db3624
commit
32fa5d1e8f
|
|
@ -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…
Reference in New Issue