zhongrj
2025-02-11 b1e8a099eb3117bcbd5f2e0c9a2eb0accabd8cbf
src/main/java/org/springblade/modules/yw/mapper/PanoramicMapper.xml
@@ -19,8 +19,18 @@
    </resultMap>
    <select id="selectPanoramicPage" resultMap="panoramicResultMap">
        select * from yw_panoramic where is_deleted = 0
    <!--自定义分页查询-->
    <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>
            <if test="panoramic.remark!=null and panoramic.remark!=''">
                and remark = #{panoramic.remark}
            </if>
        </where>
    </select>
</mapper>