| | |
| | | |
| | | @PostMapping("/share") |
| | | public AjaxResult share(@RequestBody ShareMore zfDoctor){ |
| | | zfDoctor.setSysMenuId(20106L); |
| | | zfDoctor.setSysMenuId(2016L); |
| | | return zAutobiographyShareService.saveZa(zfDoctor); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PostMapping("/getInfoByUserId") |
| | | public AjaxResult empowerGetInfo(@RequestBody ShareMore zfDoctor){ |
| | | zfDoctor.setSysMenuId(20106L); |
| | | zfDoctor.setSysMenuId(2016L); |
| | | Integer pageNo = Convert.toInt(ServletUtils.getParameter(PAGE_NO), 1); |
| | | Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); |
| | | return zAutobiographyShareService.listByFidAid(zfDoctor,pageNo,pageSize) ; |
| | |
| | | */ |
| | | @PostMapping("/deleteInfoByUserId") |
| | | public AjaxResult deleteEmpower(@RequestBody ShareMore zfDoctor){ |
| | | zfDoctor.setSysMenuId(20106L); |
| | | zfDoctor.setSysMenuId(2016L); |
| | | return zAutobiographyShareService.deleteZa(zfDoctor); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PostMapping("/downloadDate") |
| | | public AjaxResult ifDownLoad(@RequestBody ZfDownload zfDownload){ |
| | | zfDownload.setSysMenuId(20106L); |
| | | zfDownload.setSysMenuId(2016L); |
| | | return zAutobiographyDownloadService.addData(zfDownload); |
| | | } |
| | | |
| | |
| | | */ |
| | | @GetMapping("/all") |
| | | public AjaxResult data(ZfDownload zfDownload){ |
| | | zfDownload.setSysMenuId(20106L); |
| | | zfDownload.setSysMenuId(2016L); |
| | | Integer pageNo = Convert.toInt(ServletUtils.getParameter(PAGE_NO), 1); |
| | | Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); |
| | | return zAutobiographyDownloadService.selectDoctorList(zfDownload,pageNo ,pageSize); |
| | |
| | | { |
| | | List<SysMenu> menuList = null; |
| | | // 管理员显示所有菜单信息 |
| | | if (SysUser.isAdmin(userId)) |
| | | { |
| | | menuList = menuMapper.selectMenuList(menu); |
| | | } |
| | | else |
| | | // if (SysUser.isAdmin(userId)) |
| | | // { |
| | | // menuList = menuMapper.selectMenuList(menu); |
| | | // } |
| | | // else |
| | | { |
| | | menu.getParams().put("userId", userId); |
| | | menuList = menuMapper.selectMenuListByUserId(menu); |
| | |
| | | |
| | | <select id="selectMenuTreeAll" resultMap="SysMenuResult"> |
| | | select distinct m.menu_id, m.parent_id, m.menu_name, m.path, m.component, m.`query`, m.visible, m.status, ifnull(m.perms,'') as perms, m.is_frame, m.is_cache, m.menu_type, m.icon, m.order_num, m.create_time |
| | | from sys_menu m where m.menu_type in ('M', 'C') and m.status = 0 and m.menu_id in (1, 100, 118) |
| | | from sys_menu m where m.menu_type in ('M', 'C') and m.status = 0 and m.menu_id in (1, 100, 118,2032,2016,2048,2049,2050,2051,2016,2068) |
| | | order by m.parent_id, m.order_num |
| | | </select> |
| | | <select id="selectMenuTreeAllSuperAdmin" resultMap="SysMenuResult"> |
| | |
| | | */ |
| | | private String secondFamilyId; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 自我介绍 |
| | | */ |
| | | private String self_introduction; |
| | | private Long sysId; |
| | | /** |
| | | * 代数 |
| | |
| | | za.setUserId(getUserId()); |
| | | za.setShareContent(shareContent); |
| | | za.setShareId(shareId); |
| | | za.setSysMenuId(20106L); |
| | | za.setSysMenuId(2016L); |
| | | addData(za); |
| | | } |
| | | } |
| | |
| | | za.setUserId(getUserId()); |
| | | za.setShareContent(shareContent); |
| | | za.setShareId(shareId); |
| | | za.setSysMenuId(2053L); |
| | | za.setSysMenuId(2030L); |
| | | addData(za); |
| | | } |
| | | } |