select id,
area_id,
enable,
code,
create_time,
update_id,
update_by,
update_time,
org_id,
org_name,
org_path,
collection_area_name,
check_id
from sys_nfc_bind
insert into sys_nfc_bind
id,
area_id,
enable,
code,
create_time,
update_id,
update_by,
update_time,
org_id,
org_name,
org_path,
collection_area_name,
check_id,
#{id},
#{areaId},
#{enable},
#{code},
#{createTime},
#{updateId},
#{updateBy},
#{updateTime},
#{orgId},
#{orgName},
#{orgPath},
#{collectionAreaName},
#{checkId},
update sys_nfc_bind
area_id =
#{areaId},
enable =
#{enable},
code =
#{code},
create_time =
#{createTime},
update_id =
#{updateId},
update_by =
#{updateBy},
update_time =
#{updateTime},
org_id =
#{orgId},
org_name =
#{orgName},
org_path =
#{orgPath},
collection_area_name =
#{collectionAreaName},
check_id =
#{checkId},
del_flag= #{delFlag}
where id = #{id}
UPDATE sys_nfc_bind
SET area_name = #{areaName}
WHERE area_id = #{areaId}
UPDATE sys_nfc_bind
SET collection_area_name = #{collectionAreaName}
WHERE check_id = #{checkId}
delete
from sys_nfc_bind
where id = #{id}
delete from sys_nfc_bind where id in
#{id}
UPDATE sys_nfc_bind
set del_flag=2
where code = #{code}