路径规划点击 某项作业

This commit is contained in:
mmc
2026-02-28 09:55:14 +08:00
parent 4fd5877a3b
commit cf0c18f1ad
5 changed files with 276 additions and 158 deletions

View File

@@ -8,7 +8,10 @@ class SelectWorkRecordUseCase {
SelectWorkRecordUseCase(this.repository);
Future<Either<DeviceFailure, List<Map<String, dynamic>>>> call(String workName) async {
Future<Either<DeviceFailure, List<Map<String, dynamic>>>> call(
String workName,
) async {
print('SelectWorkRecordUseCase called with workName: $workName'); // 调试输出
try {
final data = await repository.selectWorkRecordByName(workName: workName);
return Right(data);