Explorar el Código

获取股东下拉列表时,排除下层2

wangwl hace 2 meses
padre
commit
7d6e6e90cb

+ 1 - 1
ruoyi-equity/src/main/resources/mapper/equity/ShareholderInfoMapper.xml

@@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         from e_shareholder_info
         where node_type != 2
         <if test="state == 1 ">
-           and parent_id is not null
+           and parent_id is null
         </if>
         <if test="state == 2 ">
            and parent_id is not null