ソースを参照

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

wangwl 2 ヶ月 前
コミット
7d6e6e90cb
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      ruoyi-equity/src/main/resources/mapper/equity/ShareholderInfoMapper.xml

+ 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