diff --git a/src/main/java/digital/laboratory/platform/entrustment/vo/EntrustAlterApplyVO.java b/src/main/java/digital/laboratory/platform/entrustment/vo/EntrustAlterApplyVO.java index b7daa9f..b926457 100644 --- a/src/main/java/digital/laboratory/platform/entrustment/vo/EntrustAlterApplyVO.java +++ b/src/main/java/digital/laboratory/platform/entrustment/vo/EntrustAlterApplyVO.java @@ -30,6 +30,12 @@ public class EntrustAlterApplyVO { @ApiModelProperty(value = "关联的委托id") private String entrustId; + /** + * 关联的案件id + */ + @ApiModelProperty(value = "关联的案件id") + private String caseId; + /** * 关联的委托案件名称 */ diff --git a/src/main/resources/mapper/EntrustAlterApplyMapper.xml b/src/main/resources/mapper/EntrustAlterApplyMapper.xml index c633e30..5523852 100644 --- a/src/main/resources/mapper/EntrustAlterApplyMapper.xml +++ b/src/main/resources/mapper/EntrustAlterApplyMapper.xml @@ -28,7 +28,7 @@ - SELECT eaa.*, ce.case_name FROM + SELECT eaa.*, ce.case_name, ce.id as case_id FROM b_entrust_alter_apply eaa LEFT JOIN b_entrustment e ON eaa.entrust_id = e.id LEFT JOIN b_case_event ce ON ce.id = e.case_id