src/main/java/org/springblade/modules/yw/mapper/FirmInfoMapper.xml
@@ -4,7 +4,13 @@ <!--自定义分页查询--> <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 yfi.is_deleted = 0 <if test="firmInfo.name!=null and firmInfo.name!=''"> and yfi.name like concat('%',#{firmInfo.name},'%') </if> </select> </mapper>