|
@@ -92,7 +92,7 @@ public class WxMessageEvenServiceImpl implements IWxMessageEvenService {
|
|
|
List<WxSpreadRelation> spreadRelations = wxSpreadRelationService.list(new QueryWrapper<WxSpreadRelation>().eq("openid", fromUserName));
|
|
|
//List<WxSpreadRelation> spreads = wxSpreadRelationService.list(new QueryWrapper<WxSpreadRelation>().eq("parent_openid", fromUserName));
|
|
|
String openid = eventKey;
|
|
|
- if (! spreadRelations.isEmpty()) {
|
|
|
+ if ( spreadRelations.isEmpty()) {
|
|
|
//保存推广关系表
|
|
|
WxSpreadRelation wxSpreadRelation = new WxSpreadRelation();
|
|
|
wxSpreadRelation.setOpenid(fromUserName);
|