Junjie
2023-07-19 a376be8c3b097565b849c7ee89dd2c9c4ae78410
src/main/java/com/zy/common/utils/NavigatePositionConvert.java
@@ -37,14 +37,14 @@
    //xyz轴转坐标编号
    public static Short xyToPosition(int x, int y, int z) {
        StringBuffer sb = new StringBuffer();
        sb.append(x);
        if (x < 10) {
            sb.append("00");
        } else if (x < 100) {
            sb.append("0");
        }
        sb.append(x);
        if (y < 10) {
            sb.append("00");
        }else if (y < 100) {
            sb.append("0");
        }
        sb.append(y);