|
|
|
@ -427,10 +427,12 @@ record_version,out_work_order_flag,project_id,order_type,auth_rule_id,bu) |
|
|
|
,#{needDate},#{releaseNo},#{sequenceNo},#{pushWmsFlag},#{productionArea},#{transportFlag},#{orderType}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<!-- rqrq - 查询无订单申请单订单明细(包含运输标志和配送区域) --> |
|
|
|
<select id="getNotifyNoOrderDetail" resultType="SOIssueNotifyOrderListData"> |
|
|
|
select a.notify_no,a.site,a.item_no,a.fgpart_no,a.soorder_no,a.ops_item_no,a.seq_no,a.issure_qty,a.out_work_order_flag,a.location_no,a.need_date |
|
|
|
,a.release_no,a.sequence_no,a.order_type |
|
|
|
,a.release_no,a.sequence_no,a.order_type,a.push_wms_flag,a.transport_flag,a.production_area,ar.area_desc as areaDesc |
|
|
|
from SOIssueNotifyOrderList a |
|
|
|
LEFT JOIN area ar ON a.production_area = ar.area_id |
|
|
|
where a.site=#{site} and a.notify_no=#{notifyNo} |
|
|
|
</select> |
|
|
|
<select id="getNoOrderMaterialList" resultType="NoOrderMaterialListVo" > |
|
|
|
@ -477,11 +479,13 @@ record_version,out_work_order_flag,project_id,order_type,auth_rule_id,bu) |
|
|
|
</where> |
|
|
|
order by a.notify_no desc |
|
|
|
</select> |
|
|
|
<!-- rqrq - 查询无订单申请单订单明细(包含运输标志和配送区域) --> |
|
|
|
<select id="getNotifyNoOrderDetailByType" resultType="com.gaotao.modules.notify.entity.SOIssueNotifyOrderList"> |
|
|
|
select a.notify_no,a.site,a.item_no,a.fgpart_no,a.soorder_no,a.ops_item_no,a.seq_no,a.issure_qty,a.out_work_order_flag,a.location_no,a.need_date |
|
|
|
,a.release_no,a.sequence_no |
|
|
|
,a.release_no,a.sequence_no,a.push_wms_flag,a.transport_flag,a.production_area,ar.area_desc as areaDesc |
|
|
|
from SOIssueNotifyOrderList a |
|
|
|
left join SOIssueNotifyHeader b on a.site = b.site and a.notify_no = b.notify_no |
|
|
|
LEFT JOIN area ar ON a.production_area = ar.area_id |
|
|
|
where a.site=#{site} and a.notify_no=#{notifyNo} and b.order_type='noorder' |
|
|
|
</select> |
|
|
|
</mapper> |