--库存计算 if *** then --库存计算,库存单价计算(进区) PRO_TJ_JUDENUMBER_ForNew(strGateJobNo, CustomCode_);//该存储过程中未commit; else PRO_TJ_JUDENUMBER(strGateJobNo, CustomCode_);//该存储过程中未commit; end if; //存储过程PRO_TJ_JUDENUMBER_ForNew和PRO_TJ_JUDENUMBER操作同一张表
TotalResult := Get_TotalUSA(strGateJobNo); if Iresult = '0' or TotalResult = '0' then rollback; else commit; end if;