123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425 |
- package models
- import (
- "eta_gn/eta_api/models/ai_summary"
- "eta_gn/eta_api/models/aimod"
- "eta_gn/eta_api/models/data_manage"
- "eta_gn/eta_api/models/data_manage/chart_theme"
- "eta_gn/eta_api/models/data_manage/cross_variety"
- "eta_gn/eta_api/models/data_manage/data_manage_permission"
- "eta_gn/eta_api/models/data_manage/edb_refresh"
- "eta_gn/eta_api/models/data_manage/excel"
- future_good2 "eta_gn/eta_api/models/data_manage/future_good"
- "eta_gn/eta_api/models/data_manage/supply_analysis"
- "eta_gn/eta_api/models/fe_calendar"
- "eta_gn/eta_api/models/report"
- "eta_gn/eta_api/models/report_approve"
- "eta_gn/eta_api/models/sandbox"
- "eta_gn/eta_api/models/semantic_analysis"
- "eta_gn/eta_api/models/smart_report"
- "eta_gn/eta_api/models/speech_recognition"
- "eta_gn/eta_api/models/system"
- _ "github.com/go-sql-driver/mysql"
- "github.com/beego/beego/v2/client/orm"
- )
- func init() {
-
- orm.RegisterModel(
- new(Classify),
- new(Resource),
- new(PptV2),
- new(PptV2PublishRecord),
- new(PptV2SaveLog),
- new(PptV2Group),
- new(PptV2GroupMapping),
- new(PptV2Grant),
- new(ResearchVarietyTagRelation),
- new(ReportPptImg),
- )
-
- initSystem()
-
- initReport()
-
- initSandbox()
-
- initShEdbData()
-
- initEdbData()
-
- initChart()
-
- initFutureGood()
-
- initSemanticAnalysis()
-
- initSupplyAnalysis()
-
- initMultipleGraphConfig()
-
- initBusinessConf()
-
- initChartFramework()
-
- initOutLink()
-
- initSmartReport()
-
- initExcel()
-
- initCrossVariety()
-
- initAi()
-
- initReportApprove()
-
- initChartTheme()
-
- initEdbRefresh()
-
- initSpeechRecognition()
-
- initDataMangePerMission()
-
- initFeCalendar()
-
- initFactorEdbSeries()
- }
- func initSystem() {
- orm.RegisterModel(
- new(system.SysUserLoginRecord),
- new(system.SysSession),
- new(system.SysDepartment),
- new(system.SysGroup),
- new(system.SysRoleMenu),
- new(system.Admin),
- new(system.SysRole),
- new(system.SysMenuButton),
- new(system.SysRoleButton),
- new(system.SysRoleAdmin),
- new(system.AdminConfig),
- new(system.AdminOperateRecord),
- new(system.AdminVerifyCodeRecord),
- )
- }
- func initReport() {
- orm.RegisterModel(
- new(Report),
- new(ReportViewRecord),
- new(ChartPermissionSearchKeyWordMapping),
- new(ReportChapter),
- new(ReportChapterTicker),
- new(ReportChapterTypePermission),
- new(ChartPermission),
- new(YbPcSuncode),
- new(YbSuncodePars),
- new(ReportAuthor),
- new(ClassifyMenu),
- new(ClassifyMenuRelation),
- new(ChartPermissionChapterMapping),
- new(ReportChapterType),
- new(ReportStateRecord),
- new(report.ReportGrant),
- new(report.ReportChapterGrant),
- new(report.ReportChapterPermissionMapping),
- )
- }
- func initSandbox() {
-
- orm.RegisterModel(
- new(sandbox.Sandbox),
- new(sandbox.SandboxVersion),
- new(sandbox.SandboxDraft),
- new(sandbox.SandboxClassify),
- )
- }
- func initShEdbData() {
- orm.RegisterModel(
- new(Edbdata),
- new(EdbdataDeleteRecord),
- new(EdbdataImportFail),
- new(EdbImportFail),
- new(Edbinfo),
- new(data_manage.ExcelStyle),
- new(data_manage.ExcelEdbdataMapping),
- new(EdbinfoOpRecord),
- )
- }
- func initEdbData() {
- orm.RegisterModel(
- new(data_manage.EdbClassify),
- new(data_manage.EdbInfo),
- new(data_manage.ManualUserClassify),
- new(data_manage.EdbdataClassify),
- new(data_manage.ManualUser),
- new(data_manage.EdbInfoCalculate),
- new(data_manage.SearchKeyword),
- new(data_manage.EdbInfoLog),
- new(data_manage.EdbInfoRecord),
- new(data_manage.EdbInfoCalculateMapping),
- new(data_manage.PredictEdbConf),
- new(data_manage.PredictEdbRuleData),
- new(data_manage.TradePositionDalianTop),
- new(data_manage.TradePositionZhengzhouTop),
- new(data_manage.TradePositionCffexTop),
- new(data_manage.TradePositionShanghaiTop),
- new(data_manage.TradePositionIneTop),
- new(data_manage.EdbDataInsertConfig),
- new(data_manage.EdbInfoNoPermissionAdmin),
- new(data_manage.EdbTerminal),
- new(data_manage.BaseFromEdbMapping),
- new(data_manage.EdbInfoRelation),
- )
- }
- func initChart() {
- orm.RegisterModel(
- new(data_manage.ChartClassify),
- new(data_manage.ChartInfo),
- new(data_manage.ChartEdbMapping),
- new(data_manage.MyChartClassify),
- new(data_manage.MyChart),
- new(data_manage.MyChartLog),
- new(data_manage.MyChartClassifyMapping),
- new(data_manage.ChartInfoLog),
- new(data_manage.ChartInfoCorrelation),
- new(data_manage.ChartSeries),
- new(data_manage.ChartSeriesEdbMapping),
- )
- }
- func initFutureGood() {
-
- orm.RegisterModel(
- new(future_good2.FutureGoodEdbInfo),
- new(future_good2.FutureGoodEdbData),
-
- new(future_good2.ChartInfoFutureGoodProfit),
- )
- }
- func initSemanticAnalysis() {
- orm.RegisterModel(
- new(semantic_analysis.SaLabel),
- new(semantic_analysis.SaDocClassify),
- new(semantic_analysis.SaDoc),
- new(semantic_analysis.SaDocSection),
- new(semantic_analysis.SaCompareClassify),
- new(semantic_analysis.SaCompare),
- new(semantic_analysis.SaCompareDoc),
- new(semantic_analysis.SaCompareLabel),
- new(semantic_analysis.SaCompareSearchKeyword),
- )
- }
- func initSupplyAnalysis() {
- orm.RegisterModel(
- new(supply_analysis.Variety),
- new(supply_analysis.VarietyAdminPermission),
- new(supply_analysis.VarietyEdbInfo),
- new(supply_analysis.VarietyPlant),
- )
- }
- func initMultipleGraphConfig() {
-
- orm.RegisterModel(
- new(data_manage.MultipleGraphConfig),
- new(data_manage.MultipleGraphConfigChartMapping),
- new(data_manage.MultipleGraphConfigEdbMapping),
- )
- }
- func initBusinessConf() {
- orm.RegisterModel(
- new(BusinessConf),
- new(BusinessConfOperationRecord),
- )
- }
- func initOutLink() {
- orm.RegisterModel(
- new(OutLink))
- }
- func initChartFramework() {
- orm.RegisterModel(
- new(data_manage.ChartFramework),
- new(data_manage.ChartFrameworkNode),
- )
- }
- func initExcel() {
- orm.RegisterModel(
- new(excel.ExcelClassify),
- new(excel.ExcelInfo),
- new(excel.ExcelDraft),
- new(excel.ExcelSheet),
- new(excel.ExcelSheetData),
- new(excel.ExcelEdbMapping),
- new(excel.ExcelWorker),
- new(excel.ExcelChartEdb),
- new(excel.ExcelChartData),
- new(excel.ExcelInfoRuleMapping),
- )
- }
- func initSmartReport() {
- orm.RegisterModel(
- new(smart_report.SmartReportResource),
- )
- }
- func initCrossVariety() {
- orm.RegisterModel(
- new(cross_variety.ChartVariety),
- new(cross_variety.ChartTag),
- new(cross_variety.ChartTagVariety),
- new(cross_variety.ChartVarietyMapping),
- new(cross_variety.ChartInfoCrossVariety),
- )
- }
- func initAi() {
- orm.RegisterModel(
- new(aimod.AiChatTopic),
- new(aimod.AiChat),
- new(aimod.FileUploadRecord),
- new(ai_summary.AiSummaryClassify),
- new(ai_summary.AiSummary),
- new(ai_summary.AiPrompt),
- )
- }
- func initReportApprove() {
- orm.RegisterModel(
- new(report_approve.ReportApprove),
- new(report_approve.ReportApproveFlow),
- new(report_approve.ReportApproveNode),
- new(report_approve.ReportApproveRecord),
- new(report_approve.ReportApproveMessage),
- )
- }
- func initChartTheme() {
- orm.RegisterModel(
- new(chart_theme.ChartTheme),
- new(chart_theme.ChartThemeType),
- new(chart_theme.ChartThemeDefaultData),
- )
- }
- func initEdbRefresh() {
- orm.RegisterModel(
- new(edb_refresh.EdbRefreshSource),
- new(edb_refresh.EdbRefreshDefaultConfig),
- new(edb_refresh.EdbRefreshConfig),
- new(edb_refresh.EdbRefreshMapping),
- )
- }
- func initSpeechRecognition() {
- orm.RegisterModel(
- new(speech_recognition.SpeechRecognition),
- new(speech_recognition.SpeechRecognitionApiLog),
- new(speech_recognition.SpeechRecognitionContent),
- new(speech_recognition.SpeechRecognitionMenu),
- new(speech_recognition.SpeechRecognitionTag),
- new(speech_recognition.SpeechRecognitionTagMenu),
- new(speech_recognition.SpeechRecognitionTagMapping),
- )
- }
- func initDataMangePerMission() {
- orm.RegisterModel(
- new(data_manage_permission.EdbInfoPermission),
- new(data_manage_permission.EdbClassifyPermission),
- new(data_manage_permission.ChartInfoPermission),
- new(data_manage_permission.ChartClassifyPermission),
- new(data_manage_permission.ExcelInfoPermission),
- new(data_manage_permission.ExcelClassifyPermission),
- new(data_manage_permission.DataPermissionMessage),
- new(data_manage_permission.DataPermissionMoveRecord),
- new(data_manage_permission.EdbInfoPermissionNoAuthRecord),
- new(data_manage_permission.ChartInfoPermissionNoAuthRecord),
- new(data_manage_permission.ExcelInfoPermissionNoAuthRecord),
- new(data_manage_permission.EdbInfoClassifyPermissionNoAuthRecord),
- new(data_manage_permission.ChartInfoClassifyPermissionNoAuthRecord),
- new(data_manage_permission.ExcelInfoClassifyPermissionNoAuthRecord),
- new(data_manage_permission.DataPermissionClassifyNoAuthRecord),
- new(data_manage_permission.DataPermissionNoAuthRecord),
- )
- }
- func initFeCalendar() {
- orm.RegisterModel(
- new(fe_calendar.FeCalendarMatter),
- )
- }
- func initFactorEdbSeries() {
- orm.RegisterModel(
- new(data_manage.FactorEdbSeries),
- new(data_manage.FactorEdbSeriesChartMapping),
- new(data_manage.FactorEdbSeriesMapping),
- new(data_manage.FactorEdbSeriesCalculateData),
- new(data_manage.FactorEdbSeriesCalculateDataQjjs),
- )
- }
|