Browse Source

异常工单部门BUG修复

visual
汤建军 3 months ago
parent
commit
8cebbe9bbc
  1. 3
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesWorkOrderServiceImpl.java

3
blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesWorkOrderServiceImpl.java

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

Loading…
Cancel
Save