|
|
|
|
|
|
|
|
inspection.setCreateUser(userid); |
|
|
inspection.setCreateUser(userid); |
|
|
inspection.setCreateTime(DateUtils.now()); |
|
|
inspection.setCreateTime(DateUtils.now()); |
|
|
inspection.setEmergencyDataInspectionId(oldInspection.getId()); |
|
|
inspection.setEmergencyDataInspectionId(oldInspection.getId()); |
|
|
|
|
|
|
|
|
inspection.setRoadId(""); |
|
|
inspection.setRoadId(""); |
|
|
inspection.setRoadName(""); |
|
|
inspection.setRoadName(""); |
|
|
inspection.setSectionId(""); |
|
|
inspection.setSectionId(""); |
|
|
inspection.setSectionName(""); |
|
|
inspection.setSectionName(""); |
|
|
|
|
|
|
|
|
Integer count = inspectionMapper.insert(inspection); |
|
|
Integer count = inspectionMapper.insert(inspection); |
|
|
if (count <= 0) { |
|
|
if (count <= 0) { |
|
|
log.info("创建应急任务失败"); |
|
|
log.info("创建应急任务失败"); |