From bb5aa6b0c7a795c563faaf91ce19d9d806c3f32c Mon Sep 17 00:00:00 2001 From: Leon <3066758958@qq.com> Date: Tue, 14 Sep 2021 17:34:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BE=E5=B7=A5=E5=86=99=E5=85=A5=E5=B7=A5?= =?UTF-8?q?=E6=97=B6=E6=88=AA=E5=8F=96=E6=95=B4=E6=95=B0=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dispatch/service/impl/ShopOrderReleaseServiceImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/ShopOrderReleaseServiceImpl.java b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/ShopOrderReleaseServiceImpl.java index 0560e1d6..bfc60c6c 100644 --- a/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/ShopOrderReleaseServiceImpl.java +++ b/dispatch/src/main/java/com/foreverwin/mesnac/dispatch/service/impl/ShopOrderReleaseServiceImpl.java @@ -513,10 +513,6 @@ public class ShopOrderReleaseServiceImpl implements ShopOrderReleaseService { throw BusinessException.build("工艺路线工序[" +operation+ "]的自定义字段加工工时不是数值"); } - if (prodHours.contains(".")) { - return prodHours.substring(0, prodHours.indexOf(".")); - } - return prodHours; } }