44323
2024-01-24 61b5f9863f14ab4fc9da504ca2b553a778eb2e2c
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java
@@ -63,6 +63,11 @@
        recommendCooperation.setShopId(merRecommendCooperationDto.getShopId());
        recommendCooperation.setCorpStatus(1);
        recommendCooperation.setCreateTime(new Date());
        if(recommendCooperation.getShopId()!=null){
            recommendCooperation.setRecommendedFrom(2);
        }else{
            recommendCooperation.setRecommendedFrom(1);
        }
        this.save(recommendCooperation);
    }
@@ -102,9 +107,7 @@
     */
    @Override
    public MgtBulletinBoardVo boardMemberTotal(){
        MgtBulletinBoardVo mgtBulletinBoardVo = new MgtBulletinBoardVo();
        mgtBulletinBoardVo.setCustomToday(recommendCooperationMapper.customToday());
        mgtBulletinBoardVo.setCustomTotal(recommendCooperationMapper.customTotal());
        MgtBulletinBoardVo mgtBulletinBoardVo = recommendCooperationMapper.customTotal();
        return mgtBulletinBoardVo;
    }
}