1.修复补单失败问题

master
x_z 3 years ago
parent 33e6aae687
commit 3dc94df2aa

@ -45,8 +45,10 @@ public class OrderEntity {
/**
*
*
* 01
*/
private String uploadStatus; //上传状态0未上传1已上传
private String uploadStatus;
private Long customerId;

@ -232,7 +232,6 @@ public class OrderService {
//更新数据
try {
supplementOrder.setOrderId(null);
insertOrder(supplementOrder);
//更新配货单表对应的单据补单号
orderEntity.setSupplementNo(supplementOrderNo);
@ -252,7 +251,8 @@ public class OrderService {
public List<OrderEntity> getSupplementOrderBillNoList() {
//查询补单单号为空,且单据状态为已完成的单据
QueryWrapper<OrderEntity> wrapper = new QueryWrapper<>();
wrapper.isNull("supplementNo").eq("status", ConstantStatus.ORDER_STATUS_SUCCESS);
wrapper.isNull("supplementNo").eq("status", ConstantStatus.ORDER_STATUS_SUCCESS)
.ne("receiveStatus", ConstantStatus.RECEIVE_UN);
return orderDao.selectList(wrapper);
}

@ -93,7 +93,7 @@ public class WarehouseService {
}
public List<WarehouseEntity> findByOrderId(String orderId) {
if (StrUtil.isNotBlank(orderId)) {
if (StrUtil.isBlank(orderId)) {
return Collections.emptyList();
}
return codesDao.selectByOrderId(orderId);

Loading…
Cancel
Save