|
|
@@ -301,8 +301,7 @@ public class DspCallbackServiceImpl implements IDspCallbackService { |
|
|
|
for (InspectionFile inspectionFile : inspectionFileList) { |
|
|
|
Accident accident = new Accident(); |
|
|
|
//问题类型为应急类型时添加数据 |
|
|
|
if(inspectionFile.getQuestionCode().equals(QuestionCodeEnum.PONDING.getCode()) |
|
|
|
|| inspectionFile.getQuestionCode().equals(QuestionCodeEnum.PIT_GROOVE.getCode())){ |
|
|
|
if(inspectionFile.getQuestionCode().equals(QuestionCodeEnum.RETICULAR_CRACK.getCode())){ |
|
|
|
accident.setTenantId(inspectionFile.getTenantId()); |
|
|
|
|
|
|
|
accident.setInspectionId(inspectionFile.getInspectionId()); |