소스 검색

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…
취소
저장