sync: 同步 v1.0.4 并脱敏配置与镜像

This commit is contained in:
MiFaZhan
2026-10-29 14:36:49 +08:00
parent 743e8e6e6e
commit 2206a393f7
516 changed files with 18119 additions and 2253 deletions
+32
View File
@@ -19,6 +19,18 @@ type (
List(ctx context.Context, in *model.BatchExecutionLogListParam) (list []*model.BatchExecutionLogListModel, totalCount int, err error)
Summary(ctx context.Context, in *model.BatchExecutionLogDetailParam) (res *model.BatchExecutionLogDetailModel, err error)
DetailList(ctx context.Context, in *model.BatchDetailListParam) (list []*model.BatchDetailListModel, totalCount int, err error)
// SyncReview 手动同步待核查批次的上游执行结果(只读补查既有受理号,不重发办理)
SyncReview(ctx context.Context, in *model.BatchExecutionLogSyncReviewParam) (res *model.BatchExecutionLogSyncReviewModel, err error)
}
ICommonDownloadCenter interface {
// List 下载中心列表(K2 仅本人 + K1 业务权限过滤)
List(ctx context.Context, in *model.DownloadCenterListParam) (list []*model.DownloadCenterListModel, totalCount int, err error)
// Recent 右上角全局入口:最近任务与进行中/已完成数量
Recent(ctx context.Context, in *model.DownloadCenterRecentParam) (res *model.DownloadCenterRecentModel, err error)
// Download 下载导出文件,直接写文件流
Download(ctx context.Context, in *model.DownloadCenterTaskParam) (err error)
// Remove 删除导出任务与文件
Remove(ctx context.Context, in *model.DownloadCenterTaskParam) (err error)
}
ICommonBatchMain interface {
// Model 批次主表ORM模型
@@ -26,6 +38,8 @@ type (
// List 获取批次主表列表
List(ctx context.Context, in *model.BatchMainListParam) (list []*model.BatchMainListModel, totalCount int, err error)
SuccessList(ctx context.Context, in *model.BatchMainSuccessListParam) (list []*model.BatchMainSuccessListModel, totalCount int, err error)
// ExportWarehousing 导出入库批次列表(数据与入库管理页一致)
ExportWarehousing(ctx context.Context, in *model.BatchMainSuccessListParam) (err error)
ListCards(ctx context.Context, in *model.BatchCardListParam) (list []*model.BatchCardListModel, totalCount int, err error)
// Export 导出批次主表
Export(ctx context.Context, in *model.BatchMainListParam) (err error)
@@ -222,6 +236,12 @@ type (
Delete(ctx context.Context, in *model.TMessageLogDeleteParam) (err error)
// View 获取消息日志指定信息,并标记已读
View(ctx context.Context, in *model.TMessageLogViewParam) (res *model.TMessageLogViewModel, err error)
// UnreadList 获取当前登录用户的未读消息通知
UnreadList(ctx context.Context, in *model.TMessageLogUnreadListParam) (list []*model.TMessageLogUnreadListModel, totalCount int, err error)
// Read 标记当前登录用户指定消息已读
Read(ctx context.Context, in *model.TMessageLogReadParam) (err error)
// ReadAll 标记当前登录用户全部消息已读
ReadAll(ctx context.Context, in *model.TMessageLogReadAllParam) (err error)
}
ICommonTNotifyLog interface {
// Model 通知日志ORM模型
@@ -316,6 +336,7 @@ type (
var (
localCommonBatchExecutionLog ICommonBatchExecutionLog
localCommonDownloadCenter ICommonDownloadCenter
localCommonBatchMain ICommonBatchMain
localCommonAgentBalance ICommonAgentBalance
localCommonTBalanceDetail ICommonTBalanceDetail
@@ -345,6 +366,17 @@ func RegisterCommonBatchExecutionLog(i ICommonBatchExecutionLog) {
localCommonBatchExecutionLog = i
}
func CommonDownloadCenter() ICommonDownloadCenter {
if localCommonDownloadCenter == nil {
panic("implement not found for interface ICommonDownloadCenter, forgot register?")
}
return localCommonDownloadCenter
}
func RegisterCommonDownloadCenter(i ICommonDownloadCenter) {
localCommonDownloadCenter = i
}
func CommonBatchMain() ICommonBatchMain {
if localCommonBatchMain == nil {
panic("implement not found for interface ICommonBatchMain, forgot register?")