update 优化 删除不应该set的属性

2.X
疯狂的狮子Li 4 months ago
parent 30a7db3624
commit 32fa5d1e8f

@ -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…
Cancel
Save