update user set nickname = #{nickname,jdbcType=VARCHAR}, mobile = #{mobile,jdbcType=VARCHAR}, society_tag = #{societyTag,jdbcType=VARCHAR}, audit_status=1 where id = #{id,jdbcType=VARCHAR} update user a,user_lock_release b set a.share_type = 1,a.transfer_time = #{time} ,b.status=2,b.release_time= #{time} where b.status=1 and b.`type`=0 and a.id=b.uid update user set share_type =2,sign_bills =1,aid = #{aid} where id= #{uid} INSERT INTO `user` (id, mobile, password, nickname,identify_name,username, share_type,type,society_tag,channel,source,status)VALUES (#{item.uid,jdbcType=VARCHAR}, #{item.contactMobile,jdbcType=VARCHAR},#{item.password,jdbcType=VARCHAR}, #{item.userName},#{item.userName},#{item.userName}, #{item.shareType,jdbcType=TIMESTAMP}, 1,#{item.societyTag},1,1 ,#{item.userStatus}) update user set aid = #{aid},information_maintainer= #{aid},transfer_time=now() where id in( #{item} ) update user a ,user_channel b,user_lock_release c set b.status = 6,b.recovery=1, a.share_type = 1,b.status = 8, a.transfer_time = now(), c.release_time = now(), c.status = 2 where a.id=b.uid and a.id=c.uid and a.aid=c.aid and c.status =0 and c.`type` =0 and b.status in (0,1,2) and a.id in( #{item.uid} )