From ba714629588e22f9ffaab83819f6b9200a6397b3 Mon Sep 17 00:00:00 2001
From: zhanglin8526 <852614290@qq.com>
Date: 星期五, 04 八月 2023 22:59:08 +0800
Subject: [PATCH] 1、定时任务 商户进件状态查询 2、小程序下单统一支付提交 3、订单核销分账(未完成)

---
 ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java
index 757ef1a..703ee14 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/config/RecommendCooperationServiceImpl.java
+++ b/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;
     }
 }

--
Gitblit v1.7.1