派工写入工时截取整数功能取消

master
Leon 3 years ago
parent 2a92f7258b
commit bb5aa6b0c7

@ -513,10 +513,6 @@ public class ShopOrderReleaseServiceImpl implements ShopOrderReleaseService {
throw BusinessException.build("工艺路线工序[" +operation+ "]的自定义字段加工工时不是数值"); throw BusinessException.build("工艺路线工序[" +operation+ "]的自定义字段加工工时不是数值");
} }
if (prodHours.contains(".")) {
return prodHours.substring(0, prodHours.indexOf("."));
}
return prodHours; return prodHours;
} }
} }

Loading…
Cancel
Save