拼团参与中只返回没结束的
This commit is contained in:
+2
-2
@@ -213,8 +213,8 @@ public class YxStoreCombinationServiceImpl extends BaseServiceImpl<YxStoreCombin
|
|||||||
LambdaQueryWrapper<YxStorePink> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<YxStorePink> wrapper = new LambdaQueryWrapper<>();
|
||||||
//Status:1 进行中 KId:0 发起人是自己
|
//Status:1 进行中 KId:0 发起人是自己
|
||||||
wrapper.eq(YxStorePink::getStatus,1)
|
wrapper.eq(YxStorePink::getStatus,1)
|
||||||
.eq(YxStorePink::getUid,uid);
|
.eq(YxStorePink::getUid,uid)
|
||||||
// .eq(YxStorePink::getKId,0);
|
.gt(YxStorePink::getStopTime,new Date()); //没结束的
|
||||||
IPage<YxStorePink> yxStorePinkIPage = yxStorePinkMapper.selectPage(pageModel, wrapper);
|
IPage<YxStorePink> yxStorePinkIPage = yxStorePinkMapper.selectPage(pageModel, wrapper);
|
||||||
List<YxStoreCombinationQueryVo> collect = yxStorePinkIPage.getRecords().stream().map(i -> {
|
List<YxStoreCombinationQueryVo> collect = yxStorePinkIPage.getRecords().stream().map(i -> {
|
||||||
YxStoreCombinationQueryVo yxStoreCombinationQueryVo = new YxStoreCombinationQueryVo();
|
YxStoreCombinationQueryVo yxStoreCombinationQueryVo = new YxStoreCombinationQueryVo();
|
||||||
|
|||||||
Reference in New Issue
Block a user