代码优化

This commit is contained in:
马三炮 2025-04-15 18:32:47 +08:00
parent 43adbfb0b7
commit 99bac03ea0
3 changed files with 3 additions and 2 deletions

View File

@ -143,6 +143,7 @@ public class CoordinatePhotoServiceImpl implements CoordinatePhotoService {
}
ComprehensiveQueryVo comprehensiveQueryVo = new ComprehensiveQueryVo();
BeanUtils.copyProperties(data,comprehensiveQueryVo);
comprehensiveQueryVo.setUploadType("4");
comprehensiveQueryVo.setVioPlace(data.getBuildPlace());
synthesisQueryService.updateComprehensiveQuery(comprehensiveQueryVo);
} catch (Exception e) {

View File

@ -155,8 +155,7 @@ public class ImportantMatterServiceImpl implements ImportantMatterService {
if (data.getTime() != null && !data.getTime().trim().isEmpty()) {
comprehensiveQueryVo.setRectDate(dateFormat.parse(data.getTime()));
}
comprehensiveQueryVo.setTitle(data.getTitle());
comprehensiveQueryVo.setContent(data.getContent());
comprehensiveQueryVo.setUploadType("5");
synthesisQueryService.updateComprehensiveQuery(comprehensiveQueryVo);
} catch (Exception e) {
log.error(e.toString(), e);

View File

@ -162,6 +162,7 @@ public class SafetyMeasuresServiceImpl implements SafetyMeasuresService {
}
comprehensiveQueryVo.setVioPlace(data.getCheckPlace());
comprehensiveQueryVo.setVioDesc(data.getCheckDesc());
comprehensiveQueryVo.setUploadType("3");
synthesisQueryService.updateComprehensiveQuery(comprehensiveQueryVo);
} catch (Exception e) {
log.error(e.toString(), e);