From 2de8dd1760e97901e821fa32ba51cbdbcc24a070 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 24 七月 2025 10:13:22 +0800
Subject: [PATCH] 代码初始化
---
server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/WmsServiceImpl.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/WmsServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/WmsServiceImpl.java
index 43ba7ce..dc508bd 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/WmsServiceImpl.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/thrid/WmsServiceImpl.java
@@ -322,7 +322,7 @@
entity.setWmsJobId(job.getId());
entity.setStatus(Constants.ZERO);
entity.setIoQty(Constants.formatBigdecimal(d.getIoQty()).multiply(Constants.formatBigdecimal( d.getRate())));
- entity.setRate(Constants.formatBigdecimal(d.getRate()).doubleValue()+"");
+ entity.setRate(Objects.nonNull(d.getRate())?Constants.formatBigdecimal(d.getRate()).doubleValue()+"":"1");
entity.setMaterialName(d.getMaterialName());
entity.setInRepertotyCode(d.getInRepertotyCode());
iocodeList.add(d.getIoCode());
@@ -412,6 +412,7 @@
Constants.PlatformJobStatus.IN_WAIT.getKey()+","+
Constants.PlatformJobStatus.CALLED.getKey()+","+
Constants.PlatformJobStatus.TRANSFERING.getKey()+","+
+ Constants.PlatformJobStatus.OVER_NUMBER.getKey()+","+
Constants.PlatformJobStatus.EXCEPTION.getKey()+","+
Constants.PlatformJobStatus.WORKING.getKey()+")) as jobNum")
.lambda()
@@ -554,11 +555,11 @@
entity.setJobId(job.getJobId());
entity.setWmsJobId(job.getId());
entity.setContractNum(param.getContractNum());
- entity.setRepertotyAddress(job.getRepertotyAddress());
+ entity.setRepertotyAddress(param.getRepertotyAddress());
entity.setWmsJobId(job.getId());
entity.setStatus(Constants.ZERO);
entity.setIoQty(Constants.formatBigdecimal(d.getIoQty()).multiply(Constants.formatBigdecimal( d.getRate())));
- entity.setRate(Constants.formatBigdecimal(d.getRate()).doubleValue()+"");
+ entity.setRate(Objects.nonNull(d.getRate())?Constants.formatBigdecimal(d.getRate()).doubleValue()+"":"1");
// entity.setIoQty(d.getIoQty());
// entity.setRate(d.getRate());
entity.setMaterialName(d.getMaterialName());
--
Gitblit v1.9.3