huliguo
2025-05-12 c151ec18d4d302a6359a8ef4144835c254c842bc
src/main/resources/mapper/DataMapper.xml
@@ -10,6 +10,7 @@
                ROW_NUMBER() OVER (PARTITION BY county ORDER BY create_time DESC) AS rn
            FROM t_data
            WHERE del_flag = 0
        AND create_time  < #{createTime}
                      <if test="county!=null and county !=0">
                          and  county=#{county}
                      </if>