feat(shipment): 添加删除混合装运功能
- 实现了 Delete 方法用于删除指定 ID 的混合装运记录
This commit is contained in:
@@ -57,3 +57,13 @@ func (m *mixed) Gen(ctx context.Context, args ArgsMixedGen) (mixedId int64, err
|
||||
err = xClient.Call(ctx, "Gen", args, &mixedId)
|
||||
return
|
||||
}
|
||||
|
||||
// Delete @TITLE 删除
|
||||
func (m *mixed) Delete(ctx context.Context, mixedId int64) (err error) {
|
||||
xClient, err := client.GetClient(m)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
reply := 0
|
||||
return xClient.Call(ctx, "Delete", mixedId, &reply)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user