feat: deep link digital sync failures

This commit is contained in:
baiyanyun
2026-06-07 01:35:08 +08:00
parent 508406ff10
commit 646901b5fa
16 changed files with 142 additions and 33 deletions

View File

@@ -11,6 +11,7 @@ public interface DigitalEmployeeSyncApplicationService {
String clientKey,
String entityType,
String entityId,
String outboxId,
Long pageNo,
Long pageSize
);

View File

@@ -10,6 +10,7 @@ public interface DigitalEmployeeSyncRecordRepository extends IService<DigitalEmp
String clientKey,
String entityType,
String entityId,
String outboxId,
long pageNo,
long pageSize
);

View File

@@ -93,6 +93,7 @@ public class DigitalEmployeeSyncApplicationServiceImpl implements DigitalEmploye
String clientKey,
String entityType,
String entityId,
String outboxId,
Long pageNo,
Long pageSize
) {
@@ -115,6 +116,7 @@ public class DigitalEmployeeSyncApplicationServiceImpl implements DigitalEmploye
clientKey,
entityType,
entityId,
outboxId,
currentPage,
currentPageSize
);

View File

@@ -21,6 +21,7 @@ public class DigitalEmployeeSyncRecordRepositoryImpl
String clientKey,
String entityType,
String entityId,
String outboxId,
long pageNo,
long pageSize
) {
@@ -29,6 +30,7 @@ public class DigitalEmployeeSyncRecordRepositoryImpl
.eq(StringUtils.isNotBlank(clientKey), DigitalEmployeeSyncRecord::getClientKey, clientKey)
.eq(StringUtils.isNotBlank(entityType), DigitalEmployeeSyncRecord::getEntityType, entityType)
.eq(StringUtils.isNotBlank(entityId), DigitalEmployeeSyncRecord::getEntityId, entityId)
.eq(StringUtils.isNotBlank(outboxId), DigitalEmployeeSyncRecord::getOutboxId, outboxId)
.orderByDesc(DigitalEmployeeSyncRecord::getSyncedAt)
.orderByDesc(DigitalEmployeeSyncRecord::getId);
return page(new Page<>(pageNo, pageSize), queryWrapper);

View File

@@ -33,6 +33,7 @@ public class DigitalEmployeeSyncController {
@RequestParam(name = "client_key", required = false) String clientKey,
@RequestParam(name = "entity_type", required = false) String entityType,
@RequestParam(name = "entity_id", required = false) String entityId,
@RequestParam(name = "outbox_id", required = false) String outboxId,
@RequestParam(name = "page_no", required = false) Long pageNo,
@RequestParam(name = "page_size", required = false) Long pageSize
) {
@@ -40,6 +41,7 @@ public class DigitalEmployeeSyncController {
clientKey,
entityType,
entityId,
outboxId,
pageNo,
pageSize
));