feat: deep link digital sync failures
This commit is contained in:
@@ -11,6 +11,7 @@ public interface DigitalEmployeeSyncApplicationService {
|
||||
String clientKey,
|
||||
String entityType,
|
||||
String entityId,
|
||||
String outboxId,
|
||||
Long pageNo,
|
||||
Long pageSize
|
||||
);
|
||||
|
||||
@@ -10,6 +10,7 @@ public interface DigitalEmployeeSyncRecordRepository extends IService<DigitalEmp
|
||||
String clientKey,
|
||||
String entityType,
|
||||
String entityId,
|
||||
String outboxId,
|
||||
long pageNo,
|
||||
long pageSize
|
||||
);
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user