# `Sp_Del_gdsconfigformuserslave` (procedure)

> 显示界面恢复出厂设置


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

## Parameters

| # | Mode | Name | Type |
|---|---|---|---|
| 1 | OUT | `sReturn` | `varchar(4000)` |
| 2 | OUT | `sCode` | `int` |

## Body

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

## Narrative

**Business context:** 显示界面恢复出厂设置 — clears per-user form-column customizations (the "restore factory display" action). Drops rows in `gdsconfigformuserslave` whose owning jurisdiction-classify has been flagged invisible to standard operator profiles, so the next form open shows the platform-default column layout.

**What it does:** Single `DELETE FROM gdsconfigformuserslave WHERE sJurisdictionClassifyId IN (SELECT sId FROM sisjurisdictionclassify WHERE bLogininfoShow = 0)`.

**Invocation:** Status: appears orphaned. No `gdsmodule` hook, no `gdsconfigformmaster` data-source, no other routine references it. xly-src ships only the install script `script/标版/30100101/Sp_Del_gdsconfigformuserslave.sql`. The Chinese title implies an admin "restore factory display" button, but no dispatcher is wired up; candidate for maintainer audit or expected to be triggered manually.
