提交 3cbd4804 authored 作者: luojie's avatar luojie

同步代码

上级 adb3b74e
......@@ -49,6 +49,6 @@ public interface TbCfOrderDao extends BaseDao<TbCfOrderEntity> {
OrderEntity getOrder(String orderId);
TbCfCouponEntity queryCouponPrice(String iss_coupon_id);
TbCfCouponEntity queryCouponPrice(String toitableId);
}
......@@ -542,11 +542,11 @@ public class TbCfOrderServiceImpl implements TbCfOrderService {
* @param couponId
*/
private void couponUse(String userId, String couponId) {
// 更新领取记录已领取
/* // 更新领取记录已领取
int res = tbCfToiCouponDao.updateEnableFlag(userId, couponId, StateConstant.INVALID);
if (res < 1) {
logger.error("消费了优惠券,但是在数据表里没有记录!userId:" + userId + ";couponId:" + couponId);
}
}*/
/**
* 增加已使用记录
// */
......
......@@ -356,7 +356,6 @@
where t3.user_id=#{userId} and <![CDATA[ t2.valid_end_time<#{nowTime}]]> and t3.enable_flag=1
</select>
<select id="getCouponAndVaildAll" resultType="com.diaoyun.zion.chinafrica.entity.TbCfCouponEntity">
select
`coupon_id`,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论