Commit 86bd1cd9 by huluobin

update

parent 2c63cc1a
......@@ -48,7 +48,7 @@ import java.util.Date;
*/
@Service
@AllArgsConstructor
@Transactional
@Transactional(rollbackFor = Exception.class)
@Slf4j
public class ChargeOrderServiceImpl extends ServiceImpl<ChargeOrderMapper, ChargeOrder> implements IChargeOrderService {
......@@ -267,5 +267,7 @@ public class ChargeOrderServiceImpl extends ServiceImpl<ChargeOrderMapper, Charg
.time(new Date())
.build();
customerBalanceRecordMapper.insert(customerBalanceRecord);
couponService.sendCoupon(discountConfig.getCouponId(), customer.getId());
}
}
......@@ -29,6 +29,7 @@ public class CouponCustomerRelevance implements Serializable {
public static Integer SOURCE_TYPE_OUTER = 1;
@TableId(type = IdType.AUTO)
private Integer id;
@ApiModelProperty("顾客Id")
private Integer customerId;
......
......@@ -102,6 +102,7 @@
(SELECT count(id)
from order_comment
where technician_id = #{id}
and finish_time &gt; #{month}
)
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment