Преглед изворни кода

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>