Commit bbce312a authored by 332784038@qq.com's avatar 332784038@qq.com

删除订单业务实现中得测试日志记录

parent 05135566
...@@ -2951,10 +2951,6 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order ...@@ -2951,10 +2951,6 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
int noQuoteOrAutomaticNoQuote, int noQuoteOrAutomaticNoQuote,
OrderItemDO orderItemDO, OrderItemDO orderItemDO,
Integer type) { Integer type) {
zTest z22 = new zTest();
z22.setTestname("处理25 createClearanceFeeNoQuiteException");
z22.setCreatedate(new Date());
zTestMapper.insert(z22);
// 添加的是否为空判断逻辑 // 添加的是否为空判断逻辑
if (orderDO == null) { if (orderDO == null) {
...@@ -3000,10 +2996,6 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order ...@@ -3000,10 +2996,6 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
noQuoteOrAutomaticNoQuote = 2; noQuoteOrAutomaticNoQuote = 2;
return noQuoteOrAutomaticNoQuote; return noQuoteOrAutomaticNoQuote;
} }
zTest z = new zTest();
z.setTestname(s);
z.setCreatedate(new Date());
zTestMapper.insert(z);
noQuoteOrAutomaticNoQuote = 2; noQuoteOrAutomaticNoQuote = 2;
return noQuoteOrAutomaticNoQuote; return noQuoteOrAutomaticNoQuote;
} else { } else {
...@@ -3012,10 +3004,6 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order ...@@ -3012,10 +3004,6 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
z.setCreatedate(new Date()); z.setCreatedate(new Date());
} }
} else {
zTest z = new zTest();
z.setTestname("单询价为空");
z.setCreatedate(new Date());
} }
//end添加的逻辑点 //end添加的逻辑点
......
...@@ -197,7 +197,13 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap ...@@ -197,7 +197,13 @@ public class OrderExceptionServiceImpl extends AbstractService<OrderExceptionMap
Long resultId = null; Long resultId = null;
boolean mustToInsert = true; boolean mustToInsert = true;
List<String> exceptionUniqueKeyList = Arrays.asList(OrderExceptionEnum.ORDER_SUPERFLUOUS_BOX_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_LACK_BOX_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_PAY_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_HEAVY_CARGO_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_BULKY_CARGO_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_DOC_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_CONSIGNOR_EXCEPTION.getKey(), OrderExceptionEnum.NOT_CUSTOMER_SERVICE_EXCEPTION.getKey(), OrderExceptionEnum.GOODS_ADD_EXCEPTION.getKey(), OrderExceptionEnum.GOODS_OVERWEIGHT_EXCEPTION.getKey(), OrderExceptionEnum.LINE_WEIGHT_EXCEPTION.getKey(), OrderExceptionEnum.STOCK_UP_EXCEPTION.getKey(), OrderExceptionEnum.NOT_SHIPPING_CHANNEL_EXCEPTION.getKey()); List<String> exceptionUniqueKeyList = Arrays.asList(OrderExceptionEnum.ORDER_SUPERFLUOUS_BOX_EXCEPTION.getKey(),
OrderExceptionEnum.ORDER_LACK_BOX_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_PAY_EXCEPTION.getKey(),
OrderExceptionEnum.ORDER_HEAVY_CARGO_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_BULKY_CARGO_EXCEPTION.getKey(),
OrderExceptionEnum.ORDER_DOC_EXCEPTION.getKey(), OrderExceptionEnum.ORDER_CONSIGNOR_EXCEPTION.getKey(),
OrderExceptionEnum.NOT_CUSTOMER_SERVICE_EXCEPTION.getKey(), OrderExceptionEnum.GOODS_ADD_EXCEPTION.getKey(),
OrderExceptionEnum.GOODS_OVERWEIGHT_EXCEPTION.getKey(), OrderExceptionEnum.LINE_WEIGHT_EXCEPTION.getKey(),
OrderExceptionEnum.STOCK_UP_EXCEPTION.getKey(), OrderExceptionEnum.NOT_SHIPPING_CHANNEL_EXCEPTION.getKey());
if (exceptionUniqueKeyList.contains(createReqVO.getOrderExceptionType())) { if (exceptionUniqueKeyList.contains(createReqVO.getOrderExceptionType())) {
List<OrderExceptionDO> pnedingOrderExceptionList = this.getPendingOrderExceptionByOrderIdAndOrderItemIdAndExceptionKey(createReqVO.getOrderId(), createReqVO.getOrderItemId(), createReqVO.getOrderExceptionType()); List<OrderExceptionDO> pnedingOrderExceptionList = this.getPendingOrderExceptionByOrderIdAndOrderItemIdAndExceptionKey(createReqVO.getOrderId(), createReqVO.getOrderItemId(), createReqVO.getOrderExceptionType());
......
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