调整indexAction路径,允许用户自定义接收的slice,配合gorm只能搜索

This commit is contained in:
linwenxiang committed 2020-08-31 21:56:29 +08:00
1 parent b98997a69f
commit 4e39e915ea
4 files changed
+9 -13

No files matched your search

+2 -7
View File
@@ -33,20 +33,15 @@ func (e *SysJob) Generate() model.ActiveRecord {
return &o
}
func (e *SysJob) GenerateList() interface{} {
list := make([]SysJob, 0)
return &list
}
func (e *SysJob) GetId() interface{} {
return e.JobId
}
func (e *SysJob) SetCreateBy(createBy string){
func (e *SysJob) SetCreateBy(createBy string) {
e.CreateBy = createBy
}
func (e *SysJob) SetUpdateBy(updateBy string){
func (e *SysJob) SetUpdateBy(updateBy string) {
e.UpdateBy = updateBy
}