feat:完善项目

This commit is contained in:
henry
2022-01-14 17:09:06 +08:00
parent cf68cfbd96
commit 9a41d7ff12
16 changed files with 646 additions and 38 deletions

View File

@ -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)