select id, url, command, type, mac, sn, result, longitude, latitude, call_status, create_time, order_no from et_command_log
insert into et_command_log
url,
command,
type,
mac,
sn,
result,
latitude,
longitude,
call_status,
order_no,
create_time
#{url},
#{command},
#{type},
#{mac},
#{sn},
#{result},
#{latitude},
#{longitude},
#{callStatus},
#{orderNo},
sysdate()
update et_command_log
url = #{url},
command = #{command},
type = #{type},
mac = #{mac},
sn = #{sn},
result = #{result},
latitude = #{latitude},
longitude = #{longitude},
call_status = #{callStatus},
order_no = #{orderNo},
where id = #{id}
delete from et_command_log where id = #{id}
delete from et_command_log where id in
#{id}