Commit 6a904e12 by 章家宝

feat:需求《中拍后链路缩减操作步骤》相关代码开发:平台合同签署自测修改bug

1 parent b2b094ea
...@@ -22,6 +22,7 @@ import org.springframework.http.HttpHeaders; ...@@ -22,6 +22,7 @@ import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType; import org.springframework.http.MediaType;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.client.RestTemplate; import org.springframework.web.client.RestTemplate;
import java.util.*; import java.util.*;
...@@ -39,6 +40,7 @@ public class GscInvoker { ...@@ -39,6 +40,7 @@ public class GscInvoker {
private static final ObjectMapper objectMapper = new ObjectMapper(); private static final ObjectMapper objectMapper = new ObjectMapper();
@Resource @Resource
@Lazy
private RestTemplate restTemplate; private RestTemplate restTemplate;
@Resource @Resource
......
...@@ -8,13 +8,10 @@ import org.hibernate.annotations.DynamicInsert; ...@@ -8,13 +8,10 @@ import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.DynamicUpdate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener; import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import org.summerframework.orm.entity.AuditingTimeEntity; import org.summerframework.orm.entity.AuditingTimeEntity;
import org.summerframework.storage.converter.FileInfosConverter;
import org.summerframework.storage.domain.FileInfo;
import java.io.Serial; import java.io.Serial;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.List;
import static jakarta.persistence.GenerationType.IDENTITY; import static jakarta.persistence.GenerationType.IDENTITY;
...@@ -90,19 +87,6 @@ public class PlatformContract extends AuditingTimeEntity implements Serializable ...@@ -90,19 +87,6 @@ public class PlatformContract extends AuditingTimeEntity implements Serializable
private ContractStatus contractStatus = ContractStatus.PENDING; private ContractStatus contractStatus = ContractStatus.PENDING;
/** /**
* 合同内容
*/
@Column(columnDefinition = "TEXT")
private String contractContent;
/**
* 合同附件
*/
@Convert(converter = FileInfosConverter.class)
@Column
private List<FileInfo> contractFiles;
/**
* e签宝文件ID * e签宝文件ID
*/ */
@Column(length = 64) @Column(length = 64)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!