| | |
| | | * 用户自己查看别人分享的数据和分享人 |
| | | */ |
| | | @GetMapping("/getInfoByShareId") |
| | | public AjaxResult empowerGetInfo2(@RequestBody ShareMore zfDoctor){ |
| | | public AjaxResult empowerGetInfo2(){ |
| | | Integer pageNo = Convert.toInt(ServletUtils.getParameter(PAGE_NO), 1); |
| | | Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); |
| | | return zfDoctorShareService.listUserId(zfDoctor,pageNo ,pageSize); |
| | | return zfDoctorShareService.listUserId(pageNo ,pageSize); |
| | | } |
| | | /** |
| | | * 根据userId和shareId收回已经授权给那些人 |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | |
| | | @Data |
| | | @TableName("zf_clan") |
| | | public class clan { |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer clanId; |
| | | |
| | | private String clanName; |
| | | |
| | | private Integer dadId; |
| | | |
| | | private Integer momId; |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain;public class ZfClanManage { |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper;public interface ZfClanManageMapper { |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper;public interface ZfClanMapper { |
| | | } |
New file |
| | |
| | | package com.ruoyi.service;public interface ZfClanManageService { |
| | | } |
New file |
| | |
| | | package com.ruoyi.service;public interface ZfClanService { |
| | | } |
| | |
| | | |
| | | AjaxResult listByUserId(); |
| | | |
| | | AjaxResult listUserId(ShareMore zfDoctorInteger,Integer pageNo ,Integer pageSize); |
| | | AjaxResult listUserId(Integer pageNo ,Integer pageSize); |
| | | |
| | | Long getShareId(ZfDoctorDownload zfDoctorDownload); |
| | | |
New file |
| | |
| | | package com.ruoyi.service.impl;public class ZfClanManageServiceImpl { |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl;public class ZfClanServiceImpl { |
| | | } |
| | |
| | | * 用户自己查看别人分享的数据==用户自己查看别人分享的数据和分享人 |
| | | */ |
| | | @Override |
| | | public AjaxResult listUserId(ShareMore zfDoctorInteger,Integer pageNo ,Integer pageSize) { |
| | | public AjaxResult listUserId(Integer pageNo ,Integer pageSize) { |
| | | //找到对应的赋予数据的用户以及数据内容 |
| | | List<ZfDoctor> bs = new ArrayList<>(); |
| | | LambdaQueryWrapper<ZfDoctorShare> lqw = new LambdaQueryWrapper<>(); |