Commit fc741337 authored by lanbaoming's avatar lanbaoming

2024-05-26-1

parent 0a502c62
......@@ -52,11 +52,11 @@ public class CalculateOrderVValueListener {
int nS = orderDO.getStatus();
if (nS >= 5) {
sMsg+=",已入仓";
//查询配置参数信息
//查询配置参数信息,测试
EcwVz temp = null;
BigDecimal CalVvalue = new BigDecimal(0);
if (orderDO.getTransportId() == 1) {
//海运计算V值
//海运计算V值 修改查询条件
temp = ecwVzService.getOne(new LambdaQueryWrapperX<EcwVz>()
.eqIfPresent(EcwVz::getFuhao, "M3"));
if (temp == null) {
......@@ -64,7 +64,7 @@ public class CalculateOrderVValueListener {
}
CalVvalue = new BigDecimal(temp.getVz()).divide(orderDO.getSumVolume());
} else if (orderDO.getTransportId() == 3) {
//空运计算V值
//空运计算V值,修改查询条件
temp = ecwVzService.getOne(new LambdaQueryWrapperX<EcwVz>()
.eqIfPresent(EcwVz::getFuhao, "KG"));
if (temp == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment