| | |
| | | }else{ |
| | | huiminAgreementVO.setShowType(2); |
| | | } |
| | | List<Store> stores = storeClient.queryStoreByIds(Collections.singletonList(storeId)); |
| | | Store store = stores.get(0); |
| | | if (store.getOperatorId()==null || store.getOperatorId()==0){ |
| | | // 平台 |
| | | THuiminAgreement one = huiminAgreementService.getOne(new LambdaQueryWrapper<THuiminAgreement>() |
| | | .isNull(THuiminAgreement::getOperatorId).last("limit 1")); |
| | | huiminAgreementVO.setIntroduce(one.getStoreNoHuiminCardIntro()); |
| | | |
| | | }else{ |
| | | THuiminAgreement one = huiminAgreementService.getOne(new LambdaQueryWrapper<THuiminAgreement>() |
| | | .eq(THuiminAgreement::getOperatorId,store.getOperatorId()).last("limit 1")); |
| | | huiminAgreementVO.setIntroduce(one.getStoreNoHuiminCardIntro()); |
| | | |
| | | } |
| | | |
| | | List<TPayHuimin> payHuimins = payHuiminService.list(new LambdaQueryWrapper<TPayHuimin>() |
| | | .eq(TPayHuimin::getAppUserId, uid) |
| | | .ge(TPayHuimin::getEndTime,new Date()) |