12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package com.shkpr.service.alambizplugin.constants;
- import com.shkpr.service.alambizplugin.dto.GisSurveySystemCheckId;
- /**
- * 系统检查结果路径
- *
- * @author 欧阳劲驰
- * @since 1.0.0
- */
- public class GisSurveySystemCheckResultPath {
- /**
- * 结果
- */
- public final static String RESULT = "result.json";
- /**
- * 孤立点
- */
- public final static String ISOLATED_POINTS = "isolatedPoints.json";
- /**
- * 孤立线
- */
- public final static String ISOLATED_LINES = "IsolatedLines.json";
- /**
- * 重复点
- */
- public final static String DUPLICATE_POINTS = "duplicatePoints.json";
- /**
- * 重叠线
- */
- public final static String OVERLAP_LINES = "overlapLines.json";
- /**
- * 获取相对路径
- *
- * @param systemCheckId 系统检查id
- * @param fileName 文件名
- * @return 相对路径
- */
- public static String relativePath(GisSurveySystemCheckId systemCheckId, String fileName) {
- return systemCheckId.getCheckType().getFlag() + "-" + systemCheckId.getCode() + "/" + fileName;
- }
- }
|