添加逆向生成
parent
9145c05fa6
commit
9a18141d18
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata;
|
package com.sztzjy;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.annotation;
|
package com.sztzjy.annotation;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.annotation;
|
package com.sztzjy.annotation;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
package com.sztzjy.financial_bigdata.annotation;
|
package com.sztzjy.annotation;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import com.sztzjy.financial_bigdata.annotation.aspect.PermissionType;
|
import com.sztzjy.annotation.aspect.PermissionType;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.annotation.aspect;
|
package com.sztzjy.annotation.aspect;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,6 +1,5 @@
|
|||||||
package com.sztzjy.financial_bigdata.config;
|
package com.sztzjy.config;
|
||||||
|
|
||||||
import io.swagger.models.auth.In;
|
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config;
|
package com.sztzjy.config;
|
||||||
|
|
||||||
import com.fasterxml.jackson.core.JsonGenerator;
|
import com.fasterxml.jackson.core.JsonGenerator;
|
||||||
import com.fasterxml.jackson.databind.JsonSerializer;
|
import com.fasterxml.jackson.databind.JsonSerializer;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config;
|
package com.sztzjy.config;
|
||||||
|
|
||||||
import org.springframework.context.ApplicationEvent;
|
import org.springframework.context.ApplicationEvent;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config;
|
package com.sztzjy.config;
|
||||||
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.BeansException;
|
import org.springframework.beans.BeansException;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.exception;
|
package com.sztzjy.config.exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 当用户访问受保护资源但不提供任何凭据时将抛出此异常
|
* 当用户访问受保护资源但不提供任何凭据时将抛出此异常
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.exception.handler;
|
package com.sztzjy.config.exception.handler;
|
||||||
|
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.security.access.AccessDeniedException;
|
import org.springframework.security.access.AccessDeniedException;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.exception.handler;
|
package com.sztzjy.config.exception.handler;
|
||||||
|
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.security.core.AuthenticationException;
|
import org.springframework.security.core.AuthenticationException;
|
@ -1,8 +1,8 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.exception.handler;
|
package com.sztzjy.config.exception.handler;
|
||||||
|
|
||||||
import com.sztzjy.financial_bigdata.config.exception.UnAuthorizedException;
|
import com.sztzjy.config.exception.UnAuthorizedException;
|
||||||
import com.sztzjy.financial_bigdata.util.ResultEntity;
|
import com.sztzjy.util.ResultEntity;
|
||||||
import com.sztzjy.financial_bigdata.util.ThrowableUtil;
|
import com.sztzjy.util.ThrowableUtil;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.security.access.AccessDeniedException;
|
import org.springframework.security.access.AccessDeniedException;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.redis;
|
package com.sztzjy.config.redis;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
||||||
import com.fasterxml.jackson.annotation.PropertyAccessor;
|
import com.fasterxml.jackson.annotation.PropertyAccessor;
|
@ -1,8 +1,8 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.security;
|
package com.sztzjy.config.security;
|
||||||
|
|
||||||
import cn.hutool.extra.servlet.ServletUtil;
|
import cn.hutool.extra.servlet.ServletUtil;
|
||||||
import com.sztzjy.financial_bigdata.config.Constant;
|
import com.sztzjy.config.Constant;
|
||||||
import com.sztzjy.financial_bigdata.config.exception.UnAuthorizedException;
|
import com.sztzjy.config.exception.UnAuthorizedException;
|
||||||
import io.jsonwebtoken.ExpiredJwtException;
|
import io.jsonwebtoken.ExpiredJwtException;
|
||||||
import io.jsonwebtoken.MalformedJwtException;
|
import io.jsonwebtoken.MalformedJwtException;
|
||||||
import io.jsonwebtoken.UnsupportedJwtException;
|
import io.jsonwebtoken.UnsupportedJwtException;
|
@ -1,4 +1,4 @@
|
|||||||
//package com.sztzjy.financial_bigdata.config.security;
|
//package com.sztzjy.config.security;
|
||||||
//
|
//
|
||||||
//import com.sztzjy.financial_bigdata.entity.User;
|
//import com.sztzjy.financial_bigdata.entity.User;
|
||||||
//import com.sztzjy.financial_bigdata.service.IUserService;
|
//import com.sztzjy.financial_bigdata.service.IUserService;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.security;
|
package com.sztzjy.config.security;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
@ -1,6 +1,5 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.security;
|
package com.sztzjy.config.security;
|
||||||
|
|
||||||
import io.swagger.models.auth.In;
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import org.springframework.security.core.GrantedAuthority;
|
import org.springframework.security.core.GrantedAuthority;
|
@ -1,14 +1,11 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.security;
|
package com.sztzjy.config.security;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import org.springframework.security.core.GrantedAuthority;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户登录结果集
|
* 用户登录结果集
|
@ -1,8 +1,8 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.security;
|
package com.sztzjy.config.security;
|
||||||
|
|
||||||
|
|
||||||
import com.sztzjy.financial_bigdata.config.Constant;
|
import com.sztzjy.config.Constant;
|
||||||
import com.sztzjy.financial_bigdata.config.exception.UnAuthorizedException;
|
import com.sztzjy.config.exception.UnAuthorizedException;
|
||||||
import io.jsonwebtoken.*;
|
import io.jsonwebtoken.*;
|
||||||
import io.jsonwebtoken.security.Keys;
|
import io.jsonwebtoken.security.Keys;
|
||||||
import io.jsonwebtoken.security.SignatureException;
|
import io.jsonwebtoken.security.SignatureException;
|
@ -1,7 +1,7 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.security;
|
package com.sztzjy.config.security;
|
||||||
|
|
||||||
import com.sztzjy.financial_bigdata.util.file.IFileUtil;
|
import com.sztzjy.util.file.IFileUtil;
|
||||||
import com.sztzjy.financial_bigdata.util.file.LocalFileUtil;
|
import com.sztzjy.util.file.LocalFileUtil;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.swagger;
|
package com.sztzjy.config.swagger;
|
||||||
|
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.config.swagger;
|
package com.sztzjy.config.swagger;
|
||||||
|
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
@ -0,0 +1,308 @@
|
|||||||
|
package com.sztzjy.entity;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author whb
|
||||||
|
* stu_base_info
|
||||||
|
*/
|
||||||
|
public class StuBaseInfo {
|
||||||
|
@ApiModelProperty("id")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty("公司名称")
|
||||||
|
private String corpName;
|
||||||
|
|
||||||
|
@ApiModelProperty("统一社会信用代码")
|
||||||
|
private String unSocialCreditCode;
|
||||||
|
|
||||||
|
@ApiModelProperty("法定代表人")
|
||||||
|
private String legalRepresent;
|
||||||
|
|
||||||
|
@ApiModelProperty("经营状态")
|
||||||
|
private String bussinsssState;
|
||||||
|
|
||||||
|
@ApiModelProperty("成立日期")
|
||||||
|
private Date dateOfEstablish;
|
||||||
|
|
||||||
|
@ApiModelProperty("行政区划")
|
||||||
|
private String adminDivision;
|
||||||
|
|
||||||
|
@ApiModelProperty("注册资本")
|
||||||
|
private String regCapital;
|
||||||
|
|
||||||
|
@ApiModelProperty("实缴资本")
|
||||||
|
private String paidUpCapital;
|
||||||
|
|
||||||
|
@ApiModelProperty("企业类型")
|
||||||
|
private String enterType;
|
||||||
|
|
||||||
|
@ApiModelProperty("所属行业")
|
||||||
|
private String industry;
|
||||||
|
|
||||||
|
@ApiModelProperty("工商注册号")
|
||||||
|
private String bussRegNumber;
|
||||||
|
|
||||||
|
@ApiModelProperty("组织机构代码")
|
||||||
|
private String orgCode;
|
||||||
|
|
||||||
|
@ApiModelProperty("纳税人识别号")
|
||||||
|
private String texIdentifiNumber;
|
||||||
|
|
||||||
|
@ApiModelProperty("纳税人资质")
|
||||||
|
private String taxQualification;
|
||||||
|
|
||||||
|
@ApiModelProperty("营业期限")
|
||||||
|
private String businessTerm;
|
||||||
|
|
||||||
|
@ApiModelProperty("核准日期")
|
||||||
|
private Date dateOfApproval;
|
||||||
|
|
||||||
|
@ApiModelProperty("登记机关")
|
||||||
|
private String regAuth;
|
||||||
|
|
||||||
|
@ApiModelProperty("参保人数")
|
||||||
|
private String numberOfInsurePerson;
|
||||||
|
|
||||||
|
@ApiModelProperty("注册地址")
|
||||||
|
private String companyRegAddress;
|
||||||
|
|
||||||
|
@ApiModelProperty("经营范围")
|
||||||
|
private String businessScope;
|
||||||
|
|
||||||
|
@ApiModelProperty("股东名称")
|
||||||
|
private String shareholderName;
|
||||||
|
|
||||||
|
@ApiModelProperty("持股比例")
|
||||||
|
private String shareholdRatio;
|
||||||
|
|
||||||
|
@ApiModelProperty("用户ID")
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
@ApiModelProperty("创建时间")
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("更新时间")
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("案例详情")
|
||||||
|
private String caseDetail;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCorpName() {
|
||||||
|
return corpName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCorpName(String corpName) {
|
||||||
|
this.corpName = corpName == null ? null : corpName.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUnSocialCreditCode() {
|
||||||
|
return unSocialCreditCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUnSocialCreditCode(String unSocialCreditCode) {
|
||||||
|
this.unSocialCreditCode = unSocialCreditCode == null ? null : unSocialCreditCode.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLegalRepresent() {
|
||||||
|
return legalRepresent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLegalRepresent(String legalRepresent) {
|
||||||
|
this.legalRepresent = legalRepresent == null ? null : legalRepresent.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBussinsssState() {
|
||||||
|
return bussinsssState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBussinsssState(String bussinsssState) {
|
||||||
|
this.bussinsssState = bussinsssState == null ? null : bussinsssState.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getDateOfEstablish() {
|
||||||
|
return dateOfEstablish;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDateOfEstablish(Date dateOfEstablish) {
|
||||||
|
this.dateOfEstablish = dateOfEstablish;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAdminDivision() {
|
||||||
|
return adminDivision;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAdminDivision(String adminDivision) {
|
||||||
|
this.adminDivision = adminDivision == null ? null : adminDivision.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRegCapital() {
|
||||||
|
return regCapital;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRegCapital(String regCapital) {
|
||||||
|
this.regCapital = regCapital == null ? null : regCapital.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPaidUpCapital() {
|
||||||
|
return paidUpCapital;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPaidUpCapital(String paidUpCapital) {
|
||||||
|
this.paidUpCapital = paidUpCapital == null ? null : paidUpCapital.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getEnterType() {
|
||||||
|
return enterType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEnterType(String enterType) {
|
||||||
|
this.enterType = enterType == null ? null : enterType.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndustry() {
|
||||||
|
return industry;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndustry(String industry) {
|
||||||
|
this.industry = industry == null ? null : industry.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBussRegNumber() {
|
||||||
|
return bussRegNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBussRegNumber(String bussRegNumber) {
|
||||||
|
this.bussRegNumber = bussRegNumber == null ? null : bussRegNumber.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOrgCode() {
|
||||||
|
return orgCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOrgCode(String orgCode) {
|
||||||
|
this.orgCode = orgCode == null ? null : orgCode.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTexIdentifiNumber() {
|
||||||
|
return texIdentifiNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTexIdentifiNumber(String texIdentifiNumber) {
|
||||||
|
this.texIdentifiNumber = texIdentifiNumber == null ? null : texIdentifiNumber.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTaxQualification() {
|
||||||
|
return taxQualification;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTaxQualification(String taxQualification) {
|
||||||
|
this.taxQualification = taxQualification == null ? null : taxQualification.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBusinessTerm() {
|
||||||
|
return businessTerm;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBusinessTerm(String businessTerm) {
|
||||||
|
this.businessTerm = businessTerm == null ? null : businessTerm.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getDateOfApproval() {
|
||||||
|
return dateOfApproval;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDateOfApproval(Date dateOfApproval) {
|
||||||
|
this.dateOfApproval = dateOfApproval;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRegAuth() {
|
||||||
|
return regAuth;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRegAuth(String regAuth) {
|
||||||
|
this.regAuth = regAuth == null ? null : regAuth.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNumberOfInsurePerson() {
|
||||||
|
return numberOfInsurePerson;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNumberOfInsurePerson(String numberOfInsurePerson) {
|
||||||
|
this.numberOfInsurePerson = numberOfInsurePerson == null ? null : numberOfInsurePerson.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCompanyRegAddress() {
|
||||||
|
return companyRegAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCompanyRegAddress(String companyRegAddress) {
|
||||||
|
this.companyRegAddress = companyRegAddress == null ? null : companyRegAddress.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBusinessScope() {
|
||||||
|
return businessScope;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBusinessScope(String businessScope) {
|
||||||
|
this.businessScope = businessScope == null ? null : businessScope.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getShareholderName() {
|
||||||
|
return shareholderName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShareholderName(String shareholderName) {
|
||||||
|
this.shareholderName = shareholderName == null ? null : shareholderName.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getShareholdRatio() {
|
||||||
|
return shareholdRatio;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShareholdRatio(String shareholdRatio) {
|
||||||
|
this.shareholdRatio = shareholdRatio == null ? null : shareholdRatio.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserId() {
|
||||||
|
return userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserId(String userId) {
|
||||||
|
this.userId = userId == null ? null : userId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(Date createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getUpdateTime() {
|
||||||
|
return updateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUpdateTime(Date updateTime) {
|
||||||
|
this.updateTime = updateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCaseDetail() {
|
||||||
|
return caseDetail;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCaseDetail(String caseDetail) {
|
||||||
|
this.caseDetail = caseDetail == null ? null : caseDetail.trim();
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,393 @@
|
|||||||
|
package com.sztzjy.entity;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author whb
|
||||||
|
* stu_user
|
||||||
|
*/
|
||||||
|
public class StuUser {
|
||||||
|
@ApiModelProperty("用户ID")
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
@ApiModelProperty("用户名")
|
||||||
|
private String username;
|
||||||
|
|
||||||
|
@ApiModelProperty("密码")
|
||||||
|
private String password;
|
||||||
|
|
||||||
|
@ApiModelProperty("姓名")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty("角色权限")
|
||||||
|
private String roleId;
|
||||||
|
|
||||||
|
@ApiModelProperty("学校ID")
|
||||||
|
private String schoolId;
|
||||||
|
|
||||||
|
@ApiModelProperty("学校名称")
|
||||||
|
private String schoolName;
|
||||||
|
|
||||||
|
@ApiModelProperty("班级ID")
|
||||||
|
private String classId;
|
||||||
|
|
||||||
|
@ApiModelProperty("班级名称")
|
||||||
|
private String className;
|
||||||
|
|
||||||
|
@ApiModelProperty("电话")
|
||||||
|
private String phone;
|
||||||
|
|
||||||
|
private String collegeId;
|
||||||
|
|
||||||
|
private String collegeName;
|
||||||
|
|
||||||
|
@ApiModelProperty("学号")
|
||||||
|
private String studentId;
|
||||||
|
|
||||||
|
@ApiModelProperty("专业")
|
||||||
|
private String major;
|
||||||
|
|
||||||
|
@ApiModelProperty("专业ID")
|
||||||
|
private String majorId;
|
||||||
|
|
||||||
|
private String majorName;
|
||||||
|
|
||||||
|
@ApiModelProperty("5g成绩")
|
||||||
|
private BigDecimal fiveScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("人工智能成绩")
|
||||||
|
private BigDecimal artificialIntelligenceScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("大数据成绩")
|
||||||
|
private BigDecimal bigDataScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("云计算成绩")
|
||||||
|
private BigDecimal cloudComputeScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("物联网成绩")
|
||||||
|
private BigDecimal internetOfThingsSocre;
|
||||||
|
|
||||||
|
@ApiModelProperty("虚拟现实成绩")
|
||||||
|
private BigDecimal virtualRealitySocre;
|
||||||
|
|
||||||
|
@ApiModelProperty("工业互联网成绩")
|
||||||
|
private BigDecimal industrialInternetSocre;
|
||||||
|
|
||||||
|
@ApiModelProperty("数字产业化成绩")
|
||||||
|
private BigDecimal digitalIndustryScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("数字产业化排名")
|
||||||
|
private Integer digitalIndustryRank;
|
||||||
|
|
||||||
|
@ApiModelProperty("数字化治理成绩")
|
||||||
|
private BigDecimal digitalGoverSocre;
|
||||||
|
|
||||||
|
@ApiModelProperty("数字化治理排名")
|
||||||
|
private Integer digitalGoverRank;
|
||||||
|
|
||||||
|
@ApiModelProperty("数字贸易成绩")
|
||||||
|
private BigDecimal digitalTradeScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("数字金融成绩")
|
||||||
|
private BigDecimal digitalFinanceScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("数据价值化成绩")
|
||||||
|
private BigDecimal valueDataScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("数据价值化排名")
|
||||||
|
private Integer valueDataRank;
|
||||||
|
|
||||||
|
@ApiModelProperty("产业数字化成绩")
|
||||||
|
private BigDecimal industryDigitalScore;
|
||||||
|
|
||||||
|
@ApiModelProperty("产业数字化排名")
|
||||||
|
private Integer industryDigitalRank;
|
||||||
|
|
||||||
|
@ApiModelProperty("总排名(学校)")
|
||||||
|
private Integer totalRank;
|
||||||
|
|
||||||
|
@ApiModelProperty("综合得分(学校)(乘完权重后)")
|
||||||
|
private BigDecimal totalScore;
|
||||||
|
|
||||||
|
public String getUserId() {
|
||||||
|
return userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserId(String userId) {
|
||||||
|
this.userId = userId == null ? null : userId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUsername() {
|
||||||
|
return username;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUsername(String username) {
|
||||||
|
this.username = username == null ? null : username.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPassword() {
|
||||||
|
return password;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPassword(String password) {
|
||||||
|
this.password = password == null ? null : password.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name == null ? null : name.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRoleId() {
|
||||||
|
return roleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRoleId(String roleId) {
|
||||||
|
this.roleId = roleId == null ? null : roleId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSchoolId() {
|
||||||
|
return schoolId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSchoolId(String schoolId) {
|
||||||
|
this.schoolId = schoolId == null ? null : schoolId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSchoolName() {
|
||||||
|
return schoolName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSchoolName(String schoolName) {
|
||||||
|
this.schoolName = schoolName == null ? null : schoolName.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getClassId() {
|
||||||
|
return classId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setClassId(String classId) {
|
||||||
|
this.classId = classId == null ? null : classId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getClassName() {
|
||||||
|
return className;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setClassName(String className) {
|
||||||
|
this.className = className == null ? null : className.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPhone() {
|
||||||
|
return phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPhone(String phone) {
|
||||||
|
this.phone = phone == null ? null : phone.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCollegeId() {
|
||||||
|
return collegeId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCollegeId(String collegeId) {
|
||||||
|
this.collegeId = collegeId == null ? null : collegeId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCollegeName() {
|
||||||
|
return collegeName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCollegeName(String collegeName) {
|
||||||
|
this.collegeName = collegeName == null ? null : collegeName.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStudentId() {
|
||||||
|
return studentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStudentId(String studentId) {
|
||||||
|
this.studentId = studentId == null ? null : studentId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMajor() {
|
||||||
|
return major;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMajor(String major) {
|
||||||
|
this.major = major == null ? null : major.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMajorId() {
|
||||||
|
return majorId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMajorId(String majorId) {
|
||||||
|
this.majorId = majorId == null ? null : majorId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMajorName() {
|
||||||
|
return majorName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMajorName(String majorName) {
|
||||||
|
this.majorName = majorName == null ? null : majorName.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getFiveScore() {
|
||||||
|
return fiveScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFiveScore(BigDecimal fiveScore) {
|
||||||
|
this.fiveScore = fiveScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getArtificialIntelligenceScore() {
|
||||||
|
return artificialIntelligenceScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setArtificialIntelligenceScore(BigDecimal artificialIntelligenceScore) {
|
||||||
|
this.artificialIntelligenceScore = artificialIntelligenceScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getBigDataScore() {
|
||||||
|
return bigDataScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBigDataScore(BigDecimal bigDataScore) {
|
||||||
|
this.bigDataScore = bigDataScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getCloudComputeScore() {
|
||||||
|
return cloudComputeScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCloudComputeScore(BigDecimal cloudComputeScore) {
|
||||||
|
this.cloudComputeScore = cloudComputeScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getInternetOfThingsSocre() {
|
||||||
|
return internetOfThingsSocre;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setInternetOfThingsSocre(BigDecimal internetOfThingsSocre) {
|
||||||
|
this.internetOfThingsSocre = internetOfThingsSocre;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getVirtualRealitySocre() {
|
||||||
|
return virtualRealitySocre;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setVirtualRealitySocre(BigDecimal virtualRealitySocre) {
|
||||||
|
this.virtualRealitySocre = virtualRealitySocre;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getIndustrialInternetSocre() {
|
||||||
|
return industrialInternetSocre;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndustrialInternetSocre(BigDecimal industrialInternetSocre) {
|
||||||
|
this.industrialInternetSocre = industrialInternetSocre;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getDigitalIndustryScore() {
|
||||||
|
return digitalIndustryScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDigitalIndustryScore(BigDecimal digitalIndustryScore) {
|
||||||
|
this.digitalIndustryScore = digitalIndustryScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getDigitalIndustryRank() {
|
||||||
|
return digitalIndustryRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDigitalIndustryRank(Integer digitalIndustryRank) {
|
||||||
|
this.digitalIndustryRank = digitalIndustryRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getDigitalGoverSocre() {
|
||||||
|
return digitalGoverSocre;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDigitalGoverSocre(BigDecimal digitalGoverSocre) {
|
||||||
|
this.digitalGoverSocre = digitalGoverSocre;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getDigitalGoverRank() {
|
||||||
|
return digitalGoverRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDigitalGoverRank(Integer digitalGoverRank) {
|
||||||
|
this.digitalGoverRank = digitalGoverRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getDigitalTradeScore() {
|
||||||
|
return digitalTradeScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDigitalTradeScore(BigDecimal digitalTradeScore) {
|
||||||
|
this.digitalTradeScore = digitalTradeScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getDigitalFinanceScore() {
|
||||||
|
return digitalFinanceScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDigitalFinanceScore(BigDecimal digitalFinanceScore) {
|
||||||
|
this.digitalFinanceScore = digitalFinanceScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getValueDataScore() {
|
||||||
|
return valueDataScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValueDataScore(BigDecimal valueDataScore) {
|
||||||
|
this.valueDataScore = valueDataScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getValueDataRank() {
|
||||||
|
return valueDataRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValueDataRank(Integer valueDataRank) {
|
||||||
|
this.valueDataRank = valueDataRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getIndustryDigitalScore() {
|
||||||
|
return industryDigitalScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndustryDigitalScore(BigDecimal industryDigitalScore) {
|
||||||
|
this.industryDigitalScore = industryDigitalScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getIndustryDigitalRank() {
|
||||||
|
return industryDigitalRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndustryDigitalRank(Integer industryDigitalRank) {
|
||||||
|
this.industryDigitalRank = industryDigitalRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getTotalRank() {
|
||||||
|
return totalRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTotalRank(Integer totalRank) {
|
||||||
|
this.totalRank = totalRank;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getTotalScore() {
|
||||||
|
return totalScore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTotalScore(BigDecimal totalScore) {
|
||||||
|
this.totalScore = totalScore;
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -1,39 +0,0 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;//package com.sztzjy.fund_investment.util;
|
|
||||||
//
|
|
||||||
//import org.mybatis.generator.api.MyBatisGenerator;
|
|
||||||
//import org.mybatis.generator.config.Configuration;
|
|
||||||
//import org.mybatis.generator.config.xml.ConfigurationParser;
|
|
||||||
//import org.mybatis.generator.internal.DefaultShellCallback;
|
|
||||||
//
|
|
||||||
//import java.io.File;
|
|
||||||
//import java.net.URL;
|
|
||||||
//import java.util.ArrayList;
|
|
||||||
//import java.util.List;
|
|
||||||
//
|
|
||||||
//public class GeneratorUtil {
|
|
||||||
//
|
|
||||||
// public static void generate() {
|
|
||||||
// try {
|
|
||||||
// List<String> warnings = new ArrayList<>();
|
|
||||||
// boolean overwrite = true;
|
|
||||||
//
|
|
||||||
// // 获取 generatorConfig.xml 文件路径
|
|
||||||
// URL resourceUrl = GeneratorUtil.class.getResource("/generatorConfig.xml");
|
|
||||||
// String configFilePath = resourceUrl.getFile();
|
|
||||||
//
|
|
||||||
// File configFileObj = new File(configFilePath);
|
|
||||||
// ConfigurationParser cp = new ConfigurationParser(warnings);
|
|
||||||
// Configuration config = cp.parseConfiguration(configFileObj);
|
|
||||||
//
|
|
||||||
// DefaultShellCallback callback = new DefaultShellCallback(overwrite);
|
|
||||||
// MyBatisGenerator myBatisGenerator = new MyBatisGenerator(config, callback, warnings);
|
|
||||||
// myBatisGenerator.generate(null);
|
|
||||||
// } catch (Exception e) {
|
|
||||||
// e.printStackTrace();
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public static void main(String[] args) {
|
|
||||||
// generate();
|
|
||||||
// }
|
|
||||||
//}
|
|
@ -0,0 +1,36 @@
|
|||||||
|
package com.sztzjy.mappers;
|
||||||
|
|
||||||
|
import com.sztzjy.entity.StuBaseInfo;
|
||||||
|
import com.sztzjy.entity.StuBaseInfoExample;
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
public interface StuBaseInfoMapper {
|
||||||
|
long countByExample(StuBaseInfoExample example);
|
||||||
|
|
||||||
|
int deleteByExample(StuBaseInfoExample example);
|
||||||
|
|
||||||
|
int deleteByPrimaryKey(Integer id);
|
||||||
|
|
||||||
|
int insert(StuBaseInfo record);
|
||||||
|
|
||||||
|
int insertSelective(StuBaseInfo record);
|
||||||
|
|
||||||
|
List<StuBaseInfo> selectByExampleWithBLOBs(StuBaseInfoExample example);
|
||||||
|
|
||||||
|
List<StuBaseInfo> selectByExample(StuBaseInfoExample example);
|
||||||
|
|
||||||
|
StuBaseInfo selectByPrimaryKey(Integer id);
|
||||||
|
|
||||||
|
int updateByExampleSelective(@Param("record") StuBaseInfo record, @Param("example") StuBaseInfoExample example);
|
||||||
|
|
||||||
|
int updateByExampleWithBLOBs(@Param("record") StuBaseInfo record, @Param("example") StuBaseInfoExample example);
|
||||||
|
|
||||||
|
int updateByExample(@Param("record") StuBaseInfo record, @Param("example") StuBaseInfoExample example);
|
||||||
|
|
||||||
|
int updateByPrimaryKeySelective(StuBaseInfo record);
|
||||||
|
|
||||||
|
int updateByPrimaryKeyWithBLOBs(StuBaseInfo record);
|
||||||
|
|
||||||
|
int updateByPrimaryKey(StuBaseInfo record);
|
||||||
|
}
|
@ -0,0 +1,30 @@
|
|||||||
|
package com.sztzjy.mappers;
|
||||||
|
|
||||||
|
import com.sztzjy.entity.StuUser;
|
||||||
|
import com.sztzjy.entity.StuUserExample;
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
public interface StuUserMapper {
|
||||||
|
long countByExample(StuUserExample example);
|
||||||
|
|
||||||
|
int deleteByExample(StuUserExample example);
|
||||||
|
|
||||||
|
int deleteByPrimaryKey(String userId);
|
||||||
|
|
||||||
|
int insert(StuUser record);
|
||||||
|
|
||||||
|
int insertSelective(StuUser record);
|
||||||
|
|
||||||
|
List<StuUser> selectByExample(StuUserExample example);
|
||||||
|
|
||||||
|
StuUser selectByPrimaryKey(String userId);
|
||||||
|
|
||||||
|
int updateByExampleSelective(@Param("record") StuUser record, @Param("example") StuUserExample example);
|
||||||
|
|
||||||
|
int updateByExample(@Param("record") StuUser record, @Param("example") StuUserExample example);
|
||||||
|
|
||||||
|
int updateByPrimaryKeySelective(StuUser record);
|
||||||
|
|
||||||
|
int updateByPrimaryKey(StuUser record);
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import com.github.benmanes.caffeine.cache.Cache;
|
import com.github.benmanes.caffeine.cache.Cache;
|
||||||
import com.github.benmanes.caffeine.cache.Caffeine;
|
import com.github.benmanes.caffeine.cache.Caffeine;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
@ -1,5 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
import cn.hutool.core.date.DateUnit;
|
|
||||||
import cn.hutool.core.date.DateUtil;
|
import cn.hutool.core.date.DateUtil;
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import cn.hutool.json.JSONObject;
|
import cn.hutool.json.JSONObject;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import com.github.pagehelper.Page;
|
import com.github.pagehelper.Page;
|
||||||
import com.github.pagehelper.PageInfo;
|
import com.github.pagehelper.PageInfo;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import org.springframework.http.HttpStatus;
|
import org.springframework.http.HttpStatus;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import org.apache.commons.codec.binary.Base64;
|
import org.apache.commons.codec.binary.Base64;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
import java.io.StringWriter;
|
import java.io.StringWriter;
|
@ -1,12 +1,12 @@
|
|||||||
package com.sztzjy.financial_bigdata.util;
|
package com.sztzjy.util;
|
||||||
|
|
||||||
import cn.hutool.http.HttpStatus;
|
import cn.hutool.http.HttpStatus;
|
||||||
import cn.hutool.json.JSONObject;
|
import cn.hutool.json.JSONObject;
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.github.pagehelper.PageInfo;
|
import com.github.pagehelper.PageInfo;
|
||||||
import com.sztzjy.financial_bigdata.config.security.JwtUser;
|
import com.sztzjy.config.security.JwtUser;
|
||||||
import com.sztzjy.financial_bigdata.config.security.TokenProvider;
|
import com.sztzjy.config.security.TokenProvider;
|
||||||
import org.springframework.util.StringUtils;
|
import org.springframework.util.StringUtils;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util.excel;
|
package com.sztzjy.util.excel;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util.excel;
|
package com.sztzjy.util.excel;
|
||||||
|
|
||||||
import cn.hutool.poi.excel.ExcelUtil;
|
import cn.hutool.poi.excel.ExcelUtil;
|
||||||
import cn.hutool.poi.excel.ExcelWriter;
|
import cn.hutool.poi.excel.ExcelWriter;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util.excel;
|
package com.sztzjy.util.excel;
|
||||||
|
|
||||||
import com.github.xiaoymin.knife4j.core.util.CollectionUtils;
|
import com.github.xiaoymin.knife4j.core.util.CollectionUtils;
|
||||||
import org.apache.commons.lang3.time.DateFormatUtils;
|
import org.apache.commons.lang3.time.DateFormatUtils;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util.file;
|
package com.sztzjy.util.file;
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util.file;
|
package com.sztzjy.util.file;
|
||||||
|
|
||||||
import cn.hutool.core.util.CharsetUtil;
|
import cn.hutool.core.util.CharsetUtil;
|
||||||
import cn.hutool.core.util.IdUtil;
|
import cn.hutool.core.util.IdUtil;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util.pdfUtils;
|
package com.sztzjy.util.pdfUtils;
|
||||||
|
|
||||||
import com.itextpdf.text.*;
|
import com.itextpdf.text.*;
|
||||||
import com.itextpdf.text.Font;
|
import com.itextpdf.text.Font;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util.seal;
|
package com.sztzjy.util.seal;
|
||||||
|
|
||||||
|
|
||||||
import lombok.Builder;
|
import lombok.Builder;
|
@ -1,4 +1,4 @@
|
|||||||
package com.sztzjy.financial_bigdata.util.seal;/**
|
package com.sztzjy.util.seal;/**
|
||||||
* @author 17803
|
* @author 17803
|
||||||
* @date 2023-12-05 15:01
|
* @date 2023-12-05 15:01
|
||||||
*/
|
*/
|
@ -0,0 +1,645 @@
|
|||||||
|
<?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.sztzjy.mappers.StuBaseInfoMapper">
|
||||||
|
<resultMap id="BaseResultMap" type="com.sztzjy.entity.StuBaseInfo">
|
||||||
|
<id column="id" jdbcType="INTEGER" property="id" />
|
||||||
|
<result column="corp_name" jdbcType="VARCHAR" property="corpName" />
|
||||||
|
<result column="un_social_credit_code" jdbcType="VARCHAR" property="unSocialCreditCode" />
|
||||||
|
<result column="legal_represent" jdbcType="VARCHAR" property="legalRepresent" />
|
||||||
|
<result column="bussinsss_state" jdbcType="VARCHAR" property="bussinsssState" />
|
||||||
|
<result column="date_of_establish" jdbcType="TIMESTAMP" property="dateOfEstablish" />
|
||||||
|
<result column="admin_division" jdbcType="VARCHAR" property="adminDivision" />
|
||||||
|
<result column="reg_capital" jdbcType="VARCHAR" property="regCapital" />
|
||||||
|
<result column="paid_up_capital" jdbcType="VARCHAR" property="paidUpCapital" />
|
||||||
|
<result column="enter_type" jdbcType="VARCHAR" property="enterType" />
|
||||||
|
<result column="industry" jdbcType="VARCHAR" property="industry" />
|
||||||
|
<result column="buss_reg_number" jdbcType="VARCHAR" property="bussRegNumber" />
|
||||||
|
<result column="org_code" jdbcType="VARCHAR" property="orgCode" />
|
||||||
|
<result column="tex_identifi_number" jdbcType="VARCHAR" property="texIdentifiNumber" />
|
||||||
|
<result column="tax_qualification" jdbcType="VARCHAR" property="taxQualification" />
|
||||||
|
<result column="business_term" jdbcType="VARCHAR" property="businessTerm" />
|
||||||
|
<result column="date_of_approval" jdbcType="TIMESTAMP" property="dateOfApproval" />
|
||||||
|
<result column="reg_auth" jdbcType="VARCHAR" property="regAuth" />
|
||||||
|
<result column="number_of_insure_person" jdbcType="VARCHAR" property="numberOfInsurePerson" />
|
||||||
|
<result column="company_reg_address" jdbcType="VARCHAR" property="companyRegAddress" />
|
||||||
|
<result column="business_scope" jdbcType="VARCHAR" property="businessScope" />
|
||||||
|
<result column="shareholder_name" jdbcType="VARCHAR" property="shareholderName" />
|
||||||
|
<result column="sharehold_ratio" jdbcType="VARCHAR" property="shareholdRatio" />
|
||||||
|
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||||
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||||
|
</resultMap>
|
||||||
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.entity.StuBaseInfo">
|
||||||
|
<result column="case_detail" jdbcType="LONGVARCHAR" property="caseDetail" />
|
||||||
|
</resultMap>
|
||||||
|
<sql id="Example_Where_Clause">
|
||||||
|
<where>
|
||||||
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||||
|
<if test="criteria.valid">
|
||||||
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
|
<choose>
|
||||||
|
<when test="criterion.noValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.singleValue">
|
||||||
|
and ${criterion.condition} #{criterion.value}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.betweenValue">
|
||||||
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.listValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Update_By_Example_Where_Clause">
|
||||||
|
<where>
|
||||||
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||||
|
<if test="criteria.valid">
|
||||||
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
|
<choose>
|
||||||
|
<when test="criterion.noValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.singleValue">
|
||||||
|
and ${criterion.condition} #{criterion.value}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.betweenValue">
|
||||||
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.listValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id, corp_name, un_social_credit_code, legal_represent, bussinsss_state, date_of_establish,
|
||||||
|
admin_division, reg_capital, paid_up_capital, enter_type, industry, buss_reg_number,
|
||||||
|
org_code, tex_identifi_number, tax_qualification, business_term, date_of_approval,
|
||||||
|
reg_auth, number_of_insure_person, company_reg_address, business_scope, shareholder_name,
|
||||||
|
sharehold_ratio, user_id, create_time, update_time
|
||||||
|
</sql>
|
||||||
|
<sql id="Blob_Column_List">
|
||||||
|
case_detail
|
||||||
|
</sql>
|
||||||
|
<select id="selectByExampleWithBLOBs" parameterType="com.sztzjy.entity.StuBaseInfoExample" resultMap="ResultMapWithBLOBs">
|
||||||
|
select
|
||||||
|
<if test="distinct">
|
||||||
|
distinct
|
||||||
|
</if>
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
,
|
||||||
|
<include refid="Blob_Column_List" />
|
||||||
|
from stu_base_info
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
<if test="orderByClause != null">
|
||||||
|
order by ${orderByClause}
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<select id="selectByExample" parameterType="com.sztzjy.entity.StuBaseInfoExample" resultMap="BaseResultMap">
|
||||||
|
select
|
||||||
|
<if test="distinct">
|
||||||
|
distinct
|
||||||
|
</if>
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from stu_base_info
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
<if test="orderByClause != null">
|
||||||
|
order by ${orderByClause}
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
,
|
||||||
|
<include refid="Blob_Column_List" />
|
||||||
|
from stu_base_info
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</select>
|
||||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
||||||
|
delete from stu_base_info
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</delete>
|
||||||
|
<delete id="deleteByExample" parameterType="com.sztzjy.entity.StuBaseInfoExample">
|
||||||
|
delete from stu_base_info
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</delete>
|
||||||
|
<insert id="insert" parameterType="com.sztzjy.entity.StuBaseInfo">
|
||||||
|
insert into stu_base_info (id, corp_name, un_social_credit_code,
|
||||||
|
legal_represent, bussinsss_state, date_of_establish,
|
||||||
|
admin_division, reg_capital, paid_up_capital,
|
||||||
|
enter_type, industry, buss_reg_number,
|
||||||
|
org_code, tex_identifi_number, tax_qualification,
|
||||||
|
business_term, date_of_approval, reg_auth,
|
||||||
|
number_of_insure_person, company_reg_address,
|
||||||
|
business_scope, shareholder_name, sharehold_ratio,
|
||||||
|
user_id, create_time, update_time,
|
||||||
|
case_detail)
|
||||||
|
values (#{id,jdbcType=INTEGER}, #{corpName,jdbcType=VARCHAR}, #{unSocialCreditCode,jdbcType=VARCHAR},
|
||||||
|
#{legalRepresent,jdbcType=VARCHAR}, #{bussinsssState,jdbcType=VARCHAR}, #{dateOfEstablish,jdbcType=TIMESTAMP},
|
||||||
|
#{adminDivision,jdbcType=VARCHAR}, #{regCapital,jdbcType=VARCHAR}, #{paidUpCapital,jdbcType=VARCHAR},
|
||||||
|
#{enterType,jdbcType=VARCHAR}, #{industry,jdbcType=VARCHAR}, #{bussRegNumber,jdbcType=VARCHAR},
|
||||||
|
#{orgCode,jdbcType=VARCHAR}, #{texIdentifiNumber,jdbcType=VARCHAR}, #{taxQualification,jdbcType=VARCHAR},
|
||||||
|
#{businessTerm,jdbcType=VARCHAR}, #{dateOfApproval,jdbcType=TIMESTAMP}, #{regAuth,jdbcType=VARCHAR},
|
||||||
|
#{numberOfInsurePerson,jdbcType=VARCHAR}, #{companyRegAddress,jdbcType=VARCHAR},
|
||||||
|
#{businessScope,jdbcType=VARCHAR}, #{shareholderName,jdbcType=VARCHAR}, #{shareholdRatio,jdbcType=VARCHAR},
|
||||||
|
#{userId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
#{caseDetail,jdbcType=LONGVARCHAR})
|
||||||
|
</insert>
|
||||||
|
<insert id="insertSelective" parameterType="com.sztzjy.entity.StuBaseInfo">
|
||||||
|
insert into stu_base_info
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
id,
|
||||||
|
</if>
|
||||||
|
<if test="corpName != null">
|
||||||
|
corp_name,
|
||||||
|
</if>
|
||||||
|
<if test="unSocialCreditCode != null">
|
||||||
|
un_social_credit_code,
|
||||||
|
</if>
|
||||||
|
<if test="legalRepresent != null">
|
||||||
|
legal_represent,
|
||||||
|
</if>
|
||||||
|
<if test="bussinsssState != null">
|
||||||
|
bussinsss_state,
|
||||||
|
</if>
|
||||||
|
<if test="dateOfEstablish != null">
|
||||||
|
date_of_establish,
|
||||||
|
</if>
|
||||||
|
<if test="adminDivision != null">
|
||||||
|
admin_division,
|
||||||
|
</if>
|
||||||
|
<if test="regCapital != null">
|
||||||
|
reg_capital,
|
||||||
|
</if>
|
||||||
|
<if test="paidUpCapital != null">
|
||||||
|
paid_up_capital,
|
||||||
|
</if>
|
||||||
|
<if test="enterType != null">
|
||||||
|
enter_type,
|
||||||
|
</if>
|
||||||
|
<if test="industry != null">
|
||||||
|
industry,
|
||||||
|
</if>
|
||||||
|
<if test="bussRegNumber != null">
|
||||||
|
buss_reg_number,
|
||||||
|
</if>
|
||||||
|
<if test="orgCode != null">
|
||||||
|
org_code,
|
||||||
|
</if>
|
||||||
|
<if test="texIdentifiNumber != null">
|
||||||
|
tex_identifi_number,
|
||||||
|
</if>
|
||||||
|
<if test="taxQualification != null">
|
||||||
|
tax_qualification,
|
||||||
|
</if>
|
||||||
|
<if test="businessTerm != null">
|
||||||
|
business_term,
|
||||||
|
</if>
|
||||||
|
<if test="dateOfApproval != null">
|
||||||
|
date_of_approval,
|
||||||
|
</if>
|
||||||
|
<if test="regAuth != null">
|
||||||
|
reg_auth,
|
||||||
|
</if>
|
||||||
|
<if test="numberOfInsurePerson != null">
|
||||||
|
number_of_insure_person,
|
||||||
|
</if>
|
||||||
|
<if test="companyRegAddress != null">
|
||||||
|
company_reg_address,
|
||||||
|
</if>
|
||||||
|
<if test="businessScope != null">
|
||||||
|
business_scope,
|
||||||
|
</if>
|
||||||
|
<if test="shareholderName != null">
|
||||||
|
shareholder_name,
|
||||||
|
</if>
|
||||||
|
<if test="shareholdRatio != null">
|
||||||
|
sharehold_ratio,
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
user_id,
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
create_time,
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time,
|
||||||
|
</if>
|
||||||
|
<if test="caseDetail != null">
|
||||||
|
case_detail,
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="id != null">
|
||||||
|
#{id,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="corpName != null">
|
||||||
|
#{corpName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="unSocialCreditCode != null">
|
||||||
|
#{unSocialCreditCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="legalRepresent != null">
|
||||||
|
#{legalRepresent,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="bussinsssState != null">
|
||||||
|
#{bussinsssState,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="dateOfEstablish != null">
|
||||||
|
#{dateOfEstablish,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="adminDivision != null">
|
||||||
|
#{adminDivision,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="regCapital != null">
|
||||||
|
#{regCapital,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="paidUpCapital != null">
|
||||||
|
#{paidUpCapital,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="enterType != null">
|
||||||
|
#{enterType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="industry != null">
|
||||||
|
#{industry,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="bussRegNumber != null">
|
||||||
|
#{bussRegNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="orgCode != null">
|
||||||
|
#{orgCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="texIdentifiNumber != null">
|
||||||
|
#{texIdentifiNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="taxQualification != null">
|
||||||
|
#{taxQualification,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="businessTerm != null">
|
||||||
|
#{businessTerm,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="dateOfApproval != null">
|
||||||
|
#{dateOfApproval,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="regAuth != null">
|
||||||
|
#{regAuth,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="numberOfInsurePerson != null">
|
||||||
|
#{numberOfInsurePerson,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="companyRegAddress != null">
|
||||||
|
#{companyRegAddress,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="businessScope != null">
|
||||||
|
#{businessScope,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="shareholderName != null">
|
||||||
|
#{shareholderName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="shareholdRatio != null">
|
||||||
|
#{shareholdRatio,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
#{userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
#{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
#{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="caseDetail != null">
|
||||||
|
#{caseDetail,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
<select id="countByExample" parameterType="com.sztzjy.entity.StuBaseInfoExample" resultType="java.lang.Long">
|
||||||
|
select count(*) from stu_base_info
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
|
update stu_base_info
|
||||||
|
<set>
|
||||||
|
<if test="record.id != null">
|
||||||
|
id = #{record.id,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="record.corpName != null">
|
||||||
|
corp_name = #{record.corpName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.unSocialCreditCode != null">
|
||||||
|
un_social_credit_code = #{record.unSocialCreditCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.legalRepresent != null">
|
||||||
|
legal_represent = #{record.legalRepresent,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.bussinsssState != null">
|
||||||
|
bussinsss_state = #{record.bussinsssState,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.dateOfEstablish != null">
|
||||||
|
date_of_establish = #{record.dateOfEstablish,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.adminDivision != null">
|
||||||
|
admin_division = #{record.adminDivision,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.regCapital != null">
|
||||||
|
reg_capital = #{record.regCapital,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.paidUpCapital != null">
|
||||||
|
paid_up_capital = #{record.paidUpCapital,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.enterType != null">
|
||||||
|
enter_type = #{record.enterType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.industry != null">
|
||||||
|
industry = #{record.industry,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.bussRegNumber != null">
|
||||||
|
buss_reg_number = #{record.bussRegNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.orgCode != null">
|
||||||
|
org_code = #{record.orgCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.texIdentifiNumber != null">
|
||||||
|
tex_identifi_number = #{record.texIdentifiNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.taxQualification != null">
|
||||||
|
tax_qualification = #{record.taxQualification,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.businessTerm != null">
|
||||||
|
business_term = #{record.businessTerm,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.dateOfApproval != null">
|
||||||
|
date_of_approval = #{record.dateOfApproval,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.regAuth != null">
|
||||||
|
reg_auth = #{record.regAuth,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.numberOfInsurePerson != null">
|
||||||
|
number_of_insure_person = #{record.numberOfInsurePerson,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.companyRegAddress != null">
|
||||||
|
company_reg_address = #{record.companyRegAddress,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.businessScope != null">
|
||||||
|
business_scope = #{record.businessScope,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.shareholderName != null">
|
||||||
|
shareholder_name = #{record.shareholderName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.shareholdRatio != null">
|
||||||
|
sharehold_ratio = #{record.shareholdRatio,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.userId != null">
|
||||||
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.createTime != null">
|
||||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.updateTime != null">
|
||||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="record.caseDetail != null">
|
||||||
|
case_detail = #{record.caseDetail,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
||||||
|
update stu_base_info
|
||||||
|
set id = #{record.id,jdbcType=INTEGER},
|
||||||
|
corp_name = #{record.corpName,jdbcType=VARCHAR},
|
||||||
|
un_social_credit_code = #{record.unSocialCreditCode,jdbcType=VARCHAR},
|
||||||
|
legal_represent = #{record.legalRepresent,jdbcType=VARCHAR},
|
||||||
|
bussinsss_state = #{record.bussinsssState,jdbcType=VARCHAR},
|
||||||
|
date_of_establish = #{record.dateOfEstablish,jdbcType=TIMESTAMP},
|
||||||
|
admin_division = #{record.adminDivision,jdbcType=VARCHAR},
|
||||||
|
reg_capital = #{record.regCapital,jdbcType=VARCHAR},
|
||||||
|
paid_up_capital = #{record.paidUpCapital,jdbcType=VARCHAR},
|
||||||
|
enter_type = #{record.enterType,jdbcType=VARCHAR},
|
||||||
|
industry = #{record.industry,jdbcType=VARCHAR},
|
||||||
|
buss_reg_number = #{record.bussRegNumber,jdbcType=VARCHAR},
|
||||||
|
org_code = #{record.orgCode,jdbcType=VARCHAR},
|
||||||
|
tex_identifi_number = #{record.texIdentifiNumber,jdbcType=VARCHAR},
|
||||||
|
tax_qualification = #{record.taxQualification,jdbcType=VARCHAR},
|
||||||
|
business_term = #{record.businessTerm,jdbcType=VARCHAR},
|
||||||
|
date_of_approval = #{record.dateOfApproval,jdbcType=TIMESTAMP},
|
||||||
|
reg_auth = #{record.regAuth,jdbcType=VARCHAR},
|
||||||
|
number_of_insure_person = #{record.numberOfInsurePerson,jdbcType=VARCHAR},
|
||||||
|
company_reg_address = #{record.companyRegAddress,jdbcType=VARCHAR},
|
||||||
|
business_scope = #{record.businessScope,jdbcType=VARCHAR},
|
||||||
|
shareholder_name = #{record.shareholderName,jdbcType=VARCHAR},
|
||||||
|
sharehold_ratio = #{record.shareholdRatio,jdbcType=VARCHAR},
|
||||||
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
||||||
|
case_detail = #{record.caseDetail,jdbcType=LONGVARCHAR}
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExample" parameterType="map">
|
||||||
|
update stu_base_info
|
||||||
|
set id = #{record.id,jdbcType=INTEGER},
|
||||||
|
corp_name = #{record.corpName,jdbcType=VARCHAR},
|
||||||
|
un_social_credit_code = #{record.unSocialCreditCode,jdbcType=VARCHAR},
|
||||||
|
legal_represent = #{record.legalRepresent,jdbcType=VARCHAR},
|
||||||
|
bussinsss_state = #{record.bussinsssState,jdbcType=VARCHAR},
|
||||||
|
date_of_establish = #{record.dateOfEstablish,jdbcType=TIMESTAMP},
|
||||||
|
admin_division = #{record.adminDivision,jdbcType=VARCHAR},
|
||||||
|
reg_capital = #{record.regCapital,jdbcType=VARCHAR},
|
||||||
|
paid_up_capital = #{record.paidUpCapital,jdbcType=VARCHAR},
|
||||||
|
enter_type = #{record.enterType,jdbcType=VARCHAR},
|
||||||
|
industry = #{record.industry,jdbcType=VARCHAR},
|
||||||
|
buss_reg_number = #{record.bussRegNumber,jdbcType=VARCHAR},
|
||||||
|
org_code = #{record.orgCode,jdbcType=VARCHAR},
|
||||||
|
tex_identifi_number = #{record.texIdentifiNumber,jdbcType=VARCHAR},
|
||||||
|
tax_qualification = #{record.taxQualification,jdbcType=VARCHAR},
|
||||||
|
business_term = #{record.businessTerm,jdbcType=VARCHAR},
|
||||||
|
date_of_approval = #{record.dateOfApproval,jdbcType=TIMESTAMP},
|
||||||
|
reg_auth = #{record.regAuth,jdbcType=VARCHAR},
|
||||||
|
number_of_insure_person = #{record.numberOfInsurePerson,jdbcType=VARCHAR},
|
||||||
|
company_reg_address = #{record.companyRegAddress,jdbcType=VARCHAR},
|
||||||
|
business_scope = #{record.businessScope,jdbcType=VARCHAR},
|
||||||
|
shareholder_name = #{record.shareholderName,jdbcType=VARCHAR},
|
||||||
|
sharehold_ratio = #{record.shareholdRatio,jdbcType=VARCHAR},
|
||||||
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||||
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.entity.StuBaseInfo">
|
||||||
|
update stu_base_info
|
||||||
|
<set>
|
||||||
|
<if test="corpName != null">
|
||||||
|
corp_name = #{corpName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="unSocialCreditCode != null">
|
||||||
|
un_social_credit_code = #{unSocialCreditCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="legalRepresent != null">
|
||||||
|
legal_represent = #{legalRepresent,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="bussinsssState != null">
|
||||||
|
bussinsss_state = #{bussinsssState,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="dateOfEstablish != null">
|
||||||
|
date_of_establish = #{dateOfEstablish,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="adminDivision != null">
|
||||||
|
admin_division = #{adminDivision,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="regCapital != null">
|
||||||
|
reg_capital = #{regCapital,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="paidUpCapital != null">
|
||||||
|
paid_up_capital = #{paidUpCapital,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="enterType != null">
|
||||||
|
enter_type = #{enterType,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="industry != null">
|
||||||
|
industry = #{industry,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="bussRegNumber != null">
|
||||||
|
buss_reg_number = #{bussRegNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="orgCode != null">
|
||||||
|
org_code = #{orgCode,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="texIdentifiNumber != null">
|
||||||
|
tex_identifi_number = #{texIdentifiNumber,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="taxQualification != null">
|
||||||
|
tax_qualification = #{taxQualification,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="businessTerm != null">
|
||||||
|
business_term = #{businessTerm,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="dateOfApproval != null">
|
||||||
|
date_of_approval = #{dateOfApproval,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="regAuth != null">
|
||||||
|
reg_auth = #{regAuth,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="numberOfInsurePerson != null">
|
||||||
|
number_of_insure_person = #{numberOfInsurePerson,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="companyRegAddress != null">
|
||||||
|
company_reg_address = #{companyRegAddress,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="businessScope != null">
|
||||||
|
business_scope = #{businessScope,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="shareholderName != null">
|
||||||
|
shareholder_name = #{shareholderName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="shareholdRatio != null">
|
||||||
|
sharehold_ratio = #{shareholdRatio,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="userId != null">
|
||||||
|
user_id = #{userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="createTime != null">
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="updateTime != null">
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
</if>
|
||||||
|
<if test="caseDetail != null">
|
||||||
|
case_detail = #{caseDetail,jdbcType=LONGVARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.entity.StuBaseInfo">
|
||||||
|
update stu_base_info
|
||||||
|
set corp_name = #{corpName,jdbcType=VARCHAR},
|
||||||
|
un_social_credit_code = #{unSocialCreditCode,jdbcType=VARCHAR},
|
||||||
|
legal_represent = #{legalRepresent,jdbcType=VARCHAR},
|
||||||
|
bussinsss_state = #{bussinsssState,jdbcType=VARCHAR},
|
||||||
|
date_of_establish = #{dateOfEstablish,jdbcType=TIMESTAMP},
|
||||||
|
admin_division = #{adminDivision,jdbcType=VARCHAR},
|
||||||
|
reg_capital = #{regCapital,jdbcType=VARCHAR},
|
||||||
|
paid_up_capital = #{paidUpCapital,jdbcType=VARCHAR},
|
||||||
|
enter_type = #{enterType,jdbcType=VARCHAR},
|
||||||
|
industry = #{industry,jdbcType=VARCHAR},
|
||||||
|
buss_reg_number = #{bussRegNumber,jdbcType=VARCHAR},
|
||||||
|
org_code = #{orgCode,jdbcType=VARCHAR},
|
||||||
|
tex_identifi_number = #{texIdentifiNumber,jdbcType=VARCHAR},
|
||||||
|
tax_qualification = #{taxQualification,jdbcType=VARCHAR},
|
||||||
|
business_term = #{businessTerm,jdbcType=VARCHAR},
|
||||||
|
date_of_approval = #{dateOfApproval,jdbcType=TIMESTAMP},
|
||||||
|
reg_auth = #{regAuth,jdbcType=VARCHAR},
|
||||||
|
number_of_insure_person = #{numberOfInsurePerson,jdbcType=VARCHAR},
|
||||||
|
company_reg_address = #{companyRegAddress,jdbcType=VARCHAR},
|
||||||
|
business_scope = #{businessScope,jdbcType=VARCHAR},
|
||||||
|
shareholder_name = #{shareholderName,jdbcType=VARCHAR},
|
||||||
|
sharehold_ratio = #{shareholdRatio,jdbcType=VARCHAR},
|
||||||
|
user_id = #{userId,jdbcType=VARCHAR},
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
||||||
|
case_detail = #{caseDetail,jdbcType=LONGVARCHAR}
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.entity.StuBaseInfo">
|
||||||
|
update stu_base_info
|
||||||
|
set corp_name = #{corpName,jdbcType=VARCHAR},
|
||||||
|
un_social_credit_code = #{unSocialCreditCode,jdbcType=VARCHAR},
|
||||||
|
legal_represent = #{legalRepresent,jdbcType=VARCHAR},
|
||||||
|
bussinsss_state = #{bussinsssState,jdbcType=VARCHAR},
|
||||||
|
date_of_establish = #{dateOfEstablish,jdbcType=TIMESTAMP},
|
||||||
|
admin_division = #{adminDivision,jdbcType=VARCHAR},
|
||||||
|
reg_capital = #{regCapital,jdbcType=VARCHAR},
|
||||||
|
paid_up_capital = #{paidUpCapital,jdbcType=VARCHAR},
|
||||||
|
enter_type = #{enterType,jdbcType=VARCHAR},
|
||||||
|
industry = #{industry,jdbcType=VARCHAR},
|
||||||
|
buss_reg_number = #{bussRegNumber,jdbcType=VARCHAR},
|
||||||
|
org_code = #{orgCode,jdbcType=VARCHAR},
|
||||||
|
tex_identifi_number = #{texIdentifiNumber,jdbcType=VARCHAR},
|
||||||
|
tax_qualification = #{taxQualification,jdbcType=VARCHAR},
|
||||||
|
business_term = #{businessTerm,jdbcType=VARCHAR},
|
||||||
|
date_of_approval = #{dateOfApproval,jdbcType=TIMESTAMP},
|
||||||
|
reg_auth = #{regAuth,jdbcType=VARCHAR},
|
||||||
|
number_of_insure_person = #{numberOfInsurePerson,jdbcType=VARCHAR},
|
||||||
|
company_reg_address = #{companyRegAddress,jdbcType=VARCHAR},
|
||||||
|
business_scope = #{businessScope,jdbcType=VARCHAR},
|
||||||
|
shareholder_name = #{shareholderName,jdbcType=VARCHAR},
|
||||||
|
sharehold_ratio = #{shareholdRatio,jdbcType=VARCHAR},
|
||||||
|
user_id = #{userId,jdbcType=VARCHAR},
|
||||||
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
||||||
|
update_time = #{updateTime,jdbcType=TIMESTAMP}
|
||||||
|
where id = #{id,jdbcType=INTEGER}
|
||||||
|
</update>
|
||||||
|
</mapper>
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue