Преглед на файлове

Merge branch 'develop' into release

tags/V1.8.1
wanghaoran преди 1 година
родител
ревизия
45c88b9fad
променени са 2 файла, в които са добавени 2 реда и са изтрити 7 реда
  1. +0
    -5
      tuoheng-api/src/main/java/com/tuoheng/api/entity/domain/WestreamUser.java
  2. +2
    -2
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WxServiceImpl.java

+ 0
- 5
tuoheng-api/src/main/java/com/tuoheng/api/entity/domain/WestreamUser.java Целия файл

@@ -105,9 +105,4 @@ public class WestreamUser extends BaseEntity implements Serializable {
*/
private Integer isTiktok;

/**
* unionid
*/
private String unionId;

}

+ 2
- 2
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WxServiceImpl.java Целия файл

@@ -78,7 +78,7 @@ public class WxServiceImpl implements IWxService {

WestreamUser westreamUser = westreamUserMapper.selectOne(new LambdaQueryWrapper<WestreamUser>()
.eq(WestreamUser::getTenantId, tenant.getId())
.eq(WestreamUser::getUnionId, wxGetUserPointsQuery.getUnionId())
.eq(WestreamUser::getUnionid, wxGetUserPointsQuery.getUnionId())
.eq(WestreamUser::getMark, 1));
if(ObjectUtil.isNotNull(westreamUser)){
WxGetUserPointsDto wxGetUserPointsDto = new WxGetUserPointsDto()
@@ -105,7 +105,7 @@ public class WxServiceImpl implements IWxService {
//查询用户
WestreamUser westreamUser = westreamUserMapper.selectOne(new LambdaQueryWrapper<WestreamUser>()
.eq(WestreamUser::getTenantId, tenant.getId())
.eq(WestreamUser::getUnionId, wxSubUserPointsRequest.getUnionId())
.eq(WestreamUser::getUnionid, wxSubUserPointsRequest.getUnionId())
.eq(WestreamUser::getMark, 1));

if (westreamUser.getMallPoints() >= wxSubUserPointsRequest.getPoints()) {

Loading…
Отказ
Запис