Commit c4b5f493 authored by Bright1996's avatar Bright1996

用户行为审计调整

parent 8b8822c7
......@@ -109,6 +109,7 @@ func (s *LogManagement) LogUserBehaviorList(params *request.LogUserBehaviorListR
modelObj.Join("INNER", []string{"system_user", "su"}, "sub.user_id = su.id")
modelObj.Join("INNER", []string{"system_organization", "so"}, "so.organization_id = so.organization_id")
modelObj.Select("sub.*, su.system_account, su.phone, so.name as org_name")
modelObj.Where("sub.is_deleted = 0 ")
// 条件查询
if params.Search != "" {
keyword := util.SpecialEscape(params.Search)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment