yujian
2019-11-01 2b71bd05caf230bf9d35e0f000cea6d0413a774e
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>