ID, APP, LOCAL_STATE, PRV_STATE, NEXT_STATE #{id}, #{app}, #{localState}, #{prvState}, #{nextState} and APP = #{app} and LOCAL_STATE = #{localState} and PRV_STATE = #{prvState} and NEXT_STATE = #{nextState} insert into gw_sub_process( ) values ( ) delete from gw_sub_process where ID = #{id} delete from gw_sub_process update gw_sub_process set flag_valid = 0 where ID = #{id} update gw_sub_process APP = #{app}, LOCAL_STATE = #{localState}, PRV_STATE = #{prvState}, NEXT_STATE = #{nextState}, ID = #{id} update gw_sub_process APP = #{app}, LOCAL_STATE = #{localState}, PRV_STATE = #{prvState}, NEXT_STATE = #{nextState},