czt
昨天 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a
src/main/java/com/fzzy/api/service/ApiTriggerService.java
@@ -123,10 +123,10 @@
                return bizCode;
            }
            if (Constant.TRIGGER_P_LSPZ.equals(parentCode)) {
                result = Integer.valueOf(bizCode) * 1000000 + "";
                result = bizCode + "000000";
                result = result.substring(0, 7);
            } else if (Constant.TRIGGER_P_LSXZ.equals(parentCode)) {
                result = Integer.valueOf(bizCode) * 100 + "";
                result = bizCode + "00";
                result = result.substring(0, 3);
            } else {
                result = bizCode;
@@ -136,6 +136,11 @@
        result = parentMap.get(bizCode);
        if (null == result) {
            if (Constant.TRIGGER_P_LSPZ.equals(parentCode)) {
                result = parentMap.get(bizCode.substring(0, 3));
            }
        }
        if (null == result) {
            result = parentMap.get(DEFAULT_MAP_KEY);
        }
@@ -144,10 +149,10 @@
                return bizCode;
            }
            if (Constant.TRIGGER_P_LSPZ.equals(parentCode)) {
                result = Integer.valueOf(bizCode) * 1000000 + "";
                result = bizCode + "000000";
                result = result.substring(0, 7);
            } else if (Constant.TRIGGER_P_LSXZ.equals(parentCode)) {
                result = Integer.valueOf(bizCode) * 100 + "";
                result = bizCode + "00";
                result = result.substring(0, 3);
            } else {
                result = bizCode;
@@ -210,6 +215,7 @@
        list.add(new ApiTrigger(SyncProtocol.FZZY_V30_GB.getCode(), SyncProtocol.FZZY_V30_GB.getName()));
        list.add(new ApiTrigger(SyncProtocol.FZZY_V35_GB.getCode(), SyncProtocol.FZZY_V35_GB.getName()));
        list.add(new ApiTrigger(SyncProtocol.FZZY_V40_GB.getCode(), SyncProtocol.FZZY_V40_GB.getName()));
        list.add(new ApiTrigger(SyncProtocol.FZZY_V61_GB.getCode(), SyncProtocol.FZZY_V61_GB.getName()));
        list.add(new ApiTrigger(SyncProtocol.FZZY_V40_WHJL.getCode(), SyncProtocol.FZZY_V40_WHJL.getName()));
        list.add(new ApiTrigger(SyncProtocol.FZZY_V35_SHYZ.getCode(), SyncProtocol.FZZY_V35_SHYZ.getName()));
        return list;