|
|
@@ -220,7 +220,7 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
}
|
|
|
int update = groupsRelationMapper.update(null, Wrappers.lambdaUpdate(GroupsRelation.class)
|
|
|
.set(GroupsRelation::getAccount, email)
|
|
|
- .isNull(GroupsRelation::getAccount)
|
|
|
+ .and(qr -> qr.isNull(GroupsRelation::getAccount).or().eq(GroupsRelation::getAccount, StrUtil.EMPTY))
|
|
|
.eq(GroupsRelation::getId, relationId));
|
|
|
if (update > 0) {
|
|
|
Long goodsId = relation.getGoodsId();
|