|
|
@ -329,10 +329,11 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo |
|
|
|
public boolean extractedSaveAndUpdate(AftersalesWorkOrderDTO aftersalesWorkOrder, BladeUser user, BasicdataWarehouseEntity myCurrentWarehouse) { |
|
|
|
public boolean extractedSaveAndUpdate(AftersalesWorkOrderDTO aftersalesWorkOrder, BladeUser user, BasicdataWarehouseEntity myCurrentWarehouse) { |
|
|
|
if (ObjectUtils.isNull(aftersalesWorkOrder.getId())) { |
|
|
|
if (ObjectUtils.isNull(aftersalesWorkOrder.getId())) { |
|
|
|
//新增
|
|
|
|
//新增
|
|
|
|
|
|
|
|
|
|
|
|
// aftersalesWorkOrder.setInitiationIdentification("PC");
|
|
|
|
// aftersalesWorkOrder.setInitiationIdentification("PC");
|
|
|
|
aftersalesWorkOrder.setCreateUser(user.getUserId()); |
|
|
|
aftersalesWorkOrder.setCreateUser(user.getUserId()); |
|
|
|
aftersalesWorkOrder.setCreateTime(new Date()); |
|
|
|
aftersalesWorkOrder.setCreateTime(new Date()); |
|
|
|
aftersalesWorkOrder.setCreateDept(Func.firstLong(user.getDeptId())); |
|
|
|
aftersalesWorkOrder.setCreateDept(myCurrentWarehouse.getDepartment()); |
|
|
|
aftersalesWorkOrder.setIsDeleted(0); |
|
|
|
aftersalesWorkOrder.setIsDeleted(0); |
|
|
|
aftersalesWorkOrder.setWaybillNumber(aftersalesWorkOrder.getWaybillNumber()); |
|
|
|
aftersalesWorkOrder.setWaybillNumber(aftersalesWorkOrder.getWaybillNumber()); |
|
|
|
aftersalesWorkOrder.setStatus(1); |
|
|
|
aftersalesWorkOrder.setStatus(1); |
|
|
|