Junjie
2023-06-27 d317c70cf46549a5cc190d1e3334bd8945ee46a8
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);