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
ÿþ--[[
   x: GT-24-17
    Tðy: š[öe͑n‰|™eŒèb3u÷‹US¶r`
   \O€ÿLZH
   åegÿ2025-1-3
 
   ýQpeÿ ResetState
   ŸRý€:  (WTðS¡{t‹NöN-N¾‹nÏk)YÐg*Nöeô•‚‚¹pš[öe͑n ‰|™eŒèb3u÷‹US¶r`:N "‘"  and ¡[8hUS„v¶r`:N "*g/T(u"
 
   ôf9e°‹U_:
 
--]]
 
json  = require("json")
mobox = require("OILua_JavelinExt")
m3 = require( "oi_base_mobox" )
 
function ResetState(strLuaDEID)
    lua.Debug(strLuaDEID, debug.getinfo(1), "š[öe͑n‰|™eŒèb3u÷‹US¶r`", 1)
    -- îO9e¶r`S_STATE:N‘ îO9eN¡R¶r`S_B_STATE:N*g/T(u
    local strCondition = "S_LEVEL = 2"
    local strSetSQL = "S_STATE = '‘',S_B_STATE = 0"
    local nRet, strRetInfo = mobox.updateTableAttrByCondition(strLuaDEID, "TN_GT_Allot_Order", strCondition,strSetSQL)
    if (nRet ~= 0) then lua.Error(strLuaDEID, debug.getinfo(1), strRetInfo) end
end