1.添加分页接口返回案件id
master
陈江保 4 months ago
parent c95e411e4b
commit 22157a03cd
  1. 6
      src/main/java/digital/laboratory/platform/entrustment/vo/EntrustAlterApplyVO.java
  2. 2
      src/main/resources/mapper/EntrustAlterApplyMapper.xml

@ -30,6 +30,12 @@ public class EntrustAlterApplyVO {
@ApiModelProperty(value = "关联的委托id") @ApiModelProperty(value = "关联的委托id")
private String entrustId; private String entrustId;
/**
* 关联的案件id
*/
@ApiModelProperty(value = "关联的案件id")
private String caseId;
/** /**
* 关联的委托案件名称 * 关联的委托案件名称
*/ */

@ -28,7 +28,7 @@
<!-- 连接委托表查询委托案件名称--> <!-- 连接委托表查询委托案件名称-->
<sql id="getVOSQL"> <sql id="getVOSQL">
SELECT eaa.*, ce.case_name FROM SELECT eaa.*, ce.case_name, ce.id as case_id FROM
b_entrust_alter_apply eaa b_entrust_alter_apply eaa
LEFT JOIN b_entrustment e ON eaa.entrust_id = e.id LEFT JOIN b_entrustment e ON eaa.entrust_id = e.id
LEFT JOIN b_case_event ce ON ce.id = e.case_id LEFT JOIN b_case_event ce ON ce.id = e.case_id

Loading…
Cancel
Save