<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="jnpf.culture.mapper.CulturePicSettingMapper" >

    <!-- 查询所有可用的id -->
    <select id="selectAllIds" resultType="java.lang.String">
        select F_Id from ftb_culture_pic_setting where F_DeleteMark = 0
    </select>
    <!-- 查询时段内被删除的图片id -->
    <select id="getDelIdsByDate" resultType="java.lang.String">
        select F_Id from ftb_culture_pic_setting
        where F_DeleteTime is not null
        and F_DeleteTime <![CDATA[ >= ]]> #{startTime}
        and F_DeleteTime <![CDATA[ < ]]> #{endTime}
    </select>
</mapper>