|
|
@@ -161,7 +161,7 @@ public class LogisticsConsignmentService {
|
|
|
if (!bo.getIsFullDose()) {
|
|
|
BigDecimal amount = bo.getAmount();
|
|
|
BigDecimal carryingCapacity = bo.getCarryingCapacity();
|
|
|
- if (bo.getCarryingCapacity().compareTo(new BigDecimal("0.00")) == 0){
|
|
|
+ if (bo.getCarryingCapacity().compareTo(new BigDecimal("0.00")) == 0) {
|
|
|
log.error("可分配量分配错误:{}", bo.getTOrderId());
|
|
|
throw new BusinessException("可分配量分配必须填写大于0");
|
|
|
}
|
|
|
@@ -643,7 +643,7 @@ public class LogisticsConsignmentService {
|
|
|
list = kwtLogisticsOrderMapper.selectOrderListNotPage(id, type);
|
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
|
for (LogisticsOrderDTO logisticsOrderDTO : list) {
|
|
|
-// logisticsOrderDTO.setStatus(LogisticsOrderEnum.getDestination(logisticsOrderDTO.getStatus()));
|
|
|
+ logisticsOrderDTO.setStatusLabel(LogisticsOrderEnum.getDestination(logisticsOrderDTO.getStatus()));
|
|
|
String createName = StringUtils.isBlank(logisticsOrderDTO.getCreateBy()) ? null :
|
|
|
(remoteSystemService.queryUserCacheById(Long.parseLong(logisticsOrderDTO.getCreateBy())) == null ? null :
|
|
|
remoteSystemService.queryUserCacheById(Long.parseLong(logisticsOrderDTO.getCreateBy())).getName());
|
|
|
@@ -723,8 +723,8 @@ public class LogisticsConsignmentService {
|
|
|
List<LogisticsOrderDTO> returnList = new ArrayList<>();
|
|
|
for (String id : stringList) {
|
|
|
OrderDetailRes orderDetailRes = tradeOrderInfoService.getOrderDetailById(Long.parseLong(id));
|
|
|
- log.info("贸易订单数据:{}",JSONObject.toJSONString(orderDetailRes));
|
|
|
- log.info("贸易订单数据类型:{}",orderDetailRes.getPickupType());
|
|
|
+ log.info("贸易订单数据:{}", JSONObject.toJSONString(orderDetailRes));
|
|
|
+ log.info("贸易订单数据类型:{}", orderDetailRes.getPickupType());
|
|
|
/**
|
|
|
* 0销售展示是供应配送 1采购展示是采购自提
|
|
|
* 根据提货方式(0供应配送/1采购自提)
|
|
|
@@ -743,7 +743,7 @@ public class LogisticsConsignmentService {
|
|
|
list = kwtLogisticsOrderMapper.selectOrderListNotPage(id, type);
|
|
|
if (CollectionUtils.isNotEmpty(list)) {
|
|
|
for (LogisticsOrderDTO logisticsOrderDTO : list) {
|
|
|
-// logisticsOrderDTO.setStatus(LogisticsOrderEnum.getDestination(logisticsOrderDTO.getStatus()));
|
|
|
+ logisticsOrderDTO.setStatusLabel(LogisticsOrderEnum.getDestination(logisticsOrderDTO.getStatus()));
|
|
|
String createName = StringUtils.isBlank(logisticsOrderDTO.getCreateBy()) ? null :
|
|
|
(remoteSystemService.queryUserCacheById(Long.parseLong(logisticsOrderDTO.getCreateBy())) == null ? null :
|
|
|
remoteSystemService.queryUserCacheById(Long.parseLong(logisticsOrderDTO.getCreateBy())).getName());
|