代码优化
This commit is contained in:
parent
c1c0f451a8
commit
7bf48aadd7
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue