xgb пре 5 дана
родитељ
комит
1560b271f9
25 измењених фајлова са 1104 додато и 0 уклоњено
  1. 167 0
      fs-service/src/main/java/com/fs/activity/domain/AccActivity.java
  2. 159 0
      fs-service/src/main/java/com/fs/activity/domain/AccTeam.java
  3. 111 0
      fs-service/src/main/java/com/fs/activity/domain/AccTeamMember.java
  4. 103 0
      fs-service/src/main/java/com/fs/activity/domain/AccVoteRecord.java
  5. 167 0
      fs-service/src/main/java/com/fs/activity/domain/AccWork.java
  6. 18 0
      fs-service/src/main/java/com/fs/activity/mapper/AccActivityMapper.java
  7. 18 0
      fs-service/src/main/java/com/fs/activity/mapper/AccTeamMapper.java
  8. 18 0
      fs-service/src/main/java/com/fs/activity/mapper/AccTeamMemberMapper.java
  9. 18 0
      fs-service/src/main/java/com/fs/activity/mapper/AccVoteRecordMapper.java
  10. 18 0
      fs-service/src/main/java/com/fs/activity/mapper/AccWorkMapper.java
  11. 13 0
      fs-service/src/main/java/com/fs/activity/service/AccActivityService.java
  12. 13 0
      fs-service/src/main/java/com/fs/activity/service/AccTeamMemberService.java
  13. 13 0
      fs-service/src/main/java/com/fs/activity/service/AccTeamService.java
  14. 13 0
      fs-service/src/main/java/com/fs/activity/service/AccVoteRecordService.java
  15. 13 0
      fs-service/src/main/java/com/fs/activity/service/AccWorkService.java
  16. 22 0
      fs-service/src/main/java/com/fs/activity/service/impl/AccActivityServiceImpl.java
  17. 22 0
      fs-service/src/main/java/com/fs/activity/service/impl/AccTeamMemberServiceImpl.java
  18. 22 0
      fs-service/src/main/java/com/fs/activity/service/impl/AccTeamServiceImpl.java
  19. 22 0
      fs-service/src/main/java/com/fs/activity/service/impl/AccVoteRecordServiceImpl.java
  20. 22 0
      fs-service/src/main/java/com/fs/activity/service/impl/AccWorkServiceImpl.java
  21. 30 0
      fs-service/src/main/resources/mapper/activity/AccActivityMapper.xml
  22. 29 0
      fs-service/src/main/resources/mapper/activity/AccTeamMapper.xml
  23. 22 0
      fs-service/src/main/resources/mapper/activity/AccTeamMemberMapper.xml
  24. 21 0
      fs-service/src/main/resources/mapper/activity/AccVoteRecordMapper.xml
  25. 30 0
      fs-service/src/main/resources/mapper/activity/AccWorkMapper.xml

+ 167 - 0
fs-service/src/main/java/com/fs/activity/domain/AccActivity.java

@@ -0,0 +1,167 @@
+package com.fs.activity.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 活动表
+ * @TableName acc_activity
+ */
+@TableName(value ="acc_activity")
+@Data
+public class AccActivity {
+    /**
+     * 主键ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 活动标题
+     */
+    private String title;
+
+    /**
+     * 封面图URL
+     */
+    private String coverUrl;
+
+    /**
+     * 活动描述
+     */
+    private String description;
+
+    /**
+     * 报名开始时间
+     */
+    private Date registrationStartTime;
+
+    /**
+     * 报名结束时间
+     */
+    private Date registrationEndTime;
+
+    /**
+     * 活动开始时间
+     */
+    private Date activityStartTime;
+
+    /**
+     * 活动结束时间
+     */
+    private Date activityEndTime;
+
+    /**
+     * 活动地点
+     */
+    private String location;
+
+    /**
+     * 活动规则
+     */
+    private String rules;
+
+    /**
+     * 奖项设置
+     */
+    private String awards;
+
+    /**
+     * 状态:0-草稿 1-进行中 2-已结束 3-已关闭
+     */
+    private Integer status;
+
+    /**
+     * 创建人
+     */
+    private Long createdBy;
+
+    /**
+     *
+     */
+    private Date createdAt;
+
+    /**
+     *
+     */
+    private Date updatedAt;
+
+    @Override
+    public boolean equals(Object that) {
+        if (this == that) {
+            return true;
+        }
+        if (that == null) {
+            return false;
+        }
+        if (getClass() != that.getClass()) {
+            return false;
+        }
+        AccActivity other = (AccActivity) that;
+        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
+            && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
+            && (this.getCoverUrl() == null ? other.getCoverUrl() == null : this.getCoverUrl().equals(other.getCoverUrl()))
+            && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
+            && (this.getRegistrationStartTime() == null ? other.getRegistrationStartTime() == null : this.getRegistrationStartTime().equals(other.getRegistrationStartTime()))
+            && (this.getRegistrationEndTime() == null ? other.getRegistrationEndTime() == null : this.getRegistrationEndTime().equals(other.getRegistrationEndTime()))
+            && (this.getActivityStartTime() == null ? other.getActivityStartTime() == null : this.getActivityStartTime().equals(other.getActivityStartTime()))
+            && (this.getActivityEndTime() == null ? other.getActivityEndTime() == null : this.getActivityEndTime().equals(other.getActivityEndTime()))
+            && (this.getLocation() == null ? other.getLocation() == null : this.getLocation().equals(other.getLocation()))
+            && (this.getRules() == null ? other.getRules() == null : this.getRules().equals(other.getRules()))
+            && (this.getAwards() == null ? other.getAwards() == null : this.getAwards().equals(other.getAwards()))
+            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
+            && (this.getCreatedBy() == null ? other.getCreatedBy() == null : this.getCreatedBy().equals(other.getCreatedBy()))
+            && (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
+            && (this.getUpdatedAt() == null ? other.getUpdatedAt() == null : this.getUpdatedAt().equals(other.getUpdatedAt()));
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
+        result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
+        result = prime * result + ((getCoverUrl() == null) ? 0 : getCoverUrl().hashCode());
+        result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
+        result = prime * result + ((getRegistrationStartTime() == null) ? 0 : getRegistrationStartTime().hashCode());
+        result = prime * result + ((getRegistrationEndTime() == null) ? 0 : getRegistrationEndTime().hashCode());
+        result = prime * result + ((getActivityStartTime() == null) ? 0 : getActivityStartTime().hashCode());
+        result = prime * result + ((getActivityEndTime() == null) ? 0 : getActivityEndTime().hashCode());
+        result = prime * result + ((getLocation() == null) ? 0 : getLocation().hashCode());
+        result = prime * result + ((getRules() == null) ? 0 : getRules().hashCode());
+        result = prime * result + ((getAwards() == null) ? 0 : getAwards().hashCode());
+        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
+        result = prime * result + ((getCreatedBy() == null) ? 0 : getCreatedBy().hashCode());
+        result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
+        result = prime * result + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode());
+        return result;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", id=").append(id);
+        sb.append(", title=").append(title);
+        sb.append(", coverUrl=").append(coverUrl);
+        sb.append(", description=").append(description);
+        sb.append(", registrationStartTime=").append(registrationStartTime);
+        sb.append(", registrationEndTime=").append(registrationEndTime);
+        sb.append(", activityStartTime=").append(activityStartTime);
+        sb.append(", activityEndTime=").append(activityEndTime);
+        sb.append(", location=").append(location);
+        sb.append(", rules=").append(rules);
+        sb.append(", awards=").append(awards);
+        sb.append(", status=").append(status);
+        sb.append(", createdBy=").append(createdBy);
+        sb.append(", createdAt=").append(createdAt);
+        sb.append(", updatedAt=").append(updatedAt);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 159 - 0
fs-service/src/main/java/com/fs/activity/domain/AccTeam.java

@@ -0,0 +1,159 @@
+package com.fs.activity.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 团队表
+ * @TableName acc_team
+ */
+@TableName(value ="acc_team")
+@Data
+public class AccTeam {
+    /**
+     * 主键ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 活动ID
+     */
+    private Long activityId;
+
+    /**
+     * 队伍码(唯一)
+     */
+    private String teamCode;
+
+    /**
+     * 团队名称
+     */
+    private String teamName;
+
+    /**
+     * 所在城市
+     */
+    private String city;
+
+    /**
+     * 领队ID(关联user表)
+     */
+    private Long leaderId;
+
+    /**
+     * 领队姓名
+     */
+    private String leaderName;
+
+    /**
+     * 领队电话
+     */
+    private String leaderPhone;
+
+    /**
+     * 当前成员数
+     */
+    private Integer memberCount;
+
+    /**
+     * 状态:0-待审核 1-已通过 2-已驳回 3-已解散
+     */
+    private Integer status;
+
+    /**
+     * 审核备注
+     */
+    private String auditRemark;
+
+    /**
+     * 审核时间
+     */
+    private Date auditTime;
+
+    /**
+     *
+     */
+    private Date createdAt;
+
+    /**
+     *
+     */
+    private Date updatedAt;
+
+    @Override
+    public boolean equals(Object that) {
+        if (this == that) {
+            return true;
+        }
+        if (that == null) {
+            return false;
+        }
+        if (getClass() != that.getClass()) {
+            return false;
+        }
+        AccTeam other = (AccTeam) that;
+        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
+            && (this.getActivityId() == null ? other.getActivityId() == null : this.getActivityId().equals(other.getActivityId()))
+            && (this.getTeamCode() == null ? other.getTeamCode() == null : this.getTeamCode().equals(other.getTeamCode()))
+            && (this.getTeamName() == null ? other.getTeamName() == null : this.getTeamName().equals(other.getTeamName()))
+            && (this.getCity() == null ? other.getCity() == null : this.getCity().equals(other.getCity()))
+            && (this.getLeaderId() == null ? other.getLeaderId() == null : this.getLeaderId().equals(other.getLeaderId()))
+            && (this.getLeaderName() == null ? other.getLeaderName() == null : this.getLeaderName().equals(other.getLeaderName()))
+            && (this.getLeaderPhone() == null ? other.getLeaderPhone() == null : this.getLeaderPhone().equals(other.getLeaderPhone()))
+            && (this.getMemberCount() == null ? other.getMemberCount() == null : this.getMemberCount().equals(other.getMemberCount()))
+            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
+            && (this.getAuditRemark() == null ? other.getAuditRemark() == null : this.getAuditRemark().equals(other.getAuditRemark()))
+            && (this.getAuditTime() == null ? other.getAuditTime() == null : this.getAuditTime().equals(other.getAuditTime()))
+            && (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
+            && (this.getUpdatedAt() == null ? other.getUpdatedAt() == null : this.getUpdatedAt().equals(other.getUpdatedAt()));
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
+        result = prime * result + ((getActivityId() == null) ? 0 : getActivityId().hashCode());
+        result = prime * result + ((getTeamCode() == null) ? 0 : getTeamCode().hashCode());
+        result = prime * result + ((getTeamName() == null) ? 0 : getTeamName().hashCode());
+        result = prime * result + ((getCity() == null) ? 0 : getCity().hashCode());
+        result = prime * result + ((getLeaderId() == null) ? 0 : getLeaderId().hashCode());
+        result = prime * result + ((getLeaderName() == null) ? 0 : getLeaderName().hashCode());
+        result = prime * result + ((getLeaderPhone() == null) ? 0 : getLeaderPhone().hashCode());
+        result = prime * result + ((getMemberCount() == null) ? 0 : getMemberCount().hashCode());
+        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
+        result = prime * result + ((getAuditRemark() == null) ? 0 : getAuditRemark().hashCode());
+        result = prime * result + ((getAuditTime() == null) ? 0 : getAuditTime().hashCode());
+        result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
+        result = prime * result + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode());
+        return result;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", id=").append(id);
+        sb.append(", activityId=").append(activityId);
+        sb.append(", teamCode=").append(teamCode);
+        sb.append(", teamName=").append(teamName);
+        sb.append(", city=").append(city);
+        sb.append(", leaderId=").append(leaderId);
+        sb.append(", leaderName=").append(leaderName);
+        sb.append(", leaderPhone=").append(leaderPhone);
+        sb.append(", memberCount=").append(memberCount);
+        sb.append(", status=").append(status);
+        sb.append(", auditRemark=").append(auditRemark);
+        sb.append(", auditTime=").append(auditTime);
+        sb.append(", createdAt=").append(createdAt);
+        sb.append(", updatedAt=").append(updatedAt);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 111 - 0
fs-service/src/main/java/com/fs/activity/domain/AccTeamMember.java

@@ -0,0 +1,111 @@
+package com.fs.activity.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 团队成员表
+ * @TableName acc_team_member
+ */
+@TableName(value ="acc_team_member")
+@Data
+public class AccTeamMember {
+    /**
+     * 主键ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 团队ID
+     */
+    private Long teamId;
+
+    /**
+     * 用户ID
+     */
+    private Long userId;
+
+    /**
+     * 成员姓名
+     */
+    private String userName;
+
+    /**
+     * 加入时间
+     */
+    private Date joinTime;
+
+    /**
+     * 状态:0-已退出 1-正常
+     */
+    private Integer status;
+
+    /**
+     *
+     */
+    private Date createdAt;
+
+    /**
+     *
+     */
+    private Date updatedAt;
+
+    @Override
+    public boolean equals(Object that) {
+        if (this == that) {
+            return true;
+        }
+        if (that == null) {
+            return false;
+        }
+        if (getClass() != that.getClass()) {
+            return false;
+        }
+        AccTeamMember other = (AccTeamMember) that;
+        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
+            && (this.getTeamId() == null ? other.getTeamId() == null : this.getTeamId().equals(other.getTeamId()))
+            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
+            && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
+            && (this.getJoinTime() == null ? other.getJoinTime() == null : this.getJoinTime().equals(other.getJoinTime()))
+            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
+            && (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
+            && (this.getUpdatedAt() == null ? other.getUpdatedAt() == null : this.getUpdatedAt().equals(other.getUpdatedAt()));
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
+        result = prime * result + ((getTeamId() == null) ? 0 : getTeamId().hashCode());
+        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
+        result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
+        result = prime * result + ((getJoinTime() == null) ? 0 : getJoinTime().hashCode());
+        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
+        result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
+        result = prime * result + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode());
+        return result;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", id=").append(id);
+        sb.append(", teamId=").append(teamId);
+        sb.append(", userId=").append(userId);
+        sb.append(", userName=").append(userName);
+        sb.append(", joinTime=").append(joinTime);
+        sb.append(", status=").append(status);
+        sb.append(", createdAt=").append(createdAt);
+        sb.append(", updatedAt=").append(updatedAt);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 103 - 0
fs-service/src/main/java/com/fs/activity/domain/AccVoteRecord.java

@@ -0,0 +1,103 @@
+package com.fs.activity.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 投票记录表
+ * @TableName acc_vote_record
+ */
+@TableName(value ="acc_vote_record")
+@Data
+public class AccVoteRecord {
+    /**
+     * 主键ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 作品ID
+     */
+    private Long workId;
+
+    /**
+     * 用户ID
+     */
+    private Long userId;
+
+    /**
+     * 投票日期
+     */
+    private Date voteDate;
+
+    /**
+     * 投票时间
+     */
+    private Date voteTime;
+
+    /**
+     * IP地址
+     */
+    private String ipAddress;
+
+    /**
+     *
+     */
+    private Date createdAt;
+
+    @Override
+    public boolean equals(Object that) {
+        if (this == that) {
+            return true;
+        }
+        if (that == null) {
+            return false;
+        }
+        if (getClass() != that.getClass()) {
+            return false;
+        }
+        AccVoteRecord other = (AccVoteRecord) that;
+        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
+            && (this.getWorkId() == null ? other.getWorkId() == null : this.getWorkId().equals(other.getWorkId()))
+            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
+            && (this.getVoteDate() == null ? other.getVoteDate() == null : this.getVoteDate().equals(other.getVoteDate()))
+            && (this.getVoteTime() == null ? other.getVoteTime() == null : this.getVoteTime().equals(other.getVoteTime()))
+            && (this.getIpAddress() == null ? other.getIpAddress() == null : this.getIpAddress().equals(other.getIpAddress()))
+            && (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()));
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
+        result = prime * result + ((getWorkId() == null) ? 0 : getWorkId().hashCode());
+        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
+        result = prime * result + ((getVoteDate() == null) ? 0 : getVoteDate().hashCode());
+        result = prime * result + ((getVoteTime() == null) ? 0 : getVoteTime().hashCode());
+        result = prime * result + ((getIpAddress() == null) ? 0 : getIpAddress().hashCode());
+        result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
+        return result;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", id=").append(id);
+        sb.append(", workId=").append(workId);
+        sb.append(", userId=").append(userId);
+        sb.append(", voteDate=").append(voteDate);
+        sb.append(", voteTime=").append(voteTime);
+        sb.append(", ipAddress=").append(ipAddress);
+        sb.append(", createdAt=").append(createdAt);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 167 - 0
fs-service/src/main/java/com/fs/activity/domain/AccWork.java

@@ -0,0 +1,167 @@
+package com.fs.activity.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 作品表
+ * @TableName acc_work
+ */
+@TableName(value ="acc_work")
+@Data
+public class AccWork {
+    /**
+     * 主键ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 团队ID
+     */
+    private Long teamId;
+
+    /**
+     * 活动ID
+     */
+    private Long activityId;
+
+    /**
+     * 作品名称
+     */
+    private String workName;
+
+    /**
+     * 封面图URL
+     */
+    private String coverUrl;
+
+    /**
+     * 视频URL
+     */
+    private String videoUrl;
+
+    /**
+     * 作品描述
+     */
+    private String description;
+
+    /**
+     * 视频时长(秒)
+     */
+    private Integer duration;
+
+    /**
+     * 总投票数
+     */
+    private Integer voteCount;
+
+    /**
+     * 观看次数
+     */
+    private Integer viewCount;
+
+    /**
+     * 状态:0-待审核 1-已通过 2-已驳回 3-已下架
+     */
+    private Integer status;
+
+    /**
+     * 审核意见
+     */
+    private String auditRemark;
+
+    /**
+     * 审核时间
+     */
+    private Date auditTime;
+
+    /**
+     *
+     */
+    private Date createdAt;
+
+    /**
+     *
+     */
+    private Date updatedAt;
+
+    @Override
+    public boolean equals(Object that) {
+        if (this == that) {
+            return true;
+        }
+        if (that == null) {
+            return false;
+        }
+        if (getClass() != that.getClass()) {
+            return false;
+        }
+        AccWork other = (AccWork) that;
+        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
+            && (this.getTeamId() == null ? other.getTeamId() == null : this.getTeamId().equals(other.getTeamId()))
+            && (this.getActivityId() == null ? other.getActivityId() == null : this.getActivityId().equals(other.getActivityId()))
+            && (this.getWorkName() == null ? other.getWorkName() == null : this.getWorkName().equals(other.getWorkName()))
+            && (this.getCoverUrl() == null ? other.getCoverUrl() == null : this.getCoverUrl().equals(other.getCoverUrl()))
+            && (this.getVideoUrl() == null ? other.getVideoUrl() == null : this.getVideoUrl().equals(other.getVideoUrl()))
+            && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription()))
+            && (this.getDuration() == null ? other.getDuration() == null : this.getDuration().equals(other.getDuration()))
+            && (this.getVoteCount() == null ? other.getVoteCount() == null : this.getVoteCount().equals(other.getVoteCount()))
+            && (this.getViewCount() == null ? other.getViewCount() == null : this.getViewCount().equals(other.getViewCount()))
+            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
+            && (this.getAuditRemark() == null ? other.getAuditRemark() == null : this.getAuditRemark().equals(other.getAuditRemark()))
+            && (this.getAuditTime() == null ? other.getAuditTime() == null : this.getAuditTime().equals(other.getAuditTime()))
+            && (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
+            && (this.getUpdatedAt() == null ? other.getUpdatedAt() == null : this.getUpdatedAt().equals(other.getUpdatedAt()));
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
+        result = prime * result + ((getTeamId() == null) ? 0 : getTeamId().hashCode());
+        result = prime * result + ((getActivityId() == null) ? 0 : getActivityId().hashCode());
+        result = prime * result + ((getWorkName() == null) ? 0 : getWorkName().hashCode());
+        result = prime * result + ((getCoverUrl() == null) ? 0 : getCoverUrl().hashCode());
+        result = prime * result + ((getVideoUrl() == null) ? 0 : getVideoUrl().hashCode());
+        result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode());
+        result = prime * result + ((getDuration() == null) ? 0 : getDuration().hashCode());
+        result = prime * result + ((getVoteCount() == null) ? 0 : getVoteCount().hashCode());
+        result = prime * result + ((getViewCount() == null) ? 0 : getViewCount().hashCode());
+        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
+        result = prime * result + ((getAuditRemark() == null) ? 0 : getAuditRemark().hashCode());
+        result = prime * result + ((getAuditTime() == null) ? 0 : getAuditTime().hashCode());
+        result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
+        result = prime * result + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode());
+        return result;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", id=").append(id);
+        sb.append(", teamId=").append(teamId);
+        sb.append(", activityId=").append(activityId);
+        sb.append(", workName=").append(workName);
+        sb.append(", coverUrl=").append(coverUrl);
+        sb.append(", videoUrl=").append(videoUrl);
+        sb.append(", description=").append(description);
+        sb.append(", duration=").append(duration);
+        sb.append(", voteCount=").append(voteCount);
+        sb.append(", viewCount=").append(viewCount);
+        sb.append(", status=").append(status);
+        sb.append(", auditRemark=").append(auditRemark);
+        sb.append(", auditTime=").append(auditTime);
+        sb.append(", createdAt=").append(createdAt);
+        sb.append(", updatedAt=").append(updatedAt);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 18 - 0
fs-service/src/main/java/com/fs/activity/mapper/AccActivityMapper.java

@@ -0,0 +1,18 @@
+package com.fs.activity.mapper;
+
+import com.fs.activity.domain.AccActivity;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author Administrator
+* @description 针对表【acc_activity(活动表)】的数据库操作Mapper
+* @createDate 2026-03-05 14:33:08
+* @Entity com.fs.activity.activity.AccActivity
+*/
+public interface AccActivityMapper extends BaseMapper<AccActivity> {
+
+}
+
+
+
+

+ 18 - 0
fs-service/src/main/java/com/fs/activity/mapper/AccTeamMapper.java

@@ -0,0 +1,18 @@
+package com.fs.activity.mapper;
+
+import com.fs.activity.domain.AccTeam;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author Administrator
+* @description 针对表【acc_team(团队表)】的数据库操作Mapper
+* @createDate 2026-03-05 14:33:08
+* @Entity com.fs.activity.activity.AccTeam
+*/
+public interface AccTeamMapper extends BaseMapper<AccTeam> {
+
+}
+
+
+
+

+ 18 - 0
fs-service/src/main/java/com/fs/activity/mapper/AccTeamMemberMapper.java

@@ -0,0 +1,18 @@
+package com.fs.activity.mapper;
+
+import com.fs.activity.domain.AccTeamMember;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author Administrator
+* @description 针对表【acc_team_member(团队成员表)】的数据库操作Mapper
+* @createDate 2026-03-05 14:33:08
+* @Entity com.fs.activity.activity.AccTeamMember
+*/
+public interface AccTeamMemberMapper extends BaseMapper<AccTeamMember> {
+
+}
+
+
+
+

+ 18 - 0
fs-service/src/main/java/com/fs/activity/mapper/AccVoteRecordMapper.java

@@ -0,0 +1,18 @@
+package com.fs.activity.mapper;
+
+import com.fs.activity.domain.AccVoteRecord;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author Administrator
+* @description 针对表【acc_vote_record(投票记录表)】的数据库操作Mapper
+* @createDate 2026-03-05 14:33:08
+* @Entity com.fs.activity.activity.AccVoteRecord
+*/
+public interface AccVoteRecordMapper extends BaseMapper<AccVoteRecord> {
+
+}
+
+
+
+

+ 18 - 0
fs-service/src/main/java/com/fs/activity/mapper/AccWorkMapper.java

@@ -0,0 +1,18 @@
+package com.fs.activity.mapper;
+
+import com.fs.activity.domain.AccWork;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author Administrator
+* @description 针对表【acc_work(作品表)】的数据库操作Mapper
+* @createDate 2026-03-05 14:33:08
+* @Entity com.fs.activity.activity.AccWork
+*/
+public interface AccWorkMapper extends BaseMapper<AccWork> {
+
+}
+
+
+
+

+ 13 - 0
fs-service/src/main/java/com/fs/activity/service/AccActivityService.java

@@ -0,0 +1,13 @@
+package com.fs.activity.service;
+
+import com.fs.activity.domain.AccActivity;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+* @author Administrator
+* @description 针对表【acc_activity(活动表)】的数据库操作Service
+* @createDate 2026-03-05 14:33:08
+*/
+public interface AccActivityService extends IService<AccActivity> {
+
+}

+ 13 - 0
fs-service/src/main/java/com/fs/activity/service/AccTeamMemberService.java

@@ -0,0 +1,13 @@
+package com.fs.activity.service;
+
+import com.fs.activity.domain.AccTeamMember;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+* @author Administrator
+* @description 针对表【acc_team_member(团队成员表)】的数据库操作Service
+* @createDate 2026-03-05 14:33:08
+*/
+public interface AccTeamMemberService extends IService<AccTeamMember> {
+
+}

+ 13 - 0
fs-service/src/main/java/com/fs/activity/service/AccTeamService.java

@@ -0,0 +1,13 @@
+package com.fs.activity.service;
+
+import com.fs.activity.domain.AccTeam;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+* @author Administrator
+* @description 针对表【acc_team(团队表)】的数据库操作Service
+* @createDate 2026-03-05 14:33:08
+*/
+public interface AccTeamService extends IService<AccTeam> {
+
+}

+ 13 - 0
fs-service/src/main/java/com/fs/activity/service/AccVoteRecordService.java

@@ -0,0 +1,13 @@
+package com.fs.activity.service;
+
+import com.fs.activity.domain.AccVoteRecord;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+* @author Administrator
+* @description 针对表【acc_vote_record(投票记录表)】的数据库操作Service
+* @createDate 2026-03-05 14:33:08
+*/
+public interface AccVoteRecordService extends IService<AccVoteRecord> {
+
+}

+ 13 - 0
fs-service/src/main/java/com/fs/activity/service/AccWorkService.java

@@ -0,0 +1,13 @@
+package com.fs.activity.service;
+
+import com.fs.activity.domain.AccWork;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+* @author Administrator
+* @description 针对表【acc_work(作品表)】的数据库操作Service
+* @createDate 2026-03-05 14:33:08
+*/
+public interface AccWorkService extends IService<AccWork> {
+
+}

+ 22 - 0
fs-service/src/main/java/com/fs/activity/service/impl/AccActivityServiceImpl.java

@@ -0,0 +1,22 @@
+package com.fs.activity.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.fs.activity.domain.AccActivity;
+import com.fs.activity.service.AccActivityService;
+import com.fs.activity.mapper.AccActivityMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author Administrator
+* @description 针对表【acc_activity(活动表)】的数据库操作Service实现
+* @createDate 2026-03-05 14:33:08
+*/
+@Service
+public class AccActivityServiceImpl extends ServiceImpl<AccActivityMapper, AccActivity>
+    implements AccActivityService{
+
+}
+
+
+
+

+ 22 - 0
fs-service/src/main/java/com/fs/activity/service/impl/AccTeamMemberServiceImpl.java

@@ -0,0 +1,22 @@
+package com.fs.activity.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.fs.activity.domain.AccTeamMember;
+import com.fs.activity.service.AccTeamMemberService;
+import com.fs.activity.mapper.AccTeamMemberMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author Administrator
+* @description 针对表【acc_team_member(团队成员表)】的数据库操作Service实现
+* @createDate 2026-03-05 14:33:08
+*/
+@Service
+public class AccTeamMemberServiceImpl extends ServiceImpl<AccTeamMemberMapper, AccTeamMember>
+    implements AccTeamMemberService{
+
+}
+
+
+
+

+ 22 - 0
fs-service/src/main/java/com/fs/activity/service/impl/AccTeamServiceImpl.java

@@ -0,0 +1,22 @@
+package com.fs.activity.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.fs.activity.domain.AccTeam;
+import com.fs.activity.service.AccTeamService;
+import com.fs.activity.mapper.AccTeamMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author Administrator
+* @description 针对表【acc_team(团队表)】的数据库操作Service实现
+* @createDate 2026-03-05 14:33:08
+*/
+@Service
+public class AccTeamServiceImpl extends ServiceImpl<AccTeamMapper, AccTeam>
+    implements AccTeamService{
+
+}
+
+
+
+

+ 22 - 0
fs-service/src/main/java/com/fs/activity/service/impl/AccVoteRecordServiceImpl.java

@@ -0,0 +1,22 @@
+package com.fs.activity.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.fs.activity.domain.AccVoteRecord;
+import com.fs.activity.service.AccVoteRecordService;
+import com.fs.activity.mapper.AccVoteRecordMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author Administrator
+* @description 针对表【acc_vote_record(投票记录表)】的数据库操作Service实现
+* @createDate 2026-03-05 14:33:08
+*/
+@Service
+public class AccVoteRecordServiceImpl extends ServiceImpl<AccVoteRecordMapper, AccVoteRecord>
+    implements AccVoteRecordService{
+
+}
+
+
+
+

+ 22 - 0
fs-service/src/main/java/com/fs/activity/service/impl/AccWorkServiceImpl.java

@@ -0,0 +1,22 @@
+package com.fs.activity.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.fs.activity.domain.AccWork;
+import com.fs.activity.service.AccWorkService;
+import com.fs.activity.mapper.AccWorkMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author Administrator
+* @description 针对表【acc_work(作品表)】的数据库操作Service实现
+* @createDate 2026-03-05 14:33:08
+*/
+@Service
+public class AccWorkServiceImpl extends ServiceImpl<AccWorkMapper, AccWork>
+    implements AccWorkService{
+
+}
+
+
+
+

+ 30 - 0
fs-service/src/main/resources/mapper/activity/AccActivityMapper.xml

@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.fs.activity.mapper.AccActivityMapper">
+
+    <resultMap id="BaseResultMap" type="com.fs.activity.domain.AccActivity">
+            <id property="id" column="id" />
+            <result property="title" column="title" />
+            <result property="coverUrl" column="cover_url" />
+            <result property="description" column="description" />
+            <result property="registrationStartTime" column="registration_start_time" />
+            <result property="registrationEndTime" column="registration_end_time" />
+            <result property="activityStartTime" column="activity_start_time" />
+            <result property="activityEndTime" column="activity_end_time" />
+            <result property="location" column="location" />
+            <result property="rules" column="rules" />
+            <result property="awards" column="awards" />
+            <result property="status" column="status" />
+            <result property="createdBy" column="created_by" />
+            <result property="createdAt" column="created_at" />
+            <result property="updatedAt" column="updated_at" />
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,title,cover_url,description,registration_start_time,registration_end_time,
+        activity_start_time,activity_end_time,location,rules,awards,
+        status,created_by,created_at,updated_at
+    </sql>
+</mapper>

+ 29 - 0
fs-service/src/main/resources/mapper/activity/AccTeamMapper.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.fs.activity.mapper.AccTeamMapper">
+
+    <resultMap id="BaseResultMap" type="com.fs.activity.domain.AccTeam">
+            <id property="id" column="id" />
+            <result property="activityId" column="activity_id" />
+            <result property="teamCode" column="team_code" />
+            <result property="teamName" column="team_name" />
+            <result property="city" column="city" />
+            <result property="leaderId" column="leader_id" />
+            <result property="leaderName" column="leader_name" />
+            <result property="leaderPhone" column="leader_phone" />
+            <result property="memberCount" column="member_count" />
+            <result property="status" column="status" />
+            <result property="auditRemark" column="audit_remark" />
+            <result property="auditTime" column="audit_time" />
+            <result property="createdAt" column="created_at" />
+            <result property="updatedAt" column="updated_at" />
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,activity_id,team_code,team_name,city,leader_id,
+        leader_name,leader_phone,member_count,status,audit_remark,
+        audit_time,created_at,updated_at
+    </sql>
+</mapper>

+ 22 - 0
fs-service/src/main/resources/mapper/activity/AccTeamMemberMapper.xml

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.fs.activity.mapper.AccTeamMemberMapper">
+
+    <resultMap id="BaseResultMap" type="com.fs.activity.domain.AccTeamMember">
+            <id property="id" column="id" />
+            <result property="teamId" column="team_id" />
+            <result property="userId" column="user_id" />
+            <result property="userName" column="user_name" />
+            <result property="joinTime" column="join_time" />
+            <result property="status" column="status" />
+            <result property="createdAt" column="created_at" />
+            <result property="updatedAt" column="updated_at" />
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,team_id,user_id,user_name,join_time,status,
+        created_at,updated_at
+    </sql>
+</mapper>

+ 21 - 0
fs-service/src/main/resources/mapper/activity/AccVoteRecordMapper.xml

@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.fs.activity.mapper.AccVoteRecordMapper">
+
+    <resultMap id="BaseResultMap" type="com.fs.activity.domain.AccVoteRecord">
+            <id property="id" column="id" />
+            <result property="workId" column="work_id" />
+            <result property="userId" column="user_id" />
+            <result property="voteDate" column="vote_date" />
+            <result property="voteTime" column="vote_time" />
+            <result property="ipAddress" column="ip_address" />
+            <result property="createdAt" column="created_at" />
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,work_id,user_id,vote_date,vote_time,ip_address,
+        created_at
+    </sql>
+</mapper>

+ 30 - 0
fs-service/src/main/resources/mapper/activity/AccWorkMapper.xml

@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.fs.activity.mapper.AccWorkMapper">
+
+    <resultMap id="BaseResultMap" type="com.fs.activity.domain.AccWork">
+            <id property="id" column="id" />
+            <result property="teamId" column="team_id" />
+            <result property="activityId" column="activity_id" />
+            <result property="workName" column="work_name" />
+            <result property="coverUrl" column="cover_url" />
+            <result property="videoUrl" column="video_url" />
+            <result property="description" column="description" />
+            <result property="duration" column="duration" />
+            <result property="voteCount" column="vote_count" />
+            <result property="viewCount" column="view_count" />
+            <result property="status" column="status" />
+            <result property="auditRemark" column="audit_remark" />
+            <result property="auditTime" column="audit_time" />
+            <result property="createdAt" column="created_at" />
+            <result property="updatedAt" column="updated_at" />
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,team_id,activity_id,work_name,cover_url,video_url,
+        description,duration,vote_count,view_count,status,
+        audit_remark,audit_time,created_at,updated_at
+    </sql>
+</mapper>