id, account, name, birthday, sex, email, avatar, phone, roleid, deptid, status, createtime, version id, account, name, birthday,password, sex, email, avatar, phone, roleid,salt, deptid, status, createtime, version,objectType,objectId update sys_user set status = #{status} where id = #{userId} update sys_user set password = #{pwd} where id = #{userId} update sys_user set roleid = #{roleIds} where id = #{userId} delete from sys_user_store where userId = #{userId} insert into sys_user_store(id, userId, storeId) values (#{id}, #{userId}, #{storeId})