fix: 修复国际进港原始舱单接口解析及列表项布局规范

- API返回类型从BaseResultBean<PageInfo>改为PageInfo,匹配服务端实际响应
- GjjAirManifest字段maWbList重命名为maWb匹配JSON键名
- 列表项布局weight和completeSpace按国际出港规范对齐
- 移除页面初始自动加载,需用户输入航班号后手动查询
- CLAUDE.md补充列表项布局规范及常用字段weight参考表

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 12:06:20 +08:00
parent 2efe322fcf
commit 97ef9b4679
8 changed files with 330 additions and 219 deletions

View File

@@ -7,7 +7,7 @@ import androidx.databinding.ObservableBoolean
*/
data class GjjAirManifest(
// 主单原始舱单
var maWbList: GjjImportManifest? = null,
var maWb: GjjImportManifest? = null,
// 分单原始舱单列表
var haWbList: List<GjjImportManifest>? = null
) {
@@ -24,6 +24,6 @@ data class GjjAirManifest(
* 获取主单用于显示
*/
fun getMainManifest(): GjjImportManifest {
return maWbList ?: GjjImportManifest()
return maWb ?: GjjImportManifest()
}
}

View File

@@ -1727,7 +1727,7 @@ interface Api {
* 国际进港原始舱单-分页查询
*/
@POST("IntImpAirManifest/pageQuery")
suspend fun getIntArrAirManifestList(@Body data: RequestBody): BaseResultBean<PageInfo<GjjAirManifest>>
suspend fun getIntArrAirManifestList(@Body data: RequestBody): PageInfo<GjjAirManifest>
/**
* 国际进港原始舱单-分页合计