|
@@ -742,4 +742,18 @@ public class CmsGroupRelationController {
|
|
|
.build());
|
|
.build());
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(search);
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(search);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 解冻车票
|
|
|
|
|
+ */
|
|
|
|
|
+ @PutMapping("/unfreeze/ticket/{relationId}")
|
|
|
|
|
+ @Log(module = "解冻车票", businessType = BusinessType.PUT, isSaveRequestData = true)
|
|
|
|
|
+ public Result<String> unfreezeTicket(@PathVariable Long relationId) {
|
|
|
|
|
+ GroupsRelation groupsRelation = groupsRelationMapper.selectById(relationId);
|
|
|
|
|
+ if (groupsRelation != null && groupsRelation.getIsFrozen()) {
|
|
|
|
|
+ groupsRelation.setIsFrozen(false);
|
|
|
|
|
+ groupsRelationMapper.updateById(groupsRelation);
|
|
|
|
|
+ }
|
|
|
|
|
+ return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|