// ================================================================================ // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // You can delete these comments if you wish manually maintain this interface file. // ================================================================================ package service import ( "context" "git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/library/xgorm/handler" "git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model" "github.com/gogf/gf/v2/database/gdb" ) type ( IIotTFlowPackageConfig interface { // Model SIM流量池套餐配置表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取SIM流量池套餐配置表列表 List(ctx context.Context, in *model.TFlowPackageConfigListParam) (list []*model.TFlowPackageConfigListModel, totalCount int, err error) // Export 导出SIM流量池套餐配置表 Export(ctx context.Context, in *model.TFlowPackageConfigListParam) (err error) // Edit 修改/新增SIM流量池套餐配置表 Edit(ctx context.Context, in *model.TFlowPackageConfigEditParam) (err error) // Delete 删除SIM流量池套餐配置表 Delete(ctx context.Context, in *model.TFlowPackageConfigDeleteParam) (err error) // View 获取SIM流量池套餐配置表指定信息 View(ctx context.Context, in *model.TFlowPackageConfigViewParam) (res *model.TFlowPackageConfigViewModel, err error) } IIotTOrder interface { // Model 订单主表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取订单主表列表 List(ctx context.Context, in *model.TOrderListParam) (list []*model.TOrderListModel, totalCount int, err error) // SellList 获取销售订单列表 SellList(ctx context.Context, in *model.TOrderListParam) (list []*model.TOrderListModel, totalCount int, err error) // Export 导出订单主表 Export(ctx context.Context, in *model.TOrderListParam) (err error) // Edit 修改/新增订单主表 Edit(ctx context.Context, in *model.TOrderEditParam) (err error) // Delete 删除订单主表 Delete(ctx context.Context, in *model.TOrderDeleteParam) (err error) // View 获取订单主表指定信息 View(ctx context.Context, in *model.TOrderViewParam) (res *model.TOrderViewModel, err error) } IIotTSimCardAllocate interface { DownloadExcelTemplate(ctx context.Context) error ListTargets(ctx context.Context, in *model.TSimCardAllocateTargetListParam) (items []*model.TSimCardAllocateTargetModel, err error) PrepareInput(ctx context.Context, in *model.TSimCardAllocatePrepareParam) (*model.TSimCardAllocateBatchModel, error) PrepareExcel(ctx context.Context, in *model.TSimCardAllocateExcelSubmitParam) (*model.TSimCardAllocateBatchModel, error) SubmitBatch(ctx context.Context, in *model.TSimCardAllocateBatchSubmitParam) (*model.TSimCardAllocateBatchModel, error) } IIotTSimCardBindPkg interface { // Model 订购表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取订购表列表 List(ctx context.Context, in *model.TSimCardBindPkgListParam) (list []*model.TSimCardBindPkgListModel, totalCount int, err error) // Export 导出订购表 Export(ctx context.Context, in *model.TSimCardBindPkgListParam) (err error) // Edit 修改/新增订购表 Edit(ctx context.Context, in *model.TSimCardBindPkgEditParam) (err error) // Delete 删除订购表 Delete(ctx context.Context, in *model.TSimCardBindPkgDeleteParam) (err error) // View 获取订购表指定信息 View(ctx context.Context, in *model.TSimCardBindPkgViewParam) (res *model.TSimCardBindPkgViewModel, err error) // 套餐详情查询 GetPkgInfo(ctx context.Context, in *model.TSimCardBindPkgInfoParam) (list []*model.TSimCardBindPkgListModel, totalCount int, err error) // 变更套餐 GetChangePkg(ctx context.Context, in *model.TSimCardBindPkgInfoParam) (list []*model.TSimCardBindPkgListModel, totalCount int, err error) AddPackageOptions(ctx context.Context, in *model.TSimCardAddPackageOptionsParam) (*model.TSimAddPackageOptionsRes, error) AddPackagePaymentContext(ctx context.Context) (*model.TSimAddPackageOptionsRes, error) DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardBindPkgAddPackageExcelSubmitParam) (*model.TSimCardBindPkgAddPackageExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardBindPkgAddPackageInputSubmitParam) (*model.TSimCardBindPkgAddPackageInputSubmitRes, error) PrepareInput(ctx context.Context, in *model.TSimCardBindPkgAddPackageInputPrepareParam) (*model.TSimCardBindPkgAddPackageInputPrepareRes, error) PrepareResult(ctx context.Context, batchNo string) (*model.TSimCardBindPkgAddPackagePrepareResultRes, error) ConfirmBatch(ctx context.Context, in *model.TSimCardBindPkgAddPackageBatchConfirmParam) (*model.TSimCardBindPkgAddPackageBatchConfirmRes, error) } IIotTSimCardCancel interface { DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardCancelExcelSubmitParam) (*model.TSimCardCancelExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardCancelInputSubmitParam) (*model.TSimCardCancelInputSubmitRes, error) } IIotTSimCardCancellation interface { Model(ctx context.Context, option ...*handler.Option) *gdb.Model List(ctx context.Context, in *model.TSimCardCancellationListParam) (list []*model.TSimCardCancellationListModel, total int, err error) Export(ctx context.Context, filter *model.TSimCardCancellationFilter) error } IIotTSimCardChange interface { DownloadExcelTemplate(ctx context.Context) error // SubmitExcel Excel 仅作为 prepare source:构造 batch_type=4 的 Pending 变更预处理批次。 SubmitExcel(ctx context.Context, in *model.TSimCardChangeExcelSubmitParam) (*model.TSimCardChangeExcelSubmitRes, error) PrepareBatch(ctx context.Context, in *model.TSimCardChangeBatchPrepareParam) (*model.TSimCardChangeBatchPrepareRes, error) PrepareInput(ctx context.Context, in *model.TSimCardChangeInputPrepareParam) (*model.TSimCardChangeBatchPrepareRes, error) PrepareRange(ctx context.Context, in *model.TSimCardChangeRangePrepareParam) (*model.TSimCardChangeBatchPrepareRes, error) InputOptions(ctx context.Context, in *model.TSimCardChangeInputOptionsParam) (*model.TSimCardChangeOptionsRes, error) RangeOptions(ctx context.Context, in *model.TSimCardChangeRangeOptionsParam) (*model.TSimCardChangeOptionsRes, error) // SubmitBatch 作为 confirm 的语义:CAS 转换 batch_type=4+Success -> batch_type=102 Pending,发布异步任务。 SubmitBatch(ctx context.Context, in *model.TSimCardChangeBatchSubmitParam) (*model.TSimCardChangeBatchSubmitRes, error) // PrepareResult 查询预处理批次当前异步状态。 PrepareResult(ctx context.Context, batchNo string) (*model.TSimCardChangePrepareResultRes, error) } IIotTSimCardDataCut interface { DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardDataCutExcelSubmitParam) (*model.TSimCardDataCutExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardDataCutInputSubmitParam) (*model.TSimCardDataCutInputSubmitRes, error) } IIotTSimCardDataStart interface { DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardDataStartExcelSubmitParam) (*model.TSimCardDataStartSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardDataStartInputSubmitParam) (*model.TSimCardDataStartSubmitRes, error) } IIotTSimCardDataStop interface { DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardDataStopExcelSubmitParam) (*model.TSimCardDataStopSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardDataStopInputSubmitParam) (*model.TSimCardDataStopSubmitRes, error) } IIotTSimCardInbound interface { DownloadExcelTemplate(ctx context.Context) (err error) SubmitExcel(ctx context.Context, in *model.TSimCardInboundExcelSubmitParam) (res *model.TSimCardInboundExcelSubmitRes, err error) SubmitRange(ctx context.Context, in *model.TSimCardInboundRangeSubmitParam) (res *model.TSimCardInboundRangeSubmitRes, err error) SubmitInput(ctx context.Context, in *model.TSimCardInboundInputSubmitParam) (res *model.TSimCardInboundInputSubmitRes, err error) } IIotTSimCardInfo interface { // Model 卡信息表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取卡信息表列表 List(ctx context.Context, in *model.TSimCardInfoListParam) (list []*model.TSimCardInfoListModel, totalCount int, err error) // Export 导出卡信息表 Export(ctx context.Context, in *model.TSimCardInfoListParam) (err error) // Edit 修改/新增卡信息表 Edit(ctx context.Context, in *model.TSimCardInfoEditParam) (err error) // Delete 删除卡信息表 Delete(ctx context.Context, in *model.TSimCardInfoDeleteParam) (err error) // View 获取卡信息表指定信息 View(ctx context.Context, in *model.TSimCardInfoViewParam) (res *model.TSimCardInfoViewModel, err error) // SyncSimCardFlow 同步SIM卡流量 SyncSimCardFlow(ctx context.Context, input *model.SyncSimCardFlowInput) (err error) // SyncSimCardStatus 同步SIM卡状态 SyncSimCardStatus(ctx context.Context, input *model.SyncSimCardStatusInput) (err error) // EnqueueSimCardStatus publishes the additive asynchronous status task. EnqueueSimCardStatus(ctx context.Context, input *model.SyncSimCardStatusInput) (err error) // QuerySimStatus 查询SIM卡状态 QuerySimStatus(ctx context.Context, input *model.QuerySimStatusInput) (res *model.QuerySimStatusOutput, err error) // QuerySimSession 查询SIM卡会话 QuerySimSession(ctx context.Context, input *model.QuerySimSessionInput) (res *model.QuerySimSessionOutput, err error) // GetCardPackageOptions 获取卡套餐下拉选项(去重后的套餐编码列表,套餐状态为生效中) GetCardPackageOptions(ctx context.Context, deptId int64) (res []*model.GetCardPackageOptionsRes, err error) // CalculatePoolStatistics 计算流量池统计数据 CalculatePoolStatistics(ctx context.Context, req *model.CalculatePoolStatisticsReq) (res *model.CalculatePoolStatisticsRes, err error) // GetCardsByPackageCodes 根据套餐编码列表获取卡列表 GetCardsByPackageCodes(ctx context.Context, req *model.GetCardsByPackageCodesParam) (list []*model.TSimCardInfoListModel, totalCount int, err error) } IIotTSimCardOutbound interface { DownloadExcelTemplate(ctx context.Context) error CustomerBalance(ctx context.Context, in *model.TSimCardOutboundCustomerBalanceParam) (*model.TSimCardOutboundCustomerBalanceRes, error) SubmitExcel(ctx context.Context, in *model.TSimCardOutboundExcelSubmitParam) (*model.TSimCardOutboundExcelSubmitRes, error) SubmitRange(ctx context.Context, in *model.TSimCardOutboundRangeSubmitParam) (*model.TSimCardOutboundRangeSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardOutboundInputSubmitParam) (*model.TSimCardOutboundInputSubmitRes, error) ListInboundBatches(ctx context.Context, in *model.TSimCardOutboundInboundBatchListParam) (*model.TSimCardOutboundInboundBatchListRes, error) ListInboundBatchCards(ctx context.Context, in *model.TSimCardOutboundInboundBatchCardsParam) (*model.TSimCardOutboundInboundBatchCardsRes, error) SubmitBatch(ctx context.Context, in *model.TSimCardOutboundBatchSubmitParam) (*model.TSimCardOutboundBatchSubmitRes, error) } IIotTSimCardRenew interface { PrepareBatch(ctx context.Context, in *model.TSimCardRenewBatchPrepareParam) (*model.TSimCardRenewBatchPrepareRes, error) PrepareBatchAll(ctx context.Context, in *model.TSimCardRenewBatchPrepareAllParam) (*model.TSimCardRenewBatchPrepareRes, error) PrepareInput(ctx context.Context, in *model.TSimCardRenewInputPrepareParam) (*model.TSimCardRenewBatchPrepareRes, error) ConfirmBatch(ctx context.Context, in *model.TSimCardRenewBatchConfirmParam) (*model.TSimCardRenewBatchConfirmRes, error) // PrepareResult 查询预处理批次的当前异步状态。 PrepareResult(ctx context.Context, batchNo string) (*model.TSimCardRenewPrepareResultRes, error) DownloadExcelTemplate(ctx context.Context) error // SubmitExcel creates an asynchronous renew prepare batch. The worker performs // database validation, including the six-month expiry window and latest pending // subscription selection. The formal renew batch is created after confirmation. SubmitExcel(ctx context.Context, in *model.TSimCardRenewExcelSubmitParam) (*model.TSimCardRenewExcelSubmitRes, error) } IIotTSimCardRestart interface { DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardRestartExcelSubmitParam) (*model.TSimCardRestartExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardRestartInputSubmitParam) (*model.TSimCardRestartInputSubmitRes, error) } IIotTSimCardStart interface { DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardStartExcelSubmitParam) (*model.TSimCardStartExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardStartInputSubmitParam) (*model.TSimCardStartInputSubmitRes, error) } IIotTSimCardStock interface { // Model 库存卡信息表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取库存卡信息表列表 List(ctx context.Context, in *model.TSimCardStockListParam) (list []*model.TSimCardStockListModel, totalCount int, err error) // Export 导出库存卡信息表 Export(ctx context.Context, in *model.TSimCardStockListParam) (err error) // Edit 修改/新增库存卡信息表 Edit(ctx context.Context, in *model.TSimCardStockEditParam) (err error) // Delete 删除库存卡信息表 Delete(ctx context.Context, in *model.TSimCardStockDeleteParam) (err error) // View 获取库存卡信息表指定信息 View(ctx context.Context, in *model.TSimCardStockViewParam) (res *model.TSimCardStockViewModel, err error) } IIotTSimCardStop interface { DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardStopExcelSubmitParam) (*model.TSimCardStopExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardStopInputSubmitParam) (*model.TSimCardStopInputSubmitRes, error) } IIotTSimCardTrafficCutoff interface { DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardTrafficCutoffExcelSubmitParam) (*model.TSimCardTrafficCutoffExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardTrafficCutoffInputSubmitParam) (*model.TSimCardTrafficCutoffInputSubmitRes, error) SubmitRange(ctx context.Context, in *model.TSimCardTrafficCutoffRangeSubmitParam) (*model.TSimCardTrafficCutoffRangeSubmitRes, error) List(ctx context.Context, in *model.TSimCardTrafficCutoffListParam) (list []*model.TSimCardInfoListModel, total int, err error) Export(ctx context.Context, in *model.TSimCardTrafficCutoffListParam) error Edit(ctx context.Context, in *model.TSimCardTrafficCutoffEditParam) error Delete(ctx context.Context, in *model.TSimCardTrafficCutoffDeleteParam) error } IIotTSimCardUnsub interface { SubmitBatch(ctx context.Context, in *model.TSimCardUnsubBatchSubmitParam) (*model.TSimCardUnsubBatchSubmitRes, error) DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimCardUnsubExcelSubmitParam) (*model.TSimCardUnsubExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimCardUnsubInputSubmitParam) (*model.TSimCardUnsubInputSubmitRes, error) SubmitRange(ctx context.Context, in *model.TSimCardUnsubRangeSubmitParam) (*model.TSimCardUnsubRangeSubmitRes, error) } IIotTSimChannelTemplate interface { // Model 通道模板ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取通道模板列表 List(ctx context.Context, in *model.TSimChannelTemplateListParam) (list []*model.TSimChannelTemplateListModel, totalCount int, err error) // Export 导出通道模板 Export(ctx context.Context, in *model.TSimChannelTemplateListParam) (err error) // Edit 修改/新增通道模板 Edit(ctx context.Context, in *model.TSimChannelTemplateEditParam) (err error) // Delete 删除通道模板 Delete(ctx context.Context, in *model.TSimChannelTemplateDeleteParam) (err error) // View 获取通道模板指定信息 View(ctx context.Context, in *model.TSimChannelTemplateViewParam) (res *model.TSimChannelTemplateViewModel, err error) } IIotTSimChannels interface { // Model 通道列表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取通道列表列表 List(ctx context.Context, in *model.TSimChannelsListParam) (list []*model.TSimChannelsListModel, totalCount int, err error) RefreshCardCounts(ctx context.Context) error // Export 导出通道列表 Export(ctx context.Context, in *model.TSimChannelsListParam) (err error) // Edit 修改/新增通道列表 Edit(ctx context.Context, in *model.TSimChannelsEditParam) (err error) // Delete 删除通道列表 Delete(ctx context.Context, in *model.TSimChannelsDeleteParam) (err error) // View 获取通道列表指定信息 View(ctx context.Context, in *model.TSimChannelsViewParam) (res *model.TSimChannelsViewModel, err error) Test(ctx context.Context, in *model.TSimChannelsTestParam) (res *model.TSimChannelsTestOutput, err error) } IIotTSimDiagnose interface { // Info 查询SIM卡诊断信息 Info(ctx context.Context, in *model.TSimDiagnoseInfoReq) (res *model.TSimDiagnoseInfoOutput, err error) // Flow 查询SIM卡使用流量 Flow(ctx context.Context, in *model.TSimDiagnoseFlowReq) (res *model.TSimDiagnoseFlowOutput, err error) } IIotTSimFlowPackageInfo interface { Model(ctx context.Context, option ...*handler.Option) *gdb.Model List(ctx context.Context, in *model.TSimFlowPackageInfoListParam) (list []*model.TSimFlowPackageInfoListModel, totalCount int, err error) // 可配置池列表(PackageType=102) FlowPackageList(ctx context.Context, in *model.TSimFlowPackageInfoFlowPackageListParam) (list []*model.TSimFlowPackageInfoListModel, err error) // 可配置池加油包列表(PackageType=104) FlowPackageAddList(ctx context.Context) (list []*model.TSimFlowPackageInfoListModel, err error) RenewablePackageOptions(ctx context.Context, in *model.TSimFlowPackageInfoRenewablePackageOptionsParam) (list []*model.TSimFlowPackageInfoListModel, err error) // GetFlowPackageOptions 获取流量套餐GB+MB组合选项 GetFlowPackageOptions(ctx context.Context, in *model.TSimFlowPackageInfoFlowPackageOptionsParam) ([]string, error) Export(ctx context.Context, in *model.TSimFlowPackageInfoListParam) (err error) Edit(ctx context.Context, in *model.TSimFlowPackageInfoEditParam) (err error) Delete(ctx context.Context, in *model.TSimFlowPackageInfoDeleteParam) (err error) View(ctx context.Context, in *model.TSimFlowPackageInfoViewParam) (res *model.TSimFlowPackageInfoViewModel, err error) // GetPoolPackagesByCardPackages 根据卡套餐编码列表获取对应的池套餐编码列表 GetPoolPackagesByCardPackages(ctx context.Context, cardPackageCodes []string) (poolPackageMap102 map[string]int64, poolPackageMap104 map[string]int64, err error) SyncDeptPackages(ctx context.Context) (err error) SyncDeptPackagesByDept(ctx context.Context, tenantId string, deptId int64, userId int64) error } IIotTSimFlowPackagePrice interface { Model(ctx context.Context, option ...*handler.Option) *gdb.Model AgentTree(ctx context.Context, in *model.TSimFlowPackagePriceAgentTreeParam) (res *model.TSimFlowPackagePriceAgentTreeRes, err error) // AgentPackagePriceList 查询指定下级代理套餐生效定价 AgentPackagePriceList(ctx context.Context, in *model.TSimFlowPackagePriceAgentPackagePriceListParam) (list []*model.TSimFlowPackagePriceAgentPackagePriceListItem, totalCount int, err error) // AgentDefaultPackagePriceList 查询本级默认套餐生效定价 AgentDefaultPackagePriceList(ctx context.Context, in *model.TSimFlowPackagePriceAgentDefaultPackagePriceListParam) (list []*model.TSimFlowPackagePriceAgentDefaultPackagePriceListItem, totalCount int, err error) // SaveAgentDefaultPackagePrice 保存本级默认套餐生效定价 SaveAgentDefaultPackagePrice(ctx context.Context, in *model.TSimFlowPackagePriceAgentDefaultPackagePriceSaveParam) error SaveAgentPackagePrice(ctx context.Context, in *model.TSimFlowPackagePriceAgentPackagePriceSaveParam) error InheritAgentDefaultPackagePrice(ctx context.Context, in *model.TSimFlowPackagePriceAgentDefaultPackagePriceInheritParam) error InheritAgentPackagePrice(ctx context.Context, in *model.TSimFlowPackagePriceAgentPackagePriceInheritParam) error } IIotTSimFlowPool interface { // Model 流量池表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取流量池表列表 List(ctx context.Context, in *model.TSimFlowPoolListParam) (list []*model.TSimFlowPoolListModel, totalCount int, err error) // Export 导出流量池表 Export(ctx context.Context, in *model.TSimFlowPoolListParam) (err error) // Edit 修改/新增流量池表 Edit(ctx context.Context, in *model.TSimFlowPoolEditParam) (err error) // Delete 删除流量池表 Delete(ctx context.Context, in *model.TSimFlowPoolDeleteParam) (err error) // View 获取流量池表指定信息 View(ctx context.Context, in *model.TSimFlowPoolViewParam) (res *model.TSimFlowPoolViewModel, err error) // SyncPoolCard 流量池同步卡信息(调用计算方法) SyncPoolCard(ctx context.Context, deptId int64) (err error) // GetCardsByPackageCodes 根据套餐编码列表获取卡列表 GetCardsByPackageCodes(ctx context.Context, req *model.GetCardsByPackageCodesParam) (list []*model.TSimCardInfoListModel, totalCount int, err error) } IIotTSimPackageCategory interface { // Model 套餐分类表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取套餐分类表列表 List(ctx context.Context, in *model.TSimPackageCategoryListParam) (list []*model.TSimPackageCategoryListModel, totalCount int, err error) // Export 导出套餐分类表 Export(ctx context.Context, in *model.TSimPackageCategoryListParam) (err error) // Edit 修改/新增套餐分类表 Edit(ctx context.Context, in *model.TSimPackageCategoryEditParam) (err error) // Delete 删除套餐分类表 Delete(ctx context.Context, in *model.TSimPackageCategoryDeleteParam) (err error) // View 获取套餐分类表指定信息 View(ctx context.Context, in *model.TSimPackageCategoryViewParam) (res *model.TSimPackageCategoryViewModel, err error) } IIotTSimPoolBindPackage interface { // Model 卡池加油包订购表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取卡池加油包订购表列表 List(ctx context.Context, in *model.TSimPoolBindPackageListParam) (list []*model.TSimPoolBindPackageListModel, totalCount int, err error) // Export 导出卡池加油包订购表 Export(ctx context.Context, in *model.TSimPoolBindPackageListParam) (err error) // Edit 修改/新增卡池加油包订购表 Edit(ctx context.Context, in *model.TSimPoolBindPackageEditParam) (err error) // Delete 删除卡池加油包订购表 Delete(ctx context.Context, in *model.TSimPoolBindPackageDeleteParam) (err error) // View 获取卡池加油包订购表指定信息 View(ctx context.Context, in *model.TSimPoolBindPackageViewParam) (res *model.TSimPoolBindPackageViewModel, err error) AddPackageOptions(ctx context.Context, in *model.TSimPoolAddPackageOptionsParam) (*model.TSimAddPackageOptionsRes, error) AddPackagePaymentContext(ctx context.Context) (*model.TSimAddPackageOptionsRes, error) DownloadExcelTemplate(ctx context.Context) error SubmitExcel(ctx context.Context, in *model.TSimPoolBindPackageAddPackageExcelSubmitParam) (*model.TSimPoolBindPackageAddPackageExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimPoolBindPackageAddPackageInputSubmitParam) (*model.TSimPoolBindPackageAddPackageInputSubmitRes, error) PrepareInput(ctx context.Context, in *model.TSimPoolBindPackageAddPackageInputPrepareParam) (*model.TSimPoolBindPackageAddPackageInputPrepareRes, error) PrepareResult(ctx context.Context, batchNo string) (*model.TSimPoolBindPackageAddPackagePrepareResultRes, error) ConfirmBatch(ctx context.Context, in *model.TSimPoolBindPackageAddPackageBatchConfirmParam) (*model.TSimPoolBindPackageAddPackageBatchConfirmRes, error) } IIotTSimPoolWarnConfig interface { // Model 流量池预警配置表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取流量池预警配置表列表 List(ctx context.Context, in *model.TSimPoolWarnConfigListParam) (list []*model.TSimPoolWarnConfigListModel, totalCount int, err error) // Export 导出流量池预警配置表 Export(ctx context.Context, in *model.TSimPoolWarnConfigListParam) (err error) // Edit 修改/新增流量池预警配置表 Edit(ctx context.Context, in *model.TSimPoolWarnConfigEditParam) (err error) // Delete 删除流量池预警配置表 Delete(ctx context.Context, in *model.TSimPoolWarnConfigDeleteParam) (err error) // View 获取流量池预警配置表指定信息 View(ctx context.Context, in *model.TSimPoolWarnConfigViewParam) (res *model.TSimPoolWarnConfigViewModel, err error) } IIotTUpstreamPackage interface { // Model 上游套餐表ORM模型 Model(ctx context.Context, option ...*handler.Option) *gdb.Model // List 获取上游套餐表列表 List(ctx context.Context, in *model.TUpstreamPackageListParam) (list []*model.TUpstreamPackageListModel, totalCount int, err error) // Export 导出上游套餐表 Export(ctx context.Context, in *model.TUpstreamPackageListParam) (err error) // Edit 修改/新增上游套餐表 Edit(ctx context.Context, in *model.TUpstreamPackageEditParam) (err error) // Delete 删除上游套餐表 Delete(ctx context.Context, in *model.TUpstreamPackageDeleteParam) (err error) // View 获取上游套餐表指定信息 View(ctx context.Context, in *model.TUpstreamPackageViewParam) (res *model.TUpstreamPackageViewModel, err error) } IIotTSimWarningConfig interface { DownloadExcelTemplate(ctx context.Context, itemType int) error SendEmailCode(ctx context.Context, in *model.TSimWarningConfigEmailCodeParam) error SubmitExcel(ctx context.Context, in *model.TSimWarningConfigExcelSubmitParam) (*model.TSimWarningConfigExcelSubmitRes, error) SubmitInput(ctx context.Context, in *model.TSimWarningConfigInputSubmitParam) (*model.TSimWarningConfigInputSubmitRes, error) SubmitRange(ctx context.Context, in *model.TSimWarningConfigRangeSubmitParam) (*model.TSimWarningConfigRangeSubmitRes, error) } ) var ( localIotTFlowPackageConfig IIotTFlowPackageConfig localIotTOrder IIotTOrder localIotTSimCardAllocate IIotTSimCardAllocate localIotTSimCardBindPkg IIotTSimCardBindPkg localIotTSimCardCancel IIotTSimCardCancel localIotTSimCardCancellation IIotTSimCardCancellation localIotTSimCardChange IIotTSimCardChange localIotTSimCardDataCut IIotTSimCardDataCut localIotTSimCardDataStart IIotTSimCardDataStart localIotTSimCardDataStop IIotTSimCardDataStop localIotTSimCardInbound IIotTSimCardInbound localIotTSimCardInfo IIotTSimCardInfo localIotTSimCardOutbound IIotTSimCardOutbound localIotTSimCardRenew IIotTSimCardRenew localIotTSimCardRestart IIotTSimCardRestart localIotTSimCardStart IIotTSimCardStart localIotTSimCardStock IIotTSimCardStock localIotTSimCardStop IIotTSimCardStop localIotTSimCardTrafficCutoff IIotTSimCardTrafficCutoff localIotTSimCardUnsub IIotTSimCardUnsub localIotTSimChannelTemplate IIotTSimChannelTemplate localIotTSimChannels IIotTSimChannels localIotTSimDiagnose IIotTSimDiagnose localIotTSimFlowPackageInfo IIotTSimFlowPackageInfo localIotTSimFlowPackagePrice IIotTSimFlowPackagePrice localIotTSimFlowPool IIotTSimFlowPool localIotTSimPackageCategory IIotTSimPackageCategory localIotTSimPoolBindPackage IIotTSimPoolBindPackage localIotTSimPoolWarnConfig IIotTSimPoolWarnConfig localIotTUpstreamPackage IIotTUpstreamPackage localIotTSimWarningConfig IIotTSimWarningConfig ) func IotTFlowPackageConfig() IIotTFlowPackageConfig { if localIotTFlowPackageConfig == nil { panic("implement not found for interface IIotTFlowPackageConfig, forgot register?") } return localIotTFlowPackageConfig } func RegisterIotTFlowPackageConfig(i IIotTFlowPackageConfig) { localIotTFlowPackageConfig = i } func IotTOrder() IIotTOrder { if localIotTOrder == nil { panic("implement not found for interface IIotTOrder, forgot register?") } return localIotTOrder } func RegisterIotTOrder(i IIotTOrder) { localIotTOrder = i } func IotTSimCardAllocate() IIotTSimCardAllocate { if localIotTSimCardAllocate == nil { panic("implement not found for interface IIotTSimCardAllocate, forgot register?") } return localIotTSimCardAllocate } func RegisterIotTSimCardAllocate(i IIotTSimCardAllocate) { localIotTSimCardAllocate = i } func IotTSimCardBindPkg() IIotTSimCardBindPkg { if localIotTSimCardBindPkg == nil { panic("implement not found for interface IIotTSimCardBindPkg, forgot register?") } return localIotTSimCardBindPkg } func RegisterIotTSimCardBindPkg(i IIotTSimCardBindPkg) { localIotTSimCardBindPkg = i } func IotTSimCardCancel() IIotTSimCardCancel { if localIotTSimCardCancel == nil { panic("implement not found for interface IIotTSimCardCancel, forgot register?") } return localIotTSimCardCancel } func RegisterIotTSimCardCancel(i IIotTSimCardCancel) { localIotTSimCardCancel = i } func IotTSimCardCancellation() IIotTSimCardCancellation { if localIotTSimCardCancellation == nil { panic("implement not found for interface IIotTSimCardCancellation, forgot register?") } return localIotTSimCardCancellation } func RegisterIotTSimCardCancellation(i IIotTSimCardCancellation) { localIotTSimCardCancellation = i } func IotTSimCardChange() IIotTSimCardChange { if localIotTSimCardChange == nil { panic("implement not found for interface IIotTSimCardChange, forgot register?") } return localIotTSimCardChange } func RegisterIotTSimCardChange(i IIotTSimCardChange) { localIotTSimCardChange = i } func IotTSimCardDataCut() IIotTSimCardDataCut { if localIotTSimCardDataCut == nil { panic("implement not found for interface IIotTSimCardDataCut, forgot register?") } return localIotTSimCardDataCut } func RegisterIotTSimCardDataCut(i IIotTSimCardDataCut) { localIotTSimCardDataCut = i } func IotTSimCardDataStart() IIotTSimCardDataStart { if localIotTSimCardDataStart == nil { panic("implement not found for interface IIotTSimCardDataStart, forgot register?") } return localIotTSimCardDataStart } func RegisterIotTSimCardDataStart(i IIotTSimCardDataStart) { localIotTSimCardDataStart = i } func IotTSimCardDataStop() IIotTSimCardDataStop { if localIotTSimCardDataStop == nil { panic("implement not found for interface IIotTSimCardDataStop, forgot register?") } return localIotTSimCardDataStop } func RegisterIotTSimCardDataStop(i IIotTSimCardDataStop) { localIotTSimCardDataStop = i } func IotTSimCardInbound() IIotTSimCardInbound { if localIotTSimCardInbound == nil { panic("implement not found for interface IIotTSimCardInbound, forgot register?") } return localIotTSimCardInbound } func RegisterIotTSimCardInbound(i IIotTSimCardInbound) { localIotTSimCardInbound = i } func IotTSimCardInfo() IIotTSimCardInfo { if localIotTSimCardInfo == nil { panic("implement not found for interface IIotTSimCardInfo, forgot register?") } return localIotTSimCardInfo } func RegisterIotTSimCardInfo(i IIotTSimCardInfo) { localIotTSimCardInfo = i } func IotTSimCardOutbound() IIotTSimCardOutbound { if localIotTSimCardOutbound == nil { panic("implement not found for interface IIotTSimCardOutbound, forgot register?") } return localIotTSimCardOutbound } func RegisterIotTSimCardOutbound(i IIotTSimCardOutbound) { localIotTSimCardOutbound = i } func IotTSimCardRenew() IIotTSimCardRenew { if localIotTSimCardRenew == nil { panic("implement not found for interface IIotTSimCardRenew, forgot register?") } return localIotTSimCardRenew } func RegisterIotTSimCardRenew(i IIotTSimCardRenew) { localIotTSimCardRenew = i } func IotTSimCardRestart() IIotTSimCardRestart { if localIotTSimCardRestart == nil { panic("implement not found for interface IIotTSimCardRestart, forgot register?") } return localIotTSimCardRestart } func RegisterIotTSimCardRestart(i IIotTSimCardRestart) { localIotTSimCardRestart = i } func IotTSimCardStart() IIotTSimCardStart { if localIotTSimCardStart == nil { panic("implement not found for interface IIotTSimCardStart, forgot register?") } return localIotTSimCardStart } func RegisterIotTSimCardStart(i IIotTSimCardStart) { localIotTSimCardStart = i } func IotTSimCardStock() IIotTSimCardStock { if localIotTSimCardStock == nil { panic("implement not found for interface IIotTSimCardStock, forgot register?") } return localIotTSimCardStock } func RegisterIotTSimCardStock(i IIotTSimCardStock) { localIotTSimCardStock = i } func IotTSimCardStop() IIotTSimCardStop { if localIotTSimCardStop == nil { panic("implement not found for interface IIotTSimCardStop, forgot register?") } return localIotTSimCardStop } func RegisterIotTSimCardStop(i IIotTSimCardStop) { localIotTSimCardStop = i } func IotTSimCardTrafficCutoff() IIotTSimCardTrafficCutoff { if localIotTSimCardTrafficCutoff == nil { panic("implement not found for interface IIotTSimCardTrafficCutoff, forgot register?") } return localIotTSimCardTrafficCutoff } func RegisterIotTSimCardTrafficCutoff(i IIotTSimCardTrafficCutoff) { localIotTSimCardTrafficCutoff = i } func IotTSimCardUnsub() IIotTSimCardUnsub { if localIotTSimCardUnsub == nil { panic("implement not found for interface IIotTSimCardUnsub, forgot register?") } return localIotTSimCardUnsub } func RegisterIotTSimCardUnsub(i IIotTSimCardUnsub) { localIotTSimCardUnsub = i } func IotTSimChannelTemplate() IIotTSimChannelTemplate { if localIotTSimChannelTemplate == nil { panic("implement not found for interface IIotTSimChannelTemplate, forgot register?") } return localIotTSimChannelTemplate } func RegisterIotTSimChannelTemplate(i IIotTSimChannelTemplate) { localIotTSimChannelTemplate = i } func IotTSimChannels() IIotTSimChannels { if localIotTSimChannels == nil { panic("implement not found for interface IIotTSimChannels, forgot register?") } return localIotTSimChannels } func RegisterIotTSimChannels(i IIotTSimChannels) { localIotTSimChannels = i } func IotTSimDiagnose() IIotTSimDiagnose { if localIotTSimDiagnose == nil { panic("implement not found for interface IIotTSimDiagnose, forgot register?") } return localIotTSimDiagnose } func RegisterIotTSimDiagnose(i IIotTSimDiagnose) { localIotTSimDiagnose = i } func IotTSimFlowPackageInfo() IIotTSimFlowPackageInfo { if localIotTSimFlowPackageInfo == nil { panic("implement not found for interface IIotTSimFlowPackageInfo, forgot register?") } return localIotTSimFlowPackageInfo } func RegisterIotTSimFlowPackageInfo(i IIotTSimFlowPackageInfo) { localIotTSimFlowPackageInfo = i } func IotTSimFlowPackagePrice() IIotTSimFlowPackagePrice { if localIotTSimFlowPackagePrice == nil { panic("implement not found for interface IIotTSimFlowPackagePrice, forgot register?") } return localIotTSimFlowPackagePrice } func RegisterIotTSimFlowPackagePrice(i IIotTSimFlowPackagePrice) { localIotTSimFlowPackagePrice = i } func IotTSimFlowPool() IIotTSimFlowPool { if localIotTSimFlowPool == nil { panic("implement not found for interface IIotTSimFlowPool, forgot register?") } return localIotTSimFlowPool } func RegisterIotTSimFlowPool(i IIotTSimFlowPool) { localIotTSimFlowPool = i } func IotTSimPackageCategory() IIotTSimPackageCategory { if localIotTSimPackageCategory == nil { panic("implement not found for interface IIotTSimPackageCategory, forgot register?") } return localIotTSimPackageCategory } func RegisterIotTSimPackageCategory(i IIotTSimPackageCategory) { localIotTSimPackageCategory = i } func IotTSimPoolBindPackage() IIotTSimPoolBindPackage { if localIotTSimPoolBindPackage == nil { panic("implement not found for interface IIotTSimPoolBindPackage, forgot register?") } return localIotTSimPoolBindPackage } func RegisterIotTSimPoolBindPackage(i IIotTSimPoolBindPackage) { localIotTSimPoolBindPackage = i } func IotTSimPoolWarnConfig() IIotTSimPoolWarnConfig { if localIotTSimPoolWarnConfig == nil { panic("implement not found for interface IIotTSimPoolWarnConfig, forgot register?") } return localIotTSimPoolWarnConfig } func RegisterIotTSimPoolWarnConfig(i IIotTSimPoolWarnConfig) { localIotTSimPoolWarnConfig = i } func IotTUpstreamPackage() IIotTUpstreamPackage { if localIotTUpstreamPackage == nil { panic("implement not found for interface IIotTUpstreamPackage, forgot register?") } return localIotTUpstreamPackage } func RegisterIotTUpstreamPackage(i IIotTUpstreamPackage) { localIotTUpstreamPackage = i } func IotTSimWarningConfig() IIotTSimWarningConfig { if localIotTSimWarningConfig == nil { panic("implement not found for interface IIotTSimWarningConfig, forgot register?") } return localIotTSimWarningConfig } func RegisterIotTSimWarningConfig(i IIotTSimWarningConfig) { localIotTSimWarningConfig = i }