tangzy
2021-07-09 0914ca657bc604a23f9e6ef8d030259066e3bfec
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -22,6 +22,7 @@
        <result column="registration" property="registration"/>
        <result column="industry" property="industry"/>
        <result column="tenantId" property="tenantid"/>
        <result column="stats" property="stats"/>
    </resultMap>
@@ -33,6 +34,19 @@
        <if test="information.representative!=null and information.representative!=''">
            and representative like concat(concat('%', #{information.representative}),'%')
        </if>
        <if test="information.stats!=null and information.stats!=''">
            and stats=#{stats}
        </if>
    </select>
    <delete id="deleteIn">
        delete from  sys_information where creditCode=#{creditcode}
    </delete>
    <delete id="deleteSh">
        delete from  sys_shareholder where creditCode=#{creditcode}
    </delete>
    <delete id="deleteMe">
        delete from sys_member where creditCode=#{creditcode}
    </delete>
</mapper>