文书送达功能
This commit is contained in:
parent
520b283000
commit
9a741e03ed
|
|
@ -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查询文书送达记录
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ import java.util.Map;
|
||||||
})})
|
})})
|
||||||
@Data
|
@Data
|
||||||
public class DeliveryRecord extends BaseModel {
|
public class DeliveryRecord extends BaseModel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 送达记录唯一ID
|
* 送达记录唯一ID
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 送达人唯一标识
|
* 送达人唯一标识
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue