|
@@ -51,7 +51,7 @@ public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, Company> impl
|
|
}
|
|
}
|
|
Company byId = this.getById(company.getId());
|
|
Company byId = this.getById(company.getId());
|
|
if (!company.getLogo().equals(byId.getLogo())){
|
|
if (!company.getLogo().equals(byId.getLogo())){
|
|
- sysFileService.removeByBatchNo(company.getLogo());
|
|
|
|
|
|
+ sysFileService.removeByBatchNo(byId.getLogo());
|
|
}
|
|
}
|
|
return this.updateById(company);
|
|
return this.updateById(company);
|
|
}
|
|
}
|