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