| | |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | import com.deepoove.poi.data.PictureRenderData; |
| | | import com.deepoove.poi.data.Pictures; |
| | | import com.ruoyi.common.constant.MenuJumpPathConstants; |
| | | import com.ruoyi.common.core.domain.entity.InformationNotification; |
| | | import com.ruoyi.common.core.domain.entity.User; |
| | | import com.ruoyi.common.utils.DateImageUtil; |
| | |
| | | info.setSenderId(userId); |
| | | // 接收人 |
| | | info.setConsigneeId(supervise.getRatifyUserId()); |
| | | info.setJumpPath("a7-quality-control-plan"); |
| | | info.setJumpPath(MenuJumpPathConstants.QUALITY_SUPERVISE); |
| | | informationNotificationService.addInformationNotification(info); |
| | | |
| | | // 发送企业微信通知 |
| | |
| | | */ |
| | | @Override |
| | | public List<Map<String, String>> getRecordUser(Integer superviseDetailsId) { |
| | | List<Map<String, String>> recordUser = baseMapper.getRecordUser(superviseDetailsId); |
| | | return baseMapper.getRecordUser(superviseDetailsId); |
| | | } |
| | | |
| | |
| | | } |
| | | // 添加批准人名称 |
| | | if (detailsRecord.getRatifyUserId() != null) { |
| | | User user = userMapper.selectById(SecurityUtils.getUserId().intValue()); |
| | | User user = userMapper.selectById(detailsRecord.getRatifyUserId()); |
| | | detailsRecord.setRatifyUserName(user.getName()); |
| | | } |
| | | return detailsRecord; |
| | |
| | | info.setSenderId(userId); |
| | | // 接收人 |
| | | info.setConsigneeId(qualitySuperviseDetailsRecord.getRatifyUserId()); |
| | | info.setJumpPath("a7-quality-control-plan"); |
| | | info.setJumpPath(MenuJumpPathConstants.QUALITY_SUPERVISE); |
| | | informationNotificationService.addInformationNotification(info); |
| | | |
| | | // 发送企业微信通知 |
| | |
| | | info.setSenderId(userId); |
| | | // 接收人 |
| | | info.setConsigneeId(detailsAccording.getApproverUserId()); |
| | | info.setJumpPath("a7-quality-control-plan"); |
| | | info.setJumpPath(MenuJumpPathConstants.QUALITY_SUPERVISE); |
| | | informationNotificationService.addInformationNotification(info); |
| | | |
| | | // 发送企业微信通知 |
| | |
| | | info.setSenderId(userId); |
| | | // 接收人 |
| | | info.setConsigneeId(detailsCorrect.getApproverUserId()); |
| | | info.setJumpPath("a7-quality-control-plan"); |
| | | info.setJumpPath(MenuJumpPathConstants.QUALITY_SUPERVISE); |
| | | informationNotificationService.addInformationNotification(info); |
| | | |
| | | // 发送企业微信通知 |