feat:完善项目
This commit is contained in:
@ -17,7 +17,7 @@ type SysAboutInfo struct {
|
||||
|
||||
func (m *SysAbout) About(where ...*model.ModelWhere) ([]*SysAboutInfo, error) {
|
||||
db := orm.GetDB().Table(m.TableName()+" AS a").
|
||||
Select("a.id", "a.parent_id", "a.title", "t.province", "t.city").
|
||||
Select("a.id", "a.parent_id", "a.title", "t.province", "t.city", "a.updated_at").
|
||||
Joins(fmt.Sprintf("LEFT JOIN %s AS t ON a.tenant_id = t.id", model.NewSysTenant().TableName())).
|
||||
Where("a.is_deleted = ?", model.DeleteStatusForNot)
|
||||
|
||||
|
Reference in New Issue
Block a user