|
@@ -105,7 +105,7 @@ public class ActivityOpenController extends BaseController {
|
|
|
@GetMapping(value = "/is_regist")
|
|
@GetMapping(value = "/is_regist")
|
|
|
public ResponseMessage getActivityDetail(@RequestParam("activity_id") String id, @RequestParam("phone") String phone) {
|
|
public ResponseMessage getActivityDetail(@RequestParam("activity_id") String id, @RequestParam("phone") String phone) {
|
|
|
|
|
|
|
|
- List<ActivityRegistration> activityRegistrationList = activityRegistrationService.getCurrRegUsers(id, phone);
|
|
|
|
|
|
|
+ List<ActivityRegistration> activityRegistrationList = activityRegistrationService.getCurrRegUsers(id, phone, null);
|
|
|
if (!CollectionUtils.isEmpty(activityRegistrationList)) {
|
|
if (!CollectionUtils.isEmpty(activityRegistrationList)) {
|
|
|
for (ActivityRegistration activityRegistration : activityRegistrationList) {
|
|
for (ActivityRegistration activityRegistration : activityRegistrationList) {
|
|
|
if (!Objects.equals("3", activityRegistration.getReview_state())) {
|
|
if (!Objects.equals("3", activityRegistration.getReview_state())) {
|
|
@@ -124,7 +124,7 @@ public class ActivityOpenController extends BaseController {
|
|
|
@GetMapping(value = "/getRegUsers")
|
|
@GetMapping(value = "/getRegUsers")
|
|
|
public ResponseMessage getRegUsers(String activity_id, String user_id) {
|
|
public ResponseMessage getRegUsers(String activity_id, String user_id) {
|
|
|
log.info("获取已报名的用户!");
|
|
log.info("获取已报名的用户!");
|
|
|
- return ResponseMessage.success("查询成功!", activityRegistrationService.getCurrRegUsers(activity_id, user_id));
|
|
|
|
|
|
|
+ return ResponseMessage.success("查询成功!", activityRegistrationService.getCurrRegUsers(activity_id, null, user_id));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -194,7 +194,7 @@ public class ActivityOpenController extends BaseController {
|
|
|
@DeleteMapping(value = "/cancel_regist")
|
|
@DeleteMapping(value = "/cancel_regist")
|
|
|
public ResponseMessage cancelRegist(@RequestParam("activity_id") String id, @RequestParam("phone") String phone) {
|
|
public ResponseMessage cancelRegist(@RequestParam("activity_id") String id, @RequestParam("phone") String phone) {
|
|
|
|
|
|
|
|
- List<ActivityRegistration> activityRegistrationList = activityRegistrationService.getCurrRegUsers(id, phone);
|
|
|
|
|
|
|
+ List<ActivityRegistration> activityRegistrationList = activityRegistrationService.getCurrRegUsers(id, phone, null);
|
|
|
if (!CollectionUtils.isEmpty(activityRegistrationList)) {
|
|
if (!CollectionUtils.isEmpty(activityRegistrationList)) {
|
|
|
List<String> ids = new ArrayList<>();
|
|
List<String> ids = new ArrayList<>();
|
|
|
for (ActivityRegistration activityRegistration : activityRegistrationList) {
|
|
for (ActivityRegistration activityRegistration : activityRegistrationList) {
|
|
@@ -225,7 +225,7 @@ public class ActivityOpenController extends BaseController {
|
|
|
@GetMapping(value = "/regist_user/list")
|
|
@GetMapping(value = "/regist_user/list")
|
|
|
public ResponseMessage getCurrRegUsers(@RequestParam("activity_id") String id, @RequestParam("phone") String phone) {
|
|
public ResponseMessage getCurrRegUsers(@RequestParam("activity_id") String id, @RequestParam("phone") String phone) {
|
|
|
|
|
|
|
|
- List<ActivityRegistration> activityRegistrationList = activityRegistrationService.getCurrRegUsers(id, phone);
|
|
|
|
|
|
|
+ List<ActivityRegistration> activityRegistrationList = activityRegistrationService.getCurrRegUsers(id, phone, null);
|
|
|
return ResponseMessage.success("查询成功!", activityRegistrationList);
|
|
return ResponseMessage.success("查询成功!", activityRegistrationList);
|
|
|
}
|
|
}
|
|
|
|
|
|