File tree Expand file tree Collapse file tree 4 files changed +43
-3
lines changed
src/main/java/com/lark/project/service/workitem Expand file tree Collapse file tree 4 files changed +43
-3
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,22 @@ public interface WorkItemService {
9999 // 更新实际工时
100100 public UpdateWorkingHourRecordResp updateWorkingHourRecord (UpdateWorkingHourRecordReq req , RequestOptions reqOptions ) throws Exception ;
101101
102- // 获取工作流详情(wbs)
102+ /**
103+ * 获取工作流详情(WBS)。
104+ *
105+ * <p>对应 OpenAPI:{@code GET /open_api/:project_key/work_item/:work_item_type_key/:work_item_id/wbs_view}。</p>
106+ *
107+ * <p>请求中可通过 {@code need_union_deliverable} 和 {@code need_schedule_table_agg}
108+ * 参数控制返回是否包含融合交付物以及计划表自定义列聚合字段。</p>
109+ */
103110 public WbsViewResp wbsView (WbsViewReq req , RequestOptions reqOptions ) throws Exception ;
104111
105- //增量更新复合字段
106- UpdateCompoundFieldValueResp updateCompoundFieldValue (UpdateCompoundFieldValueReq req , RequestOptions reqOptions ) throws Exception ;
112+ /**
113+ * 按组更新复合字段值。
114+ *
115+ * <p>对应 OpenAPI:{@code POST /open_api/work_item/field_value/update_compound_field},
116+ * 支持对指定工作项的复合字段按组执行删除(delete)、更新(update)或添加(add)操作。</p>
117+ */
118+ public UpdateCompoundFieldValueResp updateCompoundFieldValue (UpdateCompoundFieldValueReq req , RequestOptions reqOptions ) throws Exception ;
107119
108120}
Original file line number Diff line number Diff line change 66
77import java .util .List ;
88
9+ /**
10+ * 按组更新复合字段值的请求对象。
11+ *
12+ * <p>对应 OpenAPI:{@code POST /open_api/work_item/field_value/update_compound_field},
13+ * 用于对指定工作项的复合字段按组执行删除(delete)、更新(update)或添加(add)操作。</p>
14+ */
915public class UpdateCompoundFieldValueReq {
1016 @ Body
1117 private UpdateCompoundFieldValueReqBody body ;
Original file line number Diff line number Diff line change 22
33import com .lark .project .core .response .BaseResponse ;
44
5+ /**
6+ * 按组更新复合字段值的响应对象。
7+ *
8+ * <p>对应 OpenAPI:{@code POST /open_api/work_item/field_value/update_compound_field},
9+ * 返回请求是否执行成功以及错误码信息。</p>
10+ */
511public class UpdateCompoundFieldValueResp extends BaseResponse {
612}
Original file line number Diff line number Diff line change 2222import com .lark .project .core .annotation .Query ;
2323import com .lark .project .service .workitem .model .Expand ;
2424
25+ /**
26+ * 获取工作流详情(WBS)的请求对象。
27+ *
28+ * <p>对应 OpenAPI:{@code GET /open_api/:project_key/work_item/:work_item_type_key/:work_item_id/wbs_view}。</p>
29+ */
2530public class WbsViewReq {
2631 @ Path
2732 @ SerializedName ("project_key" )
@@ -129,11 +134,22 @@ public Builder workItemID(Long workItemID) {
129134 return this ;
130135 }
131136
137+ /**
138+ * 是否融合需要交付物。
139+ *
140+ * <p>对应查询参数 {@code need_union_deliverable},含义与请求体
141+ * {@link Expand#getNeedUnionDeliverable()} 一致。</p>
142+ */
132143 public Builder needUnionDeliverable (Boolean needUnionDeliverable ) {
133144 this .needUnionDeliverable = needUnionDeliverable ;
134145 return this ;
135146 }
136147
148+ /**
149+ * 扩展查询:是否需要计划表自定义列聚合字段。
150+ *
151+ * <p>对应查询参数 {@code need_schedule_table_agg}。</p>
152+ */
137153 public Builder needScheduleTableAgg (Boolean needScheduleTableAgg ) {
138154 this .needScheduleTableAgg = needScheduleTableAgg ;
139155 return this ;
You can’t perform that action at this time.
0 commit comments