@ -26,6 +26,7 @@ record_version,out_work_order_flag,project_id,order_type,auth_rule_id,bu)
<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
from SOIssueNotifyOrderList a
from SOIssueNotifyOrderList a
where a.site=#{site} and a.notify_no=#{notifyNo}
where a.site=#{site} and a.notify_no=#{notifyNo}
</select>
</select>
@ -127,9 +128,9 @@ record_version,out_work_order_flag,project_id,order_type,auth_rule_id,bu)
</select>
</select>
<insert id= "saveSOIssueNotifyOrderList" >
<insert id= "saveSOIssueNotifyOrderList" >
insert into SOIssueNotifyOrderList(notify_no,site,item_no,fgpart_no,soorder_no,ops_item_no,seq_no, issure_qty,out_work_order_flag,location_no, need_date)
values(#{notifyNo},#{site},#{itemNo},#{fgPartNo},#{soorderNo},#{opsItemNo},#{seqNo},#{ issureQty,jdbcType=DECIMAL},#{outWorkOrderFlag}
,#{locationNo},#{needDate })
insert into SOIssueNotifyOrderList(notify_no,site,item_no,fgpart_no,soorder_no,issure_qty,out_work_order_flag,need_date,release_no,sequence_no )
values(#{notifyNo},#{site},#{itemNo},#{fgPartNo},#{soorderNo},#{issureQty,jdbcType=DECIMAL},#{outWorkOrderFlag}
,#{needDate},#{releaseNo},#{sequenceNo })
</insert>
</insert>
<delete id= "deleteSOIssueNotifyOrderMaterialListData" >
<delete id= "deleteSOIssueNotifyOrderMaterialListData" >
delete from SOIssueNotifyOrderMaterialList where site=#{site} and notify_no=#{notifyNo} and item_no=#{itemNo}
delete from SOIssueNotifyOrderMaterialList where site=#{site} and notify_no=#{notifyNo} and item_no=#{itemNo}