Skip to content

Commit

Permalink
Merge pull request #429 from go-admin-team/1.3.x
Browse files Browse the repository at this point in the history
fix🐛 修复查询bug
  • Loading branch information
wenjianzhang authored May 28, 2021
2 parents 7d7fc53 + 4c127c8 commit 1c0060f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/admin/service/dto/sys_content.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import (

type SysContentSearch struct {
dto.Pagination `search:"-"`
Name string `form:"name" search:"type:exact;column:name;table:sys_category" comment:"名称"`
Status string `form:"status" search:"type:exact;column:status;table:sys_category" comment:"状态"`
CateId string `form:"cateId" search:"type:exact;column:cate_id;table:sys_content" comment:"分类"`
Name string `form:"name" search:"type:contains;column:name;table:sys_content" comment:"名称"`
Status string `form:"status" search:"type:exact;column:status;table:sys_content" comment:"状态"`
}

func (m *SysContentSearch) GetNeedSearch() interface{} {
Expand Down

0 comments on commit 1c0060f

Please sign in to comment.