Commit ed527c9d authored by shiyu's avatar shiyu

发送上新通知

parent ebe90a3a
...@@ -77,16 +77,11 @@ public interface DistributionOrderMapper { ...@@ -77,16 +77,11 @@ public interface DistributionOrderMapper {
/** /**
* 统计分销商各状态的订单数量 * 统计分销商各状态的订单数量
* @param distributorId * @param userId
* @return * @return
*/ */
List<DistributionOrderNum> countGroupByStateForCollector(@Param("sellerId")Long userId); List<DistributionOrderNum> countGroupByStateForCollector(@Param("sellerId")Long userId);
/**
* 统计分销商各状态的订单数量
* @param distributorId
* @return
*/
List<DistributionOrderNum> countGroupByStateForCollector(@Param("sellerId")Long distributorId);
/** /**
* 介绍人产生的订单金额总和 * 介绍人产生的订单金额总和
......
...@@ -221,13 +221,6 @@ public class UserServiceImpl implements UserService { ...@@ -221,13 +221,6 @@ public class UserServiceImpl implements UserService {
shopWhiteList.setCreateTime(new Date()); shopWhiteList.setCreateTime(new Date());
shopWhiteList.setIsValid(true); shopWhiteList.setIsValid(true);
shopWhiteListDao.insert(shopWhiteList); shopWhiteListDao.insert(shopWhiteList);
//在表中记录
ShopWhiteList shopWhiteList = new ShopWhiteList();
shopWhiteList.setUserId(dto.getUserId());
shopWhiteList.setShopId(dto.getUserId());
shopWhiteList.setCreateTime(new Date());
shopWhiteList.setIsValid(true);
shopWhiteListDao.insert(shopWhiteList);
} else { } else {
result.put("isShop", false); result.put("isShop", false);
} }
......
...@@ -137,7 +137,7 @@ public class NewItemNoticeJob { ...@@ -137,7 +137,7 @@ public class NewItemNoticeJob {
long fansId = followFansRecord.getFansId(); long fansId = followFansRecord.getFansId();
String url = wxAppletApi.getUrlLink("/pages/home/index",null); String url = wxAppletApi.getUrlLink("/pages/home/index",null);
String msg = "您关注的用户发布了新的藏品," + "请前往"+ url + "查看"; String msg = "您关注的用户发布了新的藏品," + "请前往"+ url + "查看";
// aliSmsSender.sendSms(fansId, msg); aliSmsSender.sendSms(fansId, msg);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment