zrj
2024-10-30 c2f83a1608934a447d3e3e470b51a62566d5afc2
src/main/java/org/springblade/modules/yw/mapper/FirmInfoMapper.xml
@@ -4,7 +4,11 @@
    <!--自定义分页查询-->
    <select id="selectFirmInfoPage" resultType="org.springblade.modules.yw.vo.FirmInfoVO">
        select * from yw_firm_info where is_deleted = 0
        select yfi.* from yw_firm_info yfi
        where is_deleted = 0
        <if test="firmInfo.name!=null and firmInfo.name!=''">
            and yfi.name like concat('%',#{firmInfo.name},'%')
        </if>
    </select>
</mapper>