Kaynağa Gözat

OrganizationInfoMapper的sql语句修改

liyisong 4 yıl önce
ebeveyn
işleme
019a3c6436

+ 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>