Commit c096bf6e by huangtao

专账修复

parent 7dd4a878
......@@ -112,6 +112,7 @@ public class PhysicWarehouseServiceImpl extends AbstractService implements Phys
BeanUtil.copyProperties(physicWarehouse,billDTO);
billDTO.setType(1);
billDTO.setDeptId(physicWarehouse.getDeptId());
billDTO.setRefId(physicWarehouse.getId());
physicBillService.createBill(billDTO);
}
......@@ -157,7 +158,7 @@ public class PhysicWarehouseServiceImpl extends AbstractService implements Phys
PhysicWarehouse physicWarehouse = new PhysicWarehouse();
BeanUtil.copyProperties(req,physicWarehouse);
physicWarehouse.setStatus(0);
physicWarehouse.setId(physicWarehouse.getId());
physicWarehouse.setId(req.getPhysicWarehouseId());
physicWarehouseMapper.updateById(physicWarehouse);
PhysicWarehouseVO info = getInfo(physicWarehouse.getId());
return info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment