| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult deleteData(Long[] ids); |
| | | |
| | | AjaxResult selectDoctorList(ZfDownload zfDownload, Integer pageNo , Integer pageSize); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult listUserId(Integer pageNo ,Integer pageSize); |
| | | |
| | | Long getShareId(ZfDownload zfDownload); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult deleteData(Long[] ids); |
| | | |
| | | AjaxResult selectDoctorList(ZfDownload zfDownload, Integer pageNo , Integer pageSize); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult listUserId(Integer pageNo ,Integer pageSize); |
| | | |
| | | Long getShareId(ZfDownload zfDownload); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult deleteData(Long[] ids); |
| | | |
| | | AjaxResult selectDoctorList(ZfDownload zfDownload, Integer pageNo , Integer pageSize); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult listUserId(Integer pageNo ,Integer pageSize); |
| | | |
| | | Long getShareId(ZfDownload zfDownload); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult deleteData(Long[] ids); |
| | | |
| | | AjaxResult selectDoctorList(ZfDownload zfDownload, Integer pageNo , Integer pageSize); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult listUserId(Integer pageNo ,Integer pageSize); |
| | | |
| | | Long getShareId(ZfDownload zfDownload); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult deleteData(Long[] ids); |
| | | |
| | | AjaxResult selectDoctorList(ZfDownload zfDownload, Integer pageNo , Integer pageSize); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult listUserId(Integer pageNo ,Integer pageSize); |
| | | |
| | | Long getShareId(ZfDownload zfDownload); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult deleteData(Long[] ids); |
| | | |
| | | AjaxResult selectDoctorList(ZfDownload zfDownload, Integer pageNo , Integer pageSize); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult listUserId(Integer pageNo ,Integer pageSize); |
| | | |
| | | Long getShareId(ZfDownload zfDownload); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult deleteData(Long[] ids); |
| | | |
| | | AjaxResult selectDoctorList(ZfDownload zfDownload, Integer pageNo , Integer pageSize); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | |
| | | AjaxResult listUserId(Integer pageNo ,Integer pageSize); |
| | | |
| | | Long getShareId(ZfDownload zfDownload); |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | public class TravelDownServiceImpl { |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfEventPage, record,bs.size()); |
| | | return AjaxResult.success(data); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfCollectionPage, record,bs.size()); |
| | | return AjaxResult.success(data); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | @Slf4j |
| | | @Service |
| | | |
| | | public class ZfCollectionShaServiceImpl extends ServiceImpl<ZfShareMapper, ZfShare> implements ZfCollectionShareService { |
| | | |
| | | |
| | | |
| | | @Resource |
| | |
| | | za.setUserId(getUserId()); |
| | | za.setShareContent(shareContent); |
| | | za.setShareId(shareId); |
| | | |
| | | za.setSysMenuId(2018L); |
| | | |
| | | za.setSysMenuId(2002L); |
| | | |
| | | addData(za); |
| | | } |
| | | } |
| | |
| | | |
| | | int totalPage = (beanRecord3.size() -1) / pageSize +1; |
| | | |
| | | |
| | | Page<ZfCollection> zfCollectionPage = new Page<>(pageNo, pageSize,totalPage); |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfCollectionPage, record,beanRecord3.size()); |
| | | |
| | | |
| | | |
| | | |
| | | return AjaxResult.success(data); |
| | | } |
| | |
| | | HashMap<Long,List<ZfCollection>> bs = new HashMap<>(); |
| | | LambdaQueryWrapper<ZfShare> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.eq(ZfShare::getShareId,getUserId()); |
| | | |
| | | lqw.eq(ZfShare::getSysMenuId,2018L); |
| | | |
| | | lqw.eq(ZfShare::getSysMenuId,2002L); |
| | | |
| | | List<ZfShare> beanRecords = list(lqw); |
| | | List<ZfCollection> b1 = new ArrayList<>(); |
| | | for (ZfShare beanRecord : beanRecords ) { |
| | |
| | | List<ZfCollection> bs = new ArrayList<>(); |
| | | LambdaQueryWrapper<ZfShare> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.eq(ZfShare::getShareId,getUserId()); |
| | | |
| | | lqw.eq(ZfShare::getSysMenuId,2018L); |
| | | |
| | | lqw.eq(ZfShare::getSysMenuId,2002L); |
| | | |
| | | List<ZfShare> beanRecords = list(lqw); |
| | | for (ZfShare beanRecord : beanRecords ) { |
| | | ZfCollection bs2 = zfCollectionService.getById(beanRecord.getShareContent()); |
| | |
| | | |
| | | int totalPage = (bs.size() -1) / pageSize +1; |
| | | |
| | | |
| | | Page<ZfCollection> zfCollectionPage = new Page<>(pageNo, pageSize,totalPage); |
| | | |
| | | |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfCollectionPage, record,bs.size()); |
| | | return AjaxResult.success(data); |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfContactPage, record,bs.size()); |
| | | return AjaxResult.success(data); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfEconomyPage, record,bs.size()); |
| | | return AjaxResult.success(data); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | |
| | | HashMap<String, Object> data = MapUtils.getShareResult(zfEquipmentPage, record,bs.size()); |
| | | return AjaxResult.success(data); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | public class ZfPetDownlServiceImpl { |
| | |
| | | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | public class ZfPetSharServiceImpl { |
| | | |
| | | } |