|
|
@@ -17,6 +17,7 @@ import com.sckw.core.model.enums.LogisticsOrderV1Enum;
|
|
|
import com.sckw.core.model.enums.UnitTypeEnum;
|
|
|
import com.sckw.core.utils.CollectionUtils;
|
|
|
import com.sckw.core.utils.DateUtils;
|
|
|
+import com.sckw.core.web.response.BaseResult;
|
|
|
import com.sckw.core.web.response.result.PageDataResult;
|
|
|
import com.sckw.fleet.api.RemoteFleetService;
|
|
|
import com.sckw.fleet.api.model.vo.RTruckVo;
|
|
|
@@ -34,7 +35,9 @@ import com.sckw.transport.model.vo.OrderTotalTakeVo;
|
|
|
import com.sckw.transport.model.vo.StatisticsWaybillResp;
|
|
|
import com.sckw.transport.repository.*;
|
|
|
import com.sckw.transport.service.KwtWaybillOrderV1Service;
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
import jakarta.annotation.Resource;
|
|
|
+import jakarta.validation.Valid;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
@@ -43,6 +46,8 @@ import org.springframework.data.redis.core.RedisTemplate;
|
|
|
import org.springframework.data.redis.core.script.DefaultRedisScript;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.math.RoundingMode;
|
|
|
@@ -1245,6 +1250,24 @@ public class WaybillOrderService {
|
|
|
log.info("运单状态统计,参数:{}", JSON.toJSONString(param));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 卸货过磅
|
|
|
+ * @param param
|
|
|
+ */
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
+ public void unloadingWeigh(WaybillOrderUnloadingWeighParam param) {
|
|
|
+ unloadingWeighHandler.handler(param);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 卸货离场
|
|
|
+ * @param param
|
|
|
+ */
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
+ public void unloadingLeaved(WaybillOrderUnLoadingLeaveParam param) {
|
|
|
+ unloadingLeavedHandler.handler(param);
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 卸货
|