Pārlūkot izejas kodu

Merge branch 'dev'

HUJIANGUO 3 gadi atpakaļ
vecāks
revīzija
270adb7763

+ 2 - 1
src/main/java/com/steerinfo/dil/service/impl/TmstruckLeaveFactoryResultServiceImpl.java

@@ -182,8 +182,9 @@ public class TmstruckLeaveFactoryResultServiceImpl implements ITmstruckLeaveFact
                     throw new Exception("请提醒司机确认订单!");
                 }
                 i += utilsService.closeOrderNormally(map);
+                // 判断是否要自动派单
                 Map<String,Object> mapValue = omsFeign.getSaleAllMessages(orderId.intValue());
-                BigDecimal closeStatus = (BigDecimal) mapValue.get("closeStatus");
+                BigDecimal closeStatus = DataChange.dataToBigDecimal(mapValue.get("closeStatus"));
                 if (closeStatus.intValue() == 0) {
                     amsFeign.dispatchTruckOrderByCarrier(mapValue);
                 }