users
id,
parent_id,path,rank,country_code,phone,password,fund_pass,nickname, avatar,invite_code,token,hash,`level`,now_level,
grade,status,fund_status,active,note,reg_time,reg_ip,reg_address,did,read_time,start_at,expire_at,proxy,is_work,
work_at,created_at,updated_at
#{parentId},#{path},#{rank},#{countryCode},#{phone},#{password},#{fundPass},#{nickname},#{avatar},#{inviteCode},
#{token},#{hash},#{level},#{nowLevel},#{grade},#{status},#{fundStatus},#{active},#{note},#{regTime},#{regIp},
#{regAddress},#{did},#{readTime},#{startAt},#{expireAt},#{proxy},#{isWork},#{workAt},now(),now()
parent_id = #{parentId},
path =#{path},
rank =#{rank},
country_code =#{countryCode},
phone =#{phone},
password = #{password},
fund_pass =#{fundPass},
nickname =#{nickname},
avatar =#{avatar},
invite_code = #{inviteCode},
token = #{token},
hash =#{hash},
`level` =#{level},
now_level =#{nowLevel},
grade =#{grade},
status = #{status},
fund_status =#{fundStatus},
active =#{active},
note =#{note},
reg_time = #{regTime},
reg_ip = #{regIp},
reg_address =#{regAddress},
did = #{did},
read_time =#{readTime},
start_at =#{startAt},
expire_at =#{expireAt},
proxy = #{proxy},
is_work = #{isWork},
work_at = #{workAt},
update_time =now()
id = #{id}
and parent_id = #{parentId}
and path =#{path}
and rank =#{rank}
and country_code =#{countryCode}
and phone =#{phone}
and password = #{password}
and fund_pass =#{fundPass}
and nickname =#{nickname}
and avatar =#{avatar}
and invite_code = #{inviteCode}
and token = #{token}
and hash =#{hash}
and `level` =#{level}
and now_level =#{nowLevel}
and grade =#{grade}
and status = #{status}
and fund_status =#{fundStatus}
and active =#{active}
and note =#{note}
and reg_time = #{regTime}
and reg_ip = #{regIp}
and reg_address =#{regAddress}
and did = #{did}
and read_time =#{readTime}
and start_at =#{startAt}
and expire_at =#{expireAt}
and proxy = #{proxy}
and is_work = #{isWork}
and work_at = #{workAt}
and created_at >= #{createdAt}
and #{updatedAt} >= updated_at
insert into
()
value(
)
UPDATE
id = #{id}
delete from
where id = #{id}