admin
2019-01-11 13ec337a0d24485d9f006cfd44ea5d69c00540f3
fanli/src/main/java/com/yeshi/fanli/mapping/hongbao/HongBaoV2Mapper.xml
@@ -255,6 +255,18 @@
   <select id="getUnRecievedMoneyWithPreGetTime" resultType="java.math.BigDecimal">
      SELECT
      SUM(h.`hb_money`) FROM yeshi_ec_hongbao_v2 h
      WHERE h.`hb_uid`=#{uid}
      AND (h.`hb_state`=1 OR
      h.`hb_state`=2) and hb_pre_get_time is not null
      and hb_pre_get_time>=#{minDate}
      and #{maxDate} > hb_pre_get_time
   </select>
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">delete from
      yeshi_ec_hongbao_v2 where hb_id = #{id,jdbcType=BIGINT}
   </delete>