Showing
5 changed files
with
8 additions
and
6 deletions
No preview for this file type
| ... | @@ -87,10 +87,10 @@ public class FedexDataInterface { | ... | @@ -87,10 +87,10 @@ public class FedexDataInterface { |
| 87 | tIclearApiCheckLog.setConsignmentCode(fedexc.getConsignmentCode()); | 87 | tIclearApiCheckLog.setConsignmentCode(fedexc.getConsignmentCode()); |
| 88 | tIclearApiCheckLog.setCreateTime(new Date()); | 88 | tIclearApiCheckLog.setCreateTime(new Date()); |
| 89 | tIclearApiCheckLog.setRequestText( | 89 | tIclearApiCheckLog.setRequestText( |
| 90 | - new String("appId:"+appId+"," + | 90 | + new String("requestHeader[appId:"+appId+"," + |
| 91 | "appKey:"+appKey+"," + | 91 | "appKey:"+appKey+"," + |
| 92 | "timeStamp:"+timeStamp+"," + | 92 | "timeStamp:"+timeStamp+"," + |
| 93 | - "token:"+token) + "," | 93 | + "token:"+token) + "]," |
| 94 | + fedexc.toString() | 94 | + fedexc.toString() |
| 95 | ); | 95 | ); |
| 96 | TIClearApiCheckLog tiClearApiCheckLogSave = iClearApiCheckLogRepository.save(tIclearApiCheckLog); | 96 | TIClearApiCheckLog tiClearApiCheckLogSave = iClearApiCheckLogRepository.save(tIclearApiCheckLog); | ... | ... |
| ... | @@ -9,6 +9,8 @@ import java.util.Date; | ... | @@ -9,6 +9,8 @@ import java.util.Date; |
| 9 | 9 | ||
| 10 | /** | 10 | /** |
| 11 | * BASF校验接口日志表 | 11 | * BASF校验接口日志表 |
| 12 | + * | ||
| 13 | + * sql/BASF校验接口.sql | ||
| 12 | */ | 14 | */ |
| 13 | @Entity | 15 | @Entity |
| 14 | @Table(name = "T_ICLEAR_API_CHECK_LOG") | 16 | @Table(name = "T_ICLEAR_API_CHECK_LOG") |
| ... | @@ -16,7 +18,7 @@ import java.util.Date; | ... | @@ -16,7 +18,7 @@ import java.util.Date; |
| 16 | public class TIClearApiCheckLog extends BaseModel { | 18 | public class TIClearApiCheckLog extends BaseModel { |
| 17 | 19 | ||
| 18 | @Id | 20 | @Id |
| 19 | - @GeneratedValue | 21 | + @GeneratedValue(strategy = GenerationType.IDENTITY) |
| 20 | @Column(name = "ID" ) | 22 | @Column(name = "ID" ) |
| 21 | private Long id; | 23 | private Long id; |
| 22 | 24 | ... | ... |
| ... | @@ -14,7 +14,7 @@ import org.springframework.stereotype.Component; | ... | @@ -14,7 +14,7 @@ import org.springframework.stereotype.Component; |
| 14 | /** | 14 | /** |
| 15 | * @author Administrator | 15 | * @author Administrator |
| 16 | */ | 16 | */ |
| 17 | -@Component | 17 | +//@Component |
| 18 | @Slf4j | 18 | @Slf4j |
| 19 | public class IClearApiTask { | 19 | public class IClearApiTask { |
| 20 | @Autowired | 20 | @Autowired | ... | ... |
| 1 | spring: | 1 | spring: |
| 2 | datasource: | 2 | datasource: |
| 3 | - url: jdbc:sqlserver://40.73.78.157:1433;DatabaseName=IClearUat | 3 | + url: jdbc:sqlserver://40.73.78.157:1433;DatabaseName=IClearDev |
| 4 | username: sa | 4 | username: sa |
| 5 | password: Fedex_123 | 5 | password: Fedex_123 |
| 6 | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver | 6 | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| ... | @@ -38,4 +38,4 @@ api: | ... | @@ -38,4 +38,4 @@ api: |
| 38 | #传输海关回执地址 | 38 | #传输海关回执地址 |
| 39 | customs-url: https://apiuat.iclrccd-fedex.com/export/outbound/customs | 39 | customs-url: https://apiuat.iclrccd-fedex.com/export/outbound/customs |
| 40 | #推送完整报文地址 | 40 | #推送完整报文地址 |
| 41 | - complete-msg-url: https://apiuat.iclrccd-fedex.com/export/outbound/mawb | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 41 | + complete-msg-url: https://apiuat.iclrccd-fedex.com/export/outbound/mawb | ... | ... |
-
Please register or login to post a comment