feedback.setStreamAdminId(stream.getStreamAdminId()); | feedback.setStreamAdminId(stream.getStreamAdminId()); | ||||
feedback.setStreamAdminName(stream.getStreamAdminName()); | feedback.setStreamAdminName(stream.getStreamAdminName()); | ||||
feedback.setType(1); | feedback.setType(1); | ||||
feedbackMapper.insert(feedback); | |||||
}else { | }else { | ||||
return JsonResult.error("河流信息不存在"); | return JsonResult.error("河流信息不存在"); | ||||
} | } | ||||
return super.add(feedback); | return super.add(feedback); | ||||
} | } | ||||