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; } }