运行不起来了

This commit is contained in:
2025-08-09 17:18:30 +08:00
parent c93eeaa5e3
commit 8ef39e573b
58 changed files with 4028 additions and 598 deletions

View File

@@ -0,0 +1,149 @@
package com.gxwebsoft.bszx.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;
import com.gxwebsoft.cms.entity.CmsArticle;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 百色中学-报名记录
*
* @author 科技小王子
* @since 2025-03-06 22:50:25
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "BszxBm对象", description = "百色中学-报名记录")
public class BszxBm implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "自增ID")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@Schema(description = "姓名")
private String name;
@Schema(description = "类型 0校友 1单位 2爱心人士")
private Integer type;
@Schema(description = "性别 1男 2女")
private String sex;
@Schema(description = "性别名称")
@TableField(exist = false)
private String sexName;
@Schema(description = "手机号码")
private String phone;
@Schema(description = "手机号码")
@TableField(exist = false)
private String mobile;
@Schema(description = "班级ID")
private Integer classId;
@Schema(description = "班级")
private String className;
@Schema(description = "年级")
private String gradeName;
@Schema(description = "分部ID")
private Integer branchId;
@Schema(description = "分部名称")
@TableField(exist = false)
private String branchName;
@Schema(description = "居住地址")
private String address;
@Schema(description = "工作单位")
private String workUnit;
@Schema(description = "职务")
private String position;
@Schema(description = "是否能到场")
private String present;
@Schema(description = "年龄")
private Integer age;
@Schema(description = "人数")
private Integer number;
@Schema(description = "额外信息")
private String extra;
@Schema(description = "生成的邀请函存放路径")
private String certificate;
@Schema(description = "预定日期")
private LocalDate dateTime;
@Schema(description = "表单数据")
private String formData;
@Schema(description = "表单ID")
private Integer formId;
@Schema(description = "活动名称")
@TableField(exist = false)
private String formName;
@Schema(description = "用户ID")
private Integer userId;
@Schema(description = "昵称")
@TableField(exist = false)
private String nickname;
@Schema(description = "头像")
@TableField(exist = false)
private String avatar;
@Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber;
@Schema(description = "备注")
private String comments;
@Schema(description = "状态, 0正常, 1冻结")
private Integer status;
@Schema(description = "是否删除, 0否, 1是")
@TableLogic
private Integer deleted;
@Schema(description = "租户id")
private Integer tenantId;
@Schema(description = "创建时间")
private Date createTime;
@Schema(description = "文章对象")
@TableField(exist = false)
private CmsArticle article;
public String getSexName() {
if (this.sex == null) {
return "";
}
return this.sex.equals("1") ? "" : "";
}
}

View File

@@ -0,0 +1,43 @@
package com.gxwebsoft.bszx.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 百色中学-分部
*
* @author 科技小王子
* @since 2025-03-17 17:18:22
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "BszxBranch对象", description = "百色中学-分部")
public class BszxBranch implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "ID")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@Schema(description = "分部名称 ")
private String name;
@Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber;
@Schema(description = "租户id")
private Integer tenantId;
@Schema(description = "子分类")
@TableField(exist = false)
private List<BszxGrade> children;
}

View File

@@ -0,0 +1,70 @@
package com.gxwebsoft.bszx.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 百色中学-班级
*
* @author 科技小王子
* @since 2025-03-06 22:50:25
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "BszxClass对象", description = "百色中学-班级")
public class BszxClass implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "ID")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@Schema(description = "时代ID")
private Integer eraId;
@Schema(description = "时代名称")
@TableField(exist = false)
private String eraName;
@Schema(description = "年级ID")
private Integer gradeId;
@Schema(description = "年级名称")
@TableField(exist = false)
private String gradeName;
@Schema(description = "班级")
private String name;
@Schema(description = "累计捐款金额")
private BigDecimal totalMoney;
@Schema(description = "分部")
private Integer branch;
@Schema(description = "分部名称")
@TableField(exist = false)
private String branchName;
@Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber;
@Schema(description = "备注")
private String comments;
@Schema(description = "状态, 0正常, 1冻结")
private Integer status;
@Schema(description = "子分类")
@TableField(exist = false)
private List<BszxClass> children;
}

View File

@@ -0,0 +1,43 @@
package com.gxwebsoft.bszx.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 百色中学-年代
*
* @author 科技小王子
* @since 2025-03-06 22:50:25
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "BszxEra对象", description = "百色中学-年代")
public class BszxEra implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "ID")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@Schema(description = "年代")
private String name;
@Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber;
@Schema(description = "租户id")
private Integer tenantId;
@Schema(description = "子分类")
@TableField(exist = false)
private List<BszxGrade> children;
}

View File

@@ -0,0 +1,53 @@
package com.gxwebsoft.bszx.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 百色中学-年级
*
* @author 科技小王子
* @since 2025-03-06 22:50:25
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "BszxGrade对象", description = "百色中学-年级")
public class BszxGrade implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "ID")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@Schema(description = "年级")
private String name;
@Schema(description = "年代")
private Integer eraId;
@Schema(description = "分部")
private Integer branch;
@Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber;
@Schema(description = "备注")
private String comments;
@Schema(description = "状态, 0正常, 1冻结")
private Integer status;
@Schema(description = "子分类")
@TableField(exist = false)
private List<BszxClass> children;
}

View File

@@ -0,0 +1,141 @@
package com.gxwebsoft.bszx.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;
import com.gxwebsoft.cms.entity.CmsArticle;
import com.gxwebsoft.shop.entity.ShopOrder;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 百色中学-捐款记录
*
* @author 科技小王子
* @since 2025-03-06 22:50:25
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "BszxPay对象", description = "百色中学-捐款记录")
public class BszxPay implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "ID")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@Schema(description = "年龄")
private Integer age;
@Schema(description = "姓名")
private String name;
@Schema(description = "性别 1男 2女")
private String sex;
@Schema(description = "手机号码")
private String phone;
@Schema(description = "手机号码")
@TableField(exist = false)
private String mobile;
@Schema(description = "分部")
private String branchName;
@Schema(description = "班级")
private String className;
@Schema(description = "年级")
private String gradeName;
@Schema(description = "居住地址")
private String address;
@Schema(description = "工作单位")
private String workUnit;
@Schema(description = "职务")
private String position;
@Schema(description = "数量")
private Integer number;
@Schema(description = "付费金额")
private BigDecimal price;
@Schema(description = "额外信息")
private String extra;
@Schema(description = "订单编号")
private String orderNo;
@Schema(description = "预定日期")
private LocalDate dateTime;
@Schema(description = "捐赠证书")
private String certificate;
@Schema(description = "表单数据")
private String formData;
@Schema(description = "来源表ID")
private Integer formId;
@Schema(description = "活动名称")
@TableField(exist = false)
private String formName;
@Schema(description = "用户ID")
private Integer userId;
@Schema(description = "昵称")
@TableField(exist = false)
private String nickname;
@Schema(description = "头像")
@TableField(exist = false)
private String avatar;
@Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber;
@Schema(description = "备注")
private String comments;
@Schema(description = "状态, 0正常, 1冻结")
private Integer status;
@Schema(description = "是否删除, 0否, 1是")
@TableLogic
private Integer deleted;
@Schema(description = "租户id")
private Integer tenantId;
@Schema(description = "创建时间")
private Date createTime;
@Schema(description = "文章")
@TableField(exist = false)
private CmsArticle article;
@Schema(description = "订单")
@TableField(exist = false)
private ShopOrder shopOrder;
public String getSexName() {
return this.sex.equals("1") ? "" : "";
}
}

View File

@@ -0,0 +1,65 @@
package com.gxwebsoft.bszx.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 百色中学-捐款排行
*
* @author 科技小王子
* @since 2025-03-25 08:54:09
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "BszxPayRanking对象", description = "百色中学-捐款排行")
public class BszxPayRanking implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "ID")
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
@Schema(description = "来源表ID文章ID")
private Integer formId;
@Schema(description = "项目名称")
@TableField(exist = false)
private String formName;
@Schema(description = "数量")
private Long number;
@Schema(description = "获得捐款总金额")
private BigDecimal totalPrice;
@Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber;
@Schema(description = "备注")
private String comments;
@Schema(description = "状态, 0正常, 1冻结")
private Integer status;
@Schema(description = "是否删除, 0否, 1是")
@TableLogic
private Integer deleted;
@Schema(description = "租户id")
private Integer tenantId;
@Schema(description = "创建时间")
private Date createTime;
}