浏览代码

OrganizationInfoMapper的sql语句修改

liyisong 4 年之前
父节点
当前提交
019a3c6436
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ttc-backen/src/main/resources/mapper/OrganizationInfoMapper.xml

+ 1 - 1
ttc-backen/src/main/resources/mapper/OrganizationInfoMapper.xml

@@ -260,7 +260,7 @@
     <select id="getOrgListByCodeAndNameAndNode1" resultType="cn.ubitech.ttc.entity.OrganizationInfo">
         select * from organization_info where id in (
         select companyid from company_node_lk where companyid in(
-        select id from organization_info where name = #{orgname} or orgcode = #{orgcode}) AND comefrom = #{noe})
+        select id from organization_info where name = #{orgname} or orgcode = #{orgcode}) AND comefrom = #{node})
     </select>
 
 </mapper>