insert into ex_user(name,password,title,province,card_front,email,sex,card_obverse,mobile,school_id,discipline_id,job_id,employer,create_at,city,county,address,is_expert)
insert into ex_user(name,password,province,card_front,email,sex,card_obverse,mobile,school_id,discipline_id,job_id,employer,create_at,city,county,address,is_expert,expert_type,expert_type_value)
value (#{name},#{password},#{title},#{province},#{card_front},#{email},#{sex},#{card_obverse},#{mobile},#{school_id},#{discipline_id},#{job_id},#{employer},#{create_at},#{city},#{county},#{address},#{is_expert})
value (#{name},#{password},#{province},#{card_front},#{email},#{sex},#{card_obverse},#{mobile},#{school_id},#{discipline_id},#{job_id},#{employer},#{create_at},#{city},#{county},#{address},#{is_expert},#{expert_type},#{expert_type_value})
update ex_user set name=#{name},sex=#{sex},mobile=#{mobile},email=#{email},title=#{title} where id=#{id}
update ex_user set name=#{name},sex=#{sex},mobile=#{mobile},email=#{email},province=#{province},card_front=#{card_front},card_obverse=#{card_obverse},school_id=#{school_id},