Commit 90208c9c by 段启岩

优化备注

parent c6aeab1d
......@@ -36,7 +36,7 @@ public class UserRemarksServiceImpl extends ServiceImpl<UserRemarksMapper, UserR
// 从数据库查询备注信息
UserRemarks userRemarks = getOne(queryWrapper);
if(null == remarks){
if(null == userRemarks){
// 如果以前没有记录,则新增一条
userRemarks = new UserRemarks();
userRemarks.setUserId(currentUserId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment