From 225651db31ab55f1c74bce956f5a300fd0979c95 Mon Sep 17 00:00:00 2001 From: 18516761980 <tqsxp@163.com> Date: 星期三, 08 三月 2023 08:11:55 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java | 16 +--------------- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java index 6d2bffe..9f7a679 100644 --- a/src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/WrkMastServiceImpl.java @@ -96,21 +96,7 @@ } else { // @Deprecated } - int row = getRow(locNo); - if (row<=4){ - return defaultIoPri == null ? 300.0D+row*2 : defaultIoPri+row*2; - }else { - return defaultIoPri == null ? 300.0D+row-2 : defaultIoPri-row*2; - } - } - /** - * 閫氳繃搴撲綅鍙疯幏鍙� 鎺� - */ - public static int getRow(String locNo) { - if (!Cools.isEmpty(locNo)) { - return Integer.parseInt(locNo.substring(0, 2)); - } - throw new RuntimeException("搴撲綅瑙f瀽寮傚父"); + return defaultIoPri == null ? 300.0D : defaultIoPri; } @Override -- Gitblit v1.9.1