zhanglin
2023-07-22 03dd384bb8b78f04eadcf619849b3687fa98c6c1
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);
    }