pause ; MESSAGE('s'||:ship_confirm_id); pause;
已经执行, 但是同时的UPDATE 语句就是不执行
[@more@]IF (v_return_status = 'S') THEN
-- RAISE fail_api;
if :weight is not null then
update oe_order_headers_all
set attribute14 = :weight
where order_number = :order_number
and org_id = :parameter.g_org_id;
end if;
-- pause ; MESSAGE('s'||:ship_confirm_id); pause;
COMMIT;
update xx_oe_ship_confirm_all sc
set sc.shipped_flag = 'Y'
where sc.ship_confirm_id = :ship_confirm_id;
COMMIT;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/226700/viewspace-916760/
,如需转载,请注明出处,否则将追究法律责任。