|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|