# `Sp_BtnRepair_UpdateGYSFKBackMemo` (procedure)

> 供应商反馈


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

## Parameters

| # | Mode | Name | Type |
|---|---|---|---|
| 1 | IN | `sProInParam` | `varchar(10000)` |
| 2 | IN | `sMakePerson` | `varchar(100)` |
| 3 | IN | `sUserId` | `varchar(100)` |
| 4 | IN | `sBrId` | `varchar(100)` |
| 5 | IN | `sSuId` | `varchar(100)` |
| 6 | OUT | `sReturn` | `varchar(1000)` |
| 7 | OUT | `sCode` | `int` |

## Body

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

## Narrative

**Business context:** 采购入库 / 供应商反馈 — bulk "批量修改" dialog handler that lets purchasing record a 供应商 (GYS) push-back memo on selected `purpurchaseinstorededmaster` rows. The `sBackMemo` captures supplier-side feedback on a delivered purchase-in-storage record.

**What it does:** Parses `$.params[*].value[*].sId` and `$.changeValue.sBackMemo` from `sProInParam`. For each row id, executes `UPDATE purpurchaseinstorededmaster SET sBackMemo = p_sMemo WHERE sId = p_sId`.

**Invocation:** Dispatched dynamically by `GenericProcedureCallServiceImpl.doGenericProcedureCall()` (POST `/procedureCall/doGenericProcedureCall`) — front-end "供应商反馈" dialog on the 采购入库 grid registers this procedure name. Built from the `sButtonParam.sql` template. Sibling of `Sp_BtnRepair_UpdateWXFKBackMemo` (the outsourced-in-storage counterpart).
