zrj
2024-10-29 b9177226e545dd2fc515fd971b710a2b739056d3
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>