|
|
@ -26,11 +26,12 @@ record_version,out_work_order_flag,project_id,order_type,auth_rule_id,bu) |
|
|
update SOIssueNotifyHeader set bu=#{bu} where site=#{site} and notify_no=#{notifyNo} |
|
|
update SOIssueNotifyHeader set bu=#{bu} where site=#{site} and notify_no=#{notifyNo} |
|
|
</update> |
|
|
</update> |
|
|
|
|
|
|
|
|
<!-- rqrq - 根据申请单号查询订单明细 --> |
|
|
|
|
|
|
|
|
<!-- rqrq - 根据申请单号查询订单明细(包含运输标志和配送区域) --> |
|
|
<select id="getNotifyNoDetail" resultType="SOIssueNotifyOrderListData"> |
|
|
<select id="getNotifyNoDetail" 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 |
|
|
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 |
|
|
from SOIssueNotifyOrderList a |
|
|
|
|
|
LEFT JOIN area ar ON a.production_area = ar.area_id |
|
|
where a.site=#{site} and a.notify_no=#{notifyNo} |
|
|
where a.site=#{site} and a.notify_no=#{notifyNo} |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|