X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql-classes.lisp;h=b1373f004d8f14140bc9d1e5d10ed746a8e3f54d;hb=0f17ab33885d41f4aceccb5d9281bd14d27d63a5;hp=912a3fc37fae6cd7e6dcba8344389a128cac7d38;hpb=d0a199def3bf3f5fb569db92089e7acdb421df8a;p=umlisp.git diff --git a/sql-classes.lisp b/sql-classes.lisp index 912a3fc..b1373f0 100644 --- a/sql-classes.lisp +++ b/sql-classes.lisp @@ -563,7 +563,7 @@ is OBJNAME from TABLE where WHERE-NAME field = WHERE-VALUE with FIELDS" (defun find-ustr-cuisui (cuisui &key (srl *current-srl*)) "Return the single ustr for cuisui" (collect-umlisp-query (mrconso (cui lui sui stt str suppress ksuilrl) srl kcuisui - cuisui :lrl lsuilrl :single t) + cuisui :lrl ksuilrl :single t) (make-instance 'ustr :sui sui :cui cui :cuisui cuisui :lui (ensure-integer lui) :stt stt :str str :suppress suppress :lrl (ensure-integer ksuilrl)))) @@ -911,8 +911,8 @@ is OBJNAME from TABLE where WHERE-NAME field = WHERE-VALUE with FIELDS" only-exact-if-match limit &key extra-lookup-args) (let ((uobjs '())) (dolist (word (delimited-string-to-list str #\space)) - (setq uobjs (append uobjs - (kmrcl:flatten (apply obj-lookup-fun word :srl srl extra-lookup-args))))) + (setq uobjs (nconc uobjs + (kmrcl:flatten (apply obj-lookup-fun word :srl srl extra-lookup-args))))) (let ((sorted (funcall sort-fun str (delete-duplicates uobjs :test #'= :key key))))