feat(hrm): 修改请假、报销、用印、出差申请的新增接口返回值类型
- 将 Controller 中的新增方法返回类型从 R<Void> 修改为 R<HrmLeaveReqVo> 等对应的 VO 类型 - 修改 Service 层 insertByBo 方法返回类型从 Boolean 为对应的 VO 对象,并在其中包含流程实例 ID - 在各个 VO 类中添加 instId 字段用于存储流程实例 ID - 完善流程实例启动后将实例 ID 设置到返回对象中的逻辑 - 统一各业务类型的新增接口返回值处理方式,提供更完整的数据回传功能
This commit is contained in:
@@ -71,4 +71,6 @@ public class HrmLeaveReqVo implements Serializable {
|
||||
private Date createTime;
|
||||
private String updateBy;
|
||||
private Date updateTime;
|
||||
|
||||
private Long instId;
|
||||
}
|
||||
|
||||
@@ -93,5 +93,7 @@ public class HrmReimburseReqVo implements Serializable {
|
||||
private Date createTime;
|
||||
private String updateBy;
|
||||
private Date updateTime;
|
||||
|
||||
private Long instId;
|
||||
}
|
||||
|
||||
|
||||
@@ -98,4 +98,7 @@ public class HrmSealReqVo implements Serializable {
|
||||
private Date createTime;
|
||||
private String updateBy;
|
||||
private Date updateTime;
|
||||
|
||||
|
||||
private Long instId;
|
||||
}
|
||||
|
||||
@@ -78,4 +78,6 @@ public class HrmTravelReqVo implements Serializable {
|
||||
private Date createTime;
|
||||
private String updateBy;
|
||||
private Date updateTime;
|
||||
|
||||
private Long instId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user