2bec257289
iotlcm-worker-svr:异步执行中枢(RabbitMQ 消费者 + 全量同步编排)。 - Go module:iotlcm-worker-svr → git.5iot.com/iotlcm-public/iotlcm-worker-svr(214 文件) - 凭据与内部标识脱敏:MySQL/Redis 凭据、私网与生产 IP、内网域名、 库名 xiujie_admin → iotlcm、哨兵名占位 - 159 处真实手机号 → 合法 11 位编造号(保留号段与后 4 位,维持互异, 不破坏「校验 MSISDN 格式」等测试断言) - 移除内部资产:CI 触发器、Jenkins 触发测试文档、预演门禁与镜像 digest 记录 - Dockerfile 改用公共基础镜像(golang:1.25-alpine → alpine:3.23), 移除写死的 git 凭据 - README 重写(架构/全量同步模型/配置/已知失败),补 Apache-2.0 LICENSE,LF 行尾 + .gitattributes 已知:3 个测试包在源仓同一提交上同样失败(client/upstream、 service/allocate、service/inbound),属既有缺陷,本仓未引入亦未修复。
47 lines
3.9 KiB
Go
47 lines
3.9 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/encoding/gjson"
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// TResourceBatchDownload is the golang structure for table t_resource_batch_download.
|
|
type TResourceBatchDownload struct {
|
|
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
|
BatchNo string `json:"batchNo" orm:"batch_no" description:"批次编号(全局唯一)"`
|
|
TaskName string `json:"taskName" orm:"task_name" description:"任务名称"`
|
|
ResourceType int `json:"resourceType" orm:"resource_type" description:"资源类型 枚举"`
|
|
ExportScene int `json:"exportScene" orm:"export_scene" description:"导出场景 枚举"`
|
|
QueryParams *gjson.Json `json:"queryParams" orm:"query_params" description:"导出查询条件快照"`
|
|
TotalCount int `json:"totalCount" orm:"total_count" description:"预计导出总条数"`
|
|
SuccessCount int `json:"successCount" orm:"success_count" description:"已成功导出条数"`
|
|
FailCount int `json:"failCount" orm:"fail_count" description:"失败条数"`
|
|
DownloadStatus int `json:"downloadStatus" orm:"download_status" description:"下载状态 枚举"`
|
|
OssId int64 `json:"ossId" orm:"oss_id" description:"OSS文件ID"`
|
|
FileName string `json:"fileName" orm:"file_name" description:"导出文件名"`
|
|
FileExt string `json:"fileExt" orm:"file_ext" description:"文件扩展名"`
|
|
FileUrl string `json:"fileUrl" orm:"file_url" description:"文件访问地址"`
|
|
FilePath string `json:"filePath" orm:"file_path" description:"服务器本地路径"`
|
|
FileSize int64 `json:"fileSize" orm:"file_size" description:"文件大小(字节)"`
|
|
FileMd5 string `json:"fileMd5" orm:"file_md5" description:"文件MD5"`
|
|
DownloadCount int `json:"downloadCount" orm:"download_count" description:"下载次数"`
|
|
LastDownloadTime *gtime.Time `json:"lastDownloadTime" orm:"last_download_time" description:"最后下载时间"`
|
|
MaxDownloadCount int `json:"maxDownloadCount" orm:"max_download_count" description:"最大下载次数限制"`
|
|
ErrorMessage string `json:"errorMessage" orm:"error_message" description:"失败原因"`
|
|
DeptId int64 `json:"deptId" orm:"dept_id" description:"所属机构ID"`
|
|
StartTime *gtime.Time `json:"startTime" orm:"start_time" description:"任务开始时间"`
|
|
FinishTime *gtime.Time `json:"finishTime" orm:"finish_time" description:"任务完成时间"`
|
|
ExpireTime *gtime.Time `json:"expireTime" orm:"expire_time" description:"文件过期时间"`
|
|
Remark string `json:"remark" orm:"remark" description:"备注"`
|
|
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
|
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
|
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
|
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
|
}
|