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>