智慧保安后台管理-外网
Administrator
2021-07-07 6f82bca9ecedd005f515f5f138f9e4e37d470fbc
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -8,7 +8,7 @@
        <result column="creditCode" property="creditcode"/>
        <result column="enterpriseName" property="enterprisename"/>
        <result column="representative" property="representative"/>
        <result column="registrationStatus" property="registrationstatus"/>
        <result column="regstsat" property="regstsat"/>
        <result column="establishTime" property="establishtime"/>
        <result column="registeredCapital" property="registeredcapital"/>
        <result column="capital" property="capital"/>
@@ -21,12 +21,18 @@
        <result column="region" property="region"/>
        <result column="registration" property="registration"/>
        <result column="industry" property="industry"/>
        <result column="identification" property="identification"/>
        <result column="tenantId" property="tenantid"/>
    </resultMap>
    <select id="selectInformationPage" resultMap="informationResultMap">
        select * from sys_information where is_deleted = 0
        select * from sys_information where  1=1
        <if test="information.enterprisename!=null and information.enterprisename!=''">
            and enterpriseName like concat(concat('%', #{information.enterprisename}),'%')
        </if>
        <if test="information.representative!=null and information.representative!=''">
            and representative like concat(concat('%', #{information.representative}),'%')
        </if>
    </select>
</mapper>