update xzx_user_other_info set is_prohibit=#{flag} where user_id=#{userId} and user_type=#{userType} update xzx_user_other_info set password=#{password},salt=#{salt} where mobile_phone=#{phone} update xzx_user_other_info set name=#{name} where mobile_phone=#{mobile} update xzx_user_other_info set del_flag = 0 ,password=#{password} ,salt = #{salt} ,town_id=#{area} ,name=#{name} ,role_ids=#{roleId} ,partner_id=#{partnerId} ,city_id=#{cityId} ,storage_id=#{storageId} , province_id=#{provinceId} , township_id=#{townshipId} ,province=#{province} ,city=#{city} ,township=#{township} where mobile_phone=#{phone} and user_type=#{userType} INSERT INTO xzx_user_other_info ( user_id, mobile_phone, `password`, salt, `name`, user_type, regist_time, town_id, partner_id, role_ids, avatar, city_id, storage_id, township_id, province_id, province, city, township ) values (#{id},#{mobilephone},#{password},#{salt},#{name},#{userType},SYSDATE(),#{area},#{partnerId},#{roleId},'https://res.cnxzx.com/resource/static/img/icon-loadlogo.png',#{cityId},#{storageId},#{townshipId} ,#{provinceId},#{province} ,#{city} ,#{township} ) update xzx_user_other_info set del_flag = 1 where partner_id = #{id} and del_flag = 0 insert into xzx_user_other_info (user_id, mobile_phone, login_account, password, salt, name, user_type, open_id, country, regist_time, del_flag, is_prohibit, role_ids, partner_id, avatar) values ( #{userId}, #{mobilePhone}, #{loginAccount}, #{password}, #{salt}, #{name}, #{userType}, null, 'China', SYSDATE(), 0, 0, #{roleIds}, #{partnerId}, #{avatar} ) update xzx_user_other_info set is_prohibit = 1 where partner_id = #{partnerId}