记得上下班打卡 | git大法好,push需谨慎

Commit aae0278a authored by jiangxiulong's avatar jiangxiulong

test

parent 54d4ce57
......@@ -80,12 +80,15 @@ public class KylinRefundsStatusServiceImpl {
dataUtils.delOrderTicketRedis(orderInfo.getOrderTicketsId());
log.info("orderInfo.getUserId() = "+ orderInfo.getUserId());
orderUtils.resetOrderListVo(orderInfo.getUserId(), 2, orderInfo.getOrderTicketsId(), null);
log.info("1111");
// 订单入场人表 和 缓存
KylinOrderTicketEntities entitiesTable = new KylinOrderTicketEntities();
entitiesTable.setIsPayment(KylinTableStatusConst.ENTITIES_IS_PAYMENT2);
entitiesTable.setUpdatedAt(time);
log.info("2222");
// BigDecimal oldRefundPrice = BigDecimal.valueOf(0);
// for (KylinOrderTicketEntitiesVo item :orderInfo.getEntitiesVoList()) {
......@@ -106,7 +109,6 @@ public class KylinRefundsStatusServiceImpl {
entitiesObject
);
dataUtils.delOrderTicketEntitiesRedis(orderEntitiesId);
log.info("\n11111");
// 退款明细
KylinOrderRefunds kylinOrderRefunds = new KylinOrderRefunds();
......@@ -138,7 +140,6 @@ public class KylinRefundsStatusServiceImpl {
orderRefundsVo.setCreatedAt(time);
orderRefundsVo.setApplicantAt(time);
mongoTemplate.insert(orderRefundsVo, KylinOrderRefundsVo.class.getSimpleName());
log.info("\n22222");
// 退款入场人表
......@@ -154,8 +155,6 @@ public class KylinRefundsStatusServiceImpl {
BeanUtils.copyProperties(kylinOrderRefundEntities, orderRefundEntitiesVo);
orderRefundEntitiesVo.setCreatedAt(strTime);
mongoTemplate.insert(orderRefundEntitiesVo, KylinOrderRefundEntitiesVo.class.getSimpleName());
log.info("\n33333");
//退款图片
KylinOrderRefundPic orderRefundPic = new KylinOrderRefundPic();
......@@ -170,8 +169,6 @@ public class KylinRefundsStatusServiceImpl {
mongoTemplate.insert(orderRefundPicVo, KylinOrderRefundPicVo.class.getSimpleName());
dataUtils.delOrderRefundVoByOrderId(orderInfo.getOrderTicketsId());
log.info("\n444444");
//MQ
LinkedList<String> sqls = CollectionUtil.linkedListString();
LinkedList<Object[]> sqlsDataA = CollectionUtil.linkedListObjectArr();
......@@ -207,11 +204,9 @@ public class KylinRefundsStatusServiceImpl {
sqlsDataE.add(new Object[]{
orderRefundPic.getOrderRefundsId(), orderRefundPic.getOrderRefundsId(), orderRefundPic.getPicUrl(), orderRefundPic.getCreatedAt()
});
log.info("\n55555");
queueUtils.sendMsgByRedis(MQConst.KylinQueue.SQL_ORDER_REFUND.getKey(),
SqlMapping.gets(sqls, sqlsDataA, sqlsDataB, sqlsDataC, sqlsDataD, sqlsDataE));
log.info("\n666666");
return kylinOrderRefunds.getOrderRefundsId();
} catch (Exception e) {
......
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