zhongrj
2024-11-19 c61fd74f1ff3de48ff0c8549b5af2aa1844f0113
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>