sendPlcData.md 1.09 KB

sendPlcData (procedure)

自定义按钮日志记录

  • Type: PROCEDURE
  • Deterministic: NO
  • SQL data access: CONTAINS SQL

Parameters

No parameters.

Body

Body is not pre-cached. To inspect: mysql --defaults-file=~/.my.cnf -e 'SHOW CREATE PROCEDUREsendPlcData'.

Narrative

Business context: PLC data send — header says 自定义按钮日志记录 ("custom-button log-record") but body is a one-liner scaffold that returns newId() AS sPlanId. No business logic, no inserts, no PLC interaction; looks like a custom-button template that was never filled in.

What it does: SELECT newId() AS sPlanId; — produces a single newly-generated 32-char id and returns it as a result set named sPlanId. That's the whole body.

Invocation: Status: appears orphaned. No caller found in any channel (form-master, gdsmodule hooks, other routines, xly-src grep across all extensions, no MyBatis CALLABLE mapping). The header label suggests it was intended as a 自定义按钮 entry-point but the wiring was never completed. Candidate for maintainer audit / deletion.