@@ -117,4 +117,6 @@ public class TradeOrderListSelectDTO {
@Schema(description = "承运单位")
private Long transportEntId;
+ @Schema(description = "贸易合同")
+ private Long contractId;
}
@@ -36,5 +36,6 @@ public class TradeOrderListSelectParam extends TradeOrderListStatisticParam {
@Schema(description = "订单编号")
private String orderNo;
-
@@ -123,6 +123,9 @@
<if test="query.buyEntId != null">
and d.ent_id = #{query.buyEntId}
</if>
+ <if test="query.contractId != null">
+ and f.contract_id = #{query.contractId}
+ </if>
<if test="query.saleEntId != null">
and e.ent_id = #{query.saleEntId}