|
@@ -42,6 +42,7 @@ func (l *SopTaskStopLogic) SopTaskStop(req *types.IDReq) (resp *types.BaseMsgRes
|
|
|
soptask.IDEQ(req.Id), // Filter by ID
|
|
|
soptask.OrganizationID(organizationId), // Additional filter by organizationId
|
|
|
).
|
|
|
+ WithTaskStages().
|
|
|
Only(l.ctx)
|
|
|
if err != nil {
|
|
|
return nil, dberrorhandler.DefaultEntError(l.Logger, err, req)
|