查询添加报关

This commit is contained in:
zhaoqing
2026-06-01 18:36:56 +08:00
parent 1301e35ffa
commit 9db78617fe
5 changed files with 16 additions and 0 deletions
@@ -139,4 +139,7 @@ public class StockShelfOrderPO extends StockInOrderBasePO {
@Excel(name = "批次号")
private String batchNo;
@ApiModelProperty("是否报关")
private Long needCustomsDeclaration;
}
@@ -151,4 +151,8 @@ public class StockShelfOrderDO extends StockInOrderBaseDO {
@ApiModelProperty("批次号")
@Excel(name = "批次号")
private String batchNo;
@ApiModelProperty("是否报关")
private Long needCustomsDeclaration;
}
@@ -140,4 +140,7 @@ public class StockShelfOrderDTO extends StockInOrderBaseDTO {
@ApiModelProperty("批次号")
@Excel(name = "批次号")
private String batchNo;
@ApiModelProperty("是否报关")
private Long needCustomsDeclaration;
}
@@ -137,6 +137,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
,b.notice_number, b.warehouse_id, b.warehouse_code, b.warehouse_name, b.shipper_id, b.shipper_code, b.shipper_name,
b.order_type_code, b.order_type_name, b.supplier_id, b.supplier_code, b.supplier_name, b.expect_time, b.supply_chain_number, b.priority_level_code,
b.priority_level_name, b.direct_warehouse, b.annex_url, b.material_quantity as in_order_material_quantity, b.quantity as in_order_quantity
,b.NEED_CUSTOMS_DECLARATION
</sql>
<sql id="joinStockInOrderPoWhere">
@@ -195,6 +196,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="quantity != null ">
and b.quantity = #{quantity}
</if>
<if test="needCustomsDeclaration != null ">
and b.need_customs_declaration = #{needCustomsDeclaration}
</if>
</sql>
<sql id="selectStockInOrderPo1">
@@ -104,6 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<when test="delFlag != null"> and a.del_flag = #{delFlag} </when>
<otherwise> and a.del_flag = 1 </otherwise>
</choose>
</sql>
<sql id="joinStockReceiptOrderWhere">