|
|
@@ -357,13 +357,13 @@ public class CmsGroupRelationController {
|
|
|
@GetMapping("/get/recharge/operate/record")
|
|
|
public Result<List<GptUserRechargeNumRecord>> getGptUserRechargeNumRecord(Long relationId, Long userId) {
|
|
|
GroupsRelation relation = groupsRelationMapper.selectById(relationId);
|
|
|
- if (relation.getStartTime() == null) {
|
|
|
+ if (relation.getSubmitTime() == null) {
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
|
}
|
|
|
List<GptUserRechargeNumRecord> gptUserRechargeNumRecords = beanSearcher.searchAll(GptUserRechargeNumRecord.class, MapUtils.flatBuilder(request.getParameterMap())
|
|
|
.field(GptUserRechargeNumRecord::getRelationId, relationId)
|
|
|
.field(GptUserRechargeNumRecord::getUserId, userId)
|
|
|
- .field(GptUserRechargeNumRecord::getCreatedTime, relation.getStartTime()).op(Operator.GreaterEqual)
|
|
|
+ .field(GptUserRechargeNumRecord::getCreatedTime, relation.getSubmitTime()).op(Operator.GreaterEqual)
|
|
|
.build());
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(gptUserRechargeNumRecords);
|
|
|
}
|