-------------------------------------------------------------------------------- -- user_manage sql dml -------------------------------------------------------------------------------- -- name: GetUserById :one SELECT * FROM p_user WHERE id=$1 AND is_del=0;