feat: 收运检查-交接单

This commit is contained in:
2025-12-06 15:42:56 +08:00
parent f17b68a94c
commit 21e0857790
7 changed files with 424 additions and 12 deletions

View File

@@ -0,0 +1,41 @@
package com.lukouguoji.module_base.bean
/**
* 国际出港货物交接单Bean
*/
data class GjcHandoverSheetBean(
// ========== API文档字段 ==========
var id: Long? = null, // 主键id
var maWbId: Long? = null, // 运单主键id
var no: String? = null, // 编号
var prefix: String? = null, // 前缀
var chargeWeight: Double? = null, // 计费重量
var saleAgentCode: String? = null, // 销售代理人
var expressName: String? = null, // 平台或快递企业名称
var cbEcFlag: String? = null, // 是否为跨境电商货物(0:否;1:是)
var opName: String? = null, // 经办人签名
var opCardId: String? = null, // 经办人身份证号
// ========== 防止隐含危险品检查单 ==========
var goodsName: String? = null, // 申报货物的品名为确指品名(0/1)
var danger: String? = null, // 确认货物内不含未申报的危险品(0/1)
var fish: String? = null, // 是否非观赏鱼类货物(0/1)
var packaging: String? = null, // 包装件没有油渍或液体渗漏(0/1)
var labels: String? = null, // 清除或涂去无关标记或标签(0/1)
// ========== 高风险货物检查单 ==========
var appearance: String? = null, // 航空货物外观显现异常(0/1)
var threat: String? = null, // 有具体情报显示威胁(0/1)
var highRisk: String? = null, // 结论:是否可以判定为高风险货物(0/1)
// ========== 跨境电商检查单 ==========
var submitStatement: String? = null, // 是否已提交声明(0/1/2: 是/否/不适用)
// ========== 货站收运人员 ==========
var staOpName: String? = null, // 货站收运人员签名
// ========== 安检信息(用户手动填写) ==========
var securityChannel: String? = null, // 安检机通道号
var securityStartTime: String? = null, // 开始过机时间
var securityEndTime: String? = null // 结束过机时间
)

View File

@@ -0,0 +1,9 @@
package com.lukouguoji.module_base.bean
/**
* 国际出港货物交接单查询接口返回Bean
*/
data class GjcHandoverSheetResponse(
var maWb: GjcMaWb? = null, // 主单信息
var handoverSheet: GjcHandoverSheetBean? = null // 交接单信息(可能为null)
)

View File

@@ -27,6 +27,8 @@ import com.lukouguoji.module_base.bean.GjcCheckInRecord
import com.lukouguoji.module_base.bean.GjcGoodsAddBean
import com.lukouguoji.module_base.bean.GjcGoodsBean
import com.lukouguoji.module_base.bean.GjcGoodsDetailsBean
import com.lukouguoji.module_base.bean.GjcHandoverSheetBean
import com.lukouguoji.module_base.bean.GjcHandoverSheetResponse
import com.lukouguoji.module_base.bean.GjcInspectionBean
import com.lukouguoji.module_base.bean.GjcMaWb
import com.lukouguoji.module_base.bean.GjcMove
@@ -418,6 +420,23 @@ interface Api {
@POST("IntExpCheckInCheck/pageQueryTotal")
suspend fun getGjcInspectionTotal(@Body data: RequestBody): BaseResultBean<ManifestTotalDto>
/**
* 国际出港收运审核-交接单-获取交接单内容
* 接口路径: /IntExpCheckInCheck/queryHandoverSheet
*/
@GET("IntExpCheckInCheck/queryHandoverSheet")
suspend fun queryHandoverSheet(@Query("maWbId") maWbId: Long): BaseResultBean<GjcHandoverSheetResponse>
/**
* 国际出港收运审核-交接单-保存
* 接口路径: /IntExpCheckInCheck/saveHandoverSheet
*/
@POST("IntExpCheckInCheck/saveHandoverSheet")
suspend fun saveHandoverSheet(@Body data: RequestBody): BaseResultBean<Long>
///////////////////////////////////////////////////////////////////////////
// 国际出 - 查询
///////////////////////////////////////////////////////////////////////////
/**
* 国际出港查询-分页查询
* 接口路径: /IntExpSearch/pageQuery