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

Commit aae0278a authored by jiangxiulong's avatar jiangxiulong

test

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