소스 검색

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>