fanli/src/main/java/com/yeshi/fanli/mapping/redpack/RedPackGiveRecordMapper.xml
@@ -52,4 +52,11 @@ <if test="state != null">rpgr_state=#{state,jdbcType=INTEGER},</if> </set> where rpgr_id = #{id,jdbcType=BIGINT} </update> <select id="overdueList" resultMap="BaseResultMap"> SELECT * FROM yeshi_red_pack_give_record WHERE rpgr_state = 0 AND rpgr_end_time IS NOT NULL AND rpgr_end_time <![CDATA[<]]> NOW() LIMIT #{count} </select> </mapper>