feat(credit): 添加股权冻结导入参数类
- 新增CreditGqdjImportParam类用于股权冻结数据导入 - 定义案号、冻结股权标的企业、被执行人等Excel字段映射 - 配置执行法院、执行标的金额等导入参数属性 refactor(led): 清理调试日志并优化令牌刷新 - 移除searchStopAndReplace方法中的调试打印语句 - 在令牌刷新成功后添加新的调试日志 - 优化令牌缓存和刷新流程的日志输出
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 股权冻结导入参数
|
||||
*/
|
||||
@Data
|
||||
public class CreditGqdjImportParam implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Excel(name = "案号")
|
||||
private String caseNumber;
|
||||
|
||||
@Excel(name = "冻结股权标的企业")
|
||||
private String name;
|
||||
|
||||
@Excel(name = "被执行人")
|
||||
private String name1;
|
||||
|
||||
|
||||
@Excel(name = "执行法院")
|
||||
private String plaintiffAppellant;
|
||||
|
||||
@Excel(name = "被执行人持有股权、其他投资权益数额")
|
||||
private String appellee;
|
||||
|
||||
@Excel(name = "其他当事人/第三人")
|
||||
private String otherPartiesThirdParty;
|
||||
|
||||
// @Excel(name = "公示日期")
|
||||
// private String occurrenceTime;
|
||||
//
|
||||
// @Excel(name = "案由")
|
||||
// private String causeOfAction;
|
||||
//
|
||||
// @Excel(name = "涉案金额")
|
||||
// private String involvedAmount;
|
||||
//
|
||||
// @Excel(name = "法院")
|
||||
// private String courtName;
|
||||
//
|
||||
// @Excel(name = "数据状态")
|
||||
// private String dataStatus;
|
||||
//
|
||||
// @Excel(name = "备注")
|
||||
// private String comments;
|
||||
}
|
||||
@@ -42,7 +42,6 @@ public class LedScheduleService {
|
||||
public JSONObject searchStopAndReplace(BmeStopReplaceParam param) {
|
||||
BmeStopReplaceParam requestParam = fillStopReplaceDefaults(param);
|
||||
BmeToken token = ensureToken();
|
||||
System.out.println("token = " + token);
|
||||
String body = buildStopReplaceBody(requestParam);
|
||||
return doSignedPost("/cgi-bin/bme-app-register/outpatient/registered/searchDoctorsStopAndReplaceInfo", body, token);
|
||||
}
|
||||
@@ -259,6 +258,7 @@ public class LedScheduleService {
|
||||
token.setExpireAt(expireAt);
|
||||
// refresh_token有效期5天,这里缓存5天
|
||||
redisUtil.set(TOKEN_CACHE_KEY, token, Duration.ofDays(5).getSeconds(), TimeUnit.SECONDS);
|
||||
System.out.println("token = " + token);
|
||||
return token;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user