代码优化
This commit is contained in:
parent
43adbfb0b7
commit
99bac03ea0
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue