物品管理员需是同一人

This commit is contained in:
2026-02-05 10:48:26 +08:00
parent 7bf2249ce6
commit 28e5afe62a
+2 -2
View File
@@ -108,7 +108,7 @@ class InvRequisitionService
}
$manage_user = array_unique($manage_user);
if(count($manage_user)>1){
throw new BusinessException("审批实例未找到");
throw new BusinessException("物品管理员不是同一人");
}
}
@@ -147,7 +147,7 @@ class InvRequisitionService
return $res;
});
} catch (\Throwable $e) {
throw new BusinessException("创建物品申请失败:" . $e->getMessage().$e->getLine().$e->getFile().$e->getTraceAsString());
throw new BusinessException("创建物品申请失败:");
}
}