xiaoyong931011
2023-08-22 cd068063ca4660c4cc456a50dd87db26ab10e7d9
src/main/resources/mapper/dapp/MatrixTreeNodeMapper.xml
@@ -11,4 +11,10 @@
    <select id="selectByTreeNode" resultType="cc.mrbird.febs.dapp.entity.MatrixTreeNode">
        select * from matrix_tree_node where tree_node=#{treeNode}
    </select>
    <select id="selectByParentNodeAndType" resultType="cc.mrbird.febs.dapp.entity.MatrixTreeNode">
        select * from matrix_tree_node
            where tree_node = #{parentNodeMemberId}
              and type = #{nodeType}
    </select>
</mapper>