mirror of
https://shylinux.com/x/enterprise
synced 2025-04-26 01:24:06 +08:00
add some
This commit is contained in:
parent
ba4169807c
commit
0e5ac9d741
@ -44,3 +44,6 @@ func (s Table) RewriteAppend(m *ice.Message, arg ...string) *ice.Message {
|
|||||||
s.Table.RewriteAppend(m)
|
s.Table.RewriteAppend(m)
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
func (s Table) SelectJoinCompany(m *ice.Message) *ice.Message {
|
||||||
|
return s.SelectJoin(m, company{}, model.NAME, model.CITY_UID)
|
||||||
|
}
|
||||||
|
@ -18,3 +18,7 @@ func (s company) FindOrCreateByName(m *ice.Message, arg ...string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() { ice.TeamCtxCmd(company{}) }
|
func init() { ice.TeamCtxCmd(company{}) }
|
||||||
|
|
||||||
|
type Company struct{ company }
|
||||||
|
|
||||||
|
func init() { ice.TeamCtxCmd(Company{}) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user