diff --git a/src/main/java/cn/com/tenlion/pojo/dtos/apply/ApplyDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/apply/ApplyDTO.java index 0b66659..37471eb 100644 --- a/src/main/java/cn/com/tenlion/pojo/dtos/apply/ApplyDTO.java +++ b/src/main/java/cn/com/tenlion/pojo/dtos/apply/ApplyDTO.java @@ -52,6 +52,9 @@ public class ApplyDTO { private String applyUserCardPhoto; @ApiModelProperty(name = "applyAuditState", value = "报名状态 0 待审核 1用户撤回 2审核通过 3未报到 4报名完成-1审核不通过") private Integer applyAuditState; + @ApiModelProperty(name = "申请用户ID", value = "申请用户ID") + private String create; + @ApiModelProperty(name = "gmtCreate", value = "报名时间") private String gmtCreate; @@ -259,4 +262,12 @@ public class ApplyDTO { public void setApplyPhysicalStateName(String applyPhysicalStateName) { this.applyPhysicalStateName = applyPhysicalStateName; } + + public String getCreate() { + return create; + } + + public void setCreate(String create) { + this.create = create; + } } diff --git a/src/main/resources/mybatis/mapper/apply/apply-mapper.xml b/src/main/resources/mybatis/mapper/apply/apply-mapper.xml index cd7e666..3f6501a 100644 --- a/src/main/resources/mybatis/mapper/apply/apply-mapper.xml +++ b/src/main/resources/mybatis/mapper/apply/apply-mapper.xml @@ -23,6 +23,7 @@ + @@ -263,7 +264,8 @@ t1.apply_user_card_photo, t1.apply_audit_state, t1.apply_id, - + t1.creator, + t1.gmt_create, t2.data_name AS apply_sex_name, t3.data_name AS apply_card_type_name, t4.data_name AS apply_culture_level_name, @@ -383,6 +385,7 @@ t1.apply_user_card_photo, t1.apply_audit_state, t1.gmt_create, + t1,t1.creator, t2.data_name AS apply_sex_name, t3.data_name AS apply_card_type_name, t4.data_name AS apply_culture_level_name, @@ -437,9 +440,6 @@ #{applyAuditStates[${index}]} - - - ORDER BY t1.gmt_create DESC