智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
src/main/java/org/springblade/modules/shareholder/mapper/ShareholderMapper.xml
@@ -6,21 +6,24 @@
    <resultMap id="shareholderResultMap" type="org.springblade.modules.shareholder.entity.Shareholder">
        <id column="id" property="id"/>
        <result column="shareholder" property="shareholder"/>
        <result column="
shareholdingRatio" property="
shareholdingratio"/>
        <result column="shareholdingratio" property="shareholdingratio"/>
        <result column="beneficial" property="beneficial"/>
        <result column="capital" property="capital"/>
        <result column="capitalTime" property="capitaltime"/>
        <result column="cardid" property="cardid"/>
        <result column="cell" property="cell"/>
        <result column="creditCode" property="creditcode"/>
        <result column="dept_id" property="deptId"/>
    </resultMap>
    <select id="selectShareholderPage" resultMap="shareholderResultMap">
        select * from sys_shareholder where is_deleted = 0
        select * from sys_shareholder
    </select>
    <select id="selectShareholderInfo" resultMap="shareholderResultMap">
        select * from sys_shareholder where dept_id=#{deptId}
    </select>
</mapper>