update 会议新增参会人

This commit is contained in:
lijiarao
2021-09-09 15:23:22 +08:00
parent 33f292f6c8
commit 194698127b
17 changed files with 690 additions and 43 deletions
@@ -0,0 +1,224 @@
package com.jero.standards.memberinfo.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jero.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* @Description: 会员信息表
* @Author: jeecg-boot
* @Date: 2020-12-24
* @Version: V1.0
*/
@Data
@TableName("tb_member_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tb_member_info对象", description="会员信息表")
public class MemberInfo implements Serializable {
private static final long serialVersionUID = 1L;
/**主键*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "主键")
private String id;
/**用户名称*/
@Excel(name = "用户名", width = 15)
@ApiModelProperty(value = "用户名")
private String userName;
@TableField(exist = false)
@Excel(name = "真实姓名", width = 15)
@ApiModelProperty(value = "真实姓名")
private String realname;
/**密码*/
@TableField(exist = false)
@ApiModelProperty(value = "密码")
private String password;
/**确认密码*/
@TableField(exist = false)
@ApiModelProperty(value = "确认密码")
private String verifyPassword;
/**创建人*/
@ApiModelProperty(value = "创建人")
private String createBy;
/**注册时间*/
@Excel(name = "注册时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "注册时间")
private Date registerTime;
/**更新人*/
@ApiModelProperty(value = "更新人")
private String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新日期")
private Date updateTime;
/**单位全称*/
@Excel(name = "单位全称", width = 15)
@ApiModelProperty(value = "单位全称")
private String companyName;
/**单位性质*/
@Excel(name = "单位性质", width = 15)
@Dict(dicCode = "company_nature")
@ApiModelProperty(value = "单位性质")
private String companyNature;
/**隶属部门/集团*/
@Excel(name = "隶属部门/集团", width = 15)
@ApiModelProperty(value = "隶属部门/集团")
private String companyDepartment;
/**主要业务或主要产品简介*/
@Excel(name = "主要业务或主要产品简介", width = 15)
@ApiModelProperty(value = "主要业务或主要产品简介")
private String companyBusinessDesc;
/**标准化部门*/
@Excel(name = "标准化部门", width = 15)
@ApiModelProperty(value = "标准化部门")
private String standardDepartment;
/**标准化工作负责人*/
@Excel(name = "标准化工作负责人", width = 15)
@ApiModelProperty(value = "标准化工作负责人")
private String standardLeadingMan;
/**标准化部门固定电话联系方式*/
@Excel(name = "标准化部门固定电话联系方式", width = 15)
@ApiModelProperty(value = "标准化部门固定电话联系方式")
private String standardPhone;
/**标准化部门手机联系方式*/
@Excel(name = "标准化部门手机联系方式", width = 15)
@ApiModelProperty(value = "标准化部门手机联系方式")
private String standardMobile;
/**标准化部门邮箱*/
@Excel(name = "标准化部门邮箱", width = 15)
@ApiModelProperty(value = "标准化部门邮箱")
private String standardEmail;
/**标准化部门职务/职称*/
@Excel(name = "标准化部门职务/职称", width = 15)
@ApiModelProperty(value = "标准化部门职务/职称")
private String standardPost;
/**联系人*/
@Excel(name = "联系人", width = 15)
@ApiModelProperty(value = "联系人")
private String liaisonMan;
/**联系人邮箱*/
@Excel(name = "联系人邮箱", width = 15)
@ApiModelProperty(value = "联系人邮箱")
private String email;
/**联系人固定电话*/
@Excel(name = "联系人固定电话", width = 15)
@ApiModelProperty(value = "联系人固定电话")
private String phone;
/**联系人手机*/
@Excel(name = "联系人手机", width = 15)
@ApiModelProperty(value = "联系人手机")
private String mobile;
/**通讯地址*/
@Excel(name = "通讯地址", width = 15)
@ApiModelProperty(value = "通讯地址")
private String address;
/**邮编*/
@Excel(name = "邮编", width = 15)
@ApiModelProperty(value = "邮编")
private String postcode;
/**会员状态(1-待审核,2-未缴费 3-已缴费;4-已过期)*/
@Excel(name = "会员状态", width = 15)
@Dict(dicCode = "member_status")
@ApiModelProperty(value = "状态")
private Integer memberStatus;
/**用户id*/
@Excel(name = "用户id", width = 15)
@ApiModelProperty(value = "用户id")
private String userId;
/**有效时间*/
@Excel(name = "有效时间", width = 15)
@ApiModelProperty(value = "有效时间")
private String validDate;
/**会员类型*/
@Excel(name = "会员类型", width = 15)
@Dict(dicCode = "member_type")
@ApiModelProperty(value = "会员类型")
private Integer memberType;
/**创建时间*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "创建时间")
private Date createTime;
/**发票抬头*/
@Excel(name = "发票抬头", width = 15)
@ApiModelProperty(value = "发票抬头")
private String invoiceInfo;
/**税号*/
@Excel(name = "税号", width = 15)
@ApiModelProperty(value = "税号")
private String taxNo;
@TableField(exist = false)
@ApiModelProperty(value = "RSA公钥")
private String rsapublickey;
/** 会员编号 */
@Excel(name = "会员编号", width = 15)
@ApiModelProperty(value = "会员编号")
private String memberNo;
/** 法人代表 */
@Excel(name = "法人代表", width = 15)
@ApiModelProperty(value = "法人代表")
private String legalRepresent;
/** 营业执照文件id */
@Excel(name = "营业执照文件id", width = 15)
@ApiModelProperty(value = "营业执照文件id")
private String businessLicenseFileId;
/** 登录是否弹提示框 */
@Excel(name = "登录是否弹提示框", width = 15)
@ApiModelProperty(value = "登录是否弹提示框")
private Integer isTips;
/** 单位全称变更申请(TRUE有申请,FALSE无申请) */
@Excel(name = "单位全称变更申请", width = 15)
@ApiModelProperty(value = "单位全称变更申请")
private Integer companyNameApply;
/** 生效日期 */
@Excel(name = "生效日期", width = 15, format = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
private Date effectiveDate;
/** 失效日期 */
@Excel(name = "失效日期", width = 15, format = "yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
private Date invalidationDate;
/**会员性质(1-副理事单位,2-理事单位,3-会员单位)*/
@Excel(name = "会员性质(1-副理事单位,2-理事单位,3-会员单位)", width = 15)
@Dict(dicCode = "member_nature")
@ApiModelProperty(value = "会员性质(1-副理事单位,2-理事单位,3-会员单位)")
private Integer memberNature;
/**推荐表文件id*/
@Excel(name = "推荐表文件id", width = 15)
@ApiModelProperty(value = "推荐表文件id")
private String recommendWordId;
/**推荐表名字*/
@Excel(name = "推荐表名字", width = 15)
@ApiModelProperty(value = "推荐表名字")
private String recommendWordName;
/**自动审核时间*/
@Excel(name = "自动审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "自动审核时间")
private Date autoCheckTime;
/**产业组织*/
@ApiModelProperty(value = "产业组织")
private String industrialOrganization;
/**入会申请表文件id*/
@ApiModelProperty(value = "入会申请表文件id")
private String applicationWordId;
}
@@ -0,0 +1,20 @@
package com.jero.standards.memberinfo.mapper;
import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.jero.standards.memberinfo.entity.MemberInfo;
import java.util.List;
/**
* @Description: 会员信息表
* @Author: jeecg-boot
* @Date: 2020-12-24
* @Version: V1.0
*/
public interface MemberInfoMapper extends BaseMapper<MemberInfo> {
}
@@ -0,0 +1,5 @@
<?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.jero.standards.memberinfo.mapper.MemberInfoMapper">
</mapper>
@@ -0,0 +1,14 @@
package com.jero.standards.memberinfo.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jero.standards.memberinfo.entity.MemberInfo;
/**
* @Description: 会员信息表
* @Author: jeecg-boot
* @Date: 2020-12-24
* @Version: V1.0
*/
public interface IMemberInfoService extends IService<MemberInfo> {
}
@@ -0,0 +1,23 @@
package com.jero.standards.memberinfo.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jero.standards.memberinfo.entity.MemberInfo;
import com.jero.standards.memberinfo.mapper.MemberInfoMapper;
import com.jero.standards.memberinfo.service.IMemberInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
/**
* @Description: 会员信息表
* @Author: jeecg-boot
* @Date: 2020-12-24
* @Version: V1.0
*/
@Service
@Transactional(propagation = Propagation.REQUIRES_NEW, rollbackFor = Exception.class)
@DS(value = "multi-datasource1")
public class MemberInfoServiceImpl extends ServiceImpl<MemberInfoMapper, MemberInfo> implements IMemberInfoService {
}