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

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

View File

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