| | |
| | | recommendCooperation.setShopId(merRecommendCooperationDto.getShopId()); |
| | | recommendCooperation.setCorpStatus(1); |
| | | recommendCooperation.setCreateTime(new Date()); |
| | | if(recommendCooperation.getShopId()!=null){ |
| | | recommendCooperation.setRecommendedFrom(2); |
| | | recommendCooperation.setMemberSource("合作商推荐"); |
| | | }else{ |
| | | recommendCooperation.setRecommendedFrom(1); |
| | | recommendCooperation.setMemberSource("小程序"); |
| | | } |
| | | this.save(recommendCooperation); |
| | | } |
| | | |
| | |
| | | * @date 2023/6/18 16:47 |
| | | */ |
| | | @Override |
| | | public MgtBulletinBoardVo boardMemberTotal(){ |
| | | MgtBulletinBoardVo mgtBulletinBoardVo = new MgtBulletinBoardVo(); |
| | | mgtBulletinBoardVo.setCustomToday(recommendCooperationMapper.customToday()); |
| | | mgtBulletinBoardVo.setCustomTotal(recommendCooperationMapper.customTotal()); |
| | | public MgtBulletinBoardVo boardMemberTotal(List<Long> userIds){ |
| | | MgtBulletinBoardVo mgtBulletinBoardVo = recommendCooperationMapper.customTotal(userIds); |
| | | return mgtBulletinBoardVo; |
| | | } |
| | | } |