|
@@ -8,6 +8,7 @@ import (
|
|
|
"hongze/hongze_mobile_admin/models/tables/admin_record"
|
|
|
"hongze/hongze_mobile_admin/models/tables/approval_flow"
|
|
|
"hongze/hongze_mobile_admin/models/tables/approval_flow_node"
|
|
|
+ "hongze/hongze_mobile_admin/models/tables/business_trip"
|
|
|
"hongze/hongze_mobile_admin/models/tables/chart_permission"
|
|
|
"hongze/hongze_mobile_admin/models/tables/company"
|
|
|
"hongze/hongze_mobile_admin/models/tables/company_approval"
|
|
@@ -121,6 +122,9 @@ func init() {
|
|
|
|
|
|
// 价格驱动相关
|
|
|
initPriceDriven()
|
|
|
+
|
|
|
+ //出差相关
|
|
|
+ initBusinessTrip()
|
|
|
}
|
|
|
|
|
|
// initCommunity 社区问答相关
|
|
@@ -148,3 +152,10 @@ func initPriceDriven() {
|
|
|
}
|
|
|
|
|
|
func InitDb() {}
|
|
|
+
|
|
|
+// 出差
|
|
|
+func initBusinessTrip() {
|
|
|
+ orm.RegisterModel(
|
|
|
+ new(business_trip.BusinessApply),
|
|
|
+ )
|
|
|
+}
|