diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileMerchantInfo.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileMerchantInfo.java index f733f4ad1..3007bab85 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileMerchantInfo.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/PileMerchantInfo.java @@ -87,6 +87,11 @@ public class PileMerchantInfo extends BaseEntity { @Excel(name = "logo") private String logoUrl; + /** + * 营业执照url + */ + private String businessLicenseUrl; + /** * 运营商的小程序appId */ @@ -129,6 +134,7 @@ public class PileMerchantInfo extends BaseEntity { .append("managerPhone", getManagerPhone()) .append("servicePhone", getServicePhone()) .append("logoUrl", getLogoUrl()) + .append("businessLicenseUrl", getBusinessLicenseUrl()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileMerchantInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileMerchantInfoMapper.xml index f5616b831..768842137 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/PileMerchantInfoMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/PileMerchantInfoMapper.xml @@ -17,6 +17,7 @@ + @@ -30,7 +31,7 @@ id, merchant_name, merchant_level, parent_id, address, dept_id, `status`, delay_mode, - organization_code, manager_name, manager_phone, service_phone, logo_url, app_id, + organization_code, manager_name, manager_phone, service_phone, logo_url, business_license_url, app_id, alipay_app_id, withdrawal_type, reserved_amount, create_by, create_time, update_by, update_time, del_flag @@ -86,6 +87,9 @@ logo_url, + + business_license_url, + app_id, @@ -151,6 +155,9 @@ #{logoUrl,jdbcType=VARCHAR}, + + #{businessLicenseUrl,jdbcType=VARCHAR}, + #{appId,jdbcType=VARCHAR}, @@ -220,6 +227,9 @@ logo_url = #{logoUrl,jdbcType=VARCHAR}, + + business_license_url = #{businessLicenseUrl,jdbcType=VARCHAR}, + app_id = #{appId,jdbcType=VARCHAR}, @@ -314,6 +324,11 @@ when id = #{item.id,jdbcType=INTEGER} then #{item.logoUrl,jdbcType=VARCHAR} + + + when id = #{item.id,jdbcType=INTEGER} then #{item.businessLicenseUrl,jdbcType=VARCHAR} + + when id = #{item.id,jdbcType=INTEGER} then #{item.appId,jdbcType=VARCHAR} @@ -453,6 +468,13 @@ + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.businessLicenseUrl,jdbcType=VARCHAR} + + + @@ -526,7 +548,7 @@ insert into pile_merchant_info (merchant_name, merchant_level, parent_id, address, dept_id, `status`, delay_mode, - organization_code, manager_name, manager_phone, service_phone, logo_url, app_id, + organization_code, manager_name, manager_phone, service_phone, logo_url, business_license_url, app_id, alipay_app_id, withdrawal_type, reserved_amount, create_by, create_time, update_by, update_time, del_flag) values @@ -535,7 +557,7 @@ #{item.address,jdbcType=VARCHAR}, #{item.deptId,jdbcType=VARCHAR}, #{item.status,jdbcType=CHAR}, #{item.delayMode,jdbcType=VARCHAR}, #{item.organizationCode,jdbcType=VARCHAR}, #{item.managerName,jdbcType=VARCHAR}, #{item.managerPhone,jdbcType=VARCHAR}, #{item.servicePhone,jdbcType=VARCHAR}, - #{item.logoUrl,jdbcType=VARCHAR}, #{item.appId,jdbcType=VARCHAR}, #{item.alipayAppId,jdbcType=VARCHAR}, + #{item.logoUrl,jdbcType=VARCHAR}, #{item.businessLicenseUrl,jdbcType=VARCHAR}, #{item.appId,jdbcType=VARCHAR}, #{item.alipayAppId,jdbcType=VARCHAR}, #{item.withdrawalType,jdbcType=VARCHAR}, #{item.reservedAmount,jdbcType=DECIMAL}, #{item.createBy,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateBy,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP}, #{item.delFlag,jdbcType=CHAR}) @@ -560,6 +582,7 @@ manager_phone, service_phone, logo_url, + business_license_url, app_id, alipay_app_id, withdrawal_type, @@ -587,6 +610,7 @@ #{managerPhone,jdbcType=VARCHAR}, #{servicePhone,jdbcType=VARCHAR}, #{logoUrl,jdbcType=VARCHAR}, + #{businessLicenseUrl,jdbcType=VARCHAR}, #{appId,jdbcType=VARCHAR}, #{alipayAppId,jdbcType=VARCHAR}, #{withdrawalType,jdbcType=VARCHAR}, @@ -614,6 +638,7 @@ manager_phone = #{managerPhone,jdbcType=VARCHAR}, service_phone = #{servicePhone,jdbcType=VARCHAR}, logo_url = #{logoUrl,jdbcType=VARCHAR}, + business_license_url = #{businessLicenseUrl,jdbcType=VARCHAR}, app_id = #{appId,jdbcType=VARCHAR}, alipay_app_id = #{alipayAppId,jdbcType=VARCHAR}, withdrawal_type = #{withdrawalType,jdbcType=VARCHAR}, @@ -668,6 +693,9 @@ logo_url, + + business_license_url, + app_id, @@ -737,6 +765,9 @@ #{logoUrl,jdbcType=VARCHAR}, + + #{businessLicenseUrl,jdbcType=VARCHAR}, + #{appId,jdbcType=VARCHAR}, @@ -806,6 +837,9 @@ logo_url = #{logoUrl,jdbcType=VARCHAR}, + + business_license_url = #{businessLicenseUrl,jdbcType=VARCHAR}, + app_id = #{appId,jdbcType=VARCHAR}, @@ -872,6 +906,9 @@ and logo_url = #{logoUrl} + + and business_license_url = #{businessLicenseUrl} + and dept_id in @@ -937,6 +974,9 @@ logo_url, + + business_license_url, + app_id, @@ -999,6 +1039,9 @@ #{logoUrl}, + + #{businessLicenseUrl}, + #{appId}, @@ -1062,6 +1105,9 @@ logo_url = #{logoUrl}, + + business_license_url = #{businessLicenseUrl}, + app_id = #{appId},