Преглед на файлове

获取股东下拉列表时,排除下层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