供应链管理
This commit is contained in:
parent
0b8d75223e
commit
41fbb4ddbe
|
|
@ -104,6 +104,9 @@ public class ImsIntoInventoryServiceImpl implements IImsIntoInventoryService
|
|||
if(Objects.isNull(imsIntoInventoryVO)) {
|
||||
throw new ServiceException("入库单不存在");
|
||||
}
|
||||
if(Long.valueOf(2).equals(imsIntoInventoryVO.getStatus())) {
|
||||
throw new ServiceException("入库单已入库");
|
||||
}
|
||||
ImsIntoInventory imsIntoInventory = new ImsIntoInventory();
|
||||
BeanUtils.copyProperties(imsIntoInventoryUpdate, imsIntoInventory);
|
||||
imsIntoInventory.setUpdateTime(DateUtils.getNowDate());
|
||||
|
|
|
|||
|
|
@ -123,6 +123,9 @@ public class ImsOutInventoryServiceImpl implements IImsOutInventoryService
|
|||
if(Objects.isNull(imsOutInventoryVO)) {
|
||||
throw new ServiceException("出库单不存在");
|
||||
}
|
||||
if(Long.valueOf(2).equals(imsOutInventoryVO.getStatus())) {
|
||||
throw new ServiceException("该出库单已出库");
|
||||
}
|
||||
ImsOutInventory imsOutInventory = new ImsOutInventory();
|
||||
BeanUtils.copyProperties(imsOutInventoryUpdate, imsOutInventory);
|
||||
imsOutInventory.setUpdateTime(DateUtils.getNowDate());
|
||||
|
|
|
|||
Loading…
Reference in New Issue