feige
2024-10-13 8fa32fceb853175e24dd0574647dad099b1ccf47
ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZAutobiographyShareController.java
@@ -26,7 +26,7 @@
    @PostMapping("/share")
    public AjaxResult share(@RequestBody ShareMore zfDoctor){
        zfDoctor.setSysMenuId(20106L);
        zfDoctor.setSysMenuId(2016L);
        return zAutobiographyShareService.saveZa(zfDoctor);
    }
@@ -35,7 +35,7 @@
     */
    @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) ;
@@ -55,7 +55,7 @@
     */
    @PostMapping("/deleteInfoByUserId")
    public AjaxResult deleteEmpower(@RequestBody ShareMore zfDoctor){
        zfDoctor.setSysMenuId(20106L);
        zfDoctor.setSysMenuId(2016L);
        return zAutobiographyShareService.deleteZa(zfDoctor);
    }
@@ -64,7 +64,7 @@
     */
    @PostMapping("/downloadDate")
    public AjaxResult ifDownLoad(@RequestBody ZfDownload zfDownload){
        zfDownload.setSysMenuId(20106L);
        zfDownload.setSysMenuId(2016L);
        return zAutobiographyDownloadService.addData(zfDownload);
    }
@@ -73,7 +73,7 @@
     */
    @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);