Commit a205d68a by 吴一龙

安心付申请记录增加shopId

parent 1216bba7
......@@ -108,6 +108,9 @@ public class StudioAxfApplyVO {
@ApiModelProperty(value = "门头照资源Url")
private String storeHeadResourceUrl;
@ApiModelProperty(value = "蚂蚁门店ID")
private String shopId;
@ApiModelProperty(value = "失败原因")
private String failMessage;
......
......@@ -198,6 +198,11 @@ public class StudioAxfApply implements Serializable {
private Long storeHeadResourceId;
/**
* 蚂蚁门店ID
*/
private String shopId;
/**
* 备注: 失败原因 是否允许为null: YES
*/
private String failMessage;
......@@ -290,6 +295,8 @@ public class StudioAxfApply implements Serializable {
public static final String STORE_HEAD_RESOURCE_ID = "store_head_resource_id";
public static final String SHOP_ID = "shop_id";
public static final String FAIL_MESSAGE = "fail_message";
public static final String OP_ID = "op_id";
......
......@@ -17,7 +17,7 @@
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, channel_no, merchant_no, merchant_id, studio_id, brand_id, apply_type, studio_name, merchant_name, short_name, company_type, state, card_no, license_code, license_name, license_type, license_expire_type, license_start_time, license_end_time, legal_name, legal_cert_no, phone, business_province_code, business_province_name, business_city_code, business_city_name, business_district_code, business_district_name, business_address, license_resource_id, store_head_resource_id, fail_message, op_id, op_name, salt, create_time, update_time
id, channel_no, merchant_no, merchant_id, studio_id, brand_id, apply_type, studio_name, merchant_name, short_name, company_type, state, card_no, license_code, license_name, license_type, license_expire_type, license_start_time, license_end_time, legal_name, legal_cert_no, phone, business_province_code, business_province_name, business_city_code, business_city_name, business_district_code, business_district_name, business_address, license_resource_id, store_head_resource_id, shop_id, fail_message, op_id, op_name, salt, create_time, update_time
</sql>
<select id="countDistinctStudioId" resultType="java.lang.Integer">
select count(distinct studio_id)
......
......@@ -755,6 +755,7 @@ public class AxfServiceImpl implements AxfService {
private void doOpenAxfStoreSuccess(StudioAxfApply apply, StoreEvent event) {
studioAxfApplyRpService.updateById(
StudioAxfApply.builder().id(apply.getId()).state(AxfStateEnums.STORE_SUCCESS.getCode())
.shopId(event.getShopId())
.updateTime(new Date()).build());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment