select id, type, model, serial_no, mac, date_time, ip_address, ipv6_address, port_no, protocol_type, event_type, event_description, direction, verify_type, collect_result, blast_result, card_no, name, sex, folk, birthday, address, valid_start, valid_end, sign, card_pic, open_door, voice_code, voice_content, line1, line2, line3, line4, create_time, create_by, update_time, update_by, remark, config_status
from zdy_device_gate_log
insert into zdy_device_gate_log
type,
model,
serial_no,
mac,
date_time,
ip_address,
ipv6_address,
port_no,
protocol_type,
event_type,
event_description,
direction,
verify_type,
collect_result,
blast_result,
card_no,
name,
sex,
folk,
birthday,
address,
valid_start,
valid_end,
sign,
card_pic,
open_door,
voice_code,
voice_content,
line1,
line2,
line3,
line4,
create_time,
create_by,
update_time,
update_by,
remark,
config_status,
#{type},
#{model},
#{serialNo},
#{mac},
#{dateTime},
#{ipAddress},
#{ipv6Address},
#{portNo},
#{protocolType},
#{eventType},
#{eventDescription},
#{direction},
#{verifyType},
#{collectResult},
#{blastResult},
#{cardNo},
#{name},
#{sex},
#{folk},
#{birthday},
#{address},
#{validStart},
#{validEnd},
#{sign},
#{cardPic},
#{openDoor},
#{voiceCode},
#{voiceContent},
#{line1},
#{line2},
#{line3},
#{line4},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
#{configStatus},
update zdy_device_gate_log
type =
#{type},
model =
#{model},
serial_no =
#{serialNo},
mac =
#{mac},
date_time =
#{dateTime},
ip_address =
#{ipAddress},
ipv6_address =
#{ipv6Address},
port_no =
#{portNo},
protocol_type =
#{protocolType},
event_type =
#{eventType},
event_description =
#{eventDescription},
direction =
#{direction},
verify_type =
#{verifyType},
collect_result =
#{collectResult},
blast_result =
#{blastResult},
card_no =
#{cardNo},
name =
#{name},
sex =
#{sex},
folk =
#{folk},
birthday =
#{birthday},
address =
#{address},
valid_start =
#{validStart},
valid_end =
#{validEnd},
sign =
#{sign},
card_pic =
#{cardPic},
open_door =
#{openDoor},
voice_code =
#{voiceCode},
voice_content =
#{voiceContent},
line1 =
#{line1},
line2 =
#{line2},
line3 =
#{line3},
line4 =
#{line4},
create_time =
#{createTime},
create_by =
#{createBy},
update_time =
#{updateTime},
update_by =
#{updateBy},
remark =
#{remark},
config_status =
#{configStatus},
where id = #{id}
delete from zdy_device_gate_log where id = #{id}
delete from zdy_device_gate_log where id in
#{id}