文书送达功能

This commit is contained in:
chenlinlin 2025-04-03 19:53:02 +08:00
parent 520b283000
commit 9a741e03ed
4 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,7 @@ public class DeliveryRecordController {
return Ok.of(deliveryRecordService.saveDeliveryRecord(deliveryRecord, user, "add")); return Ok.of(deliveryRecordService.saveDeliveryRecord(deliveryRecord, user, "add"));
} }
/** /**
* 根据ID查询文书送达记录 * 根据ID查询文书送达记录
* *

View File

@ -30,6 +30,7 @@ import java.util.Map;
})}) })})
@Data @Data
public class DeliveryRecord extends BaseModel { public class DeliveryRecord extends BaseModel {
/** /**
* 送达记录唯一ID * 送达记录唯一ID
*/ */

View File

@ -21,6 +21,7 @@ import java.util.Optional;
@Table(name = "zf_recipient_info") @Table(name = "zf_recipient_info")
@Data @Data
public class RecipientInfo extends BaseModel { public class RecipientInfo extends BaseModel {
/** /**
* 送达人唯一标识 * 送达人唯一标识
*/ */

View File

@ -83,6 +83,7 @@ public class DeliveryRecordService {
this.publishVoiceCallUrl = publishVoiceCallUrl; this.publishVoiceCallUrl = publishVoiceCallUrl;
} }
/** /**
* 保存文书送达记录信息 * 保存文书送达记录信息
* *
@ -153,6 +154,7 @@ public class DeliveryRecordService {
}); });
} }
@Transactional(readOnly = true) @Transactional(readOnly = true)
public List<DeliveryRecord> findDeliveryRecordByIds(List<String> deliveryIds) { public List<DeliveryRecord> findDeliveryRecordByIds(List<String> deliveryIds) {
return deliveryRecordRepo.findAllById(deliveryIds).stream().map(this::itemDeliveryRecord).collect(Collectors.toList()); return deliveryRecordRepo.findAllById(deliveryIds).stream().map(this::itemDeliveryRecord).collect(Collectors.toList());