|
@@ -329,7 +329,11 @@ public class CodexServiceImpl implements CodexService {
|
|
|
throw BusinessRuntimeException.getInstance("你存在claude code 无法抵扣");
|
|
throw BusinessRuntimeException.getInstance("你存在claude code 无法抵扣");
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
- GroupsRelationView groupsRelationView = beanSearcher.searchFirst(GroupsRelationView.class, MapUtils.builder().field(GroupsRelationView::getUserId, userIdList).op(Operator.InList).field(GroupsRelationView::getSkuId, sendCodexSkuIds).op(Operator.InList).field(GroupsRelationView::getExpiryTime, DateTime.now()).op(Operator.GreaterThan).build());
|
|
|
|
|
|
|
+ GroupsRelationView groupsRelationView = beanSearcher.searchFirst(GroupsRelationView.class, MapUtils.builder()
|
|
|
|
|
+ .field(GroupsRelationView::getUserId, userIdList).op(Operator.InList)
|
|
|
|
|
+ .field(GroupsRelationView::getSkuId, sendCodexSkuIds).op(Operator.NotIn)
|
|
|
|
|
+ .field(GroupsRelationView::getExpiryTime, DateTime.now()).op(Operator.GreaterThan)
|
|
|
|
|
+ .build());
|
|
|
if (groupsRelationView != null) {
|
|
if (groupsRelationView != null) {
|
|
|
ccRelationId = groupsRelationView.getId();
|
|
ccRelationId = groupsRelationView.getId();
|
|
|
}
|
|
}
|