李俊

新增(BASF系统调用)校验接口

......@@ -87,10 +87,10 @@ public class FedexDataInterface {
tIclearApiCheckLog.setConsignmentCode(fedexc.getConsignmentCode());
tIclearApiCheckLog.setCreateTime(new Date());
tIclearApiCheckLog.setRequestText(
new String("appId:"+appId+"," +
new String("requestHeader[appId:"+appId+"," +
"appKey:"+appKey+"," +
"timeStamp:"+timeStamp+"," +
"token:"+token) + ","
"token:"+token) + "],"
+ fedexc.toString()
);
TIClearApiCheckLog tiClearApiCheckLogSave = iClearApiCheckLogRepository.save(tIclearApiCheckLog);
......
......@@ -9,6 +9,8 @@ import java.util.Date;
/**
* BASF校验接口日志表
*
* sql/BASF校验接口.sql
*/
@Entity
@Table(name = "T_ICLEAR_API_CHECK_LOG")
......@@ -16,7 +18,7 @@ import java.util.Date;
public class TIClearApiCheckLog extends BaseModel {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "ID" )
private Long id;
......
......@@ -14,7 +14,7 @@ import org.springframework.stereotype.Component;
/**
* @author Administrator
*/
@Component
//@Component
@Slf4j
public class IClearApiTask {
@Autowired
......
spring:
datasource:
url: jdbc:sqlserver://40.73.78.157:1433;DatabaseName=IClearUat
url: jdbc:sqlserver://40.73.78.157:1433;DatabaseName=IClearDev
username: sa
password: Fedex_123
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
......@@ -38,4 +38,4 @@ api:
#传输海关回执地址
customs-url: https://apiuat.iclrccd-fedex.com/export/outbound/customs
#推送完整报文地址
complete-msg-url: https://apiuat.iclrccd-fedex.com/export/outbound/mawb
\ No newline at end of file
complete-msg-url: https://apiuat.iclrccd-fedex.com/export/outbound/mawb
......