修复bug

This commit is contained in:
hoteas 2021-10-18 04:49:55 +08:00
parent deb3e54cc3
commit 5c775b4539
4 changed files with 10 additions and 2 deletions

View File

@ -778,6 +778,9 @@ func (that *MakeCode) Search(table string, userData Map, req *http.Request, db *
data[table+"."+searchItemName] = reqValue data[table+"."+searchItemName] = reqValue
} }
if sort["ORDER"] == nil {
sort["ORDER"] = table + ".id DESC"
}
where := Map{} where := Map{}

View File

@ -5,7 +5,7 @@ import (
. "../../../hotime/common" . "../../../hotime/common"
) )
var ID = "9f282d751e499876df730d492e36d335" var ID = "ede7cc05f2e6c63b4572883f4b9a9853"
// Project 管理端项目 // Project 管理端项目
var Project = Proj{ var Project = Proj{

Binary file not shown.

View File

@ -1,5 +1,5 @@
{ {
"id": "9f282d751e499876df730d492e36d335", "id": "ede7cc05f2e6c63b4572883f4b9a9853",
"label": "HoTime管理平台", "label": "HoTime管理平台",
"menus": [ "menus": [
{ {
@ -135,6 +135,11 @@
"sortable": true, "sortable": true,
"type": "number", "type": "number",
"value": "name" "value": "name"
},
{
"label": "手机号",
"name": "phone",
"type": "text"
} }
], ],
"label": "人员管理", "label": "人员管理",