# `Sp_Bd_Root_allstatus25_new` (procedure)

> @author:zhucx
							@date:20210620 封存
							@describe: 看板管理-数字工厂状态看板


- **Type:** PROCEDURE
- **Deterministic:** NO
- **SQL data access:** CONTAINS SQL

## Parameters

| # | Mode | Name | Type |
|---|---|---|---|
| 1 | IN | `sBrId` | `varchar(100)` |
| 2 | IN | `sSuId` | `varchar(100)` |

## Body

_Body is not pre-cached. To inspect: `mysql --defaults-file=~/.my.cnf -e 'SHOW CREATE PROCEDURE `Sp_Bd_Root_allstatus25_new`'`._

## Narrative

**Business context:** 看板管理 / 数字工厂状态看板 — successor of `Sp_Bd_Root_allstatus25`. Same 16-press production-floor status grid but with a streamlined signature (`sBrId`, `sSuId` only) and no JSON-string OUT parameter — returns the rowset directly for the dashboard renderer. Author tagged `封存` 2021-06-20.

**What it does:** Identical seeding and cursor logic to `Sp_Bd_Root_allstatus25` over the same 16-slot demo PLC table — fills `p_Bd_workshop5(sName,sValue)` with per-slot order / status / shift quantity / month quantity, then `SELECT *` returns it.

**Invocation:** No install script in xly-src, no form-master, no `gdsmodule` hook, no Java caller, no other-routine caller. Reached only by an external dashboard HTTP endpoint that calls the proc by name. Marked `封存` (sealed); the demo-fixed `iPlcNo` literals (`00000010`, `00000005`, `CD102-7`) suggest this is a sample/template board, not a live production tile.
