| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.mysql.cj.x.protobuf.MysqlxDatatypes; |
| | | import com.ruoyi.common.annotation.Log; |
| | |
| | | // } |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | Long userId = user.getUserId(); |
| | | zInfoUser.setUserId(userId); |
| | | return toAjax(zInfoUserService.saveOrUpdate(zInfoUser)); |
| | | zInfoUser.setSysId(userId); |
| | | |
| | | LambdaUpdateWrapper<ZInfoUser> uw = new LambdaUpdateWrapper<>(); |
| | | uw.eq(ZInfoUser::getSysId,userId).set(ZInfoUser::getSelfIntroduction,zInfoUser.getSelfIntroduction()); |
| | | return toAjax(zInfoUserService.update(uw)); |
| | | // saveOrUpdate(zInfoUser)); |
| | | } |
| | | |
| | | |