完善分页开关
This commit is contained in:
@@ -117,6 +117,7 @@ type funDef struct {
|
||||
Em []EmInfo // index 列表
|
||||
Primary []FList // primary unique
|
||||
Index []FList // index
|
||||
IsOutPage bool // 是否开启分页
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -349,6 +349,7 @@ func (m *_Model) generateFunc() (genOut []GenOutInfo) {
|
||||
// wxw 2021.2.26 17:17
|
||||
var data funDef
|
||||
data.TableName = tab.Name
|
||||
data.IsOutPage = config.GetIsOutPage() // 添加分页开关
|
||||
tab.Name = getTableNameWithPrefix(tab.Name)
|
||||
|
||||
data.StructName = getCamelName(tab.Name)
|
||||
|
||||
Reference in New Issue
Block a user