src/main/java/org/springblade/modules/yw/mapper/PanoramicMapper.xml
@@ -19,8 +19,12 @@ </resultMap> <select id="selectPanoramicPage" resultMap="panoramicResultMap"> <!--自定义分页查询--> <select id="selectPanoramicPage" resultType="org.springblade.modules.yw.vo.PanoramicVO"> select * from yw_panoramic where is_deleted = 0 <if test="panoramic.firmId!=null"> and firm_id = #{panoramic.firmId} </if> </select> </mapper>