物品管理员需是同一人
This commit is contained in:
@@ -108,7 +108,7 @@ class InvRequisitionService
|
|||||||
}
|
}
|
||||||
$manage_user = array_unique($manage_user);
|
$manage_user = array_unique($manage_user);
|
||||||
if(count($manage_user)>1){
|
if(count($manage_user)>1){
|
||||||
throw new BusinessException("审批实例未找到");
|
throw new BusinessException("物品管理员不是同一人");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -147,7 +147,7 @@ class InvRequisitionService
|
|||||||
return $res;
|
return $res;
|
||||||
});
|
});
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
throw new BusinessException("创建物品申请失败:" . $e->getMessage().$e->getLine().$e->getFile().$e->getTraceAsString());
|
throw new BusinessException("创建物品申请失败:");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user