3 Commits

Author SHA1 Message Date
wkc
de35bd33c0 拼写错误 2026-03-05 17:28:39 +08:00
wkc
b7197682e7 fix: 补充银行流水接口 uploadSequnceNumber 字段接收和映射
- 在 GetBankStatementResponse.BankStatementItem 中添加 uploadSequnceNumber 字段
- 在 CcdiBankStatement.fromResponse() 中添加字段映射到 batchSequence
- 修复流水分析接口返回的上传序号数据丢失问题
2026-03-05 16:57:13 +08:00
wkc
a753b87c1f fix: 已完成/已归档查看结果直达结果总览 2026-03-05 16:20:20 +08:00
4 changed files with 32 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
package com.ruoyi.lsfx.domain.response; package com.ruoyi.lsfx.domain.response;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.List; import java.util.List;
@@ -131,6 +132,9 @@ public class GetBankStatementResponse {
/** 上传logId */ /** 上传logId */
private Integer batchId; private Integer batchId;
/** 上传序号 */
private Integer uploadSequenceNumber;
/** 项目id */ /** 项目id */
private Integer groupId; private Integer groupId;

View File

@@ -198,6 +198,7 @@ public class CcdiBankStatement implements Serializable {
entity.setTrxType(item.getTransTypeId()); entity.setTrxType(item.getTransTypeId());
entity.setCustomerLeId(item.getCustomerId()); entity.setCustomerLeId(item.getCustomerId());
entity.setCustomerAccountName(item.getCustomerName()); entity.setCustomerAccountName(item.getCustomerName());
entity.setBatchSequence(item.getUploadSequenceNumber());
// 5. 特殊字段处理 // 5. 特殊字段处理
entity.setMetaJson(null); // 根据文档要求强制设为 null entity.setMetaJson(null); // 根据文档要求强制设为 null

View File

@@ -100,15 +100,37 @@ export default {
if (newId) { if (newId) {
this.projectId = newId; this.projectId = newId;
this.projectInfo.projectId = newId; this.projectInfo.projectId = newId;
this.initActiveTabFromRoute();
this.initPageData(); this.initPageData();
} }
}, },
"$route.query.tab"() {
this.initActiveTabFromRoute();
},
}, },
created() { created() {
// 初始化页面数据 // 初始化页面数据
this.initActiveTabFromRoute();
this.initPageData(); this.initPageData();
}, },
methods: { methods: {
initActiveTabFromRoute() {
const tab = (this.$route.query && this.$route.query.tab) || "";
const validTabs = ["upload", "config", "overview", "special", "detail"];
const targetTab = validTabs.includes(tab) ? tab : "upload";
this.setActiveTab(targetTab);
},
setActiveTab(index) {
this.activeTab = index;
const componentMap = {
upload: "UploadData",
config: "ParamConfig",
overview: "PreliminaryCheck",
special: "SpecialCheck",
detail: "DetailQuery",
};
this.currentComponent = componentMap[index] || "UploadData";
},
/** 初始化页面数据 */ /** 初始化页面数据 */
initPageData() { initPageData() {
// 这里应该从API获取项目详细信息 // 这里应该从API获取项目详细信息
@@ -208,18 +230,7 @@ export default {
/** 菜单选择事件 */ /** 菜单选择事件 */
handleMenuSelect(index) { handleMenuSelect(index) {
console.log("菜单选择:", index); console.log("菜单选择:", index);
this.activeTab = index; this.setActiveTab(index);
// 组件映射
const componentMap = {
upload: "UploadData",
config: "ParamConfig",
overview: "PreliminaryCheck",
special: "SpecialCheck",
detail: "DetailQuery",
};
this.currentComponent = componentMap[index] || "UploadData";
}, },
/** UploadData 组件:菜单切换 */ /** UploadData 组件:菜单切换 */
handleMenuChange({ key, route }) { handleMenuChange({ key, route }) {

View File

@@ -234,8 +234,10 @@ export default {
}, },
/** 查看结果 */ /** 查看结果 */
handleViewResult(row) { handleViewResult(row) {
console.log("查看结果:", row); this.$router.push({
this.$modal.msgInfo("查看项目结果: " + row.projectName); path: `/ccdiProject/detail/${row.projectId}`,
query: { tab: "overview" },
});
}, },
/** 重新分析 */ /** 重新分析 */
handleReAnalyze(row) { handleReAnalyze(row) {