|
|
|
@ -58,7 +58,7 @@ public class LdTwoInventoryRecordServiceImpl extends ServiceImpl<LdTwoInventoryR |
|
|
|
public boolean approve(ApproveDto approveDto) { |
|
|
|
public boolean approve(ApproveDto approveDto) { |
|
|
|
LdTwoOutStorage twoOutStorage = twoOutStorageService.getById(approveDto.getTwoOutStorageId()); |
|
|
|
LdTwoOutStorage twoOutStorage = twoOutStorageService.getById(approveDto.getTwoOutStorageId()); |
|
|
|
if(null == twoOutStorage){ |
|
|
|
if(null == twoOutStorage){ |
|
|
|
throw new CustomerException("未查到一级入库单"); |
|
|
|
throw new CustomerException("未查到二级出库单"); |
|
|
|
} |
|
|
|
} |
|
|
|
//更新审批状态
|
|
|
|
//更新审批状态
|
|
|
|
if(!approveDto.getApproveResult()){ |
|
|
|
if(!approveDto.getApproveResult()){ |
|
|
|
|