修复 R7E 真机反馈回流与移动入口 WF8-11A R7E-16A R7E-16B BIZ8-12A

这个提交包含在:
2026-05-14 21:53:20 +08:00
父节点 45900e0673
当前提交 5491e922e6
共修改 26 个文件,包含 281 行新增和 56 行删除
+3 -2
查看文件
@@ -607,12 +607,12 @@ async function portalRoutes(fastify) {
select: { project_id: true },
}).then((items) => items.length)
: Promise.resolve(0),
roleCapabilities.canUseFinance
roleCapabilities.canUseFinance && featureEnabled.paymentBatch
? fastify.prisma.paymentBatch.count({
where: { status: { in: ["draft", "reviewed", "failed"] } },
})
: Promise.resolve(0),
roleCapabilities.canUseFinance
roleCapabilities.canUseFinance && featureEnabled.paymentBatch
? fastify.prisma.paymentBatchItem.count({ where: { status: "failed" } })
: Promise.resolve(0),
buildRecentActivities(fastify.prisma),
@@ -814,6 +814,7 @@ async function portalRoutes(fastify) {
pendingBatchCount: pendingFinanceBatchCount,
failedItemCount: failedFinanceItemCount,
riskCount,
paymentBatchEnabled: featureEnabled.paymentBatch,
href: "/ap-operations",
}
: null,