refactor(phase-1): 删本仓两支确定性死 DTO——BrandQueryFailedDto/ShopDataCrawlAdminFileJobBriefDto
复扫(AGENTS.md §1 铁律 2 全五路):git grep -nw 类名在**全仓跟踪面**仅命中自身文件;其余命中只在 backend-java/target/ 编译产物里(.class 与两条 maven-status 清单)。两类均为裸 @Data POJO,无 @Component/@Bean/@Entity,跨四树(app_client/maixiang_run_task/ops scripts/docs)字符串零命中, 28 支 Mapper XML 与 yml/properties 里没有 resultType/parameterType 指它们。 BrandQueryFailedDto 上那句 @Schema 写着"Java 会将该列表输出到结果 xlsx 的查询失败品牌 sheet", 但实现侧无人引用=文案与实际不符,非在用契约。 mvn -o test 全量:4427 passed/0 failures/0 errors/7 skipped(5:59,BUILD SUCCESS), 与 Phase 0 基线读数逐字相同——零行为变更。
This commit is contained in:
-15
@@ -1,15 +0,0 @@
|
||||
package com.nanri.aiimage.modules.brand.model.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description = "查询失败品牌记录。Java 会将该列表输出到结果 xlsx 的“查询失败品牌” sheet。")
|
||||
public class BrandQueryFailedDto {
|
||||
|
||||
@Schema(description = "查询失败的品牌名称。")
|
||||
private String brand;
|
||||
|
||||
@Schema(description = "失败时间。由前端或爬虫侧生成后原样回传。")
|
||||
private String time;
|
||||
}
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
package com.nanri.aiimage.modules.shopdatacrawl.model.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 结果文件最近的 ASSEMBLE_RESULT 文件任务(按 job id 取最新,语义对齐 Flask)。
|
||||
*/
|
||||
@Data
|
||||
public class ShopDataCrawlAdminFileJobBriefDto {
|
||||
|
||||
private Long resultId;
|
||||
private Long fileJobId;
|
||||
private String fileStatus;
|
||||
private String fileError;
|
||||
}
|
||||
Reference in New Issue
Block a user