a.id as "id",
a.username as "username",
a.password as "password",
a.nickname as "nickname",
a.email as "email",
a.phone as "phone",
a.address as "address",
a.create_time as "createTime",
a.update_time as "updateTime",
a.avatar_url as "avatarUrl",
a.education as "education",
a.school as "school",
a.major as "major",
a.start_time as "startTime",
a.end_time as "endTime",
a.experience as "experience",
a.company_name as "companyName",
a.industry as "industry",
a.job_time as "jobTime",
a.job_name as "jobName",
a.job_type as "jobType",
a.skill_id as "skillId",
a.job_content as "jobContent",
a.type as "type",
a.sex as "sex",
a.birthday as "birthday",
a.share_resource as "shareResource",
a.is_tech as "isTech",
a.idea as "idea",
a.is_partner as "isPartner",
a.hobby as "hobby",
a.other as "other",
a.is_member as "isMember",
a.order_id as "orderId",
a.order_start_time as "orderStartTime",
a.order_end_time as "orderEndTime" ,
a.`check` as "check",
a.back_ground_img as "backGroundImg"
select id, username, password, nickname, email, phone, address, create_time, update_time, avatar_url, education, school, major, start_time, end_time, experience, company_name, industry, job_time, job_name, job_type, skill_id, job_content, type,is_member,job_end_time,
order_id, order_start_time, order_end_time , `check` , back_ground_img from app_user
update app_user set is_member = 1,update_time = now()
where
is_member = 0
and now() > order_end_time
insert into app_user
username,
password,
nickname,
email,
phone,
address,
create_time,
update_time,
avatar_url,
education,
school,
major,
start_time,
end_time,
experience,
company_name,
industry,
job_time,
job_name,
job_type,
skill_id,
job_content,
type,
sex,
birthday,
share_resource,
is_tech,
idea,
is_partner,
hobby,
city,
other,
is_member,
order_id,
order_start_time,
order_end_time,
`check`,
`back_ground_img`,
#{username},
#{password},
#{nickname},
#{email},
#{phone},
#{address},
#{createTime},
#{updateTime},
#{avatarUrl},
#{education},
#{school},
#{major},
#{startTime},
#{endTime},
#{experience},
#{companyName},
#{industry},
#{jobTime},
#{jobName},
#{jobType},
#{skillId},
#{jobContent},
#{type},
#{sex},
#{birthday},
#{shareResource},
#{isTech},
#{idea},
#{isPartner},
#{hobby},
#{city},
#{other},
#{isMember},
#{orderId},
#{orderStartTime},
#{orderEndTime},
#{check},
#{backGroundImg},
update app_user
username = #{username},
password = #{password},
nickname = #{nickname},
email = #{email},
phone = #{phone},
address = #{address},
create_time = #{createTime},
update_time = #{updateTime},
avatar_url = #{avatarUrl},
education = #{education},
school = #{school},
major = #{major},
start_time = #{startTime},
end_time = #{endTime},
experience = #{experience},
company_name = #{companyName},
industry = #{industry},
job_time = #{jobTime},
job_end_time = #{jobEndTime},
job_name = #{jobName},
job_type = #{jobType},
skill_id = #{skillId},
job_content = #{jobContent},
type = #{type},
sex = #{sex},
birthday = #{birthday},
share_resource = #{shareResource},
is_tech = #{isTech},
idea = #{idea},
is_partner = #{isPartner},
hobby = #{hobby},
city = #{city},
other = #{other},
order_id = #{orderId},
order_start_time = #{orderStartTime},
order_end_time = #{orderEndTime},
`check` = #{check},
background_img = #{backGroundImg},
where id = #{id}
delete from app_user where id = #{id}
delete from app_user where id in
#{id}