feat:完善项目信息
This commit is contained in:
@ -36,7 +36,7 @@ type (
|
||||
// Company 公司企业信息
|
||||
func (m *ManageCompany) Company(id uint64) (*ManageCompanyDetail, error) {
|
||||
db := orm.GetDB().Table(m.TableName()+" AS c").
|
||||
Select("c.*", "t.province", "t.city").
|
||||
Select("c.*").
|
||||
Joins(fmt.Sprintf("LEFT JOIN %s AS t ON c.tenant_id = t.id", model.NewSysTenant().TableName())).
|
||||
Where("c.id = ?", id)
|
||||
|
||||
|
Reference in New Issue
Block a user