|
@@ -196,7 +196,7 @@ type SandboxListItem struct {
|
|
|
// GetList 获取沙盘列表页
|
|
|
func GetList(condition string, pars []interface{}, startSize, pageSize int) (total int, list []*Sandbox, err error) {
|
|
|
o := orm.NewOrmUsingDB("data")
|
|
|
- sql := "select a.sandbox_id,a.name,a.code,a.pic_url,a.op_user_id,a.op_user_name,a.modify_time,a.create_time from sandbox as a where 1=1 AND a.is_delete = 0 "
|
|
|
+ sql := "select a.sandbox_id,a.name,a.code,a.pic_url,a.sys_user_id,a.sys_user_name,a.modify_time,a.create_time from sandbox as a where 1=1 AND a.is_delete = 0 "
|
|
|
sql += condition
|
|
|
sql += ` order by a.modify_time desc,a.sandbox_id desc`
|
|
|
|