e签宝修改 实体类
This commit is contained in:
parent
2ef5202b5c
commit
6648897a43
@ -0,0 +1,121 @@
|
||||
/*
|
||||
* Copyright (c) 2025. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||
* Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
|
||||
* Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
|
||||
* Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
|
||||
* Vestibulum commodo. Ut rhoncus gravida arcu.
|
||||
*/
|
||||
|
||||
package com.suisung.mall.common.modules.esign;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("esign_platform_info")
|
||||
@ApiModel(value = "EsignPlatformInfo 对象", description = "电子签名平台方信息表")
|
||||
public class EsignPlatformInfo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.INPUT)
|
||||
@ApiModelProperty(value = "自增ID")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "公司邮箱")
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty(value = "公司法人联系电话(可座机或手机号)")
|
||||
private String telephone;
|
||||
|
||||
@ApiModelProperty(value = "合同模版Id")
|
||||
private String doc_template_id;
|
||||
|
||||
@ApiModelProperty(value = "平台方营业执照编号")
|
||||
private String license_number;
|
||||
|
||||
@ApiModelProperty(value = "平台方营业执照公司名称")
|
||||
private String license_company;
|
||||
|
||||
@ApiModelProperty(value = "平台方营业执照公司详细地址")
|
||||
private String license_address;
|
||||
|
||||
@ApiModelProperty(value = "平台方营业执照图片的存储路径")
|
||||
private String license_image;
|
||||
|
||||
@ApiModelProperty(value = "平台方法人姓名")
|
||||
private String legal_person_name;
|
||||
|
||||
@ApiModelProperty(value = "平台方法人手机号")
|
||||
private String legal_person_mobile;
|
||||
|
||||
@ApiModelProperty(value = "平台方法人身份证号码")
|
||||
private String legal_person_id_card;
|
||||
|
||||
@ApiModelProperty(value = "平台方法人身份证号码正面图片")
|
||||
private String legal_person_id_card_image1;
|
||||
|
||||
@ApiModelProperty(value = "平台方法人身份证号码反面图片")
|
||||
private String legal_person_id_card_image2;
|
||||
|
||||
@ApiModelProperty(value = "收款账户卡号")
|
||||
private String rec_acc_card_no;
|
||||
|
||||
@ApiModelProperty(value = "收款账户名称")
|
||||
private String rec_acc_name;
|
||||
|
||||
@ApiModelProperty(value = "收款账户账户类型:1-个人;2-企业;")
|
||||
private Integer rec_acc_type;
|
||||
|
||||
@ApiModelProperty(value = "收款账户证件号")
|
||||
private String rec_acc_cert_no;
|
||||
|
||||
@ApiModelProperty(value = "收款账户开户行号")
|
||||
private String rec_acc_bank_no;
|
||||
|
||||
@ApiModelProperty(value = "收款账户开户名称")
|
||||
private String rec_acc_bank_name;
|
||||
|
||||
@ApiModelProperty(value = "收款账户清算行行号")
|
||||
private String rec_acc_clear_bank_no;
|
||||
|
||||
@ApiModelProperty(value = "平台方公司经度")
|
||||
private String longitude;
|
||||
|
||||
@ApiModelProperty(value = "平台方公司维度")
|
||||
private String latitude;
|
||||
|
||||
@ApiModelProperty(value = "平台方公司店铺所在的省")
|
||||
private String province_id;
|
||||
|
||||
@ApiModelProperty(value = "平台方公司所在的市")
|
||||
private String city_id;
|
||||
|
||||
@ApiModelProperty(value = "平台方公司所在的县区")
|
||||
private String county_id;
|
||||
|
||||
@ApiModelProperty(value = "记录状态:1-有效;2-无效;")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty(value = "创建人用户ID")
|
||||
private String created_by;
|
||||
|
||||
@ApiModelProperty(value = "修改人用户ID")
|
||||
private String updated_by;
|
||||
|
||||
@ApiModelProperty(value = "记录创建时间")
|
||||
private Date created_at;
|
||||
|
||||
@ApiModelProperty(value = "记录更新时间")
|
||||
private Date updated_at;
|
||||
}
|
||||
@ -71,13 +71,18 @@ public class FileAndTemplateServiceImpl implements FileAndTemplateService {
|
||||
EsignHttpResponse createByDocTemplate = EsignHttpHelper.doCommHttp(serverUrl, apiaddr, requestType, jsonParma, header, true);
|
||||
|
||||
log.info("{}", createByDocTemplate);
|
||||
|
||||
EsignContractFillingFile esignContractFillingFile = new EsignContractFillingFile();
|
||||
esignContractFillingFile.setDoc_template_id(docTemplateId);
|
||||
esignContractFillingFile.setStore_id(storeId);
|
||||
esignContractFillingFile.setDoc_template_filling_values(jsonParma);
|
||||
esignContractFillingFile.setUnsigned_contract_url(createByDocTemplate.getBody());
|
||||
esignContractFillingFile.setUnsigned_contract_local_url(createByDocTemplate.getBody());
|
||||
esignContractFillingFile.setStatus(1);
|
||||
return esignContractFillingFile;
|
||||
|
||||
} catch (EsignDemoException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
|
||||
EsignContractFillingFile esignContractFillingFile = new EsignContractFillingFile();
|
||||
// esignContractFillingFile.set
|
||||
return esignContractFillingFile;
|
||||
}
|
||||
}
|
||||
|
||||
@ -19,7 +19,6 @@ import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
@ -235,6 +234,7 @@ public class ShopStoreBaseController extends BaseControllerImpl {
|
||||
|
||||
/**
|
||||
* 获取店铺的拉卡拉商户号和终端号(仅仅两个字段)
|
||||
*
|
||||
* @param store_id
|
||||
* @return
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user