select id, account_name, username, password, status, expire_time,
allowed_ip_range, remark, permissions, device_limit, account_type, create_by, create_time, update_by, update_time
from client_account
insert into client_account
account_name,
username,
password,
status,
expire_time,
allowed_ip_range,
remark,
permissions,
device_limit,
account_type,
create_by,
create_time
#{accountName},
#{username},
#{password},
#{status},
#{expireTime},
#{allowedIpRange},
#{remark},
#{permissions},
#{deviceLimit},
#{accountType},
#{createBy},
sysdate()
update client_account
account_name = #{accountName},
username = #{username},
password = #{password},
status = #{status},
expire_time = #{expireTime},
allowed_ip_range = #{allowedIpRange},
remark = #{remark},
permissions = #{permissions},
device_limit = #{deviceLimit},
account_type = #{accountType},
update_by = #{updateBy},
update_time = sysdate()
where id = #{id}
delete from client_account where id = #{id}
delete from client_account where id in
#{id}