|
|
@ -328,6 +328,7 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo |
|
|
|
aftersalesWorkOrder.setCreateTime(new Date()); |
|
|
|
aftersalesWorkOrder.setCreateTime(new Date()); |
|
|
|
aftersalesWorkOrder.setCreateDept(Long.valueOf(user.getDeptId())); |
|
|
|
aftersalesWorkOrder.setCreateDept(Long.valueOf(user.getDeptId())); |
|
|
|
aftersalesWorkOrder.setIsDeleted(0); |
|
|
|
aftersalesWorkOrder.setIsDeleted(0); |
|
|
|
|
|
|
|
aftersalesWorkOrder.setWaybillNumber(aftersalesWorkOrder.getWaybillNumber()); |
|
|
|
aftersalesWorkOrder.setStatus(1); |
|
|
|
aftersalesWorkOrder.setStatus(1); |
|
|
|
if (ObjectUtils.isNull(aftersalesWorkOrder.getWorkOrderNumber())) { |
|
|
|
if (ObjectUtils.isNull(aftersalesWorkOrder.getWorkOrderNumber())) { |
|
|
|
aftersalesWorkOrder.setWorkOrderNumber(getWorkOrderNumber(myCurrentWarehouse.getWarehouseCode(), aftersalesWorkOrder.getWorkOrderType())); |
|
|
|
aftersalesWorkOrder.setWorkOrderNumber(getWorkOrderNumber(myCurrentWarehouse.getWarehouseCode(), aftersalesWorkOrder.getWorkOrderType())); |
|
|
|