diff --git a/src/main/java/cn/com/tenlion/util/BusinessLicenseBean.java b/src/main/java/cn/com/tenlion/util/BusinessLicenseBean.java index 0f78e1f..5deeb78 100644 --- a/src/main/java/cn/com/tenlion/util/BusinessLicenseBean.java +++ b/src/main/java/cn/com/tenlion/util/BusinessLicenseBean.java @@ -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() { diff --git a/src/main/resources/mybatis/mapper/shop/shop-mapper.xml b/src/main/resources/mybatis/mapper/shop/shop-mapper.xml index 7737ec0..7c05d8d 100644 --- a/src/main/resources/mybatis/mapper/shop/shop-mapper.xml +++ b/src/main/resources/mybatis/mapper/shop/shop-mapper.xml @@ -194,10 +194,7 @@ gmt_modified = #{gmtModified}, - modifier = #{modifier}, - - - is_delete = #{isDelete} + modifier = #{modifier} WHERE shop_id = #{shopId}