This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-08-09 00:04:29 +08:00
parent ba4169807c
commit 0e5ac9d741
2 changed files with 7 additions and 0 deletions

View File

@ -44,3 +44,6 @@ func (s Table) RewriteAppend(m *ice.Message, arg ...string) *ice.Message {
s.Table.RewriteAppend(m)
return m
}
func (s Table) SelectJoinCompany(m *ice.Message) *ice.Message {
return s.SelectJoin(m, company{}, model.NAME, model.CITY_UID)
}

View File

@ -18,3 +18,7 @@ func (s company) FindOrCreateByName(m *ice.Message, arg ...string) {
}
func init() { ice.TeamCtxCmd(company{}) }
type Company struct{ company }
func init() { ice.TeamCtxCmd(Company{}) }