feat(SqlServerApi): 添加按热卷号查询计划详情功能

- 新增 /plans-by-hotcoil/{hotCoilId} 接口
- 实现按热卷号查询计划详情的功能
- 添加相关 API 文档注释
This commit is contained in:
2026-05-11 14:53:06 +08:00
parent 90cb7f4e99
commit 6cbb7f3c18

View File

@@ -54,6 +54,14 @@ public class SqlServerApiController {
return R.ok(businessService.getPlanByCoilId(coilId));
}
/**
* 计划详情:按热卷号查询。
*/
@GetMapping("/plans-by-hotcoil/{hotCoilId}")
public R<SqlServerApiBusinessService.PlanDetailView> planDetailByHotCoilId(@PathVariable String hotCoilId) {
return R.ok(businessService.getPlanByHotCoilId(hotCoilId));
}
/**
* 钢卷实际 SEG按入口卷号查询。
*/