|
|
|
|
@ -12,6 +12,7 @@ import org.springframework.beans.BeanUtils; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
|
|
|
|
|
|
import javax.imageio.ImageIO; |
|
|
|
|
@ -348,9 +349,15 @@ public class HighDangerBaseServiceImpl implements HighDangerService { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<EnumRoadType> getRoadTypes() { |
|
|
|
|
public List<EnumRoadType> getRoadTypes(Integer enumType) { |
|
|
|
|
// 获取道路类型
|
|
|
|
|
return highDangerMapper.getRoadTypes(); |
|
|
|
|
return highDangerMapper.getRoadTypes(enumType); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<EnumRoadType> getEnumValues(Integer enumType) { |
|
|
|
|
// 获取道路类型
|
|
|
|
|
return highDangerMapper.getEnumValues(enumType); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String random12(){ |
|
|
|
|
|