diff --git a/competition/src/main/java/com/huoran/competition/controller/CompetitionRegistrationController.java b/competition/src/main/java/com/huoran/competition/controller/CompetitionRegistrationController.java
index 04a26ea..96e43be 100644
--- a/competition/src/main/java/com/huoran/competition/controller/CompetitionRegistrationController.java
+++ b/competition/src/main/java/com/huoran/competition/controller/CompetitionRegistrationController.java
@@ -63,7 +63,7 @@ public class CompetitionRegistrationController {
}
- @ApiOperation(value = "报名人员分页条件查询", response = RegistrationVO.class)
+ @ApiOperation(value = "报名人员列表", response = RegistrationVO.class)
@PostMapping("/queryRegistrationByCondition")
public R registrationPageList(
@RequestBody PageRegistrationStaffReq req, HttpServletRequest request) {
@@ -72,6 +72,7 @@ public class CompetitionRegistrationController {
}
+
@ApiOperation(value = "批量禁用人员参赛")
@PutMapping("/disableContests")
public R disableContests(
diff --git a/competition/src/main/java/com/huoran/competition/entity/req/PageRegistrationStaffReq.java b/competition/src/main/java/com/huoran/competition/entity/req/PageRegistrationStaffReq.java
index 3a00dba..0a8d670 100644
--- a/competition/src/main/java/com/huoran/competition/entity/req/PageRegistrationStaffReq.java
+++ b/competition/src/main/java/com/huoran/competition/entity/req/PageRegistrationStaffReq.java
@@ -11,29 +11,26 @@ import lombok.Data;
*/
@Data
@ApiModel(value = "报名人员分页参数列表")
-public class PageRegistrationStaffReq extends PageReq{
+public class PageRegistrationStaffReq extends PageReq {
- @ApiModelProperty(value = "关键词(学生姓名/手机号)",example = "18818574533")
+ @ApiModelProperty(value = "关键词(学生姓名/手机号)", example = "18818574533")
private String keyWord;
- @ApiModelProperty(value = "活动ID",example = "1485860415656255489")
+ @ApiModelProperty(value = "活动ID", example = "1485860415656255489")
private String competitionId;
- private Integer pageNum;
-
- private Integer pageSize;
-
- @ApiModelProperty(value = "禁用启用0未禁用,1禁用",example = "0")
+ @ApiModelProperty(value = "禁用启用0未禁用,1禁用", example = "0")
private Integer isDisable;
- @ApiModelProperty(value = "学校排序标识",example = "1正序,2倒序")
- private Integer schoolOrder;
-
- @ApiModelProperty(value = "团队排序标识",example = "null")
- private Integer teamOrder;
-
@ApiModelProperty(value = "查询来源(1.前台/2.后台)")
private Integer querySource;
+ @ApiModelProperty(value = "平台来源(5:幼儿园,6:供应商)", example = "5")
+ private Integer platformId;
+
+ @ApiModelProperty(value = "签到状态(0待签到 1.已签到 2未签到:活动结束后没签到的)", example = "5")
+ private Integer signInStatus;
+
+
}
\ No newline at end of file
diff --git a/competition/src/main/java/com/huoran/competition/entity/vo/RegistrationVO.java b/competition/src/main/java/com/huoran/competition/entity/vo/RegistrationVO.java
index 4bd0829..537bfde 100644
--- a/competition/src/main/java/com/huoran/competition/entity/vo/RegistrationVO.java
+++ b/competition/src/main/java/com/huoran/competition/entity/vo/RegistrationVO.java
@@ -1,6 +1,5 @@
package com.huoran.competition.entity.vo;
-import ch.qos.logback.core.rolling.helper.IntegerTokenConverter;
import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -13,38 +12,43 @@ public class RegistrationVO {
private Integer rownum;
- @ApiModelProperty(value = "学校")
- @Excel(name = "学校", orderNum = "2", mergeVertical = true, isImportField = "school", width = 30)
- private String school;
-
- @ApiModelProperty(value = "学生姓名")
- @Excel(name = "学生姓名", orderNum = "3", mergeVertical = true, isImportField = "username", width = 30)
+ @ApiModelProperty(value = "姓名")
+ @Excel(name = "姓名", orderNum = "2", isImportField = "username", width = 30)
private String username;
-
- @ApiModelProperty(value = "手机号")
- @Excel(name = "手机号", orderNum = "4", mergeVertical = true, isImportField = "phone", width = 30)
- private String phone;
+ @ApiModelProperty(value = "组织名称")
+ @Excel(name = "组织名称", orderNum = "3", isImportField = "organizationName", width = 30)
+ private String organizationName;
- @ApiModelProperty(value = "学号")
- @Excel(name = "学号", orderNum = "5", mergeVertical = true, isImportField = "workNumber", width = 30)
- private String workNumber;
+ @ApiModelProperty(value = "组织类型/平台来源(5:幼儿园,6:供应商) 没有数据显示'无'")
+ @Excel(name = "组织类型", orderNum = "4", isImportField = "platformId", width = 30)
+ private String platformId;
@ApiModelProperty(value = "报名时间")
- @Excel(name = "报名时间", orderNum = "6", mergeVertical = true, isImportField = "createTime", width = 30)
+ @Excel(name = "报名时间", orderNum = "5", isImportField = "createTime", width = 30)
private String createTime;
- @ApiModelProperty(value = "团队名称")
- @Excel(name = "团队名称", orderNum = "7", mergeVertical = true, isImportField = "teamName", width = 30)
- private String teamName;
+
+ @ApiModelProperty(value = "签到情况(签到状态(0待签到 1.已签到 2未签到:活动结束后没签到的))")
+ @Excel(name = "签到情况", orderNum = "6", isImportField = "signInStatus", width = 30)
+ private String signInStatus;
+
+
+ @ApiModelProperty(value = "签到时间")
+ @Excel(name = "签到时间", orderNum = "7", isImportField = "signInTime", width = 30)
+ private String signInTime;
+
+
+ @ApiModelProperty(value = "手机号")
+ @Excel(name = "手机号", orderNum = "8", isImportField = "phone", width = 30)
+ private String phone;
+
@ApiModelProperty(value = "头像")
private String userAvatars;
- @ApiModelProperty(value = "团队id")
- private Integer teamId;
@ApiModelProperty(value = "账号id")
private Integer accountId;
@@ -52,18 +56,17 @@ public class RegistrationVO {
@ApiModelProperty(value = "用户id")
private Integer userId;
- @ApiModelProperty(value = "学校id")
- private Integer schoolId;
+ @ApiModelProperty(value = "活动id")
+ private Integer competitionId;
+
+
+
- @ApiModelProperty(value = "报名id")
+ @ApiModelProperty(value = "当前报名生成的主键id(用于禁用/删除等报名人员)")
private Integer id;
@ApiModelProperty(value = "是否禁用")
private Integer isDisable;
- @ApiModelProperty(value = "是否队长")
- private Integer captain;
- @ApiModelProperty(value = "内部标识")
- private Integer identification;
}
diff --git a/competition/src/main/java/com/huoran/competition/mapper/xml/CompetitionRegistrationMapper.xml b/competition/src/main/java/com/huoran/competition/mapper/xml/CompetitionRegistrationMapper.xml
index 0dcd274..1314801 100644
--- a/competition/src/main/java/com/huoran/competition/mapper/xml/CompetitionRegistrationMapper.xml
+++ b/competition/src/main/java/com/huoran/competition/mapper/xml/CompetitionRegistrationMapper.xml
@@ -21,8 +21,16 @@