代码优化

This commit is contained in:
马三炮 2025-04-14 10:39:00 +08:00
parent c1c0f451a8
commit 7bf48aadd7
3 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ public class CoordinatePhotoServiceImpl implements CoordinatePhotoService {
try {
coordinatePhotoMapper.deleteCoordinatePhoto(data);
sysFileResourceService.deleteFileResource(data.getId());
synthesisQueryService.deleteComprehensiveQuery(data.getId());
synthesisQueryService.deleteComprehensiveQuery(data.getId(),"4");
return ServerResponse.createSuccess();
} catch (Exception e) {
log.error(e.toString(), e);

View File

@ -68,7 +68,7 @@ public class ImportantMatterServiceImpl implements ImportantMatterService {
try {
importantMatterMapper.deleteImportantMatter(data);
sysFileResourceService.deleteFileResource(data.getId());
synthesisQueryService.deleteComprehensiveQuery(data.getId());
synthesisQueryService.deleteComprehensiveQuery(data.getId(),"5");
return ServerResponse.createSuccess();
} catch (Exception e) {
log.error(e.toString(), e);

View File

@ -70,7 +70,7 @@ public class SafetyMeasuresServiceImpl implements SafetyMeasuresService {
try {
safetyMeasuresMapper.deleteSafetyMeasures(data);
sysFileResourceService.deleteFileResource(data.getId());
synthesisQueryService.deleteComprehensiveQuery(data.getId());
synthesisQueryService.deleteComprehensiveQuery(data.getId(),"3");
return ServerResponse.createSuccess();
} catch (Exception e) {
log.error(e.toString(), e);