lzh
2025-06-24 13c4a636539584ab977fddacfae884b3ec250aee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ÿþ--[[
    x: WMS-08-03
     Tðy: ŸRý€    c®”-nd–úQ•¨R\O
    \O€ÿHAN    
    eQãSýQpeÿ Delete
 
    ŸRý€ô‹f:
         Rd– •ï‹ ¶r`„v¾‹Y¨R\O
    ôf9e°‹U_:
 
--]]
json  = require ("json")
mobox = require ("OILua_JavelinExt")
m3 = require( "oi_base_mobox" )
 
function Delete ( strLuaDEID ) 
    local nRet, strRetInfo
    local strCondition = "N_B_STATE = 2"
 
    lua.Debug( strLuaDEID, debug.getinfo(1), "MQ_EQAction Delete", 1 );
    
    nRet, strRetInfo = mobox.deleteDataObject( strLuaDEID, "MQ_EQAction", strCondition )
    if ( nRet ~= 0) then lua.Error( strLuaDEID, debug.getinfo(1), " Rd–\ONøvsQ„v0¾‹Y¨R\O–R01Y%!  "..strRetInfo ) end 
    -- 7R°eS_MRu˜b—
    local strAction = '[{"action_type":"refresh","value":""}]'
    nRet, strRetInfo = mobox.setAction(strLuaDEID, strAction)
    if ( nRet ~= 0 ) then lua.Error( strLuaDEID, debug.getinfo(1), "setAction•ï‹: "..strRetInfo) end     
end