|
@@ -181,8 +181,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<update id="updateShareholderInfo" parameterType="ShareholderInfo">
|
|
|
update e_shareholder_info
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
+ ancestors = #{ancestors},
|
|
|
<if test="parentId != null">parent_id = #{parentId},</if>
|
|
|
- <if test="ancestors != null">ancestors = #{ancestors},</if>
|
|
|
<if test="shareholderName != null">shareholder_name = #{shareholderName},</if>
|
|
|
<if test="shareholderType != null">shareholder_type = #{shareholderType},</if>
|
|
|
<if test="shareholdingRatio != null">shareholding_ratio = #{shareholdingRatio},</if>
|
|
@@ -198,6 +198,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</trim>
|
|
|
where shareholder_id = #{shareholderId}
|
|
|
</update>
|
|
|
+ <update id="exitShareholderInfo" parameterType="com.ruoyi.equity.domain.ShareholderInfo">
|
|
|
+ update e_shareholder_info
|
|
|
+ set
|
|
|
+ ancestors = #{ancestors},
|
|
|
+ parent_id = #{parentId},
|
|
|
+ shareholder_type = #{shareholderType},
|
|
|
+ shareholding_ratio = #{shareholdingRatio},
|
|
|
+ node_type = #{nodeType},
|
|
|
+ remark = #{remark}
|
|
|
+ where shareholder_id = #{shareholderId}
|
|
|
+ </update>
|
|
|
|
|
|
|
|
|
<delete id="deleteShareholderInfoByShareholderId" parameterType="Long">
|