Explorar o código

增加顶级机构

hym %!s(int64=4) %!d(string=hai) anos
pai
achega
14cb10dcd2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      user_center/src/main/resources/mapper/OrgMapper.xml

+ 1 - 1
user_center/src/main/resources/mapper/OrgMapper.xml

@@ -277,6 +277,6 @@
         select a.ORG_TYPE ,  b.ORG_TYPE parentType,c.ORG_TYPE childType
          from uims_org a left join uims_org b on a.PARENT_ORG_ID=b.ID
         left join uims_org c on a.id=c.PARENT_ORG_ID
-        where a.id=#{id}
+        where a.id=#{id} limit 1
     </select>
 </mapper>