给营业执照实体类添加注解

修改bug
This commit is contained in:
Renpc-kilig 2021-04-14 16:19:47 +08:00
parent 605549e648
commit 207c896a0e
2 changed files with 17 additions and 4 deletions

View File

@ -1,5 +1,8 @@
package cn.com.tenlion.util;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* 统一信用代码证(营业执照)识别结果封装类
* ClassName: BusinessLicenseBean
@ -9,54 +12,67 @@ package cn.com.tenlion.util;
* @author 崔宝铖
* @date 2021年3月19日
*/
@ApiModel
public class BusinessLicenseBean {
/**
* 统一社会信用代码号
*/
@ApiModelProperty(name = "licenseId", value = "统一社会信用代码号")
private String licenseId;
/**
* 证件编号
*/
@ApiModelProperty(name = "licenseNumber", value = "证件编号")
private String licenseNumber;
/**
* 单位名称
*/
@ApiModelProperty(name = "licenseName", value = "单位名称")
private String licenseName;
/**
* 类型
*/
@ApiModelProperty(name = "licenseType", value = "类型")
private String licenseType;
/**
* 地址
*/
@ApiModelProperty(name = "licenseResidence", value = "地址")
private String licenseResidence;
/**
* 法定代表人
*/
@ApiModelProperty(name = "licenseLegalPerson", value = "法定代表人")
private String licenseLegalPerson;
/**
* 注册资本
*/
@ApiModelProperty(name = "licenseCapital", value = "注册资本")
private String licenseCapital;
/**
* 成立时间
*/
@ApiModelProperty(name = "licenseFoundTime", value = "成立时间")
private String licenseFoundTime;
/**
* 营业期限
*/
@ApiModelProperty(name = "licenseTerm", value = "营业期限")
private String licenseTerm;
/**
* 经营范围
*/
@ApiModelProperty(name = "licenseBusiness", value = "经营范围")
private String licenseBusiness;
/**
* 登记机关
*/
@ApiModelProperty(name = "licenseAuthority", value = "登记机关")
private String licenseAuthority ;
/**
* 组成形式
*/
@ApiModelProperty(name = "licenseComposition", value = "组成形式")
private String licenseComposition;
public String getLicenseComposition() {

View File

@ -194,10 +194,7 @@
gmt_modified = #{gmtModified},
</if>
<if test="modifier != null and modifier != ''">
modifier = #{modifier},
</if>
<if test="isDelete != null">
is_delete = #{isDelete}
modifier = #{modifier}
</if>
WHERE
shop_id = #{shopId}