是否下发查询;
This commit is contained in:
+3
-3
@@ -455,10 +455,10 @@
|
||||
and date_format(a.expect_time,'%Y-%m-%d') <= #{expectTimeEnd}
|
||||
</if>
|
||||
<if test="xfStatus != null and xfStatus != '' and xfStatus == '已下发'">
|
||||
and b.in_order_number is not null
|
||||
and a.issue_time is not null
|
||||
</if>
|
||||
<if test="xfStatus != null and xfStatus != '' and xfStatus == '未下发'">
|
||||
and b.in_order_number is null
|
||||
and a.issue_time is null
|
||||
</if>
|
||||
<!-- 入库明细:物料名称、物料编码(同一明细行同时满足;与计划数量汇总口径一致)。关联 material_base_info 避免明细冗余名称与主档不一致时筛不到 -->
|
||||
<if test="(materialName != null and materialName != '') or (materialCode != null and materialCode != '')">
|
||||
@@ -491,7 +491,7 @@
|
||||
<select id="queryList" parameterType="com.mhd.oms.domain.reservationStockInOrder.repository.todo.ReservationStockInOrderDO" resultMap="StockInOrderResult">
|
||||
select
|
||||
<include refid="selectStockInOrderPo"/>
|
||||
from reservation_stock_in_order a left join NGWL_TEST_WMS.stock_in_order b on a.in_order_number = b.in_order_number
|
||||
from reservation_stock_in_order a
|
||||
<where>
|
||||
<include refid="selectStockInOrderPo1"/>
|
||||
</where>
|
||||
|
||||
Reference in New Issue
Block a user