fix: 国际进港仓库清仓入参改为 body 传递

清仓原先把 clearNormal/clearRemark 放在 URL query 上,与接口文档不符。
改为与国际出港一致的单对象 body:clearNormal、clearRemark 在顶层,
选中数据放 warehouseList(出港侧对应字段为 maWbList)。
同时移除逐条写入主单 clearRemark 的兼容写法。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-17 11:24:58 +08:00
parent 50275457a4
commit 6b02f71e8a
3 changed files with 14 additions and 16 deletions

View File

@@ -991,11 +991,7 @@ interface Api {
* 接口路径: /IntImpStorage/updateClear
*/
@POST("IntImpStorage/updateClear")
suspend fun clearIntImpStorage(
@Query("clearNormal") clearNormal: String,
@Query("clearRemark") clearRemark: String?,
@Body data: RequestBody
): BaseResultBean<Boolean>
suspend fun clearIntImpStorage(@Body data: RequestBody): BaseResultBean<Boolean>
/**
* 国际进港库位操作-修改库位